/* Customer-care pages (shipping, returns, FAQ, order tracking), 404 and
   account security screens. Uses the site tokens from style.css. */

.info-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.info-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; padding: 6px 0 6px 14px; border-left: 2px solid var(--line, #e4e8ee); }
.info-toc a { padding: 6px 0; color: var(--mist, #64748b); font-size: .92rem; line-height: 1.35; }
.info-toc a:hover, .info-toc a:focus-visible { color: var(--navy, #1c3b60); }
.info-body { max-width: 760px; min-width: 0; }
.info-body h2 { scroll-margin-top: 96px; }
.info-body ul, .info-body ol { padding-left: 1.2rem; margin: 0 0 12px; line-height: 1.65; }
.info-body li { margin-bottom: 4px; }

.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.info-card { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line, #e4e8ee); border-radius: 12px; background: var(--cloud, #f5f7fa); }
.info-card strong { font-family: var(--font-display, inherit); color: var(--navy-800, #16304f); font-size: 1.12rem; }
.info-card span { color: var(--mist, #64748b); font-size: .88rem; line-height: 1.4; }

.info-rates { margin: 6px 0 16px; border: 1px solid var(--line, #e4e8ee); border-radius: 12px; background: #fff; }
.info-rates > summary { padding: 13px 16px; cursor: pointer; font-weight: 600; color: var(--navy-800, #16304f); }
.info-rates > summary:focus-visible { outline: 2px solid var(--gold, #c9962f); outline-offset: 2px; border-radius: 12px; }
.info-rates[open] > summary { border-bottom: 1px solid var(--line, #e4e8ee); }
.info-table-wrap { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.info-table th, .info-table td { padding: 10px 16px; border-bottom: 1px solid var(--line, #e4e8ee); text-align: left; }
.info-table th { color: var(--mist, #64748b); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.info-table tbody tr:last-child td { border-bottom: 0; }
.info-note { margin: 10px 16px 14px; color: var(--mist, #64748b); font-size: .86rem; }
.info-body > .info-note { margin: 18px 0 0; }

.info-steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.info-steps li { counter-increment: step; position: relative; padding: 2px 0 10px 42px; }
.info-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800, #16304f); color: #fff; font-size: .82rem; font-weight: 700; }

.info-help { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: var(--gold-100, #f7edd8); }
.info-help p { margin: 0; line-height: 1.6; }

/* FAQ */
.faq-group { font-size: 1.15rem; margin: 26px 0 10px; }
.faq-group:first-child { margin-top: 0; }
.faq-list { border-top: 1px solid var(--line, #e4e8ee); }
.faq-item { border-bottom: 1px solid var(--line, #e4e8ee); }
.faq-item > summary { position: relative; display: block; padding: 15px 40px 15px 0; cursor: pointer; font-weight: 600; color: var(--navy-800, #16304f); list-style: none; line-height: 1.4; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item > summary:focus-visible { outline: 2px solid var(--gold, #c9962f); outline-offset: 2px; }
.faq-a { padding: 0 0 16px; color: var(--ink, #22303f); }
.faq-a p { margin: 0; line-height: 1.65; }

/* Order tracking */
.track-wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; align-items: start; }
.track-form { padding: 22px; border: 1px solid var(--line, #e4e8ee); border-radius: 14px; background: #fff; box-shadow: var(--shadow, 0 10px 30px rgba(12,26,44,.08)); }
.track-form .muted-line { margin: 0; font-size: .88rem; }
.track-result { margin: 0; }
.track-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 18px; margin: 14px 0; }
.track-facts div { display: grid; gap: 2px; }
.track-facts dt { color: var(--mist, #64748b); font-size: .8rem; }
.track-facts dd { margin: 0; font-weight: 600; }

/* 404 */
.notfound-in { max-width: 640px; text-align: center; }
.notfound-code { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(4.5rem, 16vw, 8rem); font-weight: 800; line-height: 1; color: var(--gold-100, #f7edd8); -webkit-text-stroke: 2px var(--gold, #c9962f); }
.notfound-in h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: 8px; }
.notfound-search { display: flex; gap: 8px; max-width: 460px; margin: 22px auto 14px; }
.notfound-search input { flex: 1; min-width: 0; }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.notfound-h2 { font-size: 1.3rem; text-align: center; margin-bottom: 18px; }

/* Sign-in code */
.code-input { font-family: 'Courier New', Courier, monospace; font-size: 1.5rem !important; letter-spacing: .45em; text-align: center; font-weight: 700; }
.auth-card form.auth-alt { margin-top: 10px; }
.footer-biz { opacity: .85; }

@media (max-width: 900px) {
    .info-page { grid-template-columns: 1fr; gap: 18px; }
    .info-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 0; border-left: 0; }
    .info-toc a { padding: 7px 12px; border: 1px solid var(--line, #e4e8ee); border-radius: 999px; font-size: .85rem; background: #fff; }
    .track-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .info-cards { grid-template-columns: 1fr; }
    .info-card { flex-direction: row; align-items: baseline; gap: 8px; padding: 12px 14px; }
    .info-table th, .info-table td { padding: 9px 12px; }
    .track-form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .faq-item > summary::after { transition: none; } }

/* Shipping and returns reuse the legal-page layout (main.js adds the contents list). */
.info-legal .info-cards { margin-bottom: 8px; }
.info-legal ol.info-steps li::marker { content: none; }

/* Support chat composer: one rounded bar with the text box inside it.
   The site-wide form style (white box, square corners, focus ring) was
   also landing on the chat textarea, drawing a second box inside the bar. */
body.cine .chat-form .chat-field { align-items: center; background: #fff; border: 1px solid var(--line, #e4e8ee); padding: 4px 4px 4px 6px; }
body.cine .chat-form .chat-field:focus-within { border-color: var(--brass, #c4a159); box-shadow: 0 0 0 3px rgba(196, 161, 89, .18); }
body.cine .chat-form .chat-field textarea,
body.cine .chat-form .chat-field textarea:focus {
    min-height: 40px; padding: 9px 10px; border: 0; border-radius: 0; background: transparent;
    box-shadow: none; outline: none; font-size: 16px; line-height: 1.4;
}
body.cine .chat-form .chat-send { width: 40px; height: 40px; border-radius: 50%; }
body.cine .chat-form .chat-send:focus-visible { outline: 2px solid var(--ink, #0f1b2b); outline-offset: 2px; }

/* Homepage hero: keep uploaded banner photos crisp.
   The slow zoom used to reach 116–118%, which enlarges the photo past its own
   pixels and softens it, and the dark wash covered the whole picture. The zoom
   now stays within 6% and the shading sits only where the menu and headline
   need it, so the photo shows at full sharpness and colour. */
@media (prefers-reduced-motion: no-preference) {
    body.cine .cine-hero .hero-slide.current:is(img) { animation: wrHeroIn 14s cubic-bezier(.22, .61, .36, 1) forwards; }
    body.cine .cine-hero .hero-slide.current:is(img):nth-child(even) { animation-name: wrHeroOut; }
}
@keyframes wrHeroIn  { from { transform: scale(1.005); } to { transform: scale(1.06) translate3d(.6%, -.4%, 0); } }
@keyframes wrHeroOut { from { transform: scale(1.06) translate3d(.6%, -.4%, 0); } to { transform: scale(1.005); } }
body.cine .cine-hero .hero-slide:is(img) { image-rendering: auto; backface-visibility: hidden; }
body.cine .cine-hero .cine-hero-scrim {
    background:
        linear-gradient(180deg, rgba(6,15,27,.58) 0%, rgba(6,15,27,.20) 20%, rgba(6,15,27,0) 36%,
                        rgba(6,15,27,0) 58%, rgba(6,15,27,.38) 80%, rgba(6,15,27,.78) 100%),
        linear-gradient(90deg, rgba(6,15,27,.28) 0%, rgba(6,15,27,0) 45%);
}
body.cine .cine-hero .cine-hero-top,
body.cine .cine-hero .cine-hero-tagline { text-shadow: 0 1px 14px rgba(6, 15, 27, .55), 0 0 2px rgba(6, 15, 27, .35); }