:root {
  --navy: #0b2a4a;            /* Primary: Navy */
  --ink: #0a1a2b;             /* Text on light */
  --muted: #6b7c90;           /* Muted text */
  --beige: #f6f8fb;           /* Light neutral */
  --border: #e2ecf3;          /* Subtle blue border */
  --surface: #f5fbfe;         /* Very light aqua-tinted surface */
  --surface-alt: #eef8fb;     /* Alternate surface */
  --accent: #14b8c4;          /* Accent: Aqua */
  --accent-soft: #b6eef3;     /* Soft aqua */
  --danger: #c9473b;
  --shadow: 0 18px 36px rgba(11, 42, 74, 0.10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
  scrollbar-gutter: stable both-edges;
}

body.cart-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600;
}

html { scroll-behavior: smooth; }

a.link:hover,
a.link:focus-visible {
  color: var(--accent);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3vw, 38px);
}

h3 {
  font-size: clamp(20px, 2.1vw, 26px);
}

small {
  color: var(--muted);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.breadcrumbs a { color: var(--navy); text-decoration: none; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--accent); text-decoration: underline; }
.breadcrumbs .sep { opacity: 0.6; }

.row {
  display: flex;
  gap: 14px;
}

.between {
  justify-content: space-between;
}

.center {
  align-items: start;
}

.wrap {
  flex-wrap: wrap;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.announcement {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.announcement a.link { color: #fff; text-decoration: underline; }

.announcement__inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 10px 0;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 232, 239, 0.7);
}

.site-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: start;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: start;
  gap: 12px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-alt);
  padding: 6px;
}

.brand__tag {
  font-size: 13px;
  color: var(--muted);
}

.header-search {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 4px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.header-search .input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
}

.header-search .input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: start;
  gap: 12px;
}

.nav {
  display: flex;
  align-items: start;
  gap: 20px;
  font-weight: 600;
}

.nav a {
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}
/* Dropdown menus */
.menu { position: relative; }
.menu__toggle {
  background: transparent;
  border: none;
  font: inherit;
  color: var(--ink);
  padding: 6px 0;
  cursor: pointer;
}
.menu__toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); border-radius: 6px; }
.menu__toggle::after { content: '▾'; margin-left: 6px; font-size: 12px; }
.menu__toggle.active { color: var(--accent); }
.menu__toggle[aria-expanded="true"]::after { transform: rotate(180deg); display: inline-block; }
.menu.has-dropdown .dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 32px rgba(11, 42, 74, 0.12);
  padding: 8px;
  display: none;
  z-index: 200;
}
.menu.has-dropdown.open .dropdown { display: block; }
.menu.has-dropdown .dropdown a {
  display: block;
  padding: 10px 10px;
  border-radius: 8px;
  color: var(--ink);
}
.menu.has-dropdown .dropdown a:hover,
.menu.has-dropdown .dropdown a:focus-visible {
  background: var(--accent-soft);
  outline: none;
}
.menu.has-dropdown .dropdown a[aria-current="page"] {
  background: var(--accent-soft);
  font-weight: 700;
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  transform: scaleX(1);
}

.nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 4px;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.btn {
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 20px rgba(15, 52, 86, 0.18);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 12px 20px rgba(11, 42, 74, 0.22);
}
.btn.primary:active { transform: translateY(0); filter: brightness(0.98); }

.btn.ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.btn.ghost:active { transform: translateY(0); }

.btn.icon {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 12px;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}


.cart-trigger__icon {
  font-size: 18px;
}

.cart-trigger__count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  align-items: start;
  justify-content: center;
}

