/* ===== NEW: Detail redesign START ===== */
/* Hotel detail page. Everything is scoped to .hcd */

.hcd {
    --hcd-navy: #111b2e;
    --hcd-text: #1f2937;
    --hcd-muted: #6b7280;
    --hcd-line: #e6e8ee;
    --hcd-bg: #f6f7fb;
    --hcd-cyan: #1fb3e3;
    --hcd-cyan-dark: #138bb3;
    --hcd-cyan-soft: #e2f4fb;
    --hcd-lime: #d8eb82;
    --hcd-lime-dark: #c9df62;
    --hcd-lime-soft: #f1f7d9;
    --hcd-magenta: #e03bd9;
    --hcd-lavender: #efeafd;
    --hcd-purple: #6a4fd6;
    --hcd-purple-dark: #3b2a8f;
    --hcd-radius: 16px;
    font-family: "Plus Jakarta Sans", "Cabin", system-ui, sans-serif;
    color: var(--hcd-text);
}
.hcd *, .hcd *::before, .hcd *::after { box-sizing: border-box; }
.hcd h1, .hcd h2, .hcd h3 { font-family: inherit; }

.hcd a:focus-visible, .hcd button:focus-visible { outline: 3px solid var(--hcd-cyan); outline-offset: 2px; }

.hcd-link {
    padding: 0; border: 0; background: none; color: var(--hcd-cyan-dark); font: inherit; font-weight: 700;
    text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.hcd-link:hover { color: var(--hcd-navy); }
.hcd-eyebrow { margin: 0; font-size: 0.66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hcd-navy); }

