:root {
  /* Fresh theme: deep navy + sapphire + warm gold */
  --ink: #0b1220;
  --ink-soft: #5b6780;
  --mist: #eef2f8;
  --mist-2: #e2e8f2;
  --paper: #f5f7fb;
  --white: #ffffff;
  --teal: #1d4ed8;
  --teal-deep: #1e3a8a;
  --teal-glow: rgba(29, 78, 216, 0.14);
  --copper: #d97706;
  --copper-deep: #b45309;
  --copper-soft: #fbbf24;
  --line: rgba(11, 18, 32, 0.09);
  --line-strong: rgba(11, 18, 32, 0.16);
  --shadow: 0 4px 6px rgba(11, 18, 32, 0.03), 0 22px 48px rgba(11, 18, 32, 0.08);
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 20px rgba(11, 18, 32, 0.06);
  --radius: 4px;
  --radius-lg: 10px;
  --font-brand: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --wrap: min(1200px, calc(100% - 2.75rem));
  --header-h: 7.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 900px 480px at 0% -5%, rgba(13, 107, 100, 0.1), transparent 60%),
    radial-gradient(ellipse 700px 420px at 100% 8%, rgba(194, 78, 29, 0.07), transparent 55%),
    linear-gradient(180deg, #f4f7fa 0%, var(--paper) 35%, #eef2f6 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-brand);
  line-height: 1.12;
  margin: 0 0 0.55rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: 0.65rem 1.1rem;
  z-index: 200; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--teal); outline-offset: 2px; }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  border-radius: 2px;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(18px);
  -webkit-backdrop-filter: saturate(1.2) blur(18px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-bar {
  background: linear-gradient(90deg, #0e1218 0%, #152028 50%, #0e1218 100%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.header-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  flex-wrap: wrap;
}
.header-note { margin: 0; }
.header-meta { display: flex; align-items: center; gap: 0.55rem; }
.header-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--copper-soft);
  box-shadow: 0 0 8px var(--copper-soft);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.35rem;
  align-items: center;
  padding: 0.95rem 0 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand:hover .brand-mark {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 22px rgba(13, 107, 100, 0.35);
}
.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #12968c 0%, var(--teal) 45%, var(--teal-deep) 100%);
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(13, 107, 100, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 0.18rem; }
.brand-text strong {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 650;
}

.search-form {
  display: flex;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-form:focus-within {
  border-color: rgba(13, 107, 100, 0.45);
  box-shadow: 0 0 0 3px var(--teal-glow), var(--shadow-sm);
}
.search-form input {
  flex: 1;
  border: 0;
  padding: 0.78rem 1.15rem;
  outline: none;
  background: transparent;
  min-width: 0;
}
.search-form input::placeholder { color: #8a95a3; }
.search-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 1.35rem;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.search-form button:hover { background: var(--teal); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.9rem;
}
.header-actions > a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
}
.header-actions > a:hover {
  color: var(--ink);
  background: rgba(14, 18, 24, 0.05);
}
.user-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0 !important;
  border-radius: 999px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--mist));
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.user-icon-link:hover,
.user-icon-link.is-active {
  color: var(--teal-deep);
  border-color: rgba(29, 78, 216, 0.35);
  background: rgba(29, 78, 216, 0.08);
  transform: translateY(-1px);
}
.user-icon {
  display: block;
}
.admin-shield-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0 !important;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(29, 78, 216, 0.35);
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.admin-shield-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.34);
}
.admin-shield-icon {
  display: block;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #d45a28, var(--copper));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(194, 78, 29, 0.4);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 650;
}
.nav-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span + span { margin-top: 4px; }