.hero {
  position: relative;
  height: clamp(520px, 82vh, 720px);
  margin: clamp(16px, 4vw, 28px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  perspective: 1000px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.hero-slides,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-bubbles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: rise 18s infinite ease-in;
}

.hero-bubbles span:nth-child(1) {
  left: 18%;
  width: 16px;
  height: 16px;
  animation-delay: 0s;
}

.hero-bubbles span:nth-child(2) {
  left: 42%;
  width: 12px;
  height: 12px;
  animation-delay: 2s;
  animation-duration: 22s;
}

.hero-bubbles span:nth-child(3) {
  left: 60%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
  animation-duration: 19s;
}

.hero-bubbles span:nth-child(4) {
  left: 72%;
  width: 14px;
  height: 14px;
  animation-delay: 1.2s;
  animation-duration: 24s;
}

.hero-bubbles span:nth-child(5) {
  left: 88%;
  width: 18px;
  height: 18px;
  animation-delay: 3s;
  animation-duration: 26s;
}

@keyframes rise {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  to {
    transform: translateY(-120%);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: start;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 196, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-text {
  max-width: 520px;
  font-size: 18px;
  color: #e6eef7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 24px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-stats dt {
  color: rgba(230, 238, 247, 0.75);
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-bg .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 18s ease-in-out infinite;
}

.hero-bg .bg-1 {
  background-image: url('assets/freepik/lady-applying-cream.jpeg');
  animation-delay: 0s;
}

.hero-bg .bg-2 {
  background-image: url('assets/freepik/couple-skincare.jpeg');
  animation-delay: 6s;
}

.hero-bg .bg-3 {
  background-image: url('assets/freepik/man-cleansing-face.jpeg');
  animation-delay: 12s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  5% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: scale(1.0);
  }
}

.hero-slides {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1200ms ease, transform 7000ms ease;
}

.hero-slide.current {
  opacity: 1;
  transform: scale(1.0);
}

.section.trust {
  background: #fff;
}

.trust-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.trust-card {
  min-height: 180px;
}

.collections {
  background: var(--surface);
}

.collections-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.collection-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.actives-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.active-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.active-card p {
  margin: 0;
}

  .active-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 184, 196, 0.12);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.active-meta div {
  display: grid;
  gap: 2px;
}

.active-meta dt {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.active-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.collection-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  box-shadow: 0 18px 36px rgba(15, 52, 86, 0.06);
}
@media (min-width: 720px) {
  .active-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card div {
  padding: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 52, 86, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-hover-swap .card {
  padding: 0;
  overflow: hidden;
}

.cards-hover-swap .card .img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.cards-hover-swap .card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cards-hover-swap .card:hover .img img {
  transform: scale(1.06);
}

.card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: start;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.stat {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.price {
  font-weight: 700;
  font-size: 16px;
}

.price .was {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
  text-decoration: line-through;
}

.kicker {
  font-size: 13px;
  color: var(--muted);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.toolbar__group {
  display: flex;
  align-items: start;
}

.input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  min-height: 44px;
  background: #fff;
  width: 100%;
}

.input::placeholder { color: var(--muted); opacity: 1; }
.input:invalid { border-color: var(--danger); }
.input:valid { border-color: var(--accent); }

.product-card {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card__quick {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}
 
.product-card__quick:hover,
.product-card__quick:focus-visible {
  outline: none;
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.product-card__description {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.reviews-card {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  box-shadow: var(--shadow);
}

.reviews-stats {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}

.reviews-card .stat .num {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
}

.reviews-card .stat .label {
  opacity: 0.85;
}

.columns {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ticks {
  list-style: disc;
  margin-left: 18px;
}

.ticks li {
  margin-bottom: 8px;
}

.routine-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff5e1;
  border: 1px solid #fbd79c;
}

.snap-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.snap-strip::-webkit-scrollbar {
  height: 6px;
}

.snap-strip::-webkit-scrollbar-thumb {
  background: rgba(15, 52, 86, 0.3);
  border-radius: 999px;
}

.social-tile {
  flex: 0 0 220px;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000;
}

.social-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
}

.journal-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Browser performance: skip rendering offscreen content until needed */
.grid,
.collections-grid,
.journal-grid,
.trust-grid,
.actives-grid,
.snap-strip {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.journal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
  transition: transform 0.2s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-card div {
  padding: 18px;
}

.newsletter-card {
  display: flex;
  gap: 24px;
  align-items: start;
  justify-content: space-between;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f6f2ea, #fff);
  border: 1px solid rgba(229, 232, 239, 0.8);
  box-shadow: 0 18px 36px rgba(15, 52, 86, 0.08);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form .input {
  min-width: 240px;
}

.footer {
  background: #081a2c; /* Deep navy */
  color: #d9e4ef;
  padding: 60px 0 30px;
  margin-top: clamp(40px, 6vw, 80px);
}

.footer a {
  color: inherit;
}

.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 30px;
}

.footer__grid h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
}

.footer__grid ul {
  padding: 0;
  margin: 0;
}

.footer__grid li {
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.cart {
  position: fixed;
  top: 0;
  right: -420px;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.05);
  padding: 18px;
  transition: right 0.3s ease;
  z-index: 120;
  display: flex;
  flex-direction: column;
}

.cart.open {
  right: 0;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.qty {
  display: flex;
  align-items: start;
  gap: 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.modal {
  border: none;
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 96%;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.modal-content {
  position: relative;
  padding: 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal .card,
.reveal .reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible .card,
.reveal.visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* Global focus ring for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Text selection color */
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
.hero--subpage {
  height: auto;
  min-height: unset;
  margin: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  color: #fff;
  padding: clamp(72px, 14vw, 140px) 0;
}

.hero--subpage .hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-shadow: none;
}

.hero--subpage .hero-text {
  color: #e6eef7;
}

@media (max-width: 1100px) {
  .site-header__bar {
    grid-template-columns: auto 1fr auto;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(15, 52, 86, 0.12);
    display: none;
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .site-header__bar {
    position: relative;
  }

  .header-actions {
    order: 2;
  }

  .header-search {
    order: 3;
    width: 100%;
  }

  /* Mobile dropdowns expand inline */
  .menu.has-dropdown { width: 100%; }
  .menu__toggle { width: 100%; text-align: left; }
  .menu.has-dropdown .dropdown {
   position: static;
   box-shadow: none;
   border: none;
   padding: 4px 0 8px;
  }
  .menu.has-dropdown .dropdown a { padding-left: 14px; }

  .hero {
    margin: 16px;
  }
}

@media (max-width: 760px) {
  .hero--subpage {
    border-radius: 0;
    min-height: unset;
    padding: clamp(56px, 18vw, 96px) 0;
  }
  .hero {
    border-radius: 20px;
    height: auto;
    min-height: 480px;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .announcement__inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form .input {
    flex: 1;
    width: 100%;
  }

  .reviews-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cards-hover-swap .card .img {
    height: 160px;
  }

  .hero-content {
    padding: 40px 0;
  }

  .footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 520px) {
  .cart-item {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }
  .cart-item .qty {
    grid-column: 2;
    justify-self: flex-start;
  }
  .cart-item .cart-remove {
    grid-column: 2;
    justify-self: flex-start;
    padding: 4px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-bg .bg,
  .hero-slide {
    animation: none;
  }
}

.cart-remove {
  justify-self: end;
  background: none;
  border: none;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.cart-remove:hover {
  text-decoration: underline;
}

/* Theme/accessibility finishing touches */
.btn.icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
  border-color: var(--accent);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.cart-delivery {
  margin: 8px 0;
}
.cart-delivery.eligible {
  color: var(--accent);
  font-weight: 600;
}

.cart-remove:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 71, 59, 0.25);
  border-radius: 6px;
}

/* Blog styles */
.blog-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px;
}

.blog-cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 12px 0 16px;
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

@media (max-width: 600px) {
  .blog-card__img {
    height: 160px;
  }
}












