:root {
  --forest-900: #10291f;
  --forest-700: #1b4332;
  --forest-500: #2d6a4f;
  --honey-500: #d4a017;
  --honey-300: #f0cc68;
  --cream-100: #f8f3e9;
  --slate-900: #14211a;
  --slate-700: #324138;
  --slate-500: #617063;
  --white: #ffffff;
  --border: #e8e2d5;
  --shadow: 0 8px 24px rgba(16, 41, 31, 0.08);
  --radius: 14px;
  --bg-start: #f8f6f1;
  --bg-end: #f3efe6;
  --bg-accent: rgba(240, 204, 104, 0.12);
  --surface: #ffffff;
  --surface-elevated: #fcfaf5;
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-border: rgba(27, 67, 50, 0.12);
  --table-row-border: #efe8d7;
  --table-head-bg: #f3ebd8;
  --input-border: #cfd8cf;
  --footer-bg: #10291f;
  --control-bg: #ffffff;
  --control-fg: var(--forest-700);
}

:root[data-theme='dark'] {
  --forest-900: #e7f3ea;
  --forest-700: #36e97d;
  --forest-500: #78b692;
  --slate-900: #e5efe7;
  --slate-700: #c6d7cb;
  --slate-500: #9baea1;
  --border: #30453a;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  --bg-start: #0d1612;
  --bg-end: #12201a;
  --bg-accent: rgba(212, 160, 23, 0.12);
  --surface: #15231d;
  --surface-elevated: #1a2b23;
  --header-bg: rgba(12, 22, 17, 0.92);
  --header-border: rgba(159, 212, 180, 0.22);
  --table-row-border: #2a3f34;
  --table-head-bg: #22372d;
  --input-border: #3b5447;
  --footer-bg: #0a1511;
  --control-bg: #243e31;
  --control-fg: #f2f8f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--slate-900);
  background:
    radial-gradient(circle at 12% 0%, var(--bg-accent), transparent 34%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest-700);
  text-decoration: none;
}

a:hover {
  color: var(--forest-500);
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  color: var(--forest-900);
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.container {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--forest-700);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 10px 10px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest-900);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: #000;
  border: 2px solid rgba(212, 160, 23, 0.4);
}

.brand strong {
  display: block;
  font-size: 1.1rem;
}

.brand small {
  display: block;
  color: var(--slate-500);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: nowrap;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--forest-700);
  border-color: var(--honey-500);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  background: var(--honey-500);
  color: var(--forest-900);
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0 0.35rem;
}

.theme-toggle,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid var(--header-border);
  border-radius: 10px;
  background: var(--control-bg);
  color: var(--control-fg);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle {
  display: none;
}

.theme-toggle:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--honey-500);
  outline-offset: 2px;
}

.theme-icon,
.nav-toggle-icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
}

.theme-icon svg,
.nav-toggle-icon svg {
  width: 100%;
  height: 100%;
}

.theme-icon-sun,
.nav-toggle-close {
  display: none;
}

:root[data-theme='dark'] .theme-icon-moon {
  display: none;
}

:root[data-theme='dark'] .theme-icon-sun {
  display: inline-flex;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-hamburger {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-close {
  display: inline-flex;
}

.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;
}

body.nav-open {
  overflow: hidden;
}

#content {
  padding: 2.8rem 0 3.8rem;
}

.page-hero {
  background: var(--surface-elevated);
  color: var(--slate-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow);
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
}

.page-hero-home,
.page-hero-about,
.page-hero-shop,
.page-hero-product,
.page-hero-contact,
.page-hero-services,
.page-hero-advisory,
.page-hero-gallery,
.page-hero-blog,
.page-hero-blog-post,
.page-hero-faq,
.page-hero-checkout,
.page-hero-cart,
.page-hero-thankyou {
  background-size: cover;
  background-position: center;
}

.page-hero-home {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.92), rgba(18, 49, 37, 0.82)),
    url('../helper-images/pollydot-honey-352205_1920.jpg');
}

.page-hero-about {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.8)),
    url('../helper-images/pollydot-bees-326337_1920.jpg');
}

.page-hero-shop {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.82)),
    url('../helper-images/maria-anne-honeycomb-827476_1920.jpg');
}

.page-hero-product {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.8)),
    url('../helper-images/altewaldhexe-honey-7364297_1920.jpg');
}

