:root {
  color-scheme: light;
  --ink: #17282c;
  --muted: #66777b;
  --line: #d7e5e3;
  --page: #f7fbf8;
  --surface: #ffffff;
  --header: #034852;
  --header-soft: #07606d;
  --teal: #00606b;
  --teal-dark: #01444d;
  --gold: #efa30a;
  --gold-dark: #c97d00;
  --coral: #e26b45;
  --blue: #0f83b8;
  --aqua: #77d8df;
  --mint: #e4f8ef;
  --cream: #fff7df;
  --shadow: 0 12px 28px rgba(1, 68, 77, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 163, 10, 0.1), transparent 24rem),
    linear-gradient(180deg, #fbfffd 0%, var(--page) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus {
  outline: 3px solid rgba(0, 96, 107, 0.18);
  border-color: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 2.35rem;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(239, 163, 10, 0.2), transparent 22rem),
    radial-gradient(circle at 88% 0%, rgba(119, 216, 223, 0.2), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #f4fbf8 56%, #fff7df 100%);
  box-shadow: 0 3px 16px rgba(1, 58, 65, 0.16);
}

.market-mainbar {
  display: grid;
  grid-template-columns: 240px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1500px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
}

.market-brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.market-brand {
  width: 230px;
}

.brand-logo {
  width: 220px;
  height: 72px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.market-brand strong,
.market-brand small,
.admin-brand strong,
.admin-brand small {
  display: block;
}

.market-brand small,
.admin-brand small {
  color: var(--muted);
}

.market-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 96, 107, 0.18), 0 10px 22px rgba(1, 49, 56, 0.12);
}

.market-search input,
.market-search button {
  min-height: 48px;
  border: 0;
  border-radius: 0;
}

.market-search button {
  color: #3b2600;
  background: linear-gradient(135deg, #ffcf4f, var(--gold));
  font-weight: 900;
}

.market-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: 0;
}

.market-cart,
.market-return,
.market-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  font-weight: 800;
}

.market-return {
  padding: 0 14px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 96, 107, 0.14);
}

.market-track {
  padding: 0 14px;
  color: var(--header);
  background: #fffaf0;
  border: 1px solid rgba(239, 163, 10, 0.6);
  white-space: nowrap;
}

.market-track:hover,
.market-track.active {
  color: #221a05;
  background: var(--gold);
}

.market-cart {
  gap: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--header-soft);
}

.market-cart strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #3b2600;
  background: var(--gold);
  font-size: 0.78rem;
}

.cart-icon {
  font-size: 0.9rem;
}

.market-subbar {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(0, 96, 107, 0.12);
  box-shadow: 0 3px 10px rgba(20, 32, 45, 0.1);
}

.market-subbar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(1500px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
}

.market-nav {
  display: flex;
  gap: 8px;
  min-height: 42px;
  overflow-x: auto;
}

.market-nav-button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  color: var(--header);
  background: transparent;
  font-weight: 700;
}

.market-nav-button.active,
.market-nav-button:hover {
  color: #fff;
  background: var(--header);
}

.market-nav-button[data-family="Bionag"] {
  color: var(--teal-dark);
  background: linear-gradient(135deg, #fff7df, #eaf8ef);
  box-shadow: inset 0 0 0 1px rgba(15, 151, 139, 0.24);
}

.market-nav-button[data-family="Bionag"].active,
.market-nav-button[data-family="Bionag"]:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), #0fa878);
}

.benefit-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--header);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.benefit-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.subbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
}

.subbar-track-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(245, 201, 77, 0.9);
  border-radius: 999px;
  padding: 0 18px;
  color: #3b2600;
  background: linear-gradient(135deg, #ffd96b, var(--gold));
  box-shadow: 0 8px 18px rgba(239, 163, 10, 0.22);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.subbar-track-cta:hover {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--header);
}

.mobile-bottom-nav {
  display: none;
}

.store-shell,
.cart-shell,
.product-detail-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.home-page:not(.catalog-mode) .catalog-route {
  display: none;
}

.home-page.catalog-mode .home-only {
  display: none;
}

.club-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--header);
  background: var(--mint);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.marketing-ribbon {
  position: relative;
  overflow: hidden;
  justify-content: center;
  min-height: 48px;
  background: linear-gradient(90deg, #dff8ec 0%, #eef8ff 44%, #fff2c5 100%);
  animation: ribbonEntry 700ms ease both;
}

.marketing-ribbon::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.72) 45%, transparent 70%);
  transform: translateX(-110%);
  animation: ribbonSheen 5.8s ease-in-out infinite;
}

.marketing-ribbon > * {
  position: relative;
  z-index: 1;
}

.club-banner strong {
  font-size: 1.05rem;
}

.club-banner span {
  color: var(--header-soft);
}

.marketing-ribbon a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 14px;
  color: #231a03;
  background: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  min-height: 360px;
}

.store-hero p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #315070;
  font-weight: 700;
}

.hero-carousel-section {
  display: block;
  min-height: 0;
}

.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eef6ff;
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: heroEntry 760ms ease both;
}

.banner-carousel-viewport {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  height: auto;
}

.banner-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 720ms cubic-bezier(0.22, 0.75, 0.2, 1);
  will-change: transform;
}

.banner-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  background: #f7fbff;
}

.image-banner-slide::before {
  position: absolute;
  inset: -24px;
  content: "";
  background-image: var(--banner-bg);
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: 0.42;
  transform: scale(1.07);
}

.image-banner-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.32)),
    linear-gradient(180deg, transparent 0 72%, rgba(4, 32, 70, 0.13));
  pointer-events: none;
}

.image-banner-slide > picture,
.image-banner-slide > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.image-banner-slide > picture > img,
.image-banner-slide > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(1, 68, 77, 0.16));
}

.hero-composed-slide {
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background: linear-gradient(120deg, #f6fbff 0%, #ffffff 48%, #fff6dc 100%);
}

.hero-composed-slide .hero-feature,
.hero-composed-slide .hero-side-card {
  box-shadow: none;
}

.hero-composed-slide .hero-feature {
  min-height: 0;
  height: 100%;
}

.hero-composed-slide .hero-side-grid {
  height: 100%;
}

.hero-composed-slide .hero-side-card {
  min-height: 0;
}

.bionag-composed-slide {
  background:
    radial-gradient(circle at 78% 18%, rgba(16, 163, 112, 0.14), transparent 30%),
    linear-gradient(120deg, #f7fbff 0%, #ffffff 48%, #eefaf3 100%);
}

.bionag-composed-slide .hero-feature {
  background:
    radial-gradient(circle at 78% 22%, rgba(97, 220, 199, 0.22) 0 14%, transparent 34%),
    radial-gradient(circle at 32% 94%, rgba(255, 205, 64, 0.22) 0 18%, transparent 38%),
    linear-gradient(120deg, #edfaff 0%, #ffffff 45%, #eefaf3 100%);
  box-shadow: 0 18px 42px rgba(1, 68, 77, 0.14);
}

.bionag-composed-slide .deal-pill {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--gold-dark));
}

.bionag-composed-slide .hero-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 12px 24px rgba(1, 68, 77, 0.2);
}

.bionag-composed-slide .hero-secondary-cta {
  border-color: rgba(10, 122, 134, 0.35);
  color: var(--teal-dark);
}

.bionag-composed-slide .hero-metrics span,
.bionag-composed-slide .hero-offer-card {
  border-color: rgba(15, 151, 139, 0.18);
}

.bionag-composed-slide .hero-offer-card small {
  color: #0a7a86;
}

.bionag-side-card.care {
  background:
    radial-gradient(circle at 86% 72%, rgba(97, 220, 199, 0.24), transparent 34%),
    linear-gradient(135deg, #eefbff 0%, #ffffff 100%);
}

.bionag-side-card.supply {
  background:
    radial-gradient(circle at 86% 72%, rgba(255, 205, 64, 0.28), transparent 34%),
    linear-gradient(135deg, #fff6db 0%, #ffffff 100%);
}

.banner-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #fff;
  background: rgba(1, 68, 77, 0.78);
  box-shadow: 0 16px 34px rgba(1, 68, 77, 0.22);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
}

.banner-carousel-control:hover {
  color: #221a05;
  background: var(--gold);
}

.banner-carousel-control.previous {
  left: 18px;
}

.banner-carousel-control.next {
  right: 18px;
}

.banner-carousel-control span {
  display: block;
  margin-top: -3px;
}

.banner-carousel-dots {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(1, 68, 77, 0.68);
  backdrop-filter: blur(10px);
}

.banner-carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
}

