/* ==========================================================================
   SwiftPe storefront — hand-written stylesheet, no third-party CSS framework
   ========================================================================== */

:root {
  --ink: #1f1810;
  --text: #3d3226;
  --muted: #7b6b59;
  --brown: #4a2c12;
  --brown-2: #6b4320;
  --brown-deep: #2c1a0b;
  --gold: #b8862b;
  --gold-2: #d4a64a;
  --gold-soft: #f1e2c2;
  --cream: #fbf8f2;
  --sand: #f4ede1;
  --line: #e9dfcf;
  --white: #fff;
  --success: #2f7a45;
  --danger: #b3261e;
  --warn: #9a6a00;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(44, 26, 11, .06);
  --shadow: 0 10px 30px -12px rgba(44, 26, 11, .18);
  --shadow-lg: 0 24px 60px -24px rgba(44, 26, 11, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; color: var(--danger); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-soft); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.container--mid { max-width: 980px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.075rem; color: var(--text); }
.text-success { color: var(--success); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em; line-height: 1; text-align: center; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brown); color: #fff; box-shadow: 0 8px 20px -10px rgba(74, 44, 18, .7); }
.btn--primary:hover { background: var(--brown-deep); color: #fff; box-shadow: 0 12px 24px -10px rgba(74, 44, 18, .8); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9f7222; color: #fff; }
.btn--outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--outline:hover { background: var(--brown); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--brown); border-color: #fff; }
.btn--link { min-height: auto; padding: 0; border: 0; background: none; color: var(--brown-2); border-radius: 0; }
.btn--link:hover { color: var(--gold); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: .875rem; }
.btn--block { display: flex; width: 100%; }
.btn--grow { flex: 1; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.6rem; line-height: 1; transition: background .2s var(--ease), color .2s var(--ease); }
.icon-btn:hover { background: var(--sand); color: var(--brown); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brown-deep); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a:hover { color: var(--gold-2); }
.topbar__social { display: flex; gap: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(44, 26, 11, .5); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 84px; }
.brand img { width: auto; height: 52px; }
.main-nav ul { display: flex; justify-content: center; gap: clamp(14px, 2vw, 30px); list-style: none; }
.main-nav a { position: relative; display: block; padding: 8px 0; color: var(--ink); font-size: .95rem; font-weight: 500; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--brown); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center; }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); background: #fff; }
.search-panel__form { display: flex; align-items: center; gap: 12px; min-height: 72px; color: var(--muted); }
.search-panel__form input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font-size: 1.1rem; color: var(--ink); outline: none; }