.page-hero-contact {
  background:
    radial-gradient(circle at 95% 10%, rgba(212, 160, 23, 0.2), transparent 40%),
    linear-gradient(145deg, #fbf7ec 0%, #fffdf7 48%, #f4faf5 100%);
  min-height: auto;
  padding: clamp(1.7rem, 3.2vw, 2.8rem);
}

:root[data-theme='dark'] .page-hero-contact {
  background:
    radial-gradient(circle at 95% 10%, rgba(240, 204, 104, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.8)),
    url('../helper-images/terrianneallen-bees-4751541_1920.jpg');
  background-size: cover;
  background-position: center;
  border-color: rgba(159, 212, 180, 0.26);
  color: var(--forest-900);
}

.page-hero-services {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/daria-yakovleva-honey-1958464_1920.jpg');
}

.page-hero-advisory {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/xiserge-carnolian-honey-bees-8072079_1920.jpg');
}

.page-hero-gallery {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/xiserge-bees-5476247_1920.jpg');
}

.page-hero-blog,
.page-hero-blog-post {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/daria-yakovleva-honey-1958464_1920.jpg');
}

.page-hero-faq {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/xiserge-bees-5480568_1920.jpg');
}

.page-hero-checkout {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/altewaldhexe-honey-7364297_1920.jpg');
}

.page-hero-cart {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/maria-anne-honeycomb-827476_1920.jpg');
}

.page-hero-thankyou {
  background-image:
    linear-gradient(135deg, rgba(27, 67, 50, 0.9), rgba(18, 49, 37, 0.78)),
    url('../helper-images/pollydot-honey-352205_1920.jpg');
}

.page-hero::after {
  display: none;
}

.page-hero h1,
.page-hero h2 {
  color: var(--forest-900);
  max-width: 900px;
  position: relative;
}

.page-hero p {
  position: relative;
  max-width: 760px;
  color: var(--slate-700);
  font-size: 1rem;
}

.page-hero-home {
  background:
    radial-gradient(circle at 95% 10%, rgba(212, 160, 23, 0.2), transparent 40%),
    linear-gradient(145deg, #fbf7ec 0%, #fffdf7 48%, #f4faf5 100%);
  min-height: auto;
  padding: clamp(1.7rem, 3.2vw, 2.8rem);
}

:root[data-theme='dark'] .page-hero-home {
  background:
    radial-gradient(circle at 95% 10%, rgba(240, 204, 104, 0.22), transparent 42%),
    linear-gradient(145deg, #1a2b23 0%, #14231d 52%, #0f1b16 100%);
  border-color: rgba(159, 212, 180, 0.26);
}

:root[data-theme='dark'] .page-hero-home .btn-primary {
  background: var(--honey-300);
  color: #14211a;
  border-color: rgba(240, 204, 104, 0.35);
}

:root[data-theme='dark'] .page-hero-home .btn-primary:hover {
  background: var(--honey-500);
  color: #14211a;
}

:root[data-theme='dark'] .page-hero-home .btn-outline {
  border-color: rgba(159, 212, 180, 0.46);
  color: var(--slate-900);
  background: rgba(15, 31, 24, 0.35);
}

:root[data-theme='dark'] .page-hero-home .btn-outline:hover {
  border-color: rgba(159, 212, 180, 0.7);
  background: rgba(15, 31, 24, 0.6);
}

.home-hero-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.home-hero-copy h1 {
  margin-bottom: 0.55rem;
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4.05rem);
  line-height: 1.06;
}

.home-hero-copy > p {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.home-hero-copy .btn-row {
  margin-top: 1rem;
  margin-bottom: 0.9rem;
}

.home-hero-copy .tag {
  margin-bottom: 0.85rem;
}

.home-hero-social-proof {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.home-hero-proof-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-700);
}

.home-hero-avatars {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.home-hero-avatars img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--surface);
  box-shadow: 0 5px 12px rgba(16, 41, 31, 0.18);
}

.home-hero-avatars img + img {
  margin-left: -0.6rem;
}

.home-hero-quote {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.12rem, 2.1vw, 1.38rem);
  line-height: 1.35;
  color: var(--forest-700);
  max-width: 52ch;
}

.home-hero-media {
  display: flex;
  height: 100%;
}

.home-hero-media-card {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  min-height: 0;
  position: relative;
}

.card-description {
  margin: 15px 0;
  font-size: 0.9rem;
  color: var(--forest-700);
  word-break: break-all;
}

