/* ==========================================================================
   Find detail page: design tokens mirror public/css/home.css (--hm-*) so the
   page feels native to the home page. Mobile-first; breakpoints: 576 / 768 / 992.
   ========================================================================== */
.fd {
    --fd-bg: #fbfcfd; --fd-surface: #fff; --fd-ink: #0f172a; --fd-ink-2: #334155; --fd-mute: #64748b; --fd-line: #e6eaf0;
    --fd-red: #fe0000; --fd-red-ink: #c20000; --fd-red-wash: #fff1f1; --fd-green: #16a34a; --fd-green-ink: #0f7a38; --fd-green-wash: #ecfdf3;
    --fd-amber: #f59e0b; --fd-amber-wash: #fffbeb; --fd-wa: #0f8a45;
    --fd-r: 20px; --fd-r-sm: 14px;
    --fd-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -12px rgba(15,23,42,.14);
    --fd-nav-h: 0px; --fd-top: 72px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--fd-ink); background: var(--fd-bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: clip;
    max-width: 100vw;
}
.fd *, .fd *::before, .fd *::after { box-sizing: border-box; }
.fd a { color: inherit; text-decoration: none; }
.fd :focus-visible { outline: 3px solid rgba(254,0,0,.4); outline-offset: 2px; border-radius: 8px; }
.fd button { font-family: inherit; }
.fd-tnum { font-variant-numeric: tabular-nums; }

.fd-wrap { width: min(1240px, 100% - 24px); max-width: 100%; margin-inline: auto; padding: 12px 0 calc(var(--fd-nav-h) + 28px); }
.fd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; min-width: 0; }
.fd-main { display: grid; gap: 16px; min-width: 0; }
.fd-side { display: grid; gap: 16px; min-width: 0; }

/* Breadcrumb */
.fd-crumbs-nav { margin: 0 0 14px; }
@media (max-width: 767.98px) {
    .fd-crumbs-nav { display: none !important; }
}
.fd-crumbs { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
    margin: 0; padding: 0; list-style: none; font-size: .78rem; font-weight: 600; color: var(--fd-mute); }
