
/* ============ Reset & Tokens ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--base); line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: .95rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* hidden 属性必须压得住 .hero-slide 之类的 display:grid，否则幻灯片叠在一起切不动 */
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 28px 0; }
.section--surface { background: var(--surface); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: var(--radius); border: 1px solid transparent; font-size: .95rem; font-weight: 600; transition: all .18s ease; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(.92); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-muted { color: var(--muted); font-size: .85rem; }
.link-muted:hover { color: var(--accent); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ============ Announcement & Header ============ */
.announcement { background: var(--accent-2, var(--accent)); color: #fff; text-align: center; font-size: .85rem; padding: 8px 16px; letter-spacing: .04em; }
.announcement a { color: inherit; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); z-index: 90; }
.site-header.is-sticky { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-logo { height: 34px; width: auto; }
.site-nav { display: flex; gap: 4px; flex: 1; }
.nav-link { padding: 8px 12px; border-radius: var(--radius); font-size: .95rem; color: var(--muted); }
.nav-link:hover { color: var(--text); background: var(--surface); }
.header-center .site-nav { justify-content: center; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-form { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--bg); }
.search-form input { border: 0; padding: 7px 14px; width: 150px; background: transparent; }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: transparent; color: var(--muted); padding: 7px 12px; font-size: .85rem; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .92rem; }
.cart-link:hover { border-color: var(--accent); color: var(--accent); }
.cart-count { background: var(--accent); color: #fff; border-radius: 999px; font-size: .72rem; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.nav-toggle { display: none; border: 0; background: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ============ Lang switch ============ */
.lang-switch { display: inline-flex; gap: 2px; font-size: .82rem; }
.lang-switch-item { padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.lang-switch-item.is-active { background: var(--surface); color: var(--text); font-weight: 600; }
.lang-switch-item:hover { color: var(--accent); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero-slide { display: grid; animation: heroFade .7s ease both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } }
.hero-media { overflow: hidden; }
.hero-content { padding: 64px 32px; }
.hero-eyebrow { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.hero-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.hero-text { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin-bottom: 22px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 6; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.14); transition: background .2s ease, transform .2s ease; }
.hero-dots button:hover { background: rgba(255,255,255,.85); }
.hero-dots button.is-active { background: var(--accent); box-shadow: 0 0 0 1px rgba(255,255,255,.75); transform: scale(1.2); }
.hero-arrow { position: absolute; top: 50%; margin-top: -21px; width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255,255,255,.86); color: #111; display: grid; place-items: center; font-size: 1.15rem; line-height: 1; z-index: 6; box-shadow: 0 2px 14px rgba(0,0,0,.18); transition: background .2s ease, transform .2s ease; }
.hero-arrow:hover { background: #fff; transform: scale(1.06); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
@media (max-width: 720px) { .hero-arrow { display: none; } }
.btn-hero2 { margin-left: 10px; }

/* overlay：媒体铺满，文案浮层 */
.hero--overlay .hero-slide { position: relative; min-height: 420px; align-items: center; }
.hero--overlay .hero-media { position: absolute; inset: 0; }
.hero--overlay .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero--overlay .hero-slide--plain { min-height: 320px; background: var(--surface); }
.hero--overlay .hero-content { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero--overlay .hero-slide:not(.hero-slide--plain) .hero-content { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero--overlay .hero-content .hero-text { color: rgba(255,255,255,.92); }
.hero--overlay .hero-slide--plain .hero-content .hero-text { color: var(--muted); }

/* split：左文右图 */
.hero--split .hero-slide { grid-template-columns: 1fr 1fr; align-items: center; min-height: 420px; }
.hero--split .hero-slide--plain { grid-template-columns: 1fr; }
.hero--split .hero-media { height: 100%; }
.hero--split .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero-content { padding: 64px max(32px, calc((100vw - var(--container)) / 2)); }

/* center：居中文案 */
.hero--center .hero-slide { text-align: center; justify-items: center; padding: 80px 24px; background: var(--surface); }
.hero--center .hero-media { display: none; }
.hero--center .hero-text { margin-left: auto; margin-right: auto; }
.hero--center .hero-dots { bottom: 22px; }
.hero--center.hero-slide--plain { background: var(--surface); }

/* ============ Section head ============ */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head--center { justify-content: center; text-align: center; }
.section-title { font-size: 1.6rem; margin-bottom: 2px; }
.section-subtitle { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }
.section-link { color: var(--accent); font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* ============ Product grid & card ============ */
.product-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; }
.card-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: var(--card-ratio); overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .card-media img { transform: scale(1.04); }
.card-media--placeholder { color: var(--muted); font-size: .9rem; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--text); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .05em; z-index: 2; }
.badge--sale { background: var(--accent); color: #fff; }
.quick-add { position: absolute; left: 10px; right: 10px; bottom: 10px; opacity: 0; transform: translateY(6px); transition: all .2s ease; z-index: 2; }
.product-card:hover .quick-add { opacity: 1; transform: none; }
.quick-add .btn { width: 100%; background: var(--bg); border-color: var(--bg); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.quick-add .btn:hover { color: var(--accent); }
.card-body { padding: 12px 2px 0; }
.card-vendor { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card-title { font-size: .98rem; font-weight: 600; margin: 4px 0 6px; }
.card-title a:hover { color: var(--accent); }
.card-price { font-weight: 700; font-size: .98rem; display: flex; gap: 8px; align-items: baseline; }
.card-price--range { font-weight: 600; color: var(--muted); font-size: .9rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: .88rem; }
.price-now { color: var(--accent); }

/* ============ Promo grid ============ */
.promo-grid { display: grid; gap: 18px; }
.promo-grid--2 { grid-template-columns: 1fr 1fr; }
.promo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.promo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.promo-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); min-height: 240px; }
.promo-media { position: absolute; inset: 0; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.promo-card:hover .promo-media img { transform: scale(1.04); }
.promo-body { position: relative; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.promo-card:not(.promo-card--plain) .promo-body { color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55)); min-height: 240px; justify-content: flex-end; }
.promo-eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.promo-card:not(.promo-card--plain) .promo-eyebrow { color: #fff; opacity: .85; }
.promo-heading { font-size: 1.25rem; font-weight: 700; }
.promo-text { font-size: .92rem; opacity: .88; max-width: 420px; }
.promo-link { font-weight: 700; font-size: .9rem; margin-top: 6px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ============ Category grid ============ */
.category-grid { display: grid; gap: 18px; }
.category-grid--2 { grid-template-columns: repeat(2, 1fr); }
.category-grid--3 { grid-template-columns: repeat(3, 1fr); }
.category-grid--4 { grid-template-columns: repeat(4, 1fr); }
.category-grid--5 { grid-template-columns: repeat(5, 1fr); }
.category-grid--6 { grid-template-columns: repeat(6, 1fr); }
.category-card { text-align: center; }
.category-media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover .category-media img { transform: scale(1.05); }
.category-media--empty { font-size: 2.2rem; }
.category-name { font-weight: 700; font-size: .98rem; }
.category-card:hover .category-name { color: var(--accent); }
.category-count { font-size: .82rem; color: var(--muted); }

/* ============ Feature strip ============ */
.feature-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 22px 0; }
.feature-strip-inner { display: flex; gap: 18px; flex-wrap: wrap; }
.feature-strip--4 .feature-item, .feature-strip--3 .feature-item { flex: 1; min-width: 220px; }
.feature-item { display: flex; gap: 12px; align-items: center; justify-content: center; text-align: left; }
.feature-icon { font-size: 1.6rem; }
.feature-title { font-weight: 700; font-size: .94rem; }
.feature-text { font-size: .84rem; color: var(--muted); }

/* ============ Testimonials ============ */
.testimonials { display: grid; gap: 20px; }
.testimonials--2 { grid-template-columns: 1fr 1fr; }
.testimonials--3 { grid-template-columns: repeat(3, 1fr); }
.testimonial { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.section--surface .testimonial { background: var(--bg); }
.testimonial-stars span { color: var(--border); font-size: .9rem; }
.testimonial-stars span.is-on { color: var(--accent); }
.testimonial-quote { margin: 10px 0 16px; font-size: .98rem; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-author { font-weight: 700; font-size: .92rem; }
.testimonial-role { font-size: .82rem; color: var(--muted); }

/* ============ Newsletter ============ */
.newsletter { background: var(--surface); border-top: 1px solid var(--border); padding: 52px 0; }
.newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 10px; margin-top: 18px; }
.newsletter-form input { flex: 1; padding: 11px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }

/* ============ Image with text ============ */
.image-with-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.image-with-text--reverse .iwt-media { order: 2; }
.iwt-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.iwt-media img { width: 100%; height: 100%; object-fit: cover; }
.iwt-media--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.iwt-body h2 { font-size: 1.7rem; }

/* ============ Collection hero ============ */
.collection-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 52px 0; }
.collection-hero h1 { font-size: 2rem; margin-bottom: 6px; }

/* ============ Product detail ============ */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 44px 0; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: calc(var(--radius) * .6); border: 2px solid transparent; cursor: pointer; background: var(--surface); }
.gallery-thumbs img.is-active { border-color: var(--accent); }
.product-vendor { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.product-title { font-size: 1.9rem; margin: 6px 0 10px; }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--accent); display: flex; gap: 10px; align-items: baseline; }
.product-stock { font-size: .9rem; color: #067647; margin: 8px 0 20px; }
.product-stock--out { color: #b42318; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-field select, .form-field input[type="number"] { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); min-width: 120px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-stepper button { border: 0; background: var(--surface); width: 38px; height: 40px; font-size: 1.1rem; color: var(--text); }
.qty-stepper input { border: 0; width: 56px; text-align: center; height: 40px; background: var(--bg); }
.buy-row { margin: 20px 0; }
.buy-row .btn { padding: 13px 34px; font-size: 1rem; }
.product-description { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); }
.trust-list { list-style: none; margin: 18px 0 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }

/* ============ Cart ============ */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; padding-bottom: 30px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item img { width: 96px; height: 118px; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.cart-item-title { font-weight: 700; margin: 0 0 4px; }
.cart-item-meta { font-size: .84rem; color: var(--muted); }
.cart-item-actions { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.cart-item-actions form { margin: 0; }
.summary-card { background: var(--surface); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.1rem; }
.summary-note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.summary-card input[type="text"] { padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.summary-card form { margin: 0; }

/* ============ Notices & empty ============ */
.notice { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-size: .92rem; }
.notice--error { border-color: #b42318; color: #b42318; background: #fef3f2; }
.notice--warn { border-color: #b54708; color: #b54708; background: #fffaeb; }
.empty-state { text-align: center; padding: 72px 0; }
.nf-code { font-size: 4rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.nf-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }

/* ============ Rich text / page ============ */
.rich-text { max-width: 720px; }
.rich-text.align-center { margin: 0 auto; text-align: center; }
.rich-text.align-left { text-align: left; }
.rich-page { margin: 0 auto; }
.page-title { font-size: 2rem; }
.rich-text h3 { margin-top: 1.4em; }

/* ============ Pagination ============ */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination-link { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 10px; font-size: .92rem; }
.pagination-link:hover { border-color: var(--accent); color: var(--accent); }
.pagination-current { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.pagination-gap { color: var(--muted); align-self: center; }

/* ============ Order lookup ============ */
.lookup-head { text-align: center; margin-bottom: 26px; }
.lookup-sub { color: var(--muted); max-width: 480px; margin: 6px auto 0; }
.lookup-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; max-width: 720px; margin: 0 auto 26px; }
.lookup-field span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.lookup-field input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.lookup-notice { max-width: 720px; margin: -10px auto 22px; }
.lookup-card { max-width: 720px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); padding: 28px; }
.lookup-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.lookup-order-no { font-weight: 800; font-size: 1.1rem; }
.lookup-time { font-size: .84rem; color: var(--muted); }
.lookup-badge { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.lookup-badge--ok { background: #ecfdf3; color: #067647; }
.lookup-badge--warn { background: #fffaeb; color: #b54708; }
.lookup-badge--muted { background: var(--border); color: var(--muted); }
.lookup-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.lookup-step { flex: 1; min-width: 130px; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; padding: 10px 12px; background: var(--bg); border-radius: var(--radius); opacity: .55; }
.lookup-step.is-done { opacity: 1; }
.lookup-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--border); grid-row: span 2; }
.lookup-step.is-done .lookup-dot { background: var(--accent); }
.lookup-step-label { font-weight: 700; font-size: .88rem; }
.lookup-step-at { font-size: .78rem; color: var(--muted); }
.lookup-tracking { background: var(--bg); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; }
.lookup-tracking-title { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.lookup-tracking-hint { font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
.lookup-totals { border-top: 1px solid var(--border); padding-top: 14px; }
.lookup-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: .92rem; }
.lookup-row--save { color: #067647; }
.lookup-row--total { font-weight: 800; font-size: 1.05rem; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }
.lookup-block { margin-top: 18px; }
.lookup-block-title { font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.lookup-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lookup-item:last-child { border-bottom: 0; }
.lookup-item img { width: 56px; height: 56px; object-fit: cover; border-radius: calc(var(--radius) * .6); background: var(--bg); }
.lookup-item-title { font-weight: 600; font-size: .92rem; }
.lookup-item-meta { font-size: .8rem; color: var(--muted); }
.lookup-address { font-size: .9rem; color: var(--muted); margin: 0; }
.lookup-hint { background: var(--bg); border-radius: var(--radius); padding: 12px 16px; font-size: .88rem; color: var(--muted); margin-top: 16px; }
.lookup-empty { text-align: center; color: var(--muted); }
.lookup-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ============ Footer ============ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 60px; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding-bottom: 34px; }
.footer-brand-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 320px; }
.footer-title { font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.footer-col a { display: block; padding: 3px 0; color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a { display: inline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 16px 20px; font-size: .82rem; color: var(--muted); }
.footer-pay a:hover { color: var(--accent); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .category-grid--5, .category-grid--6 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lookup-form { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px 20px; z-index: 95; }
  .site-nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .search-form input { width: 100px; }
  .hero--overlay .hero-slide, .hero--split .hero-slide { grid-template-columns: 1fr; min-height: 360px; }
  .hero--split .hero-media { order: -1; max-height: 240px; }
  .hero-content { padding: 40px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; }
  .category-grid--3, .category-grid--4, .category-grid--5, .category-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .promo-grid--2, .promo-grid--3, .promo-grid--4 { grid-template-columns: 1fr; }
  .testimonials--2, .testimonials--3 { grid-template-columns: 1fr; }
  .image-with-text { grid-template-columns: 1fr; gap: 22px; }
  .image-with-text--reverse .iwt-media { order: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 26px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item-price { grid-column: 2; }
  .cart-item img { width: 72px; height: 88px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quick-add { opacity: 1; transform: none; }
  .quick-add .btn { padding: 8px 12px; font-size: .85rem; }
}

/* ================= 主题层：Atelier ================= */

/* atelier：纯黑白极简 */
.t-atelier { letter-spacing: .01em; }
.t-atelier .brand-name { letter-spacing: .42em; font-weight: 600; font-size: 1rem; }
.t-atelier .announcement { background: #111; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.t-atelier .site-header { border-bottom: 1px solid #111; }
.t-atelier .nav-link { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; color: #111; background: none; }
.t-atelier .nav-link:hover { color: #8a8a8a; background: none; }
.t-atelier .cart-link { border: 0; border-left: 1px solid var(--border); border-radius: 0; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.t-atelier .btn { border-radius: 0; text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; padding: 14px 34px; font-weight: 500; }
.t-atelier .btn-primary { background: #111; }
.t-atelier .btn-primary:hover { background: #333; transform: none; filter: none; }
.t-atelier .btn-outline { border-color: #111; }
.t-atelier .hero--overlay .hero-slide--plain { background: #fff; min-height: 52vh; }
.t-atelier .hero--overlay .hero-slide--plain .hero-content { display: flex; flex-direction: column; justify-content: center; min-height: 52vh; }
.t-atelier .hero--overlay .hero-slide--plain .hero-title { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.t-atelier .hero-eyebrow { color: #8a8a8a; }
.t-atelier .section-title { font-weight: 400; text-transform: uppercase; letter-spacing: .3em; font-size: 1rem; }
.t-atelier .section-subtitle { font-size: .82rem; }
.t-atelier .card-media { border-radius: 0; }
.t-atelier .card-title { font-weight: 400; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.t-atelier .card-price { font-weight: 400; font-size: .86rem; color: #555; }
.t-atelier .badge { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; }
.t-atelier .promo-card { border-radius: 0; min-height: 320px; }
.t-atelier .promo-card--plain { background: #f4f4f4; }
.t-atelier .promo-card--plain .promo-body { min-height: 320px; justify-content: center; }
.t-atelier .promo-heading { font-weight: 300; text-transform: uppercase; letter-spacing: .14em; }
.t-atelier .feature-strip { border-color: #111; background: #fff; }
.t-atelier .feature-title { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.t-atelier .testimonial { border: 0; border-radius: 0; border-top: 1px solid #111; padding: 26px 0; }
.t-atelier .testimonial-quote { font-weight: 300; font-size: 1.05rem; }
.t-atelier .newsletter { background: #111; color: #fff; border-top: 0; }
.t-atelier .newsletter-form input { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; border-radius: 0; }
.t-atelier .newsletter .btn-primary { background: #fff; color: #111; }
.t-atelier .collection-hero { background: #fff; border-bottom: 1px solid #111; padding: 70px 0; }
.t-atelier .collection-hero h1 { font-weight: 300; text-transform: uppercase; letter-spacing: .3em; }
.t-atelier .site-footer { background: #fff; border-top: 1px solid #111; }
.t-atelier .footer-title { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; }
.t-atelier .quick-add .btn { background: #111; border-color: #111; color: #fff; box-shadow: none; }