.home-hero-media-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.home-hero-media-pill {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: rgba(16, 41, 31, 0.7);
  color: #fdf9ef;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

:root[data-theme='dark'] .home-hero-media-pill {
  border-color: rgba(159, 212, 180, 0.42);
  background: rgba(10, 21, 17, 0.78);
  color: #f2f8f4;
}

/* Home Hero Carousel */
.home-hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-hero-carousel-slides {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-hero-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-hero-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.home-hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.home-hero-carousel-slide.is-active img {
  transform: scale(1);
}

.home-hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.home-hero-carousel-nav {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: var(--surface);
  color: var(--forest-700);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
}

.home-hero-carousel-nav:hover {
  background: var(--surface-elevated);
  border-color: var(--forest-500);
  transform: translateY(-1px);
}

.home-hero-carousel-nav:focus-visible {
  outline: 2px solid var(--honey-300);
  outline-offset: 2px;
}

.home-hero-carousel-counter {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--forest-700);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: var(--surface);
  min-width: 4.6rem;
  text-align: center;
}

.home-hero-free-from {
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.08);
  color: var(--forest-700);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

:root[data-theme='dark'] .home-hero-free-from {
  border-color: rgba(159, 212, 180, 0.38);
  background: rgba(159, 212, 180, 0.12);
}

.home-hero-free-from strong,
.home-hero-free-from p {
  margin: 0;
}

.home-hero-free-from p {
  font-size: 0.86rem;
  font-weight: 700;
}

.home-hero-claims {
  margin-top: 1rem;
  border-top: 1px solid rgba(45, 106, 79, 0.18);
  padding-top: 0.75rem;
  overflow: hidden;
}

:root[data-theme='dark'] .home-hero-claims {
  border-top-color: rgba(159, 212, 180, 0.28);
}

.home-hero-claims-track {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  min-width: 100%;
  animation: hero-claims-slide 28s linear infinite;
}

.home-hero-claims-track span {
  color: var(--forest-700);
  font-size: 0.84rem;
  font-weight: 700;
}

@keyframes hero-claims-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.shop-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.shop-hero-copy,
.shop-hero-carousel {
  position: relative;
  z-index: 1;
}

.shop-hero-copy p {
  margin-bottom: 0;
  max-width: 62ch;
}

.shop-hero-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
}

.shop-hero-carousel-frame {
  position: relative;
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.shop-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shop-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.shop-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.shop-hero-slide.is-active img {
  transform: scale(1);
}

.shop-hero-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(16, 41, 31, 0.84));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.shop-hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.shop-hero-nav {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: var(--surface);
  color: var(--forest-700);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.shop-hero-nav:hover {
  background: var(--surface-elevated);
  border-color: var(--forest-500);
  transform: translateY(-1px);
}

.shop-hero-nav:focus-visible {
  outline: 2px solid var(--honey-300);
  outline-offset: 2px;
}

.shop-hero-counter {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--forest-700);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  background: var(--surface);
  min-width: 4.6rem;
  text-align: center;
}

.shop-catalog {
  margin-top: 0.4rem;
}

.shop-single-note {
  margin-top: 0.85rem;
  display: inline-flex;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(212, 160, 23, 0.12);
  color: var(--forest-700);
  font-size: 0.88rem;
  font-weight: 700;
}

.shop-single-highlight {
  margin-bottom: 1.2rem;
}

.shop-single-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.shop-single-media {
  margin: 0;
}

.shop-single-media .product-thumb {
  height: 100%;
  min-height: 250px;
  margin-bottom: 0;
}

.shop-single-copy h2 {
  margin-bottom: 0.3rem;
}

.shop-single-copy h3 {
  margin-bottom: 0.4rem;
}

.shop-single-copy .price {
  margin: 0.55rem 0 0.6rem;
}

.shop-single-copy .list-clean {
  margin-top: 0;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.shop-count {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.shop-sort-form {
  margin: 0;
}

.shop-sort-select {
  min-width: 230px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  color: var(--slate-900);
  font: inherit;
}

.shop-products-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.shop-products-grid-single {
  grid-template-columns: minmax(0, 420px);
}

.shop-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
}

.shop-product-card-featured {
  border-color: rgba(212, 160, 23, 0.4);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-elevated) 100%);
}

.shop-product-figure {
  margin: 0 0 0.65rem;
}