.primary-nav {
  display: flex;
  gap: 0.15rem 1.5rem;
  align-items: center;
  padding: 0 0 0.9rem;
  font-weight: 650;
  font-size: 0.9rem;
}
.primary-nav > a,
.nav-dropdown > button {
  position: relative;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 650;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.primary-nav > a:hover,
.primary-nav > a.is-active,
.nav-dropdown > button:hover {
  color: var(--ink);
}
.primary-nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.55rem;
  height: 2.5px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  border-radius: 2px;
}

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.55rem;
  z-index: 30;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: grid;
  gap: 0.1rem;
  animation: fadeDrop 0.22s var(--ease);
}
.nav-dropdown-panel a {
  padding: 0.55rem 0.7rem;
  color: var(--ink-soft);
  border-radius: 6px;
  font-weight: 550;
}
.nav-dropdown-panel a:hover {
  background: var(--mist);
  color: var(--ink);
}
.nav-dropdown-panel .all-link {
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  color: var(--teal);
  font-weight: 700;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 22s ease-in-out infinite alternate;
  filter: saturate(1.06) contrast(1.05);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(108deg,
      rgba(11, 18, 32, 0.94) 0%,
      rgba(11, 18, 32, 0.8) 30%,
      rgba(11, 18, 32, 0.4) 58%,
      rgba(11, 18, 32, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 18, 32, 0.68) 0%, transparent 52%);
}
.hero-content {
  width: var(--wrap);
  margin: 0 auto;
  padding: 5rem 0 4.25rem;
  max-width: 680px;
  margin-right: auto;
  margin-left: max(calc((100% - min(1200px, calc(100% - 2.75rem))) / 2), 1.375rem);
  animation: riseIn 1s var(--ease) both;
}
.hero-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3.2rem, 10vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
  margin: 0 0 1.25rem;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 16px 48px rgba(0, 0, 0, 0.45);
}
.hero-brand span {
  display: block;
  font-size: 0.28em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 650;
  margin-top: 0.7rem;
  color: #e9b089;
  opacity: 1;
  text-shadow: none;
}
.hero h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 550;
  max-width: 26ch;
  margin-bottom: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.hero p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.85rem;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(145deg, #d45a28, var(--copper));
  color: #fff;
  box-shadow: 0 8px 22px rgba(194, 78, 29, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(145deg, #e06530, var(--copper-deep));
  box-shadow: 0 12px 28px rgba(194, 78, 29, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 18, 24, 0.18);
}
.btn-dark:hover {
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(13, 107, 100, 0.28);
}
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ─── Sections ─── */
.section { padding: 4.75rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.15rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin: 0;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36ch;
  font-size: 0.98rem;
}
.section-head > a {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
}
.section-head > a:hover { color: var(--copper); }

.cat-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.6rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.cat-chip {
  scroll-snap-align: start;
  min-height: 118px;
  padding: 1.2rem 1.15rem;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7fafb 100%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.cat-chip::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cat-chip:hover {
  border-color: rgba(13, 107, 100, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-chip:hover::after { opacity: 1; }
.cat-chip strong {
  font-family: var(--font-brand);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.cat-chip span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 550;
}

/* ─── Products ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-tile {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.25s ease;
  animation: riseIn 0.75s var(--ease) both;
}
.product-tile:nth-child(1) { animation-delay: 0.02s; }
.product-tile:nth-child(2) { animation-delay: 0.06s; }
.product-tile:nth-child(3) { animation-delay: 0.1s; }
.product-tile:nth-child(4) { animation-delay: 0.14s; }
.product-tile:nth-child(5) { animation-delay: 0.18s; }
.product-tile:nth-child(6) { animation-delay: 0.22s; }
.product-tile:nth-child(7) { animation-delay: 0.26s; }
.product-tile:nth-child(8) { animation-delay: 0.3s; }
.product-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 107, 100, 0.2);
}
.product-tile-media {
  position: relative;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0%, transparent 50%),
    linear-gradient(160deg, #f5f7fa 0%, #e8eef4 100%);
  overflow: hidden;
}
.product-tile-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(14, 18, 24, 0.03));
  pointer-events: none;
  z-index: 1;
}
.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.55s var(--ease);
}
.product-tile:hover .product-tile-media img { transform: scale(1.07); }

.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}
.badge.sale {
  background: linear-gradient(145deg, #d45a28, var(--copper));
  box-shadow: 0 4px 12px rgba(194, 78, 29, 0.35);
}
.badge.featured {
  left: auto;
  right: 0.85rem;
  background: linear-gradient(145deg, #12968c, var(--teal-deep));
  box-shadow: 0 4px 12px rgba(13, 107, 100, 0.35);
}

.product-tile-body {
  padding: 1rem 1.1rem 1.25rem;
  display: grid;
  gap: 0.4rem;
  border-top: 1px solid rgba(14, 18, 24, 0.05);
}
.product-cat {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 650;
}
.product-tile h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-tile h3 a:hover { color: var(--teal); }
.product-price {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-weight: 750;
  margin-top: 0.15rem;
}
.product-price .now {
  font-size: 1.12rem;
  font-family: var(--font-brand);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-price .was {
  color: #94a0ae;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.88rem;
}
.rating {
  margin: 0;
  color: #c9892a;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.rating span { color: var(--ink-soft); letter-spacing: 0; }

/* Promo / split */
.promo-band {
  margin: 0.5rem 0 0;
  padding: 3.5rem 0;
  background:
    linear-gradient(125deg, rgba(13, 107, 100, 0.09), rgba(194, 78, 29, 0.07)),
    linear-gradient(180deg, #ffffff, #f7f9fb);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.promo-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(13, 107, 100, 0.12), transparent 65%);
  pointer-events: none;
}
.promo-band .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
}
.promo-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.promo-band p { color: var(--ink-soft); margin: 0 0 1.35rem; max-width: 40ch; }
.promo-band .product-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow);
}
.split-feature img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.split-feature .copy {
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  align-content: center;
  gap: 0.9rem;
  background:
    linear-gradient(160deg, #ffffff 0%, #f5f8fa 100%);
}
.split-feature .copy p { color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ─── Shop / pages ─── */
.page-hero {
  padding: 3rem 0 1.6rem;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  letter-spacing: -0.035em;
}
.page-hero p {
  color: var(--ink-soft);
  max-width: 50ch;
  font-size: 1.02rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.85rem;
  padding-bottom: 4.5rem;
}
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.filters h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}
.filters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.filters a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.55rem;
  color: var(--ink-soft);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 550;
  transition: background 0.2s ease, color 0.2s ease;
}
.filters a:hover,
.filters a.is-active {
  background: var(--mist);
  color: var(--ink);
}
.filters a.is-active {
  background: var(--teal-glow);
  color: var(--teal-deep);
  font-weight: 700;
}
.filters .count {
  font-size: 0.75rem;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}
.toolbar p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.92rem;
}
.toolbar select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  outline: none;
}
.toolbar select:focus {
  border-color: rgba(13, 107, 100, 0.45);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  padding: 2.25rem 0 4.5rem;
}
.gallery {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  height: fit-content;
}
.gallery-main {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 30%, #fff, transparent 55%),
    linear-gradient(160deg, #f6f8fb, #e8eef4);
  border-radius: var(--radius-lg);
}
.gallery-main img {
  max-height: 480px;
  object-fit: contain;
  padding: 1rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}
.gallery-thumbs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.3rem;
  width: 72px;
  height: 72px;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--teal-glow);
}

.buy-box h1 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}
.buy-box .price-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 1.1rem 0;
}
.buy-box .price-row .now {
  font-size: 2.15rem;
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.buy-box .price-row .was {
  color: #94a0ae;
  text-decoration: line-through;
  font-size: 1.05rem;
}
.buy-box .meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0.35rem 0;
}
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
  align-items: center;
}
.qty-input {
  width: 4.6rem;
  border: 1px solid var(--line);
  padding: 0.85rem;
  text-align: center;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.product-copy {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.65;
}
.product-excerpt-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}
.product-excerpt-list li { color: var(--ink); }
.product-copy h2,
.product-copy h3 { color: var(--ink); }

.reviews { margin-top: 2.25rem; }
.review {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.review strong { display: block; margin-bottom: 0.15rem; }
.review time { color: var(--ink-soft); font-size: 0.85rem; }
.review p { margin: 0.5rem 0 0; }

/* Content / blog / contact */
.content-page {
  padding: 2.25rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 740px);
  justify-content: center;
}
.content-body {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm);
}
.content-body img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 1.1rem 0;
  border-radius: var(--radius);
}
.content-body .entry svg,
.content-body svg {
  display: none !important;
}
.entry-features {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.entry-features li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 1.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
  background: color-mix(in srgb, var(--teal) 8%, white);
  border-radius: var(--radius);
}
.entry-features li::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}
.content-body p { color: var(--ink-soft); }
.content-body h2,
.content-body h3 { margin-top: 1.5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding-bottom: 4.5rem;
}
.blog-card {
  background: #ffffff;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--mist-2);
  overflow: hidden;
  display: block;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.05rem 0.95rem;
  background: linear-gradient(0deg, rgba(8, 11, 16, 0.9) 0%, rgba(8, 11, 16, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
}
.blog-card-overlay-title {
  color: #ffffff;
  font-family: var(--font-brand);
  font-weight: 750;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.blog-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  background: #ffffff;
  color: var(--ink);
}
.blog-card time {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
}
.blog-card-title,
.blog-card h2 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.3;
  color: var(--ink) !important;
}
.blog-card-title a,
.blog-card h2 a {
  color: var(--ink) !important;
  text-decoration: none;
}
.blog-card-title a:hover,
.blog-card h2 a:hover {
  color: var(--teal) !important;
}
.blog-card-excerpt,
.blog-card p {
  color: var(--ink-soft) !important;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-more {
  margin-top: auto;
  padding-top: 0.55rem;
  color: var(--copper);
  font-weight: 750;
  font-size: 0.88rem;
}
.blog-card-more:hover { color: var(--teal); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 4.5rem;
}
.contact-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-card dl { margin: 0; display: grid; gap: 1.15rem; }
.contact-card dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 750;
}
.contact-card dd { margin: 0.3rem 0 0; font-size: 1.02rem; }
.contact-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  padding: 0.8rem 0.95rem;
  background: var(--paper);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(13, 107, 100, 0.45);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: #fff;
}
.contact-form textarea { min-height: 145px; resize: vertical; }
.notice {
  padding: 0.9rem 1.05rem;
  background: var(--teal-glow);
  border: 1px solid rgba(13, 107, 100, 0.22);
  margin-bottom: 1rem;
  border-radius: 8px;
  color: var(--teal-deep);
  font-weight: 550;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-table th,
.cart-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--mist);
}
.cart-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.25rem;
}
.cart-summary {
  max-width: 380px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}
.cart-summary .row:last-of-type strong { font-size: 1.2rem; }
.empty-state {
  padding: 3.5rem 1.75rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
}
.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--ink-soft); margin: 0 0 1.25rem; }

/* ─── Cart page (refined) ─── */
.cart-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cart-page { padding-bottom: 4.5rem; }
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}
.cart-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cart-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd, #f5f7fa);
}
.cart-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.link-btn {
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.link-btn:hover {
  color: var(--ink);
  background: var(--mist);
}
.link-btn.danger:hover {
  color: #a31818;
  background: rgba(186, 26, 26, 0.08);
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line-media {
  width: 104px;
  height: 104px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 25%, #fff, transparent 55%),
    linear-gradient(160deg, #f5f7fa, #e8eef4);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.55rem;
}
.cart-line-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
}
.cart-line-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.cart-line-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-line-title:hover { color: var(--teal); }
.cart-line-meta {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.cart-line-price {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.35rem 0.25rem 0.85rem;
}
.qty-control span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.qty-control .qty-input {
  width: 3.4rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.45rem 0.2rem;
  border-radius: 0;
}
.qty-control .btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}
.cart-unit {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.cart-summary {
  max-width: none;
  margin-left: 0;
  position: sticky;
  top: calc(var(--header-h) + 0.85rem);
  padding: 1.45rem 1.4rem 1.5rem;
}
.cart-summary h2 {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
}
.cart-summary-rows {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.cart-summary .row strong { color: var(--ink); font-weight: 700; }
.cart-summary .row.total {
  padding-top: 0.7rem;
  margin-top: 0.15rem;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-size: 1.05rem;
}
.cart-summary .row.total strong {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.cart-summary-note {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}
.btn-block {
  width: 100%;
  margin-bottom: 0.65rem;
}
.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
}

/* Checkout */
.checkout-page { padding-bottom: 4.5rem; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}
.checkout-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.55rem 1.7rem;
}
.checkout-form-panel h2 {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.9rem;
}
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid var(--line);
  padding: 0.8rem 0.95rem;
  background: var(--paper);
  border-radius: 8px;
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(29, 78, 216, 0.45);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: #fff;
}
.checkout-notes-block {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.checkout-notes-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}
.checkout-notes-block label {
  display: grid;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.9rem;
}
.checkout-notes-block textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  background: var(--paper);
  font: inherit;
}
.checkout-payment {
  margin: 1.15rem 0 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
}
.checkout-payment h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.checkout-payment-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.pay-radio {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 4px solid #1d4ed8;
  background: #fff;
  box-shadow: 0 0 0 1px #1d4ed8;
  flex-shrink: 0;
}
.card-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.card-brands span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
}
.stripe-payment-element,
.paypal-button-container {
  min-height: 48px;
  margin-bottom: 0.65rem;
}
.paypal-button-container {
  max-width: 100%;
}
.checkout-payment-help {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}
#checkout-error[hidden],
#payment-message[hidden] { display: none !important; }