.mobile-nav { position: fixed; inset: 0; z-index: 80; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(31, 24, 16, .45); }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 22px; width: min(340px, 88vw); padding: 22px; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; animation: slide-in .3s var(--ease); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.mobile-nav__links { list-style: none; }
.mobile-nav__links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-nav__links a.is-active { color: var(--gold); }
.mobile-nav__social { display: flex; gap: 16px; color: var(--brown); }
.mobile-nav__social a { color: inherit; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- Toast notifications ---------- */
.toast-stack { position: fixed; top: 100px; right: 20px; z-index: 70; display: grid; gap: 12px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { position: relative; overflow: hidden; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); pointer-events: auto; animation: toast-in .45s var(--ease) both; }
.toast.is-leaving { animation: toast-out .35s var(--ease) forwards; }
.toast__head { display: flex; align-items: center; gap: 10px; }
.toast__head strong, .toast__text { flex: 1; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.toast__icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 800; }
.toast__icon--success { background: var(--success); }
.toast__icon--error { background: var(--danger); }
.toast__icon--warning { background: var(--warn); }
.toast__icon--info, .toast__icon--debug { background: var(--brown-2); }
.toast__close { flex: none; width: 28px; height: 28px; margin: -4px -6px -4px 0; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.toast__close:hover { background: var(--sand); color: var(--ink); }
.toast--error { border-color: #f2cfcc; }
.toast__product { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 12px; border-radius: var(--radius-sm); background: var(--cream); color: inherit; }
.toast__product:hover { color: inherit; background: var(--sand); }
.toast__product img { flex: none; width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; }
.toast__name { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.toast__meta { display: block; margin-top: 3px; color: var(--muted); font-size: .85rem; }
.toast__summary { margin: 12px 0 0; color: var(--muted); font-size: .85rem; }
.toast__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.toast__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left; }
.toast[data-toast-timeout] .toast__progress { animation: toast-progress linear forwards; animation-duration: inherit; }
.toast:hover .toast__progress { animation-play-state: paused; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 680px) { .toast-stack { top: auto; bottom: 16px; right: 16px; } }

/* ---------- Sections & headings ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--shop { padding-top: 40px; }
.section--product { padding-top: 12px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--light { color: var(--gold-2); }
.section-title { margin-bottom: 16px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.section-head--row .section-title { margin-bottom: 0; }
.section-cta { margin-top: 44px; text-align: center; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state p { margin-bottom: 20px; }
.empty-state--card { max-width: 560px; margin: 0 auto; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--cream); }
.empty-state--card svg { margin: 0 auto 16px; color: var(--gold); }
.empty-state--card h2 { font-size: 2rem; }

/* Page hero */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(180deg, var(--sand), var(--cream)); border-bottom: 1px solid var(--line); text-align: center; }
.page-hero h1 { margin-bottom: 0; }
.page-hero__intro { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumb--page { justify-content: flex-start; margin: 24px 0 0; }

/* ---------- Home: hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--brown-deep); }
.hero-slider__track { position: relative; aspect-ratio: 1920 / 800; }
.hero-slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.hero-slider__slide.is-active { opacity: 1; visibility: visible; }
.hero-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--brown); box-shadow: var(--shadow); transition: background .2s, transform .2s; }
.hero-slider__arrow:hover { background: #fff; transform: scale(1.06); }
.hero-slider__arrow--prev { left: var(--gutter); }
.hero-slider__arrow--next { right: var(--gutter); }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background .3s; }
.hero-slider__dots button.is-active { width: 28px; background: #fff; }

.intro-band { background: var(--brown); color: rgba(255, 255, 255, .85); }
.intro-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.intro-band h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 12px; }
.intro-band p { margin: 0; font-size: 1.05rem; }
.intro-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }

.features { border-bottom: 1px solid var(--line); background: #fff; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; align-items: center; gap: 16px; padding: 30px 24px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature img { flex: none; width: 52px; height: 52px; }
.feature h3 { margin: 0 0 2px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Split media / text */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split__media { position: relative; }
.split__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--gold-soft); border-radius: var(--radius-lg); }
.split__media img { position: relative; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 4.4; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 32px; }
.pillar { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.pillar h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .95rem; }
.pillar p:last-child { margin-bottom: 0; }
.check-list { list-style: none; display: grid; gap: 8px; font-size: .93rem; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Mission tiles */
.mission-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mission-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; }
.mission-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mission-tile:hover img { transform: scale(1.06); }
.mission-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(31, 24, 16, .85)); color: #fff; font-weight: 600; line-height: 1.4; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.service-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card__body { padding: 22px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card__more summary { display: inline-flex; align-items: center; gap: 6px; color: var(--brown); font-weight: 600; font-size: .9rem; cursor: pointer; list-style: none; }
.service-card__more summary::-webkit-details-marker { display: none; }
.service-card__more summary::after { content: "+"; font-size: 1.1rem; transition: transform .2s; }
.service-card__more[open] summary::after { transform: rotate(45deg); }
.service-card__more .prose { margin-top: 12px; }

.service-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.service-row--flip .service-row__media { order: 2; }
.service-row__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 7 / 5; object-fit: cover; }
.service-row__num { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold-soft); font-weight: 700; }