.shop-product-card .product-thumb {
  height: 220px;
  margin-bottom: 0;
}

.shop-product-title {
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}

.shop-product-title a {
  color: var(--forest-900);
}

.shop-product-title a:hover {
  color: var(--forest-700);
}

.shop-product-price {
  margin-bottom: 0.45rem;
}

.shop-product-categories {
  margin: 0 0 0.7rem;
  padding-left: 1.1rem;
}

.shop-product-categories a {
  font-size: 0.9rem;
}

.shop-product-action {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-product-action a {
  color: var(--forest-700);
  font-weight: 700;
}

.shop-product-action span {
  color: var(--slate-500);
  font-size: 0.84rem;
  line-height: 1.35;
}

.shop-empty-state {
  margin-top: 0.3rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  margin: 10px 0;
}

.btn-primary {
  background: var(--forest-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--forest-500);
  color: var(--white);
}

.btn-outline {
  border-color: var(--forest-500);
  color: var(--forest-700);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--forest-700);
  color: var(--forest-700);
  background: rgba(45, 106, 79, 0.08);
}

.btn-ghost {
  border-color: var(--forest-500);
  color: var(--forest-700);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(45, 106, 79, 0.1);
}

.section {
  margin: 1.9rem 0;
}

.section-title {
  margin-bottom: 0.7rem;
}

.section-intro {
  max-width: 760px;
  color: var(--slate-700);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: none;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card-media {
  border-radius: 12px;
  width: 100%;
  min-height: 170px;
  max-height: 240px;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
}

.location-map-wrap {
  margin-top: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-elevated);
}

.location-map {
  width: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

.map-link-row {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.blog-cover {
  max-height: 360px;
}

.card p {
  margin: 0;
  color: var(--slate-700);
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  background: rgba(212, 160, 23, 0.14);
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
  padding: 1rem 0.7rem;
}

.kpi strong {
  display: block;
  font-size: 1.4rem;
  color: var(--forest-700);
}

.list-clean {
  padding-left: 1.1rem;
  margin: 0;
}

.list-clean li {
  margin-bottom: 0.35rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--table-row-border);
  font-size: 0.94rem;
}

th {
  background: var(--table-head-bg);
  font-weight: 700;
}

.price {
  font-weight: 800;
  color: var(--forest-700);
}

.product-thumb {
  border-radius: 12px;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.16), rgba(16, 41, 31, 0.08));
}

.meta {
  color: var(--slate-500);
  font-size: 0.92rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #f4ecd5;
  color: #7b5d05;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--slate-900);
  background: var(--surface);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(45, 106, 79, 0.2);
  border-color: var(--forest-500);
}

.alert {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: #e8f6ee;
  border: 1px solid #badbc9;
  color: #165c39;
}

.alert-warning {
  background: #fdf6df;
  border: 1px solid #efd690;
  color: #6b5108;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--forest-700);
}

.gallery-shell {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.media-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.media-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.media-tile {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-tile:hover img,
.media-tile:focus-visible img {
  transform: scale(1.04);
}

.media-tile:focus-visible {
  outline: 3px solid var(--honey-500);
  outline-offset: 3px;
}

.media-caption {
  margin: 0;
  padding: 0.35rem 0.15rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.4;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 10, 8, 0.84);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1040px);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: var(--shadow);
}

.gallery-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  background: var(--surface);
  color: var(--slate-900);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.gallery-viewport {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.gallery-active-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
}

.gallery-nav,
.gallery-play {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  color: var(--slate-900);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gallery-meta {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gallery-counter {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-700);
}

.gallery-caption {
  margin: 0.65rem 0 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--slate-700);
  font-size: 0.94rem;
  line-height: 1.5;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
}

.gallery-dot {
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: rgba(0, 0, 0, 0.22);
  padding: 0;
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--honey-500);
  border-color: var(--honey-500);
}

.gallery-dot:focus-visible {
  outline: 2px solid var(--honey-500);
  outline-offset: 2px;
}

body.gallery-open {
  overflow: hidden;
}

.site-footer {
  margin-top: 3rem;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.92);
  padding-top: 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 0.55rem;
}