.banner-carousel-dots button.active,
.banner-carousel-dots button[aria-current="true"] {
  width: 24px;
  background: var(--gold);
}

.deal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 0 10px;
  color: #2d2100;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 34px 38px;
  color: var(--header);
  background:
    radial-gradient(circle at 72% 22%, rgba(69, 196, 214, 0.2) 0 15%, transparent 34%),
    radial-gradient(circle at 28% 92%, rgba(255, 205, 64, 0.2) 0 18%, transparent 38%),
    linear-gradient(120deg, #e8f8fb 0%, #ffffff 48%, #f6fbff 100%);
  box-shadow: var(--shadow);
  animation: heroEntry 760ms ease both;
}

.hero-feature::before,
.hero-feature::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-feature::before {
  inset: 18px 30% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(18px);
  animation: softPulse 6s ease-in-out infinite;
}

.hero-feature::after {
  right: -95px;
  bottom: -118px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  border: 44px solid rgba(255, 205, 64, 0.2);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-feature h1 {
  max-width: 650px;
  font-size: 2.75rem;
  line-height: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  margin-top: 22px;
  border-radius: 999px;
  padding: 0 28px;
  color: #fff;
  background: var(--header);
  font-weight: 900;
}

.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  border: 1px solid #a9c6df;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--header);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions .hero-cta {
  margin-top: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 600px;
}

.hero-metrics span {
  display: grid;
  min-height: 62px;
  align-content: center;
  border: 1px solid rgba(10, 74, 135, 0.12);
  border-radius: 8px;
  padding: 10px;
  color: #315070;
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-metrics strong {
  color: var(--header);
  font-size: 1rem;
  font-weight: 950;
}

.hero-product-stack {
  position: relative;
  display: grid;
  min-height: 270px;
  align-items: end;
  justify-items: center;
}

.hero-marketing-stage {
  z-index: 2;
  min-height: 310px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.9;
  animation: glowFloat 7s ease-in-out infinite;
}

.glow-one {
  top: 12%;
  right: 11%;
  width: 112px;
  height: 112px;
  background: #dff8ec;
}

.glow-two {
  right: 42%;
  bottom: 12%;
  width: 78px;
  height: 78px;
  background: #ffdf72;
  animation-delay: -2.4s;
}

.hero-product-stack img,
.hero-pack {
  position: absolute;
  width: min(48%, 210px);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(8, 40, 82, 0.18));
}

.hero-pack-main {
  right: 16%;
  bottom: 8px;
  width: min(58%, 265px);
  max-height: 270px;
  z-index: 3;
  animation: heroProductMain 6.5s ease-in-out infinite;
}

.hero-pack-left {
  left: 3%;
  bottom: 28px;
  z-index: 2;
  transform: rotate(-7deg);
  animation: heroProductSide 7.2s ease-in-out infinite;
}

.hero-pack-right {
  right: 3%;
  top: 18px;
  z-index: 1;
  transform: rotate(7deg);
  animation: heroProductSide 7.6s ease-in-out infinite reverse;
}

.hero-offer-card {
  position: absolute;
  left: 9%;
  top: 32px;
  z-index: 4;
  display: grid;
  gap: 2px;
  width: 170px;
  border: 1px solid rgba(10, 74, 135, 0.12);
  border-radius: 8px;
  padding: 14px;
  color: var(--header);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px rgba(8, 40, 82, 0.14);
  animation: offerCardFloat 5.8s ease-in-out infinite;
}

.hero-offer-card small {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-offer-card strong {
  font-size: 1rem;
  line-height: 1.05;
}

.hero-offer-card em {
  color: #805600;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.hero-side-grid {
  display: grid;
  gap: 18px;
}

.hero-side-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 171px;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px 150px 24px 24px;
  color: var(--header);
  background: #edf8ff;
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: sidePromoEntry 760ms ease both;
}

.hero-side-card::before {
  position: absolute;
  inset: auto -60px -75px auto;
  z-index: 0;
  width: 178px;
  height: 178px;
  border-radius: 999px;
  background: rgba(69, 196, 214, 0.18);
  content: "";
}

.hero-side-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.68) 48%, transparent 70%);
  transform: translateX(-115%);
  animation: bannerSheen 6.8s ease-in-out infinite;
}

.hero-side-card.supply {
  background: #fff3d8;
  animation-delay: 120ms;
}

.hero-side-card.supply::before {
  background: rgba(255, 205, 64, 0.28);
}

.hero-side-card > span,
.hero-side-card > strong,
.hero-side-card > small,
.hero-side-card > em {
  position: relative;
  z-index: 2;
}

.hero-side-card span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-side-card strong {
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-side-card small {
  max-width: 240px;
  margin-top: 7px;
  color: #315070;
  font-weight: 800;
}

.hero-side-card em {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  margin-top: 14px;
  border-radius: 999px;
  padding: 0 12px;
  color: #231a03;
  background: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
}

.hero-side-card img {
  position: absolute;
  right: 22px;
  bottom: 14px;
  z-index: 1;
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(8, 40, 82, 0.14));
  animation: sideProductFloat 6.2s ease-in-out infinite;
}

.hero-side-card.supply img {
  animation-delay: -2s;
}

.category-showcase {
  margin-top: 34px;
}

.bionag-spotlight {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.42fr);
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  border-radius: 8px;
  padding: 30px;
  color: #ffffff;
  background: linear-gradient(118deg, #00444d 0%, #00606b 50%, #0c737c 100%);
  box-shadow: 0 18px 46px rgba(1, 68, 77, 0.2);
}

.bionag-spotlight-copy {
  max-width: 520px;
}

.bionag-spotlight .eyebrow {
  color: #ffd35b;
}

.bionag-spotlight h2 {
  margin: 6px 0 10px;
  color: #ffffff;
}

.bionag-spotlight-copy > p:not(.eyebrow) {
  margin: 0 0 20px;
  color: #dff8f6;
  font-weight: 700;
  line-height: 1.55;
}

.bionag-spotlight .primary-link {
  color: #17323a;
  background: var(--gold);
}

.bionag-product-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bionag-product-link {
  display: grid;
  min-width: 0;
  min-height: 250px;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  padding: 12px;
  color: #01444d;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bionag-product-link:hover {
  color: #01444d;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 27, 34, 0.2);
}

.bionag-product-link img {
  width: 100%;
  height: 168px;
  object-fit: contain;
}

.bionag-product-link span {
  margin-top: 8px;
  color: #08778a;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bionag-product-link strong {
  margin-top: 3px;
  color: #17323a;
  font-size: 0.9rem;
  line-height: 1.25;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading a {
  color: var(--header);
  font-weight: 900;
}

.family-menu {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
}

.family-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--header);
  background: transparent;
  text-align: center;
}

.family-card:hover .family-image,
.family-card.active .family-image {
  box-shadow: 0 0 0 3px var(--aqua), var(--shadow);
  transform: translateY(-2px);
}

.family-card[data-family="Bionag"] .family-image {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(145deg, #eefbff 0%, #ffffff 45%, #e7f8ef 100%);
  box-shadow: 0 14px 30px rgba(1, 68, 77, 0.16);
}

.family-card[data-family="Bionag"] .family-image::after {
  content: "Estrella";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--gold-dark));
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(1, 68, 77, 0.2);
}

.family-card[data-family="Bionag"] .family-copy strong {
  color: var(--teal-dark);
}

.family-card[data-family="Bionag"] .family-copy small {
  color: #0a7a86;
}

.family-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f8fb;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: var(--shadow);
}

.family-product-rotator {
  position: absolute;
  inset: 0;
  display: block;
}

.family-image img {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 12px 14px rgba(8, 40, 82, 0.12));
  transform: translateY(10px) scale(0.94);
  animation: familyProductFade 18s ease-in-out infinite;
  animation-delay: calc(var(--slide-index, 0) * 4.5s);
}

