/* McCallum Prototypes — site styles (Workshop palette) */
:root {
  --primary: #14213D;
  --accent: #F26A21;
  --muted: #5C677D;
  --bg: #F5F3EF;
  --surface: #FFFFFF;
  --text: #14213D;
  --on-primary: #FFFFFF;
  --on-accent: #14213D;
  --border: #E2DED6;
  --success: #1F7A4D;
  --error: #B42318;
  --radius: 14px;
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: #F47B37; color: var(--on-accent); box-shadow: 0 6px 18px rgba(242,106,33,.3); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: #1E2F55; color: var(--on-primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: var(--on-primary); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: var(--on-primary); }
.btn-lg { min-height: 56px; font-size: 17px; padding: 14px 30px; }
.btn-block { width: 100%; }
.btn-wrap { white-space: normal; overflow-wrap: anywhere; text-align: center; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Dimension-line motif (from the logo) ---------- */
.dim { display: flex; align-items: center; margin-bottom: 12px; }
.dim span { background: var(--accent); }
.dim .tick { width: 2px; height: 12px; }
.dim .bar { width: 44px; height: 2px; }
.dim.center { justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.eyebrow .tick { width: 2px; height: 14px; background: var(--accent); }
.eyebrow .bar { width: 36px; height: 2px; background: var(--accent); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--primary); color: var(--on-primary); font-size: 14px; text-align: center; padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.announce a { color: var(--on-primary); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 50px; width: auto; }
.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 6px; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 12px; font-family: var(--font-heading); font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 8px; }
.main-nav a:hover { background: var(--bg); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--bg); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.header-buy { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 8px; min-height: 68px; }
  .logo img { height: 42px; }
  .nav-toggle { display: grid; order: 3; }
  .header-actions { margin-left: auto; }
  .header-buy { display: none; }
  .main-nav { order: 4; flex-basis: 100%; display: none; padding-bottom: 12px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--border); border-radius: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 600; }
.section-head p { font-size: 18px; color: var(--muted); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* ---------- Hero ---------- */
.hero { background: var(--primary); color: var(--on-primary); }
.hero-inner { padding: 64px 24px 84px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 58px); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.hero-lead { font-size: 20px; max-width: 540px; opacity: .92; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.price { font-family: var(--font-heading); font-size: 32px; font-weight: 600; }
.price-note { font-size: 15px; opacity: .85; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media .frame { background: #FFFFFF; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.dimline { position: absolute; left: 28px; right: 28px; bottom: -20px; display: flex; align-items: center; color: var(--accent); }
.dimline .tick { width: 2px; height: 16px; background: var(--accent); }
.dimline .bar { flex: 1; height: 2px; background: var(--accent); }
.dimline .label { background: var(--primary); padding: 0 12px; font-family: var(--font-heading); font-size: 13px; letter-spacing: .12em; white-space: nowrap; }
@media (max-width: 640px) { .hero-inner { padding: 40px 20px 64px; gap: 40px; } .hero-lead { font-size: 18px; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust ul { list-style: none; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; font-size: 15px; max-width: var(--wrap); }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--accent); flex: none; }
.trust strong { display: block; font-weight: 600; }
.trust small { color: var(--muted); font-size: 14px; }

/* ---------- Cards / grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { background: #FFFFFF; aspect-ratio: 1 / 1; border-bottom: 1px solid var(--border); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 19px; font-weight: 600; }
.card-body p { color: var(--muted); font-size: 15px; }
.num { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 14px; flex: none; }
.card-title { display: flex; align-items: center; gap: 10px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps .big { font-family: var(--font-heading); font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent); width: 48px; flex: none; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* ---------- Specs ---------- */
.specs-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.drawing { margin: 0; flex: 999 1 560px; min-width: 0; background: #FFFFFF; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.drawing a { display: block; }
.drawing figcaption { padding: 10px 18px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
.spec-list { margin: 0; flex: 1 1 300px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; border-top: 1px solid var(--border); }
.spec-list dt { padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.spec-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--muted); }

/* ---------- Buy box ---------- */
.buy-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.buy-panel .media { background: #FFFFFF; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--border); }
.buy-panel .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .buy-panel { padding: 20px; gap: 24px; } }
.buybox { display: flex; flex-direction: column; gap: 18px; }
.buybox h2, .buybox h1 { font-weight: 600; }
.buybox h2 { font-size: 32px; }
.in-stock { font-size: 14px; color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.option-group { border: 0; padding: 0; margin: 0; }
.option-group legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option label { white-space: normal; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 10px; border: 2px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 15px; }
.option input:checked + label { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; flex: none; border: 1px solid rgba(0,0,0,.15); }
.swatch-standard { background: linear-gradient(135deg, #F26A21 0 50%, #1F3361 50% 100%); }
.swatch-custom { background: conic-gradient(#E63946, #F4A261, #E9C46A, #2A9D8F, #264653, #8E44AD, #E63946); }
.option-help { font-size: 14px; color: var(--muted); margin-top: 8px; }
.option-help[hidden] { display: none; }
.qty-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); height: 56px; }
.qty button { width: 48px; height: 54px; border: 0; background: transparent; font-size: 22px; color: var(--text); cursor: pointer; border-radius: 10px; }
.qty button:hover { background: var(--bg); }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 600; background: transparent; color: var(--text); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 46px; }
.qty-sm button { width: 42px; height: 44px; font-size: 20px; }
.add-btn { flex: 1 1 220px; }
.fine { font-size: 14px; color: var(--muted); }
.fine a { text-decoration: underline; }
.mini-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; list-style: none; margin: 0; }
.mini-trust li { display: flex; align-items: center; gap: 8px; }
.mini-trust svg { color: var(--accent); flex: none; }

/* Added-to-cart toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--primary); color: var(--on-primary); border-radius: 14px; padding: 14px 16px 14px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 32px rgba(20,33,61,.35); z-index: 80; transition: transform .25s ease; max-width: calc(100% - 32px); flex-wrap: wrap; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--on-primary); }
.toast .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-heading); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }
.faq details a { color: var(--text); }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy p { color: var(--muted); font-size: 17px; }
.signature { font-family: var(--font-heading); font-weight: 600; color: var(--text) !important; }
.photo-frame { border-radius: 18px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Drawing board + signup ---------- */
.bp { background-color: #0F3460; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 20px 20px; color: #FFFFFF; }
.teaser { border-radius: 16px; padding: 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; text-decoration: none; }
.teaser:hover { color: #FFFFFF; }
.teaser .pill { align-self: flex-start; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 3px 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.teaser h3 { font-size: 20px; font-weight: 600; }
.teaser p { font-size: 14px; opacity: .85; }
.signup { background: var(--primary); color: var(--on-primary); border-radius: 20px; padding: 40px 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; margin-top: 28px; }
.signup h2, .signup h3 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.signup p { opacity: .88; }
.signup form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 380px; max-width: 480px; }
.signup input[type=email] { flex: 1 1 240px; height: 52px; border-radius: 10px; border: 0; padding: 0 16px; font-size: 16px; font-family: var(--font-body); }
.signup .status { flex-basis: 100%; font-size: 15px; min-height: 1.6em; }
.signup .code { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 2px 10px; border-radius: 6px; letter-spacing: .05em; }
@media (max-width: 640px) { .signup { padding: 28px 22px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(32px, 4.5vw, 44px); font-weight: 700; margin-bottom: 10px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 720px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.breadcrumb a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; font-weight: 600; margin: 40px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: #3A4459; font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 28px; margin: 28px 0; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 56px; align-items: start; padding-bottom: 72px; }
@media (max-width: 480px) { .product-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
@media (max-width: 960px) { .gallery { position: static; } }
.gallery-main { background: #FFFFFF; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; margin: 0; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.thumbs button { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border-radius: 10px; border: 2px solid var(--border); background: #FFFFFF; cursor: pointer; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-size: clamp(32px, 4vw, 40px); font-weight: 700; margin: 6px 0 10px; }
.kicker { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-family: var(--font-heading); font-weight: 600; font-size: 17px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { padding: 0 0 18px; color: var(--muted); }
.accordion .acc-body p + p { margin-top: 10px; }
.accordion .acc-body ul { margin: 8px 0; padding-left: 20px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; z-index: 60; box-shadow: 0 -8px 24px rgba(20,33,61,.08); }
.sticky-buy .p { font-family: var(--font-heading); font-weight: 600; font-size: 18px; }
.sticky-buy .btn { flex: 1; }
@media (max-width: 760px) { .sticky-buy.visible { display: flex; } body.has-sticky-buy { padding-bottom: 76px; } }

/* ---------- Cart ---------- */
.cart-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 88px; }
.cart-items { flex: 999 1 560px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto; gap: 8px 20px; padding: 22px 24px; border-bottom: 1px solid var(--border); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .thumb { width: 104px; height: 104px; border-radius: 12px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--border); grid-row: span 2; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h2 { font-size: 17px; font-weight: 600; }
.cart-line h2 a { text-decoration: none; }
.cart-line .meta { color: var(--muted); font-size: 14px; }
.cart-line .line-total { font-weight: 600; font-size: 17px; text-align: right; }
.cart-line .controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; grid-column: 2 / 4; }
.link-btn { border: 0; background: transparent; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; min-height: 44px; padding: 0 6px; }
.link-btn:hover { color: var(--text); }
@media (max-width: 560px) { .cart-line { grid-template-columns: 76px 1fr; padding: 18px; } .cart-line .thumb { width: 76px; height: 76px; } .cart-line .line-total { grid-column: 2; text-align: left; } .cart-line .controls { grid-column: 1 / 3; } }
.cart-empty { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ship-progress { padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 15px; }
.summary { flex: 1 1 320px; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
@media (max-width: 960px) { .summary { position: static; max-width: none; } }
.summary h2 { font-size: 22px; font-weight: 600; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); }
.input, .textarea { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #C9C3B8; padding: 10px 14px; font-size: 16px; font-family: var(--font-body); color: var(--text); background: #FFFFFF; }
.textarea { min-height: 88px; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 0; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-row .btn { min-height: 48px; padding: 0 18px; }
.coupon-applied { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg); border-radius: 10px; padding: 6px 6px 6px 12px; font-size: 14px; }
.form-error { margin-top: 8px; color: var(--error); font-size: 14px; }
.totals { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: 10px; font-size: 15px; }
.totals dd { margin: 0; text-align: right; }
.totals .discount { color: var(--success); }
.grand { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--border); padding-top: 14px; }
.grand strong:first-child { font-family: var(--font-heading); font-size: 18px; }
.grand strong:last-child { font-family: var(--font-heading); font-size: 26px; }
.pay-note { font-size: 13px; color: var(--muted); text-align: center; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(20,33,61,.25); border-top-color: var(--on-accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--on-primary); }
.footer-grid { padding: 56px 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; font-size: 15px; max-width: var(--wrap); margin: 0 auto; }
.footer-grid h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--on-primary); text-decoration: none; opacity: .88; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; color: var(--on-primary); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 180px; }
.footer-brand address { font-style: normal; opacity: .85; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; opacity: .85; }