.site-footer p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.84);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.85rem 0 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .home-hero-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-hero-media-card,
  .home-hero-media-card img {
    min-height: 270px;
  }

  .home-hero-claims-track {
    animation-duration: 22s;
  }

  .shop-single-wrap {
    grid-template-columns: 1fr;
  }

  .shop-single-media .product-thumb {
    min-height: 220px;
  }

  .shop-hero-split {
    grid-template-columns: 1fr;
  }

  .shop-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-hero-copy {
    max-width: 100%;
  }

  .gallery-shell {
    width: 88%;
  }

  .split,
  .card-grid,
  .kpi-grid,
  .footer-grid,
  .media-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 70px;
    gap: 0.6rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .header-controls {
    gap: 0.35rem;
  }

  .theme-toggle,
  .nav-toggle {
    width: 2.3rem;
    height: 2.3rem;
  }

  /* Nav drawer: adjust to match the reduced header height at this breakpoint */
  .site-nav {
    top: 70px;
    max-height: calc(100vh - 70px);
  }

  #content {
    padding: 2rem 0 2.8rem;
  }

  .split,
  .card-grid,
  .kpi-grid,
  .footer-grid,
  .media-wall {
    grid-template-columns: 1fr;
  }

  .gallery-shell {
    width: 100%;
  }

  .gallery-lightbox {
    padding: 0.45rem;
  }

  .gallery-lightbox-panel {
    padding: 0.8rem;
  }

  .gallery-viewport {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .gallery-nav {
    width: 100%;
  }

  .gallery-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-dots {
    justify-content: center;
  }

  .gallery-play {
    width: 100%;
  }

  .home-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .home-hero-proof-title {
    font-size: 0.9rem;
  }

  .home-hero-avatars img {
    width: 2rem;
    height: 2rem;
  }

  .home-hero-claims {
    gap: 0.4rem;
  }

  .home-hero-claims-track {
    animation-duration: 18s;
  }

  .home-hero-claims-track span {
    display: inline-flex;
  }

  .shop-hero-carousel-frame {
    min-height: 220px;
  }

  .shop-hero-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .shop-hero-nav {
    min-width: 5.2rem;
  }

  .shop-hero-counter {
    order: -1;
    margin: 0 auto;
  }

  .shop-toolbar {
    align-items: stretch;
  }

  .shop-sort-select {
    width: 100%;
    min-width: 0;
  }

  .shop-products-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-home {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-hero-slide,
  .shop-hero-slide img,
  .media-tile img,
  .home-hero-claims-track {
    transition: none;
    animation: none;
  }
}

/* ─── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 1.4rem;
}

.breadcrumb a {
  color: var(--slate-500);
}

.breadcrumb a:hover {
  color: var(--forest-700);
}

.breadcrumb span[aria-hidden] {
  color: var(--slate-500);
}

/* ─── Product Detail Layout ────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.product-detail-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
}

.product-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.product-detail-info .product-detail-desc {
  overflow-wrap: anywhere; /* Breaks long unbroken words */
  word-break: break-word; 
}

.product-detail-category {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin: 0;
}

.product-detail-category a {
  color: var(--slate-500);
}

.product-detail-category a:hover {
  color: var(--forest-500);
}

.product-detail-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  margin: 0;
  line-height: 1.15;
}

.product-detail-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--forest-700);
  margin: 0;
}

.product-detail-desc {
  color: var(--slate-700);
  line-height: 1.6;
  margin: 0;
}

/* ─── Variant Selector ─────────────────────────────────────── */
.variant-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.variant-selector-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-900);
  cursor: pointer;
}

.variant-select-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.variant-select {
  flex: 1;
  height: 2.7rem;
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.96rem;
  color: var(--slate-900);
  background: var(--surface);
  cursor: pointer;
  appearance: auto;
  transition: border-color 0.18s;
}

.variant-select:focus {
  outline: 2px solid var(--honey-500);
  outline-offset: 1px;
  border-color: var(--forest-500);
}

/* ─── Qty Stepper ──────────────────────────────────────────── */
.product-qty-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  overflow: hidden;
  height: 2.7rem;
}

.qty-stepper-sm {
  height: 2.35rem;
}

.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 100%;
  border: none;
  background: var(--surface-elevated);
  color: var(--forest-700);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.qty-stepper-sm .qty-btn {
  width: 2rem;
  font-size: 1rem;
}

.qty-btn:hover {
  background: rgba(45, 106, 79, 0.12);
}