.family-product-rotator img:only-child {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: none;
}

.family-copy {
  display: grid;
  gap: 3px;
}

.family-copy strong {
  font-size: 0.98rem;
}

.family-copy small {
  min-height: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.family-copy em {
  color: var(--blue);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.home-campaign-banners {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.campaign-banner {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 178px 24px 24px;
  color: var(--header);
  background: #f4fbff;
  box-shadow: var(--shadow);
  animation: bannerReveal 780ms ease both;
  animation-delay: calc(var(--banner-index, 0) * 120ms);
}

.campaign-banner.blue {
  color: #fff;
  border-color: var(--teal-dark);
  background: linear-gradient(135deg, var(--header) 0%, #087d8b 100%);
}

.campaign-banner.bionag-feature {
  grid-column: span 2;
  min-height: 232px;
  padding: 28px 282px 28px 28px;
  border-color: rgba(239, 163, 10, 0.72);
  background:
    radial-gradient(circle at 82% 38%, rgba(255, 217, 107, 0.28), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(119, 216, 223, 0.26), transparent 32%),
    linear-gradient(135deg, var(--header) 0%, #087d8b 52%, #0fa878 100%);
  box-shadow: 0 18px 42px rgba(1, 68, 77, 0.24);
}

.campaign-banner.bionag-feature::before {
  content: "";
  position: absolute;
  inset: -30% 38% -36% auto;
  width: 42%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(18deg);
}

.campaign-banner.bionag-feature .eyebrow {
  color: #ffdc5f;
}

.campaign-banner.bionag-feature .campaign-copy h3 {
  max-width: 560px;
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
}

.campaign-banner.bionag-feature .campaign-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
}

.campaign-banner.bionag-feature .campaign-button {
  color: #3b2600;
  background: #ffd65c;
  box-shadow: 0 12px 24px rgba(1, 45, 51, 0.18);
}

.campaign-banner.bionag-feature .campaign-button:hover {
  color: var(--teal-dark);
  background: #ffffff;
}

.campaign-banner.bionag-feature .campaign-product-cloud {
  top: 22px;
  right: 28px;
  bottom: 22px;
  width: 226px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(235, 251, 246, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 18px 30px rgba(1, 68, 77, 0.18);
}

.campaign-banner.bionag-feature .campaign-product-cloud img {
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
}

.campaign-banner.mint {
  background: linear-gradient(135deg, #e6faf4 0%, #ffffff 100%);
}

.campaign-banner.gold {
  background: linear-gradient(135deg, #fff2c5 0%, #ffffff 100%);
}

.campaign-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 8px;
}

.campaign-copy h3 {
  max-width: 430px;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.12;
}

.campaign-copy p:not(.eyebrow) {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.campaign-banner.blue .campaign-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.campaign-banner.blue .eyebrow {
  color: var(--gold);
}

.campaign-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 4px;
  border-radius: 999px;
  padding: 0 16px;
  color: #231a03;
  background: var(--gold);
  font-weight: 900;
}

.campaign-product-cloud {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: block;
  width: 136px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.campaign-product-cloud img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 14px 14px rgba(8, 40, 82, 0.18));
  transform: translateX(18px) scale(0.92);
  animation: campaignProductFade 15s ease-in-out infinite;
  animation-delay: calc(var(--slide-index, 0) * 5s);
}

.campaign-product-cloud img:only-child {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: none;
}

@keyframes ribbonEntry {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ribbonSheen {
  0%,
  45% {
    transform: translateX(-110%);
  }

  72%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes heroEntry {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.05);
  }
}

@keyframes glowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.08);
  }
}

@keyframes heroProductMain {
  0%,
  100% {
    transform: translateY(0) rotate(1deg) scale(1);
  }

  50% {
    transform: translateY(-12px) rotate(-1deg) scale(1.03);
  }
}

@keyframes heroProductSide {
  0%,
  100% {
    filter: drop-shadow(0 18px 20px rgba(8, 40, 82, 0.16));
  }

  50% {
    filter: drop-shadow(0 25px 28px rgba(8, 40, 82, 0.22));
  }
}

@keyframes offerCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes sidePromoEntry {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bannerSheen {
  0%,
  52% {
    transform: translateX(-115%);
  }

  80%,
  100% {
    transform: translateX(115%);
  }
}

@keyframes sideProductFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes familyProductFade {
  0%,
  8% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }

  14%,
  34% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  42%,
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
}

@keyframes campaignProductFade {
  0%,
  8% {
    opacity: 0;
    transform: translateX(18px) scale(0.92);
  }

  16%,
  44% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  54%,
  100% {
    opacity: 0;
    transform: translateX(-14px) scale(0.96);
  }
}

@keyframes bannerReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-cta-band,
.catalog-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  border-radius: 8px;
  padding: 24px 28px;
  color: var(--header);
  background: #f4fbff;
  box-shadow: var(--shadow);
}

.home-cta-band h2,
.catalog-intro h1 {
  max-width: 780px;
}

.catalog-intro {
  margin-top: 0;
  margin-bottom: 30px;
  background: linear-gradient(120deg, #f4fbff 0%, #ffffff 100%);
}

.catalog-intro p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.catalog-family-showcase {
  margin-top: 0;
}

.catalog-page .store-layout {
  margin-top: 30px;
}

.store-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 36px;
}

.store-filters,
.cart-summary,
.admin-card,
.admin-metrics article,
.empty-cart,
.cart-item,
.product-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.store-filters {
  position: sticky;
  top: 154px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 176px);
  overflow: auto;
  padding: 16px;
}

.filter-box {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.filter-box:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.category-filter-box {
  gap: 12px;
}

.category-filter-list {
  display: grid;
  gap: 7px;
}

.category-filter-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--ink);
  background: #f6f8fa;
  text-align: left;
  font-weight: 800;
}

.category-filter-button:hover,
.category-filter-button.active {
  border-color: #c8d8f0;
  color: var(--header);
  background: #edf4ff;
}

.category-filter-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-filter-button strong {
  display: inline-grid;
  min-width: 28px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--header);
  background: #fff;
  font-size: 0.76rem;
}

.check-row,
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.check-row input,
.toggle-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.store-results {
  min-width: 0;
  border-radius: 8px;
  padding: 18px;
  background: #f6f8fb;
}

.results-toolbar,
.cart-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.status-band {
  min-height: 0;
  margin-bottom: 12px;
  color: var(--muted);
}

.status-band.notice,
.status-band.error {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
}

.status-band.error {
  border-color: #efb4a7;
  color: #91402d;
  background: #fff5f2;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.load-more-button {
  width: min(260px, 100%);
  margin: 18px auto 0;
}

.market-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.market-product-card:hover {
  border-color: #c3ccd1;
  box-shadow: 0 12px 24px rgba(23, 32, 38, 0.13);
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 14px;
  background: #fff;
}