.checkout-mini-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
}
.checkout-mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.checkout-mini-list strong {
  color: var(--ink);
  white-space: nowrap;
}
.checkout-success {
  padding-bottom: 4rem;
  display: grid;
  justify-content: center;
}
.checkout-success .content-body { max-width: 520px; }

/* ─── Footer ─── */
.site-footer {
  margin-top: 2.5rem;
  background:
    radial-gradient(ellipse 700px 400px at 10% 0%, rgba(13, 107, 100, 0.18), transparent 55%),
    linear-gradient(180deg, #121820 0%, #0a0d12 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0 1.6rem;
}
.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}
.footer-cta .eyebrow { color: var(--copper-soft); }
.footer-cta .eyebrow::before {
  background: linear-gradient(90deg, var(--copper-soft), var(--teal));
}
.footer-cta p { max-width: 42ch; margin: 0; }
.newsletter {
  display: flex;
  min-width: min(100%, 380px);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.newsletter input {
  flex: 1;
  border: 0;
  padding: 0.95rem 1.15rem;
  outline: none;
  min-width: 0;
}
.newsletter button {
  border: 0;
  background: linear-gradient(145deg, #d45a28, var(--copper));
  color: #fff;
  padding: 0 1.3rem;
  font-weight: 750;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.newsletter button:hover { filter: brightness(1.08); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2.25rem;
  padding: 2.6rem 0;
}
.footer-brand p { max-width: 34ch; line-height: 1.6; }
.footer-brand .brand-mark {
  box-shadow: 0 6px 18px rgba(13, 107, 100, 0.4);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: rgba(255, 255, 255, 0.5); }
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.footer-contact span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.15rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
  font-weight: 750;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer a:hover {
  color: #fff;
  padding-left: 2px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: var(--copper-soft); }

/* ─── Motion ─── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.12); }
}
@keyframes fadeDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .gallery { position: static; }
  .product-detail,
  .promo-band .wrap,
  .split-feature,
  .contact-grid,
  .footer-grid,
  .blog-grid,
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .split-feature img { min-height: 260px; }
  .promo-band .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 1.5rem, 1200px); }
  .header-main { grid-template-columns: 1fr auto; gap: 0.85rem; }
  .search-form { grid-column: 1 / -1; order: 3; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-bottom: 1rem;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a.is-active::after { bottom: 0; }
  .nav-dropdown-panel {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding-left: 0.35rem;
    background: transparent;
  }
  .nav-dropdown.is-open .nav-dropdown-panel { display: grid; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .promo-band .product-grid { grid-template-columns: 1fr; }
  .hero { min-height: 76vh; }
  .hero-content { padding: 4rem 0 3rem; }
  .hero-brand { font-size: clamp(2.6rem, 14vw, 3.8rem); }
  .header-bar-inner { justify-content: center; text-align: center; }
  .cart-table { display: block; overflow-x: auto; }
  .cart-line {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
  }
  .cart-line-media { width: 84px; height: 84px; }
  .cart-line-top { flex-direction: column; gap: 0.35rem; }
  .form-grid { grid-template-columns: 1fr; }
  .product-tile h3 { font-size: 0.9rem; min-height: 0; }
  .product-tile-body { padding: 0.85rem; }
}

/* Auth + account */
.notice-error {
  background: rgba(186, 26, 26, 0.08);
  border-color: rgba(186, 26, 26, 0.25);
  color: #8a1212;
}
.auth-page {
  display: grid;
  place-items: center;
  min-height: min(72vh, 720px);
  padding: 3rem 0 4.5rem;
}
.auth-card {
  width: min(480px, 100%);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(29, 78, 216, 0.08), transparent 55%),
    linear-gradient(180deg, #fff, #f7f9fd);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-brand);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0.15rem 0 0.5rem;
}
.auth-lead {
  color: var(--ink-soft);
  margin: 0 0 1.35rem;
  line-height: 1.55;
}
.auth-form {
  display: grid;
  gap: 0.95rem;
}
.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.auth-form .optional,
.form-grid .optional {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.auth-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #fff;
}
.auth-form input:focus {
  outline: 2px solid var(--teal-glow);
  border-color: var(--teal);
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.auth-switch {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.auth-switch a { color: var(--teal-deep); font-weight: 600; }
.auth-options {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.auth-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.auth-option:hover {
  border-color: rgba(29, 78, 216, 0.35);
  background: rgba(29, 78, 216, 0.04);
  transform: translateY(-1px);
}
.auth-option-admin:hover {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.06);
}
.auth-option-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--mist);
  color: var(--teal-deep);
}
.auth-option-admin .auth-option-icon {
  color: var(--copper-deep);
  background: rgba(217, 119, 6, 0.12);
}
.auth-option strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}
.auth-option em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.account-page { padding-bottom: 4.5rem; }
.account-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.account-nav {
  display: grid;
  gap: 0.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 1rem;
}
.account-nav a {
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.account-nav a:hover { background: var(--mist); color: var(--ink); }
.account-nav a.is-active {
  background: rgba(29, 78, 216, 0.1);
  color: var(--teal-deep);
}
.account-main { min-width: 0; }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.account-card-head h2,
.account-card > h2 {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: 1.25rem;
}
.account-card-head h2 { margin: 0; }
.account-card-head a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-deep);
}
.account-form .form-actions { margin-top: 0.35rem; }
.account-form small.muted { font-weight: 500; }
.check-label {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 650;
}
.check-label input { width: auto; }
.address-list { display: grid; gap: 0.85rem; }
.address-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.address-item:last-child { border-bottom: 0; }
.address-item p { margin: 0.25rem 0 0; }
.btn-sm { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.btn-danger:hover { filter: brightness(0.98); }
.saved-pm-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.saved-pm-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.saved-pm-option em {
  font-style: normal;
  color: var(--ink-soft);
  font-weight: 500;
  margin-left: 0.25rem;
}
#payment-element-wrap[hidden] { display: none !important; }
.account-dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}
.account-dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.account-dl dt {
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.account-dl dd { margin: 0; font-weight: 600; }
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.account-orders {
  display: grid;
  gap: 0.85rem;
}
.account-orders article {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.account-orders article:last-child { border-bottom: 0; }
.account-orders article > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-total { font-weight: 700; margin: 0; }
.muted { color: var(--ink-soft); }

@media (max-width: 800px) {
  .account-shell,
  .account-grid,
  .auth-form-row { grid-template-columns: 1fr; }
  .account-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .account-dl div { grid-template-columns: 1fr; gap: 0.15rem; }
  .address-item { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