/* Integrated model */
.model-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; counter-reset: step; }
.model-steps li { position: relative; padding: 0 18px; text-align: center; }
.model-steps li + li::before { content: ""; position: absolute; top: 34px; left: -50%; right: 50%; height: 1.5px; margin-right: 36px; margin-left: 36px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.model-steps__num { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border: 1.5px solid var(--gold); border-radius: 50%; background: #fff; color: var(--brown); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.model-steps h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 6px; }
.model-steps p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Team & testimonials */
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.team-card { margin: 0; text-align: center; }
.team-card__photo { overflow: hidden; border-radius: var(--radius); background: var(--sand); aspect-ratio: 4 / 5; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover img { transform: scale(1.04); }
.team-card figcaption { padding-top: 14px; }
.team-card strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; }
.team-card span { color: var(--muted); font-size: .88rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.testimonial blockquote { flex: 1; margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .testimonial__initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__initial { display: grid; place-items: center; background: var(--gold-soft); color: var(--brown); font-weight: 700; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption small { color: var(--muted); }

/* CTA pair */
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { padding: clamp(32px, 5vw, 52px); border-radius: var(--radius-lg); background: var(--brown); color: rgba(255, 255, 255, .85); }
.cta-card--alt { background: linear-gradient(135deg, var(--brown-deep), var(--brown-2)); }
.cta-card h2 { color: #fff; }
.cta-card p { margin-bottom: 26px; max-width: 460px; }

/* ---------- Store: chips, toolbar, grid ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: .88rem; font-weight: 500; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--brown); }
.chip.is-active { border-color: var(--brown); background: var(--brown); color: #fff; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.toolbar__count { margin: 0; color: var(--muted); font-size: .92rem; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; }
.toolbar__sort label { color: var(--muted); font-size: .9rem; white-space: nowrap; }

.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--brown); border-bottom: 1.6px solid var(--brown); transform: rotate(45deg); pointer-events: none; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; min-width: 210px; height: 44px; padding: 0 42px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .92rem; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.select select:hover { border-color: var(--gold); }
.select select:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(184, 134, 43, .18); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.product-card { display: flex; flex-direction: column; }
.product-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand); aspect-ratio: 1; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.product-card__media img.is-placeholder { object-fit: contain; padding: 22%; opacity: .5; }
.product-card__alt { opacity: 0; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card:hover .product-card__alt { opacity: 1; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.badge--sale { background: var(--brown); color: #fff; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 16px 2px 0; }
.product-card__cat { margin-bottom: 4px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product-card__title { margin: 0 0 8px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--brown-2); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.product-card__foot form { margin: 0; }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price__now { color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.price__was { color: var(--muted); font-size: .88rem; }
.price__tag { padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--brown); font-size: .7rem; font-weight: 700; text-transform: uppercase; }

/* Add-to-cart pill on cards */
.cart-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1.5px solid var(--brown); border-radius: 999px; background: #fff; color: var(--brown); font-size: .85rem; font-weight: 600; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.cart-btn:hover { background: var(--brown); color: #fff; box-shadow: 0 8px 18px -10px rgba(74, 44, 18, .8); }

.stars { position: relative; display: inline-block; width: 86px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6dcc9'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x; vertical-align: middle; }
.stars > span { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8862b'%3E%3Cpath d='m12 2 3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x; }
.stars--sm { width: 70px; height: 12px; background-size: 14px 12px; }
.stars--sm > span { background-size: 14px 12px; }
.product-card .stars { margin-bottom: 8px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--brown); color: var(--brown); }
.pagination .is-active { border-color: var(--brown); background: var(--brown); color: #fff; }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 24px; }
.gallery { position: sticky; top: 110px; display: grid; gap: 14px; }
.gallery__main { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.gallery__main img.is-placeholder { object-fit: contain; padding: 25%; opacity: .5; }
.gallery__main:hover img:not(.is-placeholder) { transform: scale(1.03); }
.gallery__main .badge { top: 18px; left: 18px; font-size: .8rem; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gallery__thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--sand); aspect-ratio: 1; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; border-color: var(--gold); }

.product-info__cat { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-info h1 { margin: 8px 0 12px; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.rating-line { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: .9rem; }
.product-info__price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 4px; }
.product-info__price .price__now { font-size: 1.9rem; }
.product-info__price .price__was { font-size: 1.1rem; }
.save-pill { padding: 5px 12px; border-radius: 999px; background: #eef7f0; color: var(--success); font-size: .8rem; font-weight: 700; }
.tax-note { margin-bottom: 22px; color: var(--muted); font-size: .85rem; }
.product-info__short { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }

.buy-box { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.buy-box__row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 100%; border: 0; background: none; color: var(--brown); font-size: 1.2rem; }
.qty button:hover { color: var(--gold); }
.qty input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--sm { height: 40px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 36px; }

.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; list-style: none; }
.trust-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: var(--radius-sm); background: var(--sand); color: var(--text); font-size: .8rem; font-weight: 600; text-align: center; }
.trust-list svg { color: var(--gold); }
.product-meta { display: grid; gap: 8px; margin: 0; font-size: .9rem; }
.product-meta div { display: flex; gap: 10px; }
.product-meta dt { min-width: 82px; color: var(--muted); }
.product-meta dd { margin: 0; color: var(--ink); }

/* Tabs */
.tabs__list { display: flex; gap: 6px; margin-bottom: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__list button { position: relative; padding: 14px 20px; border: 0; background: none; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tabs__list button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brown); transform: scaleX(0); transition: transform .25s var(--ease); }
.tabs__list button[aria-selected="true"] { color: var(--ink); }
.tabs__list button[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { max-width: 860px; }
.spec-table { width: 100%; max-width: 560px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: none; }
.reviews__list { display: grid; gap: 18px; align-content: start; }
.review { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review header div { flex: 1; }
.review header strong { display: block; color: var(--ink); }
.review time { color: var(--muted); font-size: .8rem; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--brown); font-weight: 700; }
.review p { margin: 0; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.rating-input legend { float: left; width: 100%; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 1.8rem; line-height: 1; color: #e3d8c5; cursor: pointer; transition: color .15s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--gold); }
.rating-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Forms & cards ---------- */
.card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.card h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; }
.form-card { display: grid; gap: 16px; align-content: start; }
.form-card h2 { margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > span { color: var(--ink); font-size: .88rem; font-weight: 600; }
.field input, .field textarea, .search-inline input { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: #d8c9b1; }
.field input:focus, .field textarea:focus, .search-inline input:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(184, 134, 43, .18); }
.field .select select { min-width: 0; border-radius: var(--radius-sm); height: 48px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brown); }
.notice { margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sand); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sand); color: var(--brown); font-size: .78rem; font-weight: 600; }
.tag--warn { background: #fdf3d8; color: var(--warn); }

/* Cart & checkout */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.checkout-main { display: grid; gap: 24px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--brown); color: #fff; font-size: .85rem; }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-line__img { overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); aspect-ratio: 1; }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__img img.is-placeholder { object-fit: contain; padding: 18%; opacity: .5; }
.cart-line__cat { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cart-line h3 { margin: 2px 0 4px; font-size: 1rem; }
.cart-line h3 a { color: var(--ink); }
.cart-line__unit { margin: 0; color: var(--muted); font-size: .85rem; }
.cart-line__total { margin: 0; min-width: 96px; color: var(--ink); font-weight: 700; text-align: right; }
.cart-line__remove { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.cart-line__remove:hover { background: #fdf0ef; color: var(--danger); }
.cart-lines__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }

.summary { position: sticky; top: 110px; display: grid; gap: 18px; }
.summary h2 { margin: 0; }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--muted); font-size: .82rem; }
.totals dl { display: grid; gap: 10px; margin: 0; }
.totals dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; color: var(--ink); font-weight: 600; }
.totals__grand { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.totals__grand dt, .totals__grand dd { color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.totals__items { display: grid; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); list-style: none; }
.totals__items li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; font-size: .9rem; }
.totals__thumb { position: relative; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--sand); }
.totals__thumb img { width: 100%; height: 100%; border-radius: var(--radius-sm); object-fit: cover; }
.totals__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brown); color: #fff; font-size: .7rem; font-weight: 700; line-height: 20px; text-align: center; }
.totals__name { color: var(--ink); font-weight: 600; }
.totals__name small { display: block; color: var(--muted); font-weight: 400; }

.pay-options { display: grid; gap: 12px; }
.pay-option { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:hover { border-color: #d8c9b1; }
.pay-option:has(input:checked) { border-color: var(--brown); background: var(--cream); }
.pay-option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brown); }
.pay-option__body strong { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.pay-option__body small { color: var(--muted); }

.pay-card { display: grid; gap: 14px; text-align: center; }
.pay-card h1 { font-size: 2.2rem; margin: 0; }
.pay-card__amount { margin: 0; font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--brown); }

.confirm { margin-bottom: 32px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg); background: var(--cream); text-align: center; }
.confirm__icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--success); color: #fff; }
.confirm__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; list-style: none; }
.confirm__facts li { padding: 14px; border-radius: var(--radius-sm); background: #fff; }
.confirm__facts span { display: block; color: var(--muted); font-size: .78rem; }
.confirm__facts strong { color: var(--ink); }
.order-details { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.order-details address { font-style: normal; line-height: 1.7; }

/* Account */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.account-nav__hello { color: var(--muted); }
.account-nav__hello strong { display: block; color: var(--ink); font-size: 1.1rem; }
.account-nav nav { display: grid; gap: 4px; }
.account-nav nav a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; }
.account-nav nav a:hover, .account-nav nav a.is-active { background: var(--sand); color: var(--brown); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.data-table th { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.info-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brown); color: #fff; }
.info-card h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-card p, .info-card a { margin: 0; color: var(--ink); font-weight: 600; }
.contact-social { display: flex; align-items: center; gap: 16px; padding: 8px 4px; color: var(--brown); }
.contact-social span { color: var(--muted); font-size: .9rem; }
.contact-social a { color: inherit; }

/* Gallery & lightbox */
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.gallery-item { display: block; margin-bottom: 16px; overflow: hidden; border-radius: var(--radius); break-inside: avoid; }
.gallery-item img { width: 100%; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 40px 70px; background: rgba(20, 14, 8, .92); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 12px; color: rgba(255, 255, 255, .8); }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* Prose (rich text from the admin) */
.prose { color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .5em; font-size: 1.75rem; }
.prose h3 { margin: 1.5em 0 .4em; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 0 0 1em; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--text); font-style: italic; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose--sm { font-size: .93rem; }
.tabs__panel .prose blockquote { margin: 0; padding: 0; border: 0; font-style: normal; }
.tabs__panel .prose blockquote > :first-child:not(:only-child) { font-family: var(--font-display); font-size: 1.4rem; font-style: normal; color: var(--ink); }
.tabs__panel .prose em { font-style: normal; }
.prose--page h2:first-child { margin-top: 0; }
.page-updated, .page-meta { color: var(--muted); font-size: .85rem; }
.page-meta { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }

/* 404 */
.not-found { text-align: center; }
.not-found__code { margin: 0; font-family: var(--font-display); font-size: clamp(6rem, 16vw, 10rem); font-weight: 700; line-height: 1; color: var(--gold-soft); }
.search-inline { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 20px; }
.search-inline input { border-radius: 999px; padding-left: 22px; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-deep); color: rgba(255, 255, 255, .7); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-logo { display: inline-block; margin-bottom: 18px; padding: 10px 14px; border-radius: var(--radius); background: #fff; }
.footer-logo img { width: auto; height: 46px; }
.footer-brand p { max-width: 360px; }
.footer-title { margin-bottom: 18px; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact { display: grid; gap: 14px; list-style: none; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--gold-2); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.footer-social a:hover { border-color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brown); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .9rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: auto 1fr; min-height: 72px; }
  .header-actions { justify-content: flex-end; }
  .brand img { height: 44px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission-tiles { grid-template-columns: repeat(2, 1fr); }
  .model-steps { grid-template-columns: repeat(3, 1fr); gap: 32px 0; }
  .model-steps li:nth-child(4)::before { display: none; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .summary, .gallery { position: static; }
  .intro-band__inner { grid-template-columns: 1fr; }
  .intro-band__actions { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .split, .service-row, .product-layout, .cta-pair, .reviews, .order-details, .auth-grid, .account-layout { grid-template-columns: 1fr; }
  .service-row--flip .service-row__media { order: 0; }
  .split__media::before { display: none; }
  .split__media img { aspect-ratio: 16 / 11; }
  .features__grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .confirm__facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .topbar__social { display: none; }
  .topbar__contact { gap: 14px; }
  .topbar__contact a:nth-child(2) { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .product-card__foot { flex-direction: column; align-items: stretch; }
  .cart-btn { justify-content: center; }
  .pillars, .form-grid { grid-template-columns: 1fr; }
  .model-steps { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .model-steps li::before { display: none; }
  .service-grid, .mission-tiles { grid-template-columns: 1fr; }
  .mission-tile { aspect-ratio: 16 / 10; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { flex-direction: row; justify-content: flex-start; padding: 12px 14px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__sort .select { flex: 1; }
  .select select { min-width: 0; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img info remove" "img qty total"; gap: 10px 14px; }
  .cart-line__img { grid-area: img; }
  .cart-line__info { grid-area: info; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cart-line__total { grid-area: total; min-width: 0; }
  .cart-line__remove { grid-area: remove; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .hero-slider__arrow { display: none; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .lightbox { padding: 20px; }
  .search-inline { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.alert-error { padding: 12px 16px; border: 1px solid #f2cfcc; border-radius: var(--radius-sm); background: #fdf0ef; color: #8c1d18; font-size: .92rem; }
.footer-credit { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .2); }
.footer-credit a { color: var(--gold-2); }
.footer-credit a:hover { color: #fff; }
@media (max-width: 680px) { .footer-credit { display: block; margin: 6px 0 0; padding: 0; border: 0; } }