.product-media img {
  width: 100%;
  max-height: 190px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.product-body {
  display: grid;
  grid-template-rows: auto minmax(44px, auto) auto auto auto auto;
  gap: 9px;
  padding: 12px;
}

.category-chip,
.stock-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.category-chip {
  color: var(--blue);
  background: #edf3ff;
}

.product-name {
  min-height: 42px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.28;
}

.sku,
.mini-status,
.form-status {
  color: var(--muted);
  font-size: 0.84rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #805600;
  font-size: 0.82rem;
  font-weight: 800;
}

.rating-bar {
  width: 64px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.price-row {
  display: grid;
  gap: 6px;
}

.price {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.stock-ok {
  color: var(--teal-dark);
  background: #e8f5f2;
}

.stock-warn {
  color: #815600;
  background: #fff3cb;
}

.stock-error {
  color: #91402d;
  background: #fff0ed;
}

.product-actions {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px minmax(34px, 1fr) 32px;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.quantity-control button,
.quantity-control input {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.quantity-control button {
  color: var(--blue);
  font-weight: 900;
}

.quantity-control input {
  padding: 0 3px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  appearance: textfield;
}

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

.add-button,
.primary-button,
.secondary-button,
.ghost-button,
.primary-link,
.ghost-link,
.table-action,
.remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 6px;
  padding: 0 12px;
  font-weight: 900;
}

.add-button,
.primary-button,
.primary-link {
  border: 1px solid var(--gold-dark);
  color: #231a03;
  background: var(--gold);
}

.add-button:hover,
.primary-button:hover,
.primary-link:hover {
  background: #ffd76a;
}

.secondary-button,
.ghost-button,
.ghost-link,
.table-action,
.remove-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.add-button:disabled,
.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.wide-button {
  width: 100%;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
}

.cart-item img {
  width: 104px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.cart-item-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cart-product-name {
  margin-bottom: 4px;
  font-weight: 900;
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cart-line-total {
  color: var(--teal-dark);
  font-size: 1.1rem;
  white-space: nowrap;
}

.cart-summary {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-row strong {
  color: var(--ink);
}

.empty-cart {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
}

.product-detail > .empty-cart,
.product-detail > .status-band {
  grid-column: 1 / -1;
}

.product-detail-media {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #f7f8f9;
}

.product-detail-media img {
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.product-detail-info {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-detail-info h1 {
  margin: 10px 0 8px;
  font-size: 2rem;
}

.product-buy-box {
  display: grid;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfd;
}

.detail-actions {
  max-width: 430px;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-meta-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.product-meta-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-page {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: #f5f6f7;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: 18px;
  color: #fff;
  background: #182026;
}

.admin-menu {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 28px;
}

.admin-menu a {
  min-height: 40px;
  border-radius: 6px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.admin-menu a.active,
.admin-menu a:hover {
  color: #fff;
  background: #29333b;
}

.sidebar-status span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #c9ffe8;
  background: rgba(20, 115, 107, 0.26);
  font-weight: 900;
}

.admin-workspace {
  min-width: 0;
  padding: 24px;
}

.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-metrics article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-metrics strong {
  font-size: 1.7rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-card {
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.odoo-search,
.editor-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.odoo-search {
  border-bottom: 1px solid var(--line);
}

.odoo-results {
  display: grid;
  gap: 8px;
  max-height: 250px;
  overflow: auto;
}

.odoo-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  color: var(--ink);
  background: #fbfcfd;
  text-align: left;
}

.odoo-result:hover {
  border-color: var(--blue);
}

.odoo-result strong,
.odoo-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odoo-result small {
  color: var(--muted);
}

.form-grid,
.admin-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.money-input {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.money-input span {
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

.money-input input {
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0 6px 6px 0;
}

.product-list-card {
  min-width: 0;
}

.admin-filters {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

tr:last-child td {
  border-bottom: 0;
}

.status-pill.on {
  color: var(--teal-dark);
  background: #e8f5f2;
}

.status-pill.off {
  color: #805600;
  background: #fff3cb;
}

.admin-thumb {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.admin-sku {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.error-text {
  color: #91402d;
}

@media (max-width: 980px) {
  .market-mainbar,
  .catalog-intro,
  .home-cta-band,
  .store-layout,
  .cart-layout,
  .product-detail,
  .admin-page,
  .admin-grid,
  .admin-metrics,
  .hero-feature,
  .market-subbar-inner,
  .store-hero {
    grid-template-columns: 1fr;
  }

  .market-mainbar {
    padding: 12px 0;
  }

  .market-actions {
    justify-self: stretch;
    flex-wrap: wrap;
  }

  .market-return,
  .market-track {
    flex: 1 1 auto;
  }

  .market-search {
    order: 3;
    grid-column: 1 / -1;
  }

  .benefit-strip {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .benefit-strip span:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .subbar-actions {
    justify-content: stretch;
    min-width: 0;
  }

  .subbar-track-cta {
    width: 100%;
  }

  .family-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-marketing-stage {
    min-height: 280px;
  }

  .home-campaign-banners {
    grid-template-columns: 1fr;
  }

  .banner-carousel-viewport {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .banner-carousel.showing-composed-banner .banner-carousel-viewport {
    aspect-ratio: auto;
    height: clamp(650px, 94vw, 820px);
  }

  .hero-composed-slide {
    grid-template-columns: 1fr;
  }

  .market-return {
    justify-self: start;
  }

  .store-filters,
  .cart-summary,
  .admin-sidebar {
    position: static;
  }

  .store-filters {
    max-height: none;
  }

  .admin-sidebar {
    min-height: auto;
  }

  .admin-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: 1.85rem;
  }

  .store-shell,
  .cart-shell,
  .product-detail-shell {
    width: min(100% - 16px, 1280px);
    padding-top: 14px;
  }

  .market-mainbar {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 9px 10px;
    width: min(100% - 18px, 1280px);
    min-height: auto;
    padding: 10px 0 8px;
  }

  .market-brand {
    width: 112px;
    gap: 8px;
  }

  .brand-logo {
    width: 106px;
    height: 42px;
  }

  .market-brand strong {
    font-size: 0.96rem;
    line-height: 1.05;
  }

  .market-brand small {
    font-size: 0.72rem;
  }

  .market-actions {
    justify-self: end;
    flex-wrap: nowrap;
  }

  .market-cart {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .market-cart strong {
    min-width: 22px;
    height: 22px;
    font-size: 0.72rem;
  }

  .market-search {
    grid-template-columns: minmax(0, 1fr) 78px;
    border-radius: 7px;
  }

  .market-search input,
  .market-search button {
    min-height: 42px;
    font-size: 0.86rem;
  }

  .market-subbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100% - 18px, 1280px);
    gap: 8px;
    min-height: auto;
    padding: 8px 0;
  }

  .market-nav {
    min-height: 36px;
    gap: 6px;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .market-nav::-webkit-scrollbar {
    display: none;
  }

  .market-nav-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
    scroll-snap-align: start;
  }

  .subbar-track-cta {
    width: auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .subbar-actions {
    justify-content: flex-end;
  }

  .store-hero,
  .product-detail,
  .admin-workspace {
    padding: 16px;
  }

  .store-hero {
    padding: 0;
  }

  .marketplace-grid,
  .cart-item,
  .product-meta-grid,
  .form-grid,
  .admin-filters,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .club-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .marketing-ribbon {
    align-items: center;
    text-align: center;
  }

  .banner-carousel-viewport {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .banner-carousel.showing-composed-banner .banner-carousel-viewport {
    aspect-ratio: auto;
    height: clamp(610px, 162vw, 680px);
  }

  .hero-composed-slide {
    gap: 12px;
    padding: 10px;
  }

  .hero-composed-slide .hero-side-grid {
    display: none;
  }

  .hero-composed-slide .hero-feature {
    height: 100%;
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: 12px;
    padding: 18px;
  }

  .deal-pill {
    min-height: 26px;
    margin-bottom: 8px;
    padding: 0 9px;
    font-size: 0.7rem;
  }

  .banner-carousel-control {
    width: 36px;
    height: 36px;
    font-size: 1.55rem;
  }

  .banner-carousel-control.previous {
    left: 10px;
  }

  .banner-carousel-control.next {
    right: 10px;
  }

  .banner-carousel-dots {
    right: 50%;
    bottom: 9px;
    gap: 6px;
    padding: 6px 8px;
    transform: translateX(50%);
  }

  .banner-carousel-dots button {
    width: 8px;
    height: 8px;
  }

  .banner-carousel-dots button.active,
  .banner-carousel-dots button[aria-current="true"] {
    width: 20px;
  }

  .catalog-intro,
  .home-cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .hero-feature h1 {
    max-width: 10.5em;
    font-size: clamp(1.82rem, 8vw, 2.18rem);
    line-height: 1.03;
  }

  .hero-feature p {
    max-width: none;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions,
  .hero-secondary-cta,
  .hero-actions .hero-cta {
    width: 100%;
  }

  .hero-secondary-cta,
  .hero-actions .hero-cta {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
  }

  .hero-product-stack {
    min-height: 205px;
    margin-top: 4px;
  }

  .hero-metrics span {
    min-height: 64px;
    padding: 8px 6px;
    font-size: 0.64rem;
    line-height: 1.16;
  }

  .hero-metrics strong {
    font-size: 0.78rem;
  }

  .hero-pack-main {
    right: 9%;
    width: min(62%, 188px);
    max-height: 188px;
  }

  .hero-pack-left {
    left: -2%;
    bottom: 18px;
    width: min(42%, 130px);
  }

  .hero-pack-right {
    top: 10px;
    right: -2%;
    width: min(40%, 128px);
  }

  .hero-offer-card {
    left: 8px;
    top: 8px;
    width: min(138px, 43%);
    padding: 9px;
  }

  .hero-offer-card small {
    font-size: 0.6rem;
  }

  .hero-offer-card strong {
    font-size: 0.82rem;
  }

  .hero-offer-card em {
    font-size: 0.64rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .category-showcase {
    margin-top: 22px;
  }

  .family-menu {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .family-menu::-webkit-scrollbar {
    display: none;
  }

  .family-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }

  .family-card:focus,
  .family-card:focus-visible,
  .family-card:active {
    outline: 0;
  }

  .family-card.active .family-image,
  .family-card:hover .family-image,
  .family-card:focus .family-image,
  .family-card:focus-visible .family-image,
  .family-card:active .family-image {
    box-shadow: var(--shadow) !important;
    transform: none !important;
  }

  .family-copy {
    gap: 2px;
  }

  .family-copy strong {
    font-size: 0.9rem;
  }

  .family-copy small {
    min-height: auto;
    font-size: 0.7rem;
  }

  .family-copy em {
    font-size: 0.68rem;
  }

  .home-campaign-banners {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-campaign-banners::-webkit-scrollbar {
    display: none;
  }

  .campaign-banner {
    flex: 0 0 min(84vw, 340px);
    min-height: 170px;
    padding: 18px 118px 18px 16px;
    scroll-snap-align: start;
  }

  .campaign-copy h3 {
    font-size: 1.05rem;
  }

  .campaign-copy p:not(.eyebrow) {
    font-size: 0.78rem;
  }

  .hero-side-card {
    min-height: 150px;
    padding-right: 132px;
  }

  .campaign-banner {
    min-height: 168px;
    padding: 20px 132px 20px 18px;
  }

  .campaign-banner.bionag-feature {
    flex-basis: min(92vw, 380px);
    min-height: 198px;
    padding: 18px 132px 18px 16px;
    box-shadow: 0 14px 30px rgba(4, 51, 98, 0.2);
  }

  .campaign-banner.bionag-feature::before {
    inset: -28% 18% -34% auto;
    width: 46%;
  }

  .campaign-banner.bionag-feature .campaign-copy h3 {
    font-size: 1.18rem;
    line-height: 1.08;
  }

  .campaign-banner.bionag-feature .campaign-copy p:not(.eyebrow) {
    font-size: 0.78rem;
  }

  .campaign-banner.bionag-feature .campaign-product-cloud {
    top: 18px;
    right: 12px;
    bottom: 18px;
    width: 108px;
  }

  .family-card[data-family="Bionag"] {
    flex-basis: 164px;
  }

  .campaign-product-cloud {
    right: 14px;
    width: 96px;
  }

  .hero-side-card img {
    right: 14px;
    width: 94px;
    height: 94px;
  }

  .admin-menu {
    grid-template-columns: 1fr 1fr;
  }

  .cart-line-total {
    justify-self: start;
  }

  body.store-page {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    background: var(--page);
  }

  .market-header {
    box-shadow: 0 4px 14px rgba(1, 68, 77, 0.14);
  }

  .market-mainbar {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 20px);
    min-height: auto;
    padding: 8px 0;
  }

  .market-brand {
    width: 112px;
    justify-content: center;
  }

  .market-brand span {
    display: none;
  }

  .brand-logo {
    width: 106px;
    height: 44px;
    border-radius: 0;
  }

  .market-actions {
    display: none;
  }

  .market-search {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 1fr;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22), 0 10px 20px rgba(2, 22, 51, 0.12);
  }

  .market-search button {
    display: none;
  }

  .market-search input {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  .market-subbar-inner {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 16px);
    min-height: auto;
    padding: 8px 0 10px;
  }

  .subbar-actions,
  .benefit-strip {
    display: none;
  }

  .market-nav {
    min-height: 34px;
    gap: 8px;
    padding: 0 1px 2px;
  }

  .market-nav-button {
    min-height: 32px;
    border: 1px solid rgba(0, 96, 107, 0.12);
    padding: 0 12px;
    background: #f5fbfa;
    box-shadow: 0 4px 10px rgba(1, 68, 77, 0.06);
    font-size: 0.82rem;
  }

  .market-nav-button.active {
    border-color: var(--header);
  }

  .store-shell,
  .cart-shell,
  .product-detail-shell {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .home-page:not(.catalog-mode) .store-shell {
    width: 100%;
    padding-top: 10px;
  }

  .home-page:not(.catalog-mode) .category-showcase,
  .home-page:not(.catalog-mode) .bionag-spotlight,
  .home-page:not(.catalog-mode) .home-cta-band,
  .home-page:not(.catalog-mode) .catalog-route {
    width: calc(100% - 16px);
    margin-right: auto;
    margin-left: auto;
  }

  .bionag-spotlight {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px;
  }

  .bionag-product-links {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .bionag-product-links::-webkit-scrollbar {
    display: none;
  }

  .bionag-product-link {
    flex: 0 0 158px;
    min-height: 230px;
    scroll-snap-align: start;
  }

  .bionag-product-link img {
    height: 144px;
  }

  .store-hero {
    min-height: 0;
  }

  .hero-carousel-section {
    padding: 0 8px;
  }

  .banner-carousel {
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
  }

  .banner-carousel-viewport,
  .banner-carousel.showing-image-banner .banner-carousel-viewport {
    aspect-ratio: var(--active-banner-ratio, 2 / 1);
    height: auto;
    border-radius: 14px;
    background: #fff;
  }

  .banner-carousel.showing-composed-banner .banner-carousel-viewport {
    height: clamp(368px, 98vw, 416px);
  }

  .banner-carousel-track {
    touch-action: pan-y;
  }

  .image-banner-slide {
    border-radius: 14px;
    background: #fff;
  }

  .image-banner-slide > picture,
  .image-banner-slide > img {
    overflow: hidden;
    border-radius: inherit;
    background: #fff;
  }

  .image-banner-slide::before,
  .image-banner-slide::after {
    display: none;
  }

  .image-banner-slide > picture > img,
  .image-banner-slide > img {
    object-fit: contain;
    object-position: center;
    filter: none;
  }

  .hero-composed-slide {
    place-items: stretch;
    padding: 0;
    border-radius: 14px;
    background: transparent;
  }

  .hero-composed-slide .hero-feature {
    align-content: start;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 100%;
    border-radius: 14px;
    padding: 16px;
    background:
      radial-gradient(circle at 90% 12%, rgba(69, 196, 214, 0.26) 0 18%, transparent 38%),
      radial-gradient(circle at 22% 94%, rgba(255, 205, 64, 0.28) 0 22%, transparent 42%),
      linear-gradient(145deg, #effbff 0%, #ffffff 45%, #fff7df 100%);
    box-shadow: 0 12px 26px rgba(1, 68, 77, 0.12);
  }

  .hero-composed-slide .hero-side-grid {
    display: none;
  }

  .hero-feature::before {
    inset: auto -34px 22px auto;
    width: 178px;
    height: 178px;
    background: rgba(255, 255, 255, 0.84);
  }

  .hero-feature::after {
    right: -92px;
    bottom: -92px;
    width: 220px;
    height: 220px;
    border-width: 32px;
  }

  .deal-pill {
    min-height: 24px;
    margin-bottom: 7px;
    padding: 0 9px;
    font-size: 0.66rem;
  }

  .hero-feature h1 {
    max-width: 11em;
    font-size: clamp(1.62rem, 7.2vw, 2.08rem);
    line-height: 1.02;
  }

  .hero-feature p {
    max-width: 92%;
    margin-top: 7px;
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-secondary-cta,
  .hero-actions .hero-cta {
    min-height: 40px;
    border-radius: 999px;
    font-size: 0.82rem;
  }

  .hero-metrics {
    display: none;
  }

  .hero-product-stack {
    min-height: 178px;
    margin-top: 4px;
  }

  .hero-pack-main {
    right: 8%;
    bottom: 0;
    width: min(62%, 194px);
    max-height: 184px;
  }

  .hero-pack-left {
    left: -2%;
    bottom: 18px;
    width: min(43%, 136px);
    max-height: 142px;
  }

  .hero-pack-right {
    top: 8px;
    right: -3%;
    width: min(42%, 136px);
    max-height: 140px;
  }

  .hero-offer-card {
    left: 7px;
    top: 2px;
    width: min(142px, 44%);
    padding: 9px;
  }

  .hero-offer-card small {
    font-size: 0.58rem;
  }

  .hero-offer-card strong {
    font-size: 0.8rem;
  }

  .hero-offer-card em {
    font-size: 0.62rem;
  }

  .banner-carousel.showing-composed-banner .banner-carousel-viewport {
    height: clamp(398px, 106vw, 448px);
  }

  .hero-composed-slide .hero-feature {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 14px 14px 184px;
  }

  .hero-composed-slide .hero-copy {
    position: relative;
    z-index: 5;
    max-width: 100%;
  }

  .hero-composed-slide .deal-pill {
    min-height: 23px;
    margin-bottom: 7px;
    padding: 0 9px;
    font-size: 0.64rem;
  }

  .hero-composed-slide .hero-feature h1 {
    max-width: 10.8em;
    font-size: clamp(1.38rem, 6vw, 1.7rem);
    line-height: 1.04;
  }

  .hero-composed-slide .hero-feature p {
    display: -webkit-box;
    max-width: 19em;
    margin-top: 7px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .hero-composed-slide .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
    max-width: 340px;
  }

  .hero-composed-slide .hero-secondary-cta,
  .hero-composed-slide .hero-actions .hero-cta {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.76rem;
  }

  .hero-composed-slide .hero-product-stack {
    position: absolute;
    right: 8px;
    bottom: 9px;
    left: 8px;
    z-index: 2;
    min-height: 172px;
    margin: 0;
    pointer-events: none;
  }

  .hero-composed-slide .hero-glow {
    opacity: 0.65;
  }

  .hero-composed-slide .glow-one {
    top: 18px;
    right: 20px;
    width: 98px;
    height: 98px;
  }

  .hero-composed-slide .glow-two {
    right: 48%;
    bottom: 8px;
    width: 68px;
    height: 68px;
  }

  .hero-composed-slide .hero-pack-main {
    right: 16%;
    bottom: 0;
    width: min(54%, 176px);
    max-height: 166px;
  }

  .hero-composed-slide .hero-pack-left {
    left: 0;
    bottom: 19px;
    width: min(37%, 116px);
    max-height: 120px;
  }

  .hero-composed-slide .hero-pack-right {
    top: 8px;
    right: 0;
    width: min(36%, 112px);
    max-height: 118px;
  }

  .hero-composed-slide .hero-offer-card {
    top: 7px;
    left: 8px;
    z-index: 4;
    width: min(128px, 39%);
    padding: 8px;
  }

  .hero-composed-slide .hero-offer-card small {
    font-size: 0.54rem;
  }

  .hero-composed-slide .hero-offer-card strong {
    font-size: 0.72rem;
    line-height: 1.04;
  }

  .hero-composed-slide .hero-offer-card em {
    font-size: 0.58rem;
  }

  .banner-carousel-control {
    display: none;
  }

  .banner-carousel-dots {
    right: 12px;
    bottom: 6px;
    gap: 4px;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.76);
    transform: none;
  }

  .banner-carousel-dots button {
    width: 6px;
    height: 6px;
    background: rgba(1, 68, 77, 0.34);
  }

  .banner-carousel-dots button.active,
  .banner-carousel-dots button[aria-current="true"] {
    width: 16px;
    background: var(--gold);
  }

  .banner-carousel.showing-composed-banner .banner-carousel-dots {
    right: 50%;
    background: rgba(1, 68, 77, 0.68);
    transform: translateX(50%);
  }

  .banner-carousel.showing-composed-banner .banner-carousel-dots button {
    background: rgba(255, 255, 255, 0.72);
  }

  .banner-carousel.showing-composed-banner .banner-carousel-dots button.active,
  .banner-carousel.showing-composed-banner .banner-carousel-dots button[aria-current="true"] {
    background: var(--gold);
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(1, 68, 77, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -12px 28px rgba(1, 68, 77, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav-item {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 3px;
    border-radius: 14px;
    padding: 6px 2px;
    color: #526274;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .mobile-bottom-nav-item.active {
    color: var(--teal);
    background: #eaf8f3;
  }

  .mobile-bottom-nav-icon {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
  }

  .mobile-bottom-nav-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  .mobile-bottom-nav-icon strong {
    position: absolute;
    top: -6px;
    right: -10px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #3b2600;
    background: var(--gold);
    font-size: 0.64rem;
    line-height: 1;
  }
}

@media (max-width: 440px) {
  .marketplace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-media {
    min-height: 150px;
    padding: 10px;
  }

  .product-media img {
    max-height: 132px;
  }

  .product-body {
    gap: 7px;
    padding: 10px;
  }

  .product-name {
    min-height: 46px;
    font-size: 0.84rem;
  }

  .sku,
  .mini-status {
    font-size: 0.72rem;
  }

  .rating-row {
    gap: 5px;
    font-size: 0.72rem;
  }

  .rating-bar {
    width: 42px;
  }

  .price {
    font-size: 1.12rem;
  }

  .product-actions {
    gap: 7px;
  }

  .quantity-control {
    grid-template-columns: 30px minmax(28px, 1fr) 30px;
  }

  .add-button {
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .hero-actions,
  .hero-metrics,
  .marketplace-grid {
    grid-template-columns: 1fr;
  }

  .banner-carousel.showing-composed-banner .banner-carousel-viewport {
    height: 426px;
  }

  .hero-metrics span {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .family-image img,
  .campaign-banner,
  .campaign-product-cloud img,
  .marketing-ribbon,
  .marketing-ribbon::before,
  .hero-feature,
  .hero-feature::before,
  .hero-glow,
  .hero-pack,
  .hero-offer-card,
  .hero-side-card,
  .hero-side-card::after,
  .hero-side-card img,
  .banner-carousel,
  .banner-carousel-track {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.landing-page {
  color: #172026;
  background: var(--page);
}

.top-banner {
  padding: 10px 14px;
  color: #fff;
  background: var(--header);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #d9e4ee;
  background: #fff;
  box-shadow: 0 10px 20px rgba(18, 42, 66, 0.06);
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-container .logo {
  width: 104px;
  height: 54px;
  object-fit: contain;
  border: 1px solid #e0e7ee;
  border-radius: 8px;
  background: #fff;
}

.logo-container strong,
.logo-container small {
  display: block;
}

.logo-container strong {
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.logo-container small {
  color: #64717a;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--teal-dark);
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin,
.landing-page .cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 900;
}

.btn-admin {
  color: var(--teal-dark);
  background: #e5f5f2;
}

.landing-page .cart-icon {
  color: #fff;
  background: var(--header);
}

.landing-page .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--gold);
  font-size: 0.8rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  width: min(1180px, calc(100% - 36px));
  min-height: 430px;
  margin: 34px auto 0;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid #dbe8f0;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(232, 246, 255, 0.9), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: 0 16px 34px rgba(23, 32, 38, 0.08);
  overflow: hidden;
}

.hero-content {
  max-width: 620px;
}

.hero-content h1 {
  margin: 14px 0 12px;
  color: var(--teal-dark);
  font-size: clamp(2.05rem, 4.6vw, 4.45rem);
  line-height: 0.98;
}

.hero-content p {
  max-width: 560px;
  margin: 0;
  color: #40515d;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 650;
  line-height: 1.5;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 900;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--header-soft) 100%);
  box-shadow: 0 12px 20px rgba(1, 68, 77, 0.2);
}

.btn-secondary {
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid #cddbe7;
}

.landing-hero-stage {
  position: relative;
  min-height: 320px;
}

.landing-hero-stage::before {
  content: "";
  position: absolute;
  inset: 42px 20px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 96, 107, 0.11), rgba(239, 163, 10, 0.14));
}

.landing-product {
  position: absolute;
  width: min(44%, 220px);
  max-height: 240px;
  object-fit: contain;
  border: 1px solid rgba(185, 201, 214, 0.65);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(9, 33, 58, 0.14);
  animation: landingProductFloat 8s ease-in-out infinite;
}

.landing-product.one {
  left: 8%;
  top: 32px;
  z-index: 2;
}

.landing-product.two {
  right: 8%;
  top: 74px;
  z-index: 3;
  animation-delay: -2s;
}

.landing-product.three {
  left: 34%;
  bottom: 8px;
  z-index: 4;
  animation-delay: -4s;
}

.benefits-container,
.promo-section {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto 0;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
}

.benefit-box {
  min-height: 210px;
  padding: 28px;
  border: 1px solid #dbe8f0;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 22px rgba(23, 32, 38, 0.06);
}

.benefit-box i {
  color: var(--teal);
}

.benefit-box h2 {
  margin: 18px 0 8px;
  color: var(--teal-dark);
  font-size: 1.08rem;
}

.benefit-box p {
  margin: 0;
  color: #64717a;
  line-height: 1.45;
}

.promo-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 44px;
}

.promo-card {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border: 1px solid #dbe8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23, 32, 38, 0.07);
  overflow: hidden;
}

.promo-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.18;
  background: var(--teal);
}

.promo-card.nutrition::after {
  background: #2fbf82;
}

.promo-card.pharmacy::after {
  background: var(--teal);
}

.promo-card.supplies::after {
  background: var(--gold);
}

.promo-card span {
  color: #d85f45;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-card h2 {
  max-width: 280px;
  margin: 12px 0 10px;
  color: var(--teal-dark);
  font-size: 1.45rem;
  line-height: 1.12;
}

.promo-card p {
  max-width: 300px;
  margin: 0;
  color: #64717a;
  font-weight: 650;
  line-height: 1.45;
}

.site-footer {
  padding: 22px;
  color: #fff;
  background: var(--header);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

/* Store information and returns policy */
.returns-policy-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef8f5;
}

.returns-policy-preview h2 {
  color: var(--teal-dark);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.returns-policy-preview p {
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.returns-policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
  background: #fff;
  font-weight: 850;
  text-align: center;
}

.returns-policy-link:hover {
  color: #fff;
  background: var(--teal);
}

.site-footer {
  margin-top: 0;
  padding: 0;
  text-align: left;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 220px minmax(240px, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.site-footer-brand {
  display: block;
  width: max-content;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
}

.site-footer-brand img {
  display: block;
  width: 172px;
  height: 58px;
  object-fit: contain;
}

.site-footer-copy strong {
  display: block;
  font-size: 1rem;
}

.site-footer-copy p {
  margin-top: 7px;
  color: #d6e9e7;
  line-height: 1.45;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-weight: 800;
}

.site-footer-links a:hover,
.site-footer-links a[aria-current="page"] {
  color: var(--gold);
}

.site-footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe0df;
  font-size: 0.82rem;
}

.policy-mainbar {
  grid-template-columns: 240px minmax(0, 1fr);
}

.policy-mainbar .market-actions {
  justify-content: flex-end;
}

.policy-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.policy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.policy-breadcrumb a {
  color: var(--teal);
  font-weight: 800;
}

.policy-hero {
  padding: 24px 0 34px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  max-width: 780px;
  color: var(--teal-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.policy-lead {
  max-width: 720px;
  margin-top: 18px;
  color: #40565b;
  font-size: 1.15rem;
  line-height: 1.55;
}

.policy-updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.policy-callout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 36px;
  margin: 34px 0;
  padding: 30px 32px;
  border-left: 6px solid var(--gold);
  background: var(--cream);
}

.policy-callout h2 {
  color: var(--teal-dark);
  font-size: 1.55rem;
  line-height: 1.25;
}

.policy-callout > p {
  margin: 0;
  color: #41575c;
  line-height: 1.65;
}

.policy-layout {
  border-top: 1px solid var(--line);
}

.policy-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.policy-number {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.policy-section h2 {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.policy-section p,
.policy-section li {
  color: #41575c;
  line-height: 1.65;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul,
.policy-section ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.policy-section a,
.policy-legal-note a {
  color: var(--teal);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-note {
  padding: 14px 16px;
  border-left: 3px solid var(--aqua);
  background: #f1fbfa;
}

.policy-legal-note {
  margin-top: 34px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.policy-legal-note h2 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 1.35rem;
}

.policy-legal-note p {
  color: #41575c;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .returns-policy-preview {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 26px;
    padding: 26px 20px;
  }

  .returns-policy-link {
    width: 100%;
  }

  .site-footer {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .policy-page .site-footer {
    padding-bottom: 0;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 32px);
    padding: 28px 0 22px;
  }

  .site-footer-brand img {
    width: 152px;
    height: 52px;
  }

  .site-footer-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .site-footer-legal {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 4px;
    padding: 14px 0 18px;
  }

  .policy-mainbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .policy-mainbar .market-brand {
    margin: 0 auto;
  }

  .policy-mainbar .market-actions {
    justify-content: center;
  }

  .policy-shell {
    width: calc(100% - 32px);
    padding: 22px 0 44px;
  }

  .policy-hero {
    padding: 16px 0 26px;
  }

  .policy-hero h1 {
    font-size: 2.2rem;
  }

  .policy-callout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .policy-number {
    font-size: 0.8rem;
  }

  .policy-legal-note {
    padding: 22px 20px;
  }
}

@keyframes landingProductFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 960px) {
  .navbar,
  .hero-section,
  .benefits-container,
  .promo-section {
    grid-template-columns: 1fr;
  }

  .navbar {
    gap: 12px;
    padding: 16px 18px;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .hero-section {
    min-height: auto;
  }

  .landing-hero-stage {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .top-banner {
    font-size: 0.78rem;
  }

  .landing-actions,
  .btn-primary,
  .btn-secondary,
  .btn-admin,
  .landing-page .cart-icon {
    width: 100%;
  }

  .nav-actions {
    flex-direction: column;
  }

  .benefit-box,
  .promo-card {
    padding: 20px;
  }

  .landing-product {
    width: 58%;
  }

  .landing-product.one {
    left: 0;
  }

  .landing-product.two {
    right: 0;
  }

  .landing-product.three {
    left: 20%;
  }
}

.admin-console-page {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: #152331;
}

.admin-console-page .eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-console-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  padding: 22px 16px;
  background: linear-gradient(180deg, var(--header) 0%, #02343b 100%);
  color: #fff;
  overflow-y: auto;
}

.admin-console-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
}

.admin-console-brand img {
  width: 112px;
  height: 54px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.admin-console-brand strong,
.admin-console-brand small {
  display: block;
}

.admin-console-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.admin-console-nav {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

.admin-console-nav a {
  padding: 13px 14px;
  border-radius: 8px;
  color: #d9e7f0;
  font-weight: 800;
  text-decoration: none;
}

.admin-console-nav a:hover,
.admin-console-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, var(--header-soft) 100%);
}

.admin-console-main {
  width: calc(100% - 270px);
  margin-left: 270px;
  padding: 30px;
}

.admin-console-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-console-header h1 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.admin-console-header p:last-child {
  margin: 10px 0 0;
  color: #65727d;
  font-weight: 650;
}

.admin-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--header-soft) 100%);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.admin-button.secondary {
  border: 1px solid #c9d9e5;
  background: #fff;
  color: var(--teal-dark);
}

.admin-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.admin-notice-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #cfe2f3;
  border-radius: 8px;
  background: #f4fbff;
  color: #365161;
  font-weight: 750;
}

.admin-notice-panel strong {
  color: var(--teal-dark);
}

.admin-notice-panel span {
  flex: 1;
}

.admin-notice-panel em {
  color: #65727d;
  font-style: normal;
  font-weight: 900;
}

.admin-notice-panel em[data-type="success"] {
  color: #167342;
}

.admin-notice-panel em[data-type="error"] {
  color: #91402d;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat-card,
.admin-panel,
.admin-action-card {
  border: 1px solid #d8e4ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.07);
}

.admin-stat-card {
  padding: 20px;
}

.admin-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: #6b7782;
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-stat-card strong {
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.admin-action-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.admin-action-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-action-card strong {
  color: var(--teal-dark);
  font-size: 1.25rem;
  line-height: 1.18;
}

.admin-action-card em {
  align-self: end;
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.admin-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-panel {
  padding: 18px;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-panel-heading h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.admin-text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.admin-mini-list {
  display: grid;
  gap: 10px;
}

.admin-mini-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f8fb;
  color: inherit;
  text-decoration: none;
}

.admin-mini-row img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.admin-mini-row span {
  flex: 1;
  min-width: 0;
}

.admin-mini-row strong,
.admin-mini-row small {
  display: block;
}

.admin-mini-row strong {
  color: #10283d;
}

.admin-mini-row small,
.admin-muted {
  color: #697783;
  font-weight: 700;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 250px) minmax(160px, 220px);
  gap: 12px;
  margin-bottom: 14px;
}

.admin-toolbar input,
.admin-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cad9e4;
  border-radius: 8px;
  padding: 0 12px;
  color: #152331;
  background: #fff;
  font: inherit;
}

.admin-row-input,
.admin-row-select {
  width: 100%;
  min-width: 120px;
  min-height: 36px;
  border: 1px solid #cad9e4;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #152331;
  font: inherit;
  font-weight: 750;
}

.admin-row-input.number {
  min-width: 96px;
}

.admin-row-input.image-url {
  margin-top: 8px;
  min-width: 220px;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-data-table th,
.admin-data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5edf3;
  text-align: left;
  vertical-align: middle;
}

.admin-data-table th {
  color: #536371;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-data-table td strong,
.admin-data-table td small {
  display: block;
}

.admin-data-table td small {
  margin-top: 4px;
  color: #74828c;
  font-weight: 700;
}

.admin-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #e2ebf2;
  border-radius: 8px;
  background: #fff;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1f4;
  color: #52616e;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.admin-status.on {
  background: #e1f7ec;
  color: #167342;
}

.admin-status.off {
  background: #f1f3f5;
  color: #66727c;
}

.admin-status.warn {
  background: #fff3cd;
  color: #8a6100;
}

.admin-empty-cell {
  padding: 28px 12px;
  color: #65727d;
  font-weight: 800;
  text-align: center;
}

.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: #65727d;
  font-weight: 800;
}

.checkout-shell,
.tracking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.7fr);
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 56px;
}

.checkout-panel,
.tracking-card,
.tracking-hero {
  background: #ffffff;
  border: 1px solid #d8e4ed;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(8, 32, 52, 0.07);
}

.checkout-panel,
.tracking-card {
  padding: 28px;
}

.checkout-form-panel h1,
.tracking-hero h1 {
  margin: 6px 0 10px;
  color: #07336d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.checkout-copy,
.checkout-note {
  color: #4c6172;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-address-grid .wide {
  grid-column: 1 / -1;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #1c2c38;
  font-weight: 900;
}

.checkout-form input,
.checkout-form textarea,
.tracking-search input {
  width: 100%;
  border: 1px solid #c9d9e5;
  border-radius: 8px;
  padding: 13px 14px;
  color: #17232d;
  font: inherit;
  font-weight: 700;
  background: #ffffff;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form input[readonly] {
  color: #52616e;
  background: #f3f7fa;
  cursor: not-allowed;
}

.checkout-summary {
  align-self: start;
}

.total-row {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e5edf3;
}

.checkout-items,
.tracking-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-item,
.tracking-item,
.admin-order-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f6;
  color: #22313d;
  font-weight: 800;
}

.error-message,
.form-status[data-type="error"] {
  color: #9f2a18;
}

.form-status[data-type="success"] {
  color: #167342;
}

.tracking-shell {
  grid-template-columns: 1fr;
}

.tracking-hero {
  padding: 34px;
}

.tracking-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 620px;
  margin-top: 20px;
}

.tracking-card-header,
.admin-order-card-header,
.admin-order-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tracking-card-header h2,
.admin-order-card-header h2 {
  margin: 4px 0 0;
  color: #07336d;
  letter-spacing: 0;
}

.tracking-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e5f3ff;
  color: #07336d;
  font-weight: 900;
}

.tracking-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.tracking-step {
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid #d8e4ed;
  border-radius: 8px;
  color: #6b7883;
  background: #f7fafc;
  font-weight: 900;
}

.tracking-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #dfe8ef;
}

.tracking-step.active {
  border-color: #8dd6b0;
  background: #e9f9f1;
  color: #12683b;
}

.tracking-step.active span {
  background: #22a160;
  color: #ffffff;
}

.tracking-grid,
.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.tracking-grid article,
.admin-order-grid section {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e4edf4;
  border-radius: 8px;
  background: #fbfdff;
}

.tracking-grid h3,
.tracking-items h3,
.admin-order-grid h3 {
  margin: 0 0 12px;
  color: #07336d;
}

.admin-orders-grid {
  display: grid;
  gap: 16px;
}

.admin-order-card {
  border: 1px solid #d8e4ed;
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.admin-order-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  color: #07336d;
  font-size: 1.05rem;
  font-weight: 900;
}

.admin-order-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5edf3;
}

.admin-shell-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-shell-tools .admin-button.success {
  background: #16794b;
}

.admin-shell-feedback {
  flex: 0 0 100%;
  margin: 0;
  color: #526371;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: right;
}

.admin-shell-feedback[data-type="success"] {
  color: #16794b;
}

.admin-shell-feedback[data-type="warning"] {
  color: #8a5a00;
}

.admin-shell-feedback[data-type="error"] {
  color: #a5392b;
}

.admin-order-card.target-order {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 148, 0, 0.16), 0 16px 36px rgba(0, 63, 73, 0.14);
  scroll-margin-top: 20px;
}

.admin-login-page {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(145deg, #edf7f7 0%, #f8fafb 55%, #fff3d9 100%);
  color: #152331;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(100%, 430px);
  padding: 36px;
  border: 1px solid #dbe7ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 63, 73, 0.16);
}

.admin-login-card > img {
  display: block;
  width: min(260px, 76%);
  height: 92px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.admin-login-card h1 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1.08;
}

.admin-login-card > p:not(.eyebrow) {
  margin: 12px 0 24px;
  color: #65727d;
  line-height: 1.5;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-login-form label {
  display: grid;
  gap: 7px;
  color: #263b45;
  font-weight: 850;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #bfd0d6;
  border-radius: 8px;
  background: #fff;
  color: #152331;
  font: inherit;
}

.admin-login-form input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 126, 137, 0.15);
}

.admin-login-message {
  min-height: 1.3em;
  margin: 0;
  color: #b22424;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .admin-stat-grid,
  .admin-card-grid,
  .admin-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .admin-console-sidebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 80;
    width: auto;
    padding: 7px max(7px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left));
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -8px 24px rgba(0, 31, 38, 0.2);
  }

  .admin-console-brand {
    display: none;
  }

  .admin-console-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    margin: 0;
  }

  .admin-console-nav a {
    display: grid;
    min-height: 50px;
    place-items: center;
    padding: 6px 3px;
    border-radius: 6px;
    font-size: 0.68rem;
    line-height: 1.08;
    text-align: center;
  }

  .admin-console-main {
    width: auto;
    margin-left: 0;
    padding: 18px 14px calc(92px + env(safe-area-inset-bottom));
  }

  .admin-console-header,
  .admin-header-actions,
  .admin-notice-panel,
  .admin-table-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-console-header h1 {
    font-size: 1.85rem;
  }

  .admin-shell-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .admin-shell-tools .admin-button {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .admin-shell-feedback {
    grid-column: 1 / -1;
    text-align: left;
  }

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

  .admin-stat-card {
    min-height: 92px;
    padding: 15px;
  }

  .admin-order-card.target-order {
    scroll-margin-top: 14px;
  }

  .admin-login-shell {
    align-items: start;
    padding: 30px 16px;
  }

  .admin-login-card {
    padding: 26px 20px;
  }

  .admin-card-grid,
  .admin-split-grid,
  .admin-toolbar,
  .checkout-shell,
  .checkout-address-grid,
  .tracking-progress,
  .tracking-grid,
  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .tracking-search,
  .tracking-card-header,
  .admin-order-card-header,
  .admin-order-actions {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .checkout-panel,
  .tracking-card,
  .tracking-hero,
  .admin-order-card {
    padding: 18px;
  }
}