.qty-input {
  width: 3.6rem;
  height: 100%;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font: inherit;
  font-size: 0.97rem;
  background: var(--surface);
  color: var(--slate-900);
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-stepper-sm .qty-input {
  width: 3rem;
  font-size: 0.9rem;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input:focus {
  outline: 2px solid var(--honey-500);
  outline-offset: -1px;
}

.product-add-btn {
  height: 2.7rem;
  padding: 0 1.6rem;
  font-size: 0.96rem;
}

/* ─── Product Meta List ────────────────────────────────────── */
.product-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: 0.3rem;
}

.product-meta-row {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.product-meta-key {
  font-weight: 600;
  color: var(--slate-900);
  margin-right: 0.35rem;
}

.product-meta-stock.in-stock {
  color: var(--forest-500);
  font-weight: 600;
}

.product-detail-actions {
  margin-top: 0.2rem;
}

/* ─── Product Tabs ─────────────────────────────────────────── */
.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.product-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.4rem;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.product-tab:hover {
  color: var(--forest-700);
}

.product-tab.is-active {
  color: var(--forest-700);
  border-bottom-color: var(--honey-500);
}

.product-tab-panel {
  margin-bottom: 2rem;
}

.product-tab-content {
  padding: clamp(1rem, 2.5vw, 1.6rem);
}

/* ─── Shop Category Pills ──────────────────────────────────── */
.shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.shop-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--surface);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.shop-category-pill:hover {
  border-color: var(--forest-500);
  color: var(--forest-700);
  background: rgba(45, 106, 79, 0.07);
}

.shop-category-pill.is-active {
  border-color: var(--forest-700);
  color: var(--white);
  background: var(--forest-700);
}

/* ─── Shop product card action buttons ─────────────────────── */
.shop-product-select-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--forest-700);
  font-size: 0.92rem;
}

.shop-product-select-btn:hover {
  color: var(--forest-500);
}

.shop-add-cart-btn {
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  height: auto;
}

.shop-product-details-link {
  font-size: 0.84rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.shop-product-details-link:hover {
  color: var(--forest-700);
}

.shop-quick-add-form {
  margin: 0;
}

/* ─── Cart Layout ──────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.6rem;
  align-items: start;
}

.cart-items-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-table {
  width: 100%;
}

.cart-table thead th {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--border);
  background: none;
}

.cart-table tbody td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-col-img {
  width: 80px;
}

.cart-product-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: block;
}

.cart-col-name a {
  font-weight: 600;
  color: var(--forest-900);
}

.cart-col-name a:hover {
  color: var(--forest-700);
}

.cart-variant-label {
  display: block;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 0.2rem;
}

.cart-col-qty {
  min-width: 140px;
}

.cart-qty-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.cart-qty-update-btn {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest-700);
  background: none;
  border: 1px solid var(--forest-500);
  border-radius: 4px;
  padding: 0.18rem 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}

.cart-qty-update-btn:hover {
  background: rgba(45, 106, 79, 0.1);
}

.cart-remove-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--slate-500);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.cart-remove-btn:hover {
  color: #c0392b;
}

.cart-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* ─── Cart Totals ──────────────────────────────────────────── */
.cart-totals-card {
  position: sticky;
  top: 90px;
}

.cart-totals-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.cart-totals-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.cart-totals-row-total {
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.cart-totals-note {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin: 0.65rem 0 1.2rem;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
}

.cart-empty-card {
  text-align: center;
}

/* ─── Responsive overrides ─────────────────────────────────── */
@media (max-width: 900px) {
  /* ── Nav: show hamburger, collapse links into drawer ── */
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    box-shadow: 0 20px 26px rgba(0, 0, 0, 0.2);
  }

  .site-nav a {
    width: 100%;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--table-row-border);
  }

  .site-nav .nav-cart {
    margin-top: 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  /* ── Product / Cart ── */
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-main-img {
    height: 280px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-totals-card {
    position: static;
  }

  .cart-table thead th.cart-col-price,
  .cart-table tbody td.cart-col-price {
    display: none;
  }
}

@media (max-width: 600px) {
  .product-qty-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-add-btn {
    width: 100%;
    justify-content: center;
  }

  .cart-table thead th.cart-col-sub,
  .cart-table tbody td.cart-col-sub {
    display: none;
  }

  /* Hide product thumbnail column on small phones */
  .cart-table thead th.cart-col-img,
  .cart-table tbody td.cart-col-img {
    display: none;
  }
}