.fd-crumbs::-webkit-scrollbar { display: none; }
.fd-crumbs li + li::before { content: '/'; margin-right: 8px; color: #cbd5e1; }
.fd-crumbs a:hover { color: var(--fd-red-ink); }
.fd-crumbs [aria-current] { color: var(--fd-ink); max-width: 38ch; overflow: hidden; text-overflow: ellipsis; }

/* Gallery */
.fd-gallery { position: relative; }
.fd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    border-radius: var(--fd-r); background: #0b1120; aspect-ratio: 1 / 1; max-height: 440px; box-shadow: var(--fd-shadow); scroll-behavior: smooth; position: relative; }
.fd-track::-webkit-scrollbar { display: none; }
.fd-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; border: 0; padding: 0; background: #0b1120; cursor: zoom-in;
    display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fd-slide::before { content: ''; position: absolute; inset: -20px; background-image: var(--bg-src); background-size: cover; background-position: center;
    filter: blur(28px) brightness(0.35); opacity: 0.7; pointer-events: none; transform: scale(1.1); }
.fd-slide img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: auto; }
.fd-ph { aspect-ratio: 1 / 1; max-height: 440px; border-radius: var(--fd-r); display: grid; place-items: center; box-shadow: var(--fd-shadow);
    background: radial-gradient(circle at 30% 20%, #fff, var(--fd-red-wash) 55%, #ffe1e1); color: var(--fd-red); font-size: clamp(3rem, 12vw, 5rem); border: 1px solid var(--fd-line); }
.fd-ph span { opacity: .85; }
.fd-counter { position: absolute; right: 12px; bottom: 12px; z-index: 4; background: rgba(15,23,42,.75); backdrop-filter: blur(8px); color: #fff;
    font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 6px 12px; border-radius: 99px; pointer-events: none; }
.fd-iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.94); color: var(--fd-ink); box-shadow: 0 6px 16px rgba(15,23,42,.18); transition: transform .18s, color .18s; }
.fd-iconbtn:hover { transform: translateY(-1px); }
.fd-iconbtn.is-active { color: var(--fd-red); }
.fd-gtop { position: absolute; left: 12px; top: 12px; right: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 8px; pointer-events: none; }
.fd-gtop > * { pointer-events: auto; }
.fd-gtop-end { display: flex; gap: 8px; }
.fd-back-btn { box-shadow: 0 4px 14px rgba(15,23,42,.22); }
@media (min-width: 992px) {
    .fd-back-btn { display: none; }
}
.fd-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 4; display: none; }
.fd-arrow.prev { left: 12px; } .fd-arrow.next { right: 12px; }
.fd-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 2px 2px; }
.fd-thumbs::-webkit-scrollbar { display: none; }
.fd-thumb { flex: none; width: 76px; height: 58px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #e2e8f0; opacity: .7; transition: all .18s; }
.fd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-thumb.is-active { border-color: var(--fd-red); opacity: 1; }

/* Head */
.fd-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.fd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
    background: #f1f5f9; color: var(--fd-ink-2); }
.fd-badge--type { background: rgba(15,23,42,.9); color: #fff; letter-spacing: .1em; }
.fd-badge--red { background: var(--fd-red-wash); color: var(--fd-red-ink); }
.fd-badge--green { background: var(--fd-green-wash); color: var(--fd-green-ink); }
.fd-badge--amber { background: var(--fd-amber-wash); color: #92400e; }
.fd-badge--urgent { background: var(--fd-red); color: #fff; }
.fd-live { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: fdPulse 2.2s infinite; }
@keyframes fdPulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.fd-title { font-weight: 800; font-size: clamp(1.5rem, 4.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 8px; overflow-wrap: anywhere; }
.fd-sub { font-weight: 600; color: var(--fd-ink-2); margin: 0 0 8px; font-size: 1rem; }
.fd-loc { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--fd-mute); font-weight: 600; font-size: .86rem; margin: 0 0 16px; }
.fd-loc i { color: var(--fd-red); margin-right: 5px; }
.fd-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 14px; border-top: 1px solid var(--fd-line); }
.fd-kicker { width: 100%; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fd-red); }
.fd-hero-value { font-weight: 800; font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.fd-hero-value.is-muted { font-size: clamp(1.2rem, 3.4vw, 1.5rem); color: var(--fd-ink-2); }
.fd-hero-suffix { color: var(--fd-mute); font-weight: 700; }
.fd-hero-note { background: var(--fd-green-wash); color: var(--fd-green-ink); font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 99px; }

/* Offer ticket */
.fd-ticket { position: relative; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: var(--fd-r); overflow: hidden; box-shadow: var(--fd-shadow); }
.fd-ticket-top { padding: 18px 20px; background: linear-gradient(135deg, var(--fd-red-wash), #fff 70%); display: grid; gap: 10px; }
.fd-ticket-kicker { font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fd-red); display: flex; align-items: center; gap: 8px; }
.fd-ticket-head { font-weight: 800; font-size: clamp(1.35rem, 4.4vw, 1.75rem); letter-spacing: -.02em; color: var(--fd-red-ink); line-height: 1.1; }
.fd-ticket-for { color: var(--fd-ink-2); font-weight: 600; font-size: .9rem; }
.fd-pay { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--fd-r-sm); background: var(--fd-surface); border: 1px solid var(--fd-line); }
.fd-pay-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fd-pay-label { font-weight: 700; font-size: .8rem; color: var(--fd-mute); }
.fd-pay-amount { font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.fd-pay-was { color: #94a3b8; text-decoration: line-through; font-weight: 600; font-size: .92rem; }
.fd-pay-save { background: var(--fd-green-wash); color: var(--fd-green-ink); font-weight: 800; font-size: .76rem; padding: 4px 10px; border-radius: 99px; }
.fd-pay-note { font-size: .74rem; color: var(--fd-mute); font-weight: 600; }
.fd-ticket-cut { position: relative; border-top: 2px dashed var(--fd-line); }
.fd-ticket-cut::before, .fd-ticket-cut::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--fd-bg); border: 1px solid var(--fd-line); }
.fd-ticket-cut::before { left: -11px; } .fd-ticket-cut::after { right: -11px; }
.fd-ticket-body { padding: 18px 20px 20px; display: grid; gap: 14px; }
.fd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--fd-line); background: var(--fd-bg); font-weight: 700; font-size: .8rem; color: var(--fd-ink-2); }
.fd-chip i { color: var(--fd-mute); }
.fd-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px dashed #f4b4b4; background: var(--fd-red-wash); border-radius: var(--fd-r-sm); }
.fd-promo-label { font-weight: 800; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fd-red-ink); }
.fd-promo-code { font-weight: 800; font-size: 1.15rem; letter-spacing: .1em; overflow-wrap: anywhere; }
.fd-terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.fd-term { display: grid; gap: 2px; min-width: 0; }
.fd-term small { color: var(--fd-mute); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.fd-term strong { font-weight: 800; font-size: .9rem; overflow-wrap: anywhere; }

/* Facts */
.fd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.fd-fact { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: var(--fd-r-sm); min-width: 0; }
.fd-fact-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--fd-red-wash); color: var(--fd-red); }
.fd-fact small { display: block; font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fd-mute); }
.fd-fact strong { display: block; font-weight: 800; font-size: .9rem; overflow-wrap: anywhere; }

