:root {
  --navy: #1c2a38;
  --navy-2: #263b4d;
  --navy-3: #dfe9ee;
  --ink: #15202a;
  --muted: #697681;
  --canvas: #f4f6f5;
  --surface: #fff;
  --line: #e4e9e8;
  --orange: #ff6417;
  --radius-card: 28px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(28, 42, 56, .09);
  --shadow-soft: 0 5px 18px rgba(28, 42, 56, .08);
  --rail: 74px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: "Noto Sans TC", "PingFang TC", system-ui, sans-serif; font-size: 15px; line-height: 1.55; letter-spacing: -.018em; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.icon,
.lucide { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.eyebrow { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }

.side-rail { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; background: var(--surface); border-right: 1px solid var(--line); padding: 17px 0 18px; }
.rail-mark { width: 46px; height: 46px; overflow: hidden; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(28,42,56,.08); }
.rail-mark img { width: 296px; max-width: none; height: auto; transform: translateX(0); }
.side-rail nav { display: grid; gap: 10px; width: 100%; margin-top: 58px; }
.rail-link, .rail-account { position: relative; width: 100%; min-height: 61px; display: grid; justify-items: center; align-content: center; gap: 4px; color: #a5afb5; font-size: 10px; font-weight: 600; transition: color .2s, background .2s; }
.rail-link.active, .rail-link:hover, .rail-account:hover { color: var(--navy); }
.rail-link.active::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.rail-link b, .cart-shortcut b { position: absolute; top: 5px; right: 13px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; background: var(--orange); color: #fff; font-size: 10px; line-height: 1; }
.rail-account { margin-top: auto; }
.site-shell { min-height: 100vh; padding-left: var(--rail); }
.notice-bar { height: 34px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; font-size: 11px; letter-spacing: .04em; }
.site-header { position: sticky; z-index: 10; top: 0; min-height: 82px; padding: 15px max(24px, calc((100vw - var(--rail) - var(--max)) / 2)) 13px; display: flex; align-items: center; gap: 28px; background: rgba(244, 246, 245, .94); border-bottom: 1px solid rgba(228, 233, 232, .82); backdrop-filter: blur(18px); }
.brand { min-width: 205px; display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; object-fit: cover; object-position: left center; border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(28,42,56,.08); background: #fff; }
.brand > span { color: var(--navy); font-size: 10px; font-weight: 700; line-height: 1.08; letter-spacing: .08em; }
.brand > span b { font-size: 10px; }
.desktop-nav { display: flex; align-items: center; gap: 19px; flex: 1; }
.desktop-nav a { position: relative; color: var(--muted); font-size: 13px; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--navy); }
.desktop-nav a.active::after { content: ""; position: absolute; right: 0; bottom: -12px; left: 0; height: 2px; border-radius: 2px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.search-form { width: min(280px, 24vw); height: 44px; padding: 4px 4px 4px 16px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-soft); }
.search-form input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-form input::placeholder { color: #97a0a5; }
.search-form button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; }
.search-form button .icon,
.search-form button .lucide { width: 17px; height: 17px; }
.header-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--navy); }
.header-icon:hover { background: var(--navy); color: #fff; }
.cart-shortcut b { top: -5px; right: -4px; }
.flash, .alert { margin-top: 16px; }
.flash { width: fit-content; padding: 10px 17px; border-radius: var(--radius-pill); background: var(--navy); color: #fff; box-shadow: var(--shadow-soft); }
.alert { padding: 12px 16px; border: 1px solid #f1a58d; border-radius: 16px; background: #fff5f1; color: #a83e24; }

.discover-hero { min-height: 486px; padding-block: 66px 52px; display: grid; grid-template-columns: minmax(0, .84fr) minmax(420px, 1.16fr); gap: 48px; align-items: center; }
.hero-copy { max-width: 540px; }
.hero-copy .eyebrow { color: var(--orange); }
.hero-copy h1 { max-width: 520px; margin: 17px 0 18px; color: var(--navy); font-size: clamp(38px, 4.8vw, 72px); font-weight: 700; letter-spacing: -.09em; line-height: 1.08; }
.hero-copy p { max-width: 480px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; line-height: 1.2; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button .icon,
.button .lucide { width: 17px; height: 17px; }
.button-dark { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(28, 42, 56, .18); }
.button-dark:hover { background: #0d1823; }
.button-light { border-color: var(--line); background: #fff; color: var(--navy); }
.button-danger { border-color: #f0c8bf; background: #fff4f1; color: #a83e24; }
.button-ghost { border-color: var(--line); background: transparent; color: var(--navy); }
.button-whatsapp { background: #1e8f62; color: #fff; }
.button.full { width: 100%; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.hero-note span { padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(255,255,255,.7); }
.hero-collage { position: relative; min-height: 370px; }
.hero-tile { position: absolute; width: 45%; overflow: hidden; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow); transition: transform .25s; }
.hero-tile:hover { transform: translateY(-7px) rotate(0deg); }
.hero-tile.tile-1 { top: 0; left: 6%; transform: rotate(-5deg); }
.hero-tile.tile-2 { top: 64px; right: 2%; transform: rotate(5deg); }
.hero-tile.tile-3 { bottom: 0; left: 27%; transform: rotate(-1deg); }
.hero-tile.tile-1:hover, .hero-tile.tile-2:hover, .hero-tile.tile-3:hover { transform: translateY(-7px) rotate(0); }
.hero-tile .product-visual { aspect-ratio: 1.15; }
.hero-tile-name { display: block; min-height: 43px; padding: 10px 13px 12px; overflow: hidden; color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.hero-seal { position: absolute; right: 31%; bottom: 17px; width: 68px; height: 68px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,100,23,.6); border-radius: 50%; background: var(--orange); color: #fff; font-size: 20px; font-weight: 800; line-height: .8; text-align: center; transform: rotate(11deg); box-shadow: 0 10px 25px rgba(255,100,23,.22); }
.hero-seal span { margin-top: 7px; font-size: 8px; letter-spacing: .16em; }
.category-pills { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.category-pills::-webkit-scrollbar { display: none; }
.category-pills a { flex: 0 0 auto; min-height: 42px; padding: 8px 11px 8px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-soft); }
.category-pills a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.category-pills .icon,
.category-pills .lucide { width: 15px; height: 15px; }

.category-section, .product-section, .shelf-section { padding-top: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 7px 0 4px; color: var(--navy); font-size: clamp(25px, 3vw, 40px); letter-spacing: -.07em; line-height: 1.12; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--orange); }
.text-link .icon,
.text-link .lucide { width: 16px; height: 16px; }
.category-mosaic { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 176px 176px; gap: 16px; }
.category-feature { position: relative; min-width: 0; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: end; border-radius: 34px; background: linear-gradient(135deg, rgba(28,42,56,.18), rgba(28,42,56,.03)), var(--category-image) center / cover; color: #fff; isolation: isolate; box-shadow: 0 18px 42px rgba(28,42,56,.10); transition: transform .22s ease, box-shadow .22s ease; }
.category-feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 18%, rgba(255,255,255,.12), transparent 26%), linear-gradient(180deg, rgba(9,18,28,.06) 0%, rgba(9,18,28,.18) 34%, rgba(9,18,28,.72) 100%); }
.category-feature::after { content: ""; position: absolute; inset: auto 0 0 0; height: 52%; background: linear-gradient(180deg, rgba(7,15,22,0) 0%, rgba(7,15,22,.78) 100%); }
.category-feature:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(28,42,56,.16); }
.category-feature > * { position: relative; z-index: 1; }
.category-feature-1 { grid-row: span 2; }
.category-feature-2 { background-color: #617583; }
.category-feature-3 { background-color: #bf7d5e; }
.category-feature-4 { grid-column: span 2; background-color: #827b6d; }
.category-feature .eyebrow { margin-bottom: 10px; color: rgba(233,240,245,.62); font-size: 13px; letter-spacing: .08em; }
.category-feature strong { max-width: 72%; margin-top: 0; font-size: clamp(26px, 2vw, 34px); font-weight: 800; letter-spacing: -.075em; line-height: 1.02; text-shadow: 0 6px 16px rgba(0,0,0,.18); }
.category-feature small { max-width: 420px; margin-top: 10px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45; text-shadow: 0 4px 10px rgba(0,0,0,.16); }
.category-arrow { position: absolute; top: 20px; right: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.category-arrow .icon,
.category-arrow .lucide { width: 18px; height: 18px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.product-grid-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; overflow: hidden; border: 1px solid rgba(228,233,232,.78); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .24s, box-shadow .24s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card-media { display: block; padding: 8px; padding-bottom: 0; }
.product-visual { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 21px; background: #edf1f0; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-visual img { transform: scale(1.045); }
.product-visual.hero { border-radius: 20px 20px 0 0; }
.product-visual.thumb { width: 105px; aspect-ratio: 1; }
.visual-badge { position: absolute; left: 11px; bottom: 10px; padding: 4px 8px; border-radius: var(--radius-pill); background: rgba(28,42,56,.84); color: #fff; font-size: 10px; font-weight: 600; }
.visual-empty { display: grid; place-items: center; background: var(--navy-3); color: var(--navy); }
.product-card-body { padding: 14px 15px 16px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.product-meta b { padding: 4px 7px; border-radius: var(--radius-pill); background: #fff0e9; color: #c94b1b; font-size: 10px; font-weight: 700; }
.product-card h3 { min-height: 44px; margin: 9px 0 5px; font-size: 15px; letter-spacing: -.045em; line-height: 1.45; }
.product-card h3 a:hover { color: var(--orange); }
.product-card p { min-height: 42px; margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card small { min-height: 33px; margin-top: 9px; display: block; overflow: hidden; color: #899398; font-size: 10px; line-height: 1.45; }
.product-card-footer { min-height: 44px; margin-top: 13px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price-stack { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price-stack strong { color: var(--navy); font-size: 20px; letter-spacing: -.055em; }
.price-stack del { color: #a3abad; font-size: 11px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: #fff; }
.icon-button:hover { background: var(--orange); }
.icon-button .icon,
.icon-button .lucide { width: 17px; height: 17px; }
.promise-section { margin-top: 82px; padding: 76px 0; background: var(--navy); color: #fff; }
.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.promise-grid .eyebrow { color: #f3a47d; }
.promise-grid h2 { max-width: 500px; margin: 12px 0 15px; font-size: clamp(28px, 4vw, 50px); letter-spacing: -.08em; line-height: 1.12; }
.promise-grid > div > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.promise-grid .button { margin-top: 25px; background: #fff; color: var(--navy); }
.promise-list { display: grid; gap: 0; }
.promise-list > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.promise-list b { grid-row: span 2; color: #f3a47d; font-size: 12px; }
.promise-list h3 { margin: 0; font-size: 18px; }
.promise-list p { margin: 4px 0 0; color: rgba(255,255,255,.62); font-size: 12px; }

.page-heading { padding-top: 62px; padding-bottom: 26px; }
.page-heading h1 { margin: 12px 0 10px; color: var(--navy); font-size: clamp(34px, 5vw, 60px); letter-spacing: -.08em; line-height: 1.1; }
.page-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.page-heading.compact { padding-bottom: 6px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 24px; padding-bottom: 90px; }
.cart-panel, .checkout-form, .summary-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-soft); }
.support-page { padding-bottom: 88px; }
.support-hero { padding-top: 52px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); gap: 24px; align-items: stretch; }
.support-hero-copy { padding: 34px; border-radius: 36px; background: linear-gradient(135deg, #1c2a38 0%, #263b4d 100%); color: #fff; box-shadow: 0 26px 56px rgba(28,42,56,.18); }
.support-hero-copy .eyebrow { color: rgba(255,255,255,.62); }
.support-hero-copy h1 { margin: 10px 0 14px; font-size: clamp(38px, 4.2vw, 64px); letter-spacing: -.08em; line-height: 1.03; }
.support-hero-copy p { max-width: 580px; margin: 0; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.75; }
.support-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.support-points span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; }
.support-contact-card { padding: 30px; border-radius: 32px; background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%); border: 1px solid rgba(228,233,232,.92); box-shadow: 0 18px 42px rgba(28,42,56,.08); }
.support-contact-card h2 { margin: 8px 0 12px; color: var(--navy); font-size: 30px; letter-spacing: -.06em; line-height: 1.08; }
.support-contact-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.support-contact-meta { margin-top: 18px; display: grid; gap: 12px; }
.support-contact-meta div { padding: 14px 16px; border-radius: 20px; background: #f5f8f8; }
.support-contact-meta span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.support-contact-meta strong { color: var(--navy); font-size: 14px; line-height: 1.5; }
.support-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding-top: 28px; }
.support-info-panel { min-width: 0; }
.support-info-card { position: sticky; top: 104px; padding: 26px; border: 1px solid rgba(228,233,232,.92); border-radius: 30px; background: #fff; box-shadow: var(--shadow-soft); }
.support-info-card h3 { margin: 8px 0 12px; color: var(--navy); font-size: 28px; letter-spacing: -.05em; }
.support-info-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.support-form-card { padding: 28px; border-radius: 32px; box-shadow: 0 20px 42px rgba(28,42,56,.07); }
.support-form-head { margin-bottom: 18px; }
.support-form-head h2 { margin: 8px 0 10px; color: var(--navy); font-size: 32px; letter-spacing: -.06em; line-height: 1.08; }
.support-form-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cart-line { display: grid; grid-template-columns: 105px minmax(0, 1fr) 68px 90px; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-of-type { border-bottom: 0; }
.cart-line h3 { margin: 4px 0 5px; font-size: 15px; line-height: 1.4; }
.cart-line h3 a:hover { color: var(--orange); }
.cart-line p { margin: 0; color: var(--muted); font-size: 11px; }
.cart-line > strong { color: var(--navy); text-align: right; }
.qty-label input { width: 60px; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); text-align: center; }
.text-button { margin-top: 7px; padding: 0; border: 0; background: none; color: var(--orange); font-size: 11px; }
.cart-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.summary-card { align-self: start; position: sticky; top: 102px; }
.summary-card h2 { margin: 8px 0 22px; color: var(--navy); font-size: 25px; letter-spacing: -.06em; }
.summary-row, .summary-total, .summary-product { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary-total { margin-top: 8px; padding-top: 17px; border-bottom: 0; color: var(--navy); font-weight: 700; }
.summary-total strong { font-size: 23px; }
.muted, .fine-print { color: var(--muted); }
.fine-print { margin: 15px 0 0; font-size: 11px; }
.empty-state { min-height: 250px; padding: 45px 20px; display: grid; place-items: center; align-content: center; gap: 17px; text-align: center; }
.empty-state h2 { margin: 0; color: var(--navy); font-size: 23px; }
.empty-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-3); color: var(--navy); }
.checkout-form > label, .checkout-form .form-grid label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--navy); font-size: 12px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: #fbfcfb; color: var(--ink); font-size: 13px; font-weight: 400; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28,42,56,.1); }
.checkout-form textarea { resize: vertical; }
.form-static { padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px; background: #f0f3f2; color: var(--muted); font-size: 13px; font-weight: 400; }
.summary-product { align-items: start; font-size: 11px; }
.success-page { max-width: 700px; min-height: 500px; padding-top: 100px; padding-bottom: 120px; text-align: center; }
.success-mark { width: 70px; height: 70px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 32px; }
.success-page h1 { margin: 14px 0; color: var(--navy); font-size: 48px; letter-spacing: -.08em; }
.success-page p { color: var(--muted); }
.order-code { max-width: 360px; margin: 26px auto; padding: 16px; display: grid; gap: 4px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.order-code span { color: var(--muted); font-size: 11px; }
.order-code strong { color: var(--navy); font-size: 22px; letter-spacing: .08em; }
.config-notice { margin: 25px auto; padding: 13px; border-radius: 14px; background: #fff4f1; color: #a83e24; }

footer { margin-top: 0; padding: 55px 0 20px; background: #111c25; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr; gap: 55px; }
.footer-brand { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; padding: 10px; margin-bottom: 18px; border-radius: 24px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.16); }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; filter: none; opacity: 1; }
.footer-grid p { max-width: 350px; margin: 9px 0; color: rgba(255,255,255,.6); font-size: 12px; }
.footer-grid h3 { margin: 8px 0 15px; font-size: 17px; }
.footer-grid .eyebrow { color: #f3a47d; }
.footer-contact { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #fff; font-size: 12px; font-weight: 700; }
.footer-contact .icon,
.footer-contact .lucide { width: 15px; height: 15px; }
.footer-bottom { margin-top: 45px; padding-top: 17px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); font-size: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs strong { max-width: 440px; overflow: hidden; color: var(--navy); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(26px, 4.5vw, 58px); align-items: start; padding-top: 30px; padding-bottom: 85px; }
.detail-media-panel { position: sticky; top: 104px; }
.detail-media { min-width: 0; padding: 18px; border: 1px solid rgba(228,233,232,.9); border-radius: 36px; background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%); box-shadow: 0 24px 52px rgba(28,42,56,.10); }
.product-visual.detail { min-height: 580px; display: flex; align-items: center; justify-content: center; border-radius: 28px; background: #eef3f2; }
.product-visual.detail img { width: auto; height: auto; max-width: min(100%, 540px); max-height: 520px; padding: 0; margin: 0 auto; object-fit: contain; }
.detail-copy { display: grid; gap: 16px; padding-top: 6px; }
.detail-summary-card { padding: 28px; border: 1px solid rgba(228,233,232,.9); border-radius: 32px; background: linear-gradient(180deg, #ffffff 0%, #fbfcfc 100%); box-shadow: 0 20px 42px rgba(28,42,56,.07); }
.detail-copy h1 { max-width: 640px; margin: 13px 0 16px; color: var(--navy); font-size: clamp(34px, 4vw, 54px); letter-spacing: -.075em; line-height: 1.06; }
.detail-description { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.detail-price strong { color: var(--navy); font-size: 38px; letter-spacing: -.06em; }
.detail-price del { color: #9aa3a7; font-size: 15px; }
.detail-price span { color: var(--orange); font-size: 11px; font-weight: 700; }
.detail-info-grid { display: grid; gap: 16px; }
.detail-spec,
.detail-note-card { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, #fff 0%, #fbfcfc 100%); box-shadow: 0 10px 28px rgba(28, 42, 56, .04); }
.detail-spec .eyebrow,
.detail-note-card .eyebrow { color: #7b8790; }
.detail-spec p { margin: 9px 0 0; color: var(--ink); font-size: 14px; line-height: 1.7; }
.stock-note { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.detail-add-form { display: flex; align-items: end; gap: 12px; margin-top: 8px; }
.detail-add-form label { display: grid; gap: 6px; color: var(--navy); font-size: 11px; font-weight: 700; }
.detail-add-form input { width: 88px; height: 54px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); text-align: center; font-size: 18px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.detail-add-form .button { min-height: 54px; padding-inline: 34px; font-size: 16px; }
.detail-links { display: grid; gap: 12px; margin-top: 18px; }
.button-wide { width: 100%; min-height: 58px; justify-content: center; border-width: 1px; border-radius: 999px; font-size: 16px; }
.related-section { padding-bottom: 85px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.related-card .product-visual.related { min-height: 190px; border-radius: 0; }
.related-card .product-visual.related img { object-fit: contain; padding: 16px; }
.related-card > div { padding: 13px 15px 17px; }
.related-card > div > span { color: var(--muted); font-size: 10px; }
.related-card h3 { min-height: 48px; margin: 7px 0 13px; color: var(--navy); font-size: 14px; line-height: 1.4; }
.related-card h3 a:hover { color: var(--orange); }
.related-card strong { color: var(--navy); font-size: 17px; }
.topbar { background: var(--navy); color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .05em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.page-hero-member { max-width: 720px; padding-top: 42px; padding-bottom: 24px; }
.page-hero-member h1 { margin: 10px 0 14px; color: var(--navy); font-size: clamp(42px, 5vw, 68px); letter-spacing: -.09em; line-height: 1.02; }
.page-hero-member p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.member-layout { padding-bottom: 88px; }
.member-auth-shell { max-width: 560px; margin: 0 auto; padding: 32px; border: 1px solid rgba(228,233,232,.88); border-radius: 34px; background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,249,.96) 100%); box-shadow: 0 22px 50px rgba(28,42,56,.08); }
.member-auth-intro { margin-bottom: 22px; }
.member-auth-intro h2 { margin: 8px 0 10px; color: var(--navy); font-size: 34px; letter-spacing: -.06em; line-height: 1.08; }
.member-auth-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.member-tabs { margin-bottom: 18px; padding: 5px; display: inline-grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 6px; border-radius: 999px; background: #eef2f3; }
.member-tabs a { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 700; }
.member-tabs a.active { background: var(--surface); color: var(--navy); box-shadow: 0 10px 24px rgba(28,42,56,.08); }
.member-auth-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.member-auth-card h2 { margin: 8px 0 18px; color: var(--navy); font-size: 24px; letter-spacing: -.05em; }
.member-auth-card .button.full { margin-top: 8px; }
.member-switch-link { margin-top: 14px; justify-content: center; }
.member-dashboard { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.member-profile { position: sticky; top: 106px; }
.member-orders { min-width: 0; }
.member-order-list { display: grid; gap: 14px; }
.member-order-row { padding: 20px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; border: 1px solid rgba(228,233,232,.88); border-radius: 26px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.member-order-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.member-order-row-main strong { color: var(--navy); font-size: 18px; }
.member-order-row-summary { display: block; margin-top: 6px; color: var(--ink); font-size: 14px; }
.member-order-row-main small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.member-order-row-side { display: grid; justify-items: end; align-content: center; gap: 8px; text-align: right; }
.member-order-row-total { color: var(--navy); font-size: 22px; letter-spacing: -.04em; }
.member-order-row-cta { color: var(--orange); font-size: 12px; font-weight: 700; }
.member-order-count { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; }
.member-order-detail { padding: 24px; border: 1px solid rgba(228,233,232,.88); border-radius: 30px; background: #fff; box-shadow: var(--shadow-soft); }
.member-order-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.member-order-head strong { color: var(--navy); font-size: 26px; letter-spacing: -.05em; }
.member-order-head small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.member-order-meta { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.member-order-meta div { padding: 16px 18px; border-radius: 22px; background: #f6f8f8; }
.member-order-meta dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.member-order-meta dd { margin: 0; color: var(--navy); font-size: 14px; line-height: 1.6; }
.member-detail-label { margin: 24px 0 12px; color: var(--navy); font-size: 18px; }
.member-order-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.member-order-items li { padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.member-order-total { margin-top: 18px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; color: var(--navy); font-size: 16px; font-weight: 700; }
.member-status { padding: 8px 12px; border-radius: 999px; background: #eef2f3; color: var(--navy); font-size: 11px; font-weight: 700; }
.member-status-new, .member-status-confirmed, .member-status-shipping, .member-status-completed, .member-status-cancelled { background: #eef2f3; }
.member-empty { min-height: 220px; border: 1px dashed var(--line); border-radius: 26px; background: rgba(255,255,255,.75); }
.mobile-nav { display: none; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 12px; }
  .brand { min-width: 170px; }
  .search-form { width: 210px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  :root { --rail: 0px; }
  .side-rail { display: none; }
  .site-header { padding: 12px 18px; gap: 12px; }
  .desktop-nav { display: none; }
  .brand { min-width: 0; flex: 1; }
  .brand > span { font-size: 8px; }
  .brand > span b { font-size: 8px; }
  .header-actions { gap: 6px; }
  .search-form { width: min(44vw, 220px); }
  .header-icon { width: 39px; height: 39px; }
  .discover-hero { grid-template-columns: 1fr; padding-top: 46px; }
  .hero-copy h1 { font-size: clamp(38px, 9vw, 58px); }
  .hero-collage { min-height: 340px; width: min(100%, 560px); margin: 0 auto; }
  .support-hero,
  .support-layout { grid-template-columns: 1fr; }
  .support-info-card { position: static; }
  .cart-layout, .checkout-layout, .promise-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .member-dashboard { grid-template-columns: 1fr; }
  .member-profile { position: static; }
  .member-order-meta { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; padding-top: 18px; }
  .detail-media-panel { position: static; }
  .product-visual.detail { min-height: 430px; }
  .detail-copy { padding-top: 0; }
  .detail-add-form { flex-wrap: wrap; }
  .detail-add-form label { width: 100%; max-width: 110px; }
  .detail-add-form .button { flex: 1; min-width: 210px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mobile-nav { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; min-height: 64px; padding: 7px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: rgba(28,42,56,.95); box-shadow: 0 14px 36px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
  .mobile-nav a { position: relative; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 3px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 600; text-align: center; }
  .mobile-nav a.active { color: #fff; }
  .mobile-nav .icon,
  .mobile-nav .lucide { width: 19px; height: 19px; }
  .mobile-nav a span { line-height: 1.1; white-space: nowrap; }
  .mobile-nav b { position: absolute; top: 0; right: 18%; min-width: 16px; height: 16px; padding: 0 3px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 9px; }
  body { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .notice-bar { height: 31px; padding-inline: 14px; font-size: 9px; }
  .notice-bar span:last-child { display: none; }
  .brand img { width: 37px; height: 37px; }
  .search-form { width: 40px; padding: 4px; border: 0; box-shadow: none; background: transparent; }
  .search-form input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .search-form button { width: 37px; height: 37px; }
  .header-icon { width: 37px; height: 37px; border: 0; background: transparent; }
  .support-page { padding-bottom: 56px; }
  .support-hero { padding-top: 34px; gap: 16px; }
  .support-hero-copy,
  .support-contact-card,
  .support-info-card,
  .support-form-card { padding: 20px; border-radius: 24px; }
  .support-hero-copy h1,
  .support-form-head h2 { font-size: 32px; }
  .support-info-card h3 { font-size: 24px; }
  .support-layout { gap: 16px; padding-top: 16px; }
  .topbar-inner span:last-child { display: none; }
  .page-hero-member { padding-top: 34px; padding-bottom: 18px; }
  .page-hero-member h1 { font-size: 34px; }
  .page-hero-member p { font-size: 14px; }
  .member-layout { padding-bottom: 56px; }
  .member-auth-shell { padding: 18px; border-radius: 24px; }
  .member-auth-intro h2 { font-size: 26px; }
  .member-tabs { width: 100%; grid-template-columns: 1fr 1fr; }
  .member-tabs a { min-height: 42px; padding-inline: 10px; font-size: 12px; }
  .member-order-row { grid-template-columns: 1fr; padding: 18px; }
  .member-order-row-side { justify-items: start; text-align: left; }
  .member-order-row-total { font-size: 20px; }
  .member-order-detail { padding: 18px; border-radius: 24px; }
  .member-order-head { flex-direction: column; }
  .discover-hero { min-height: 0; padding-block: 45px 32px; gap: 30px; }
  .hero-copy p { font-size: 14px; }
  .hero-collage { min-height: 285px; transform: scale(.94); transform-origin: top center; margin-bottom: -18px; }
  .hero-tile { width: 48%; }
  .hero-seal { right: 25%; bottom: 4px; transform: scale(.83) rotate(11deg); }
  .category-mosaic { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .category-feature,
  .category-feature-1,
  .category-feature-4 { grid-column: auto; grid-row: auto; min-height: 188px; }
  .category-feature { padding: 20px; border-radius: 24px; }
  .category-feature strong { max-width: 100%; font-size: 28px; }
  .category-feature small { max-width: 100%; font-size: 14px; }
  .category-arrow { width: 46px; height: 46px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 30px; }
  .product-grid, .product-grid-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-card { border-radius: 20px; }
  .product-card-media { padding: 5px; padding-bottom: 0; }
  .product-visual { border-radius: 15px; }
  .product-card-body { padding: 10px; }
  .product-card h3 { min-height: 63px; font-size: 13px; }
  .product-card p { display: none; }
  .product-card small { min-height: 29px; font-size: 9px; }
  .price-stack strong { font-size: 17px; }
  .icon-button { width: 34px; height: 34px; }
  .cart-line { grid-template-columns: 70px minmax(0, 1fr) 66px; gap: 10px; }
  .cart-line .thumb { width: 70px; }
  .cart-line > strong { grid-column: 2 / 4; grid-row: 2; text-align: left; }
  .qty-label { grid-column: 3; grid-row: 1; }
  .cart-actions { flex-direction: column; }
  .cart-actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-panel, .checkout-form, .summary-card { padding: 16px; border-radius: 22px; }
  .page-heading { padding-top: 42px; }
  .page-heading h1, .success-page h1 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .breadcrumbs { padding-top: 19px; font-size: 11px; }
  .product-detail-layout { gap: 20px; padding-bottom: 55px; }
  .detail-summary-card { padding: 20px; border-radius: 24px; }
  .detail-media { padding: 12px; border-radius: 24px; }
  .product-visual.detail { min-height: 330px; border-radius: 19px; }
  .product-visual.detail img { max-width: 100%; max-height: 300px; }
  .detail-copy h1 { font-size: 32px; }
  .detail-price strong { font-size: 29px; }
  .detail-add-form { align-items: stretch; }
  .detail-add-form .button { flex: 1; }
  .related-section { padding-bottom: 55px; }
  .related-grid { gap: 9px; }
  .related-card .product-visual.related { min-height: 145px; }
  .related-card > div { padding: 10px; }
  .related-card h3 { min-height: 63px; font-size: 13px; }
}