.hcd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
    border-radius: 999px; border: 1px solid transparent; font: 700 0.9rem/1.2 inherit; text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.hcd-btn--lime { background: var(--hcd-lime); color: var(--hcd-navy); border-color: #b7cc55; }
.hcd-btn--lime:hover { background: var(--hcd-lime-dark); color: var(--hcd-navy); text-decoration: none; }
.hcd-btn--outline { background: #fff; color: var(--hcd-navy); border-color: var(--hcd-navy); }
.hcd-btn--outline:hover { background: var(--hcd-navy); color: #fff; text-decoration: none; }
.hcd-btn--purple { min-height: 36px; padding: 7px 16px; background: var(--hcd-purple-dark); color: #fff; font-size: 0.8rem; }
.hcd-btn--purple:hover { background: var(--hcd-purple); color: #fff; text-decoration: none; }

/* ---------- Header ---------- */
.hcd-head { background: #fff; padding: 18px 0 0; }
.hcd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.76rem; }
.hcd-crumbs a { color: var(--hcd-cyan-dark); text-decoration: none; }
.hcd-crumbs a:hover { text-decoration: underline; }
.hcd-crumbs > span { color: var(--hcd-muted); }
.hcd-crumbs [aria-current] { color: var(--hcd-navy); font-weight: 600; }

.hcd-head__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.hcd-title { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.2; color: var(--hcd-navy); letter-spacing: -0.01em; }
.hcd-address { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 0.85rem; color: var(--hcd-muted); }
.hcd-address svg { color: var(--hcd-cyan); }
.hcd-address .hcd-link { font-size: 0.8rem; }
.hcd-head__actions { display: flex; align-items: center; gap: 10px; }
.hcd-powered { width: 110px; height: auto; }
.hcd-chipbtn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px; border: 1px solid var(--hcd-line);
    border-radius: 999px; background: #fff; color: var(--hcd-navy); font: 600 0.82rem inherit; cursor: pointer;
}
.hcd-chipbtn:hover { border-color: var(--hcd-navy); }
.hcd-chipbtn.favourite, .hcd-chipbtn[aria-pressed="true"] { color: #e5484d; border-color: #f3b4b6; }
.hcd-chipbtn.favourite svg, .hcd-chipbtn[aria-pressed="true"] svg { fill: currentColor; }

/* ---------- Gallery ---------- */
.hcd-gallery {
    display: grid; gap: 8px; height: 420px; border-radius: var(--hcd-radius); overflow: hidden;
    grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.hcd-gallery__tile { position: relative; display: block; padding: 0; border: 0; background: #dfe7ef; cursor: zoom-in; overflow: hidden; }
.hcd-gallery__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hcd-gallery__tile:hover img { transform: scale(1.03); }
.hcd-gallery__tile:first-child { grid-row: 1 / 3; }
.hcd-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hcd-gallery--1 .hcd-gallery__tile:first-child { grid-row: auto; }
.hcd-gallery--2 { grid-template-columns: 2fr 1fr; }
.hcd-gallery--2 .hcd-gallery__tile:nth-child(2) { grid-row: 1 / 3; }
.hcd-gallery--3 { grid-template-columns: 2fr 1fr; }
.hcd-gallery--4 { grid-template-columns: 2fr 1fr 1fr; }
.hcd-gallery--4 .hcd-gallery__tile:nth-child(4) { grid-column: 2 / 4; }
.hcd-gallery--0 { grid-template-columns: 1fr; height: 220px; }
.hcd-gallery__none, .hcd-gallery__tile.is-broken { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dcefff 0%, #eef6d6 100%); }
.hcd-gallery__more {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: rgba(17, 27, 46, .55); color: #fff; font-size: 0.78rem; font-weight: 600; pointer-events: none;
}
.hcd-gallery__more strong { font-size: 1.5rem; font-weight: 800; }

/* ---------- Tabs ---------- */
.hcd-tabs { position: sticky; top: 0; z-index: 15; margin-top: 18px; background: #fff; border-bottom: 1px solid var(--hcd-line); }
.hcd-tabs .container { display: flex; gap: 28px; overflow-x: auto; }
.hcd-tabs__item {
    padding: 14px 0 12px; border-bottom: 3px solid transparent; color: var(--hcd-text); font-size: 0.88rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
}
.hcd-tabs__item:hover { color: var(--hcd-navy); text-decoration: none; }
.hcd-tabs__item.is-active { color: var(--hcd-navy); border-bottom-color: var(--hcd-cyan); }

/* ---------- Body layout ---------- */
.hcd-body { background: var(--hcd-bg); padding: 26px 0 48px; }
.hcd-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px 28px; align-items: start;
    grid-template-areas: "ticket side" "about side" "amen side" "loc side";
}
.hcd-area-ticket { grid-area: ticket; }
.hcd-area-about { grid-area: about; }
.hcd-area-amen { grid-area: amen; }
.hcd-area-loc { grid-area: loc; }
.hcd-side { grid-area: side; position: sticky; top: 64px; display: grid; gap: 16px; }
.hcd [id] { scroll-margin-top: 70px; }

.hcd-card { padding: 24px 26px; background: #fff; border: 1px solid var(--hcd-line); border-radius: var(--hcd-radius); }
.hcd-card__title { margin: 0 0 14px; font-size: 1.2rem; font-weight: 800; color: var(--hcd-navy); }

/* ---------- Big coupon ticket (restyles the shared .hc-coupon-ticket) ---------- */
.hcd-stamp {
    padding: 6px; border-radius: 8px;
    background: radial-gradient(circle at 50% 50%, #fff 2.2px, transparent 2.8px) 0 0 / 10px 10px, var(--hcd-magenta);
    box-shadow: 0 0 0 1px rgba(224, 59, 217, .25), 0 0 22px rgba(224, 59, 217, .45);
}
.hcd .hc-coupon-ticket { margin: 0; border: 2px solid var(--hcd-magenta); border-radius: 4px; background: #fff; box-shadow: none; }
.hcd .hc-coupon-ticket::before { display: none; }
.hcd .hc-coupon-ticket::after { right: -10px; width: 22px; height: 22px; margin-top: -11px; background: var(--hcd-bg); border-color: var(--hcd-magenta); }
.hcd .hc-coupon-ticket__main { padding: 18px 22px; }
.hcd .hc-coupon-ticket__label, .hcd .hc-coupon-ticket__sub { font-size: 0.82rem; letter-spacing: .06em; color: var(--hcd-navy); }
.hcd .hc-coupon-ticket__percent { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 4px 0; color: var(--hcd-cyan); }
.hcd .hc-coupon-ticket__percent--text { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.hcd .hc-coupon-ticket__timer { min-width: 170px; padding: 14px 34px 14px 22px; border-left: 2px dashed var(--hcd-magenta); }
.hcd .hc-coupon-ticket__clock { width: 26px; height: 26px; color: var(--hcd-purple); }
.hcd .hc-coupon-ticket__expires { font-size: 0.8rem; color: var(--hcd-navy); }
.hcd .hc-coupon-ticket__time { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--hcd-cyan); }
.hcd .hc-coupon-ticket--urgent .hc-coupon-ticket__time { color: #e5484d; }

/* ---------- Sidebar ---------- */
.hcd-deal { background: #fff; border: 1px solid var(--hcd-line); border-radius: var(--hcd-radius); overflow: hidden; box-shadow: 0 8px 26px rgba(17, 27, 46, .06); }
.hcd-deal__top { padding: 16px 20px; background: var(--hcd-cyan-soft); }
.hcd-deal__room { margin: 4px 0 2px; font-size: 1.05rem; font-weight: 800; line-height: 1.3; color: var(--hcd-navy); }
.hcd-deal__note { margin: 0; font-size: 0.72rem; font-weight: 600; color: var(--hcd-navy); }
.hcd-deal__call { display: grid; gap: 8px; padding: 18px 20px 6px; }
.hcd-deal__phone { font-size: 1.45rem; font-weight: 800; color: var(--hcd-navy); text-decoration: none; letter-spacing: .01em; }
.hcd-deal__phone:hover { color: var(--hcd-cyan-dark); text-decoration: none; }
.hcd-deal__ext { margin: -4px 0 4px; font-size: 0.76rem; color: var(--hcd-muted); }
.hcd-deal__ext strong { color: var(--hcd-navy); }
.hcd-how { margin: 12px 20px 18px; padding-top: 14px; border-top: 1px solid var(--hcd-line); }
.hcd-how__title { margin: 0 0 10px; font-size: 0.92rem; font-weight: 800; color: var(--hcd-navy); }
.hcd-how__list { list-style: none; margin: 0; padding: 0; counter-reset: hcd; display: grid; gap: 9px; }
.hcd-how__list li { position: relative; padding-left: 28px; font-size: 0.78rem; line-height: 1.45; color: var(--hcd-text); counter-increment: hcd; }
.hcd-how__list li::before {
    content: counter(hcd); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 19px; height: 19px;
    border-radius: 50%; background: var(--hcd-lavender); color: var(--hcd-purple); font-size: 0.66rem; font-weight: 800;
}

.hcd-direct { padding: 16px 20px; background: #fff; border: 1px solid var(--hcd-line); border-radius: var(--hcd-radius); }
.hcd-direct__link { display: inline-block; margin: 4px 0 8px; font-size: 1.05rem; font-weight: 800; color: var(--hcd-cyan-dark); text-decoration: none; }
.hcd-direct__link:hover { color: var(--hcd-navy); text-decoration: underline; }
.hcd-direct__list { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.76rem; color: var(--hcd-muted); }

.hcd-promo { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--hcd-lavender); border-radius: var(--hcd-radius); }
.hcd-promo__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--hcd-purple); }
.hcd-promo__text { display: grid; gap: 2px; flex: 1; font-size: 0.74rem; color: var(--hcd-muted); line-height: 1.4; }
.hcd-promo__text strong { font-size: 0.88rem; color: var(--hcd-navy); }

/* ---------- About ---------- */
.hcd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.hcd-chip { padding: 6px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; line-height: 1.2; }
.hcd-chip--cyan { background: var(--hcd-cyan-soft); color: var(--hcd-cyan-dark); }
.hcd-chip--lime { background: var(--hcd-lime-soft); color: #56661a; }
.hcd-chip--lavender { background: var(--hcd-lavender); color: var(--hcd-purple); }
.hcd-desc { font-size: 0.9rem; line-height: 1.7; color: var(--hcd-text); }
.hcd-desc p { margin: 0 0 12px; font: inherit; color: inherit; line-height: inherit; }
.hcd p, .hcd li { font-family: inherit; }
.hcd-desc.is-clamped { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hcd-readmore { font-size: 0.85rem; }
.hcd-readmore[hidden] { display: none; }

/* ---------- Amenities ---------- */
.hcd-amen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 0; list-style: none; }
.hcd-amen li { position: relative; padding-left: 24px; font-size: 0.84rem; line-height: 1.35; }
.hcd-amen li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px;
    background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fb3e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}

/* ---------- Location ---------- */
.hcd-loc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hcd-loc__addr { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 0.88rem; }
.hcd-loc__addr svg { flex: none; margin-top: 2px; color: var(--hcd-cyan); }
.hcd-map { height: 300px; border-radius: 12px; background: #e9eef3; overflow: hidden; z-index: 0; }
.hcd-map__credit { margin: 6px 0 0; font-size: 0.68rem; color: var(--hcd-muted); }
.hcd-map__credit a { color: inherit; }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .hcd-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ticket" "side" "about" "amen" "loc"; }
    .hcd-side { position: static; }
    .hcd-gallery { height: 340px; }
    .hcd-amen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
    .hcd-head__actions { width: 100%; }
    .hcd-powered { margin-right: auto; }
    .hcd-gallery { height: 260px; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
    .hcd-gallery .hcd-gallery__tile:first-child { grid-column: 1 / 3; grid-row: 1; }
    .hcd-gallery .hcd-gallery__tile:nth-child(n+4) { display: none; }
    .hcd-gallery--2 .hcd-gallery__tile:nth-child(2) { grid-row: 2; grid-column: 1 / 3; }
    .hcd-gallery--1 { grid-template-rows: 1fr; }
    .hcd-tabs .container { gap: 20px; }
    .hcd-card { padding: 18px; }
    .hcd .hc-coupon-ticket__main { padding: 12px 14px; }
    .hcd .hc-coupon-ticket__label, .hcd .hc-coupon-ticket__sub, .hcd .hc-coupon-ticket__expires { font-size: 0.64rem; }
    .hcd .hc-coupon-ticket__timer { min-width: 108px; padding: 10px 20px 10px 12px; }
    .hcd-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ===== NEW: Detail redesign END ===== */