/* Cards and sections */
.fd-card { background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: var(--fd-r); padding: 20px; min-width: 0; }
.fd-h2 { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fd-h2 small { font-weight: 700; color: var(--fd-mute); font-size: .76rem; }
.fd-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--fd-amber-wash); border: 1px solid #fde68a; color: #92400e; border-radius: var(--fd-r-sm); font-weight: 600; font-size: .88rem; }
.fd-about { color: var(--fd-ink-2); line-height: 1.7; font-size: 1rem; overflow-wrap: anywhere; }
.fd-about.is-clamped { max-height: 9.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.fd-more { margin-top: 8px; border: 0; background: none; color: var(--fd-red-ink); font-weight: 800; font-size: .88rem; padding: 8px 0; cursor: pointer; }
.fd-details { border: 1px solid var(--fd-line); border-radius: var(--fd-r-sm); background: var(--fd-surface); }
.fd-details summary { cursor: pointer; padding: 14px 16px; font-weight: 800; font-size: .92rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.fd-details summary::-webkit-details-marker { display: none; }
.fd-details summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .72rem; color: var(--fd-mute); transition: rotate .2s; }
.fd-details[open] summary::after { rotate: 180deg; }
.fd-details > div { padding: 0 16px 16px; color: var(--fd-ink-2); font-size: .9rem; line-height: 1.65; }
.fd-venue { display: grid; gap: 4px; }
.fd-venue strong { font-weight: 800; }
.fd-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.fd-day { text-align: center; padding: 9px 0; border-radius: 12px; font-weight: 800; font-size: .76rem; border: 1px solid var(--fd-line); color: #94a3b8; background: var(--fd-bg); }
.fd-day.is-on { background: var(--fd-green-wash); border-color: #b7ebc9; color: var(--fd-green-ink); }
.fd-day.is-today { outline: 2px solid var(--fd-red); outline-offset: 1px; }

/* Engagement */
.fd-eng { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-eng-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: 99px; border: 1px solid var(--fd-line); background: var(--fd-surface);
    font-weight: 700; font-size: .86rem; color: var(--fd-ink-2); cursor: pointer; transition: all .18s; }
.fd-eng-btn:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.fd-eng-btn.is-active { background: var(--fd-red-wash); border-color: #f4b4b4; color: var(--fd-red-ink); }
.fd-eng-btn .counter { font-weight: 800; color: var(--fd-mute); }
.fd-views { margin-left: auto; align-self: center; color: var(--fd-mute); font-weight: 700; font-size: .8rem; }

/* Buttons */
.fd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: var(--fd-r-sm);
    font-weight: 800; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; text-align: center; }
.fd-btn:hover { transform: translateY(-1px); }
.fd-btn--block { width: 100%; }
.fd-btn--primary { background: var(--fd-red); color: #fff !important; box-shadow: 0 10px 22px -8px rgba(254,0,0,.5); }
.fd-btn--primary:hover { background: #e00000; }
.fd-btn--wa { background: var(--fd-wa); color: #fff !important; box-shadow: 0 10px 22px -10px rgba(15,138,69,.6); }
.fd-btn--ghost { background: var(--fd-surface); border-color: var(--fd-line); color: var(--fd-ink) !important; }
.fd-btn--ghost:hover { border-color: #cbd5e1; }
.fd-btn--dark { background: var(--fd-ink); color: #fff !important; }
.fd-btn--sm { min-height: 40px; padding: 0 14px; font-size: .8rem; border-radius: 12px; }

/* Lead tracking & masked phone button states */
.fd-btn-call { position: relative; }
.fd-reveal-badge {
    margin-left: auto;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 99px;
    background: rgba(15, 23, 42, .08);
    color: var(--fd-ink);
    transition: all .2s;
}
.fd-btn:hover .fd-reveal-badge {
    background: var(--fd-ink);
    color: #fff;
}
.fd-btn--primary .fd-reveal-badge,
.fd-btn--wa .fd-reveal-badge,
.fd-btn--dark .fd-reveal-badge {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}
.fd-btn.is-revealed .fd-reveal-badge {
    background: var(--fd-green-wash) !important;
    color: var(--fd-green-ink) !important;
}

/* Side console */
.fd-console { display: grid; gap: 10px; min-width: 0; }
.fd-partner { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fd-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--fd-line); flex: none; }
.fd-partner-name { font-weight: 800; font-size: 1rem; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fd-partner-meta { color: var(--fd-mute); font-weight: 600; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-partner .fd-btn { flex-shrink: 0; }
.fd-eyebrow { font-weight: 800; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fd-mute); }
.fd-safety { display: flex; gap: 12px; padding: 16px; background: #f8fafc; border: 1px solid var(--fd-line); border-radius: var(--fd-r); color: var(--fd-ink-2); font-size: .82rem; line-height: 1.5; min-width: 0; }
.fd-safety i { color: #2563eb; font-size: 1.2rem; margin-top: 2px; flex: none; }
.fd-safety a { color: var(--fd-red-ink); font-weight: 800; }
.fd-share { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-share .fd-btn { flex: 1 1 auto; min-width: 0; }

/* Store mini-cards */
.fd-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.fd-product { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--fd-line); border-radius: var(--fd-r-sm); background: var(--fd-surface); transition: border-color .18s; }
.fd-product:hover { border-color: #cbd5e1; }
.fd-product img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: #f1f5f9; }
.fd-product b { display: block; font-weight: 700; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-product span { font-weight: 800; font-size: .86rem; color: var(--fd-red-ink); }

/* Related */
.fd-related { margin-top: 36px; min-width: 0; }
.fd-related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; margin-bottom: 16px; }
.fd-related-head h2 { font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.6rem); letter-spacing: -.02em; margin: 4px 0 0; }
.fd-more-link { font-weight: 800; font-size: .88rem; border-bottom: 2px solid var(--fd-ink); padding: 6px 2px; }
.fd-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 74%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: none; min-width: 0; max-width: 100%; }
.fd-rail::-webkit-scrollbar { display: none; }
.fd-find { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--fd-surface); border: 1px solid var(--fd-line); border-radius: var(--fd-r); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.fd-find:hover { transform: translateY(-3px); box-shadow: var(--fd-shadow); }
.fd-find-img { position: relative; aspect-ratio: 4 / 3; background: #e2e8f0; overflow: hidden; }
.fd-find-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-find-img.is-ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #fff, var(--fd-red-wash)); color: var(--fd-red); font-size: 2.2rem; }
.fd-find-type { position: absolute; left: 10px; top: 10px; background: rgba(15,23,42,.78); backdrop-filter: blur(8px); color: #fff; font-weight: 800; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; }
.fd-find-offer { position: absolute; right: 10px; top: 10px; background: var(--fd-red); color: #fff; font-weight: 800; font-size: .7rem; padding: 5px 10px; border-radius: 99px; }
.fd-find-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fd-find-title { font-weight: 700; font-size: .95rem; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fd-find-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .78rem; color: var(--fd-mute); }
.fd-find-price { font-weight: 800; color: var(--fd-ink); }

/* In-flow mobile actions (Clean, non-sticky; leaves global footer alone) */
.fd-mobile-actions {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    border-radius: var(--fd-r);
    box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.fd-mobile-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}
.fd-mobile-actions-grid .fd-btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: .88rem;
}

/* Lightbox & Dialogs */
body.fd-modal-open {
    overflow: hidden !important;
}
body.fd-modal-open .mobile-bottom-nav {
    display: none !important;
}

.fd-lightbox {
    border: 0;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    background: rgba(2,6,23,.98);
    color: #fff;
    overflow: hidden;
    z-index: 10050;
}
.fd-lightbox::backdrop {
    background: rgba(2,6,23,.96);
    backdrop-filter: blur(8px);
}
.fd-lightbox-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(14px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) 12px calc(16px + env(safe-area-inset-left, 0px));
    z-index: 100;
    background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, transparent 100%);
    pointer-events: none;
}
.fd-lightbox-bar > * {
    pointer-events: auto;
}
.fd-lightbox-count {
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .05em;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.14);
    padding: 6px 14px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
}
.fd-lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .18s, background .18s;
}
.fd-lightbox-close:hover,
.fd-lightbox-close:active {
    background: rgba(255,255,255,.3) !important;
    transform: scale(1.06);
}
.fd-lightbox-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 14px calc(64px + env(safe-area-inset-bottom, 0px));
    z-index: 10;
    cursor: zoom-out;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease;
}
.fd-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    pointer-events: auto;
}
.fd-lightbox .prev,
.fd-lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255,255,255,.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
}
.fd-lightbox .prev { left: 16px; }
.fd-lightbox .next { right: 16px; }
.fd-lightbox-hint {
    position: absolute;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}
.fd-lightbox-hint span {
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.45);
    padding: 5px 12px;
    border-radius: 99px;
    letter-spacing: .04em;
}

.fd-sheet { border: 0; border-radius: 24px; padding: 26px; width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(15,23,42,.35); color: var(--fd-ink); }
.fd-sheet::backdrop { background: rgba(15,23,42,.55); backdrop-filter: blur(3px); }
.fd-sheet h3 { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin: 0 0 6px; }
.fd-sheet p { color: var(--fd-ink-2); margin: 0 0 18px; line-height: 1.55; font-size: .92rem; }
.fd-sheet .fd-btn + .fd-btn { margin-top: 8px; }
.fd-toast { position: fixed; left: 50%; bottom: calc(var(--fd-nav-h) + 16px); translate: -50% 12px; z-index: 1100; background: var(--fd-ink); color: #fff; font-weight: 700; font-size: .85rem;
    padding: 12px 18px; border-radius: 99px; box-shadow: 0 14px 34px rgba(15,23,42,.3); opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; max-width: calc(100% - 32px); text-align: center; }
.fd-toast.is-visible { opacity: 1; translate: -50% 0; }

/* >= 576px */
@media (min-width: 576px) {
    .fd-wrap { width: min(1240px, 100% - 48px); }
    .fd-card { padding: 24px; }
}

/* >= 768px (tablet) */
@media (min-width: 768px) {
    .fd-track, .fd-ph { aspect-ratio: 16 / 10; max-height: 520px; }
    .fd-arrow { display: inline-grid; }
    .fd-ticket-top, .fd-ticket-body { padding-left: 26px; padding-right: 26px; }
    .fd-rail { grid-auto-columns: minmax(250px, 42%); }
}

/* >= 992px (desktop) */
@media (min-width: 992px) {
    .fd-wrap { padding-bottom: 56px; }
    .fd-grid { grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr); gap: 32px; }
    .fd-side { position: sticky; top: calc(var(--fd-top) + 16px); }
    .fd-toast { bottom: 28px; }
    .fd-rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
    .fd-find:nth-child(n+7) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fd *, .fd *::before, .fd *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.fd .min-w-0 { min-width: 0; }
