:root {
  --ink: #0e2354;
  --muted: #536b7e;
  --line: #c7dee2;
  --paper: #ffffff;
  --soft: #eef9f5;
  --blue: #183672;
  --blue-deep: #0b1f4d;
  --teal: #00848c;
  --teal-dark: #006f78;
  --green: #1aae59;
  --green-dark: #0b8f49;
  --accent: #0ba7b7;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(14, 35, 84, 0.13);
}

/* Product catalog: purchase first, supporting details second. */
.product-catalog-band {
  padding: clamp(34px, 5vw, 68px) clamp(18px, 5vw, 72px) clamp(46px, 6vw, 82px);
  background: #eef7f5;
  border-bottom: 1px solid rgba(14, 35, 84, 0.1);
}

.product-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  max-width: 1440px;
  margin: 0 auto clamp(24px, 4vw, 42px);
}

.product-catalog-heading h1 {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 4.6rem;
  line-height: 0.98;
}

.product-catalog-heading > p,
.product-purchase-description {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-catalog-grid {
  display: grid;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.product-catalog-empty {
  display: grid;
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px;
  color: var(--muted);
  background: #fff;
  border: 1px solid #bcd9dc;
  border-radius: 8px;
}

.product-catalog-empty strong {
  color: var(--blue);
  font-size: 1.2rem;
}

.product-purchase-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #bcd9dc;
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(14, 35, 84, 0.1);
}

.product-purchase-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(24px, 4vw, 52px);
  background: #f7f9fa;
  border-right: 1px solid #d5e5e7;
  text-decoration: none;
}

.product-purchase-media img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.product-model-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 8px 11px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #c2dfe2;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-purchase-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 68px);
}

.product-purchase-content h2 {
  max-width: 720px;
  margin: 0;
  color: var(--blue);
  font-size: 3.35rem;
  line-height: 1.02;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-purchase-media:hover img,
.product-title-link:hover {
  opacity: 0.88;
}

.product-purchase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #d7e7e9;
  border-bottom: 1px solid #d7e7e9;
}

.product-purchase-meta strong {
  color: var(--teal-dark);
  font-size: 1.7rem;
}

.product-purchase-meta span {
  color: var(--ink);
  font-weight: 800;
}

.product-variant-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-variant-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.product-variant-fields select {
  width: 100%;
}

.product-purchase-actions {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 10px;
}

.product-purchase-actions .primary-button,
.product-purchase-actions .ghost-button {
  min-height: 52px;
  justify-content: center;
}

.variant-selection-note.is-unavailable {
  color: #9a2d20;
}

.product-details-hero {
  scroll-margin-top: 90px;
}

.product-details-hero h2 {
  max-width: 820px;
  margin: 12px 0 20px;
  color: var(--blue);
  font-size: 5.2rem;
  line-height: 0.98;
}

@media (max-width: 980px) {
  .product-catalog-heading,
  .product-purchase-card {
    grid-template-columns: 1fr;
  }

  .product-purchase-media {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid #d5e5e7;
  }
}

@media (max-width: 760px) {
  .product-catalog-band {
    padding-top: 26px;
  }

  .product-catalog-heading {
    align-items: start;
  }

  .product-catalog-heading h1 {
    font-size: 2.55rem;
  }

  .product-purchase-media {
    min-height: 320px;
    padding: 22px 18px 48px;
  }

  .product-purchase-content {
    padding: 24px 20px;
  }

  .product-purchase-content h2 {
    font-size: 2rem;
  }

  .product-details-hero h2 {
    font-size: 2.7rem;
  }

  .product-variant-fields,
  .product-purchase-actions {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfa;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body:not(.admin-body) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body:not(.admin-body) > main {
  flex: 1 0 auto;
}

body:not(.admin-body) > .site-footer {
  margin-top: auto;
}

.admin-body {
  min-height: 100vh;
  background: #eef5f7;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 8px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(241, 250, 247, 0.97));
  border-bottom: 1px solid #bad7dc;
  box-shadow: 0 6px 18px rgba(14, 35, 84, 0.08);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 174px;
  text-decoration: none;
}

.site-logo img {
  width: 174px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  color: var(--ink);
  background: linear-gradient(90deg, #e9f5f7, #ecf8f2);
  border: 1px solid #bdd8dd;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  color: #22313f;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  background: #fff;
  border-color: #90cbd0;
  box-shadow: 0 8px 18px rgba(14, 35, 84, 0.1);
  outline: 0;
  transform: translateY(-1px);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(14, 35, 84, 0.18);
}

.cart-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(11, 143, 73, 0.22);
  font-weight: 900;
  text-decoration: none;
}

.account-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8dce3;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cart-nav-button i {
  position: relative;
  order: -1;
  display: block;
  width: 22px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 3px;
  flex: 0 0 auto;
}

.cart-nav-button i::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: skewX(-14deg);
}

.cart-nav-button i::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -7px;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 12px 0 0 #fff;
}

.cart-nav-button b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: var(--blue);
  background: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #9eced5;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(14, 35, 84, 0.12);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer a:hover {
  color: var(--teal-dark);
}

.home-slider {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 69px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  contain: paint;
  background:
    linear-gradient(100deg, rgba(0, 132, 140, 0.12), transparent 34%),
    linear-gradient(280deg, rgba(26, 174, 89, 0.14), transparent 38%),
    linear-gradient(115deg, #eaf7f8 0%, #ffffff 45%, #eaf8f0 100%);
  border-bottom: 1px solid var(--line);
}

.home-slider.is-dragging {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  min-height: calc(100vh - 69px);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-slider.is-dragging .slider-track {
  transition: none;
}

.slider-slide {
  position: relative;
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 96px) 78px;
}

.slider-slide::before {
  content: "";
  position: absolute;
  inset: 13% 5% 13% auto;
  width: min(36vw, 520px);
  background:
    linear-gradient(135deg, rgba(24, 54, 114, 0.1), rgba(0, 132, 140, 0.12) 54%, rgba(26, 174, 89, 0.12));
  border: 1px solid rgba(0, 132, 140, 0.12);
  border-radius: 8px;
  pointer-events: none;
  transform: skewX(-5deg);
}

.slider-copy,
.slider-visual {
  position: relative;
  z-index: 1;
}

.slider-copy {
  max-width: 790px;
}

.slider-copy h1 {
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  line-height: 0.98;
}

.slider-logo {
  width: min(360px, 82vw);
  height: auto;
  margin-bottom: 24px;
  mix-blend-mode: multiply;
}

.slider-visual {
  display: grid;
  place-items: center;
  align-self: stretch;
}

.slider-visual img {
  width: min(100%, 540px);
  max-height: 72vh;
  object-fit: contain;
  -webkit-user-drag: none;
  filter: drop-shadow(0 16px 22px rgba(14, 35, 84, 0.14));
}

.slider-visual.framed img {
  width: min(100%, 500px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border: 1px solid #b8d7dd;
  border-radius: 8px;
  box-shadow: var(--shadow);
  filter: none;
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(14, 35, 84, 0.22);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-control:hover,
.slider-control:focus-visible {
  background: linear-gradient(135deg, var(--teal), var(--green));
  outline: 3px solid rgba(0, 132, 140, 0.2);
}

.slider-control.prev {
  left: clamp(12px, 2vw, 28px);
}

.slider-control.next {
  right: clamp(12px, 2vw, 28px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  background: rgba(14, 35, 84, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 48px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 72px) 52px;
  background:
    linear-gradient(100deg, rgba(0, 132, 140, 0.12), transparent 34%),
    linear-gradient(115deg, #eaf7f8 0%, #ffffff 46%, #eef9f2 100%);
}

.hero-copy {
  max-width: 760px;
}

.brand-mark {
  width: min(360px, 82vw);
  height: auto;
  margin-bottom: 24px;
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.lead {
  max-width: 680px;
  color: #425f73;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 12px 28px rgba(11, 143, 73, 0.26);
}

.ghost-button {
  color: var(--blue);
  background: #fff;
  border-color: #9fcfd4;
}

.wide {
  width: 100%;
}

.trust-strip span {
  padding: 8px 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #a8d3d7;
  border-radius: 8px;
  font-size: 0.9rem;
}

.hero-media {
  align-self: stretch;
  display: grid;
  place-items: end center;
}

.hero-media img {
  width: min(100%, 520px);
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(18, 32, 43, 0.12));
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(100deg, rgba(0, 132, 140, 0.12), transparent 34%),
    linear-gradient(115deg, #eef9f7 0%, #ffffff 52%, #eaf8f0 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  padding-bottom: clamp(34px, 5vw, 58px);
}

.page-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 32, 43, 0.11));
}

.benefits-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
}

.benefits-page-hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 4.4vw, 4.6rem);
  line-height: 0.98;
}

.benefits-hero-visual {
  position: relative;
  min-height: clamp(430px, 42vw, 590px);
  isolation: isolate;
}

.benefits-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 6% 8%;
  z-index: -1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(222, 244, 240, 0.84));
  border: 1px solid #b8dadd;
  border-radius: 8px;
}

.page-hero .benefits-hero-front,
.page-hero .benefits-hero-rear {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(14, 35, 84, 0.18));
}

.page-hero .benefits-hero-front {
  left: 0;
  bottom: 0;
  width: 56%;
  height: 88%;
}

.page-hero .benefits-hero-rear {
  top: 0;
  right: 0;
  width: 61%;
  height: 74%;
}

.product-hero-new {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.9fr);
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof-row span {
  padding: 9px 12px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #a8d3d7;
  border-radius: 8px;
  font-weight: 900;
}

.product-pack-shot {
  position: relative;
}

.product-pack-shot > img:first-child {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
}

.patent-badge-img {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: clamp(96px, 13vw, 150px) !important;
  padding: 8px;
  background: #fff;
  border: 1px solid #dfc378;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(14, 35, 84, 0.22);
}

.section-band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.intro-band {
  background: #fff;
}

.benefit-band {
  background:
    linear-gradient(135deg, rgba(14, 35, 84, 0.035), rgba(26, 174, 89, 0.08)),
    var(--soft);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 218px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-weight: 900;
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  color: inherit;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.route-card:hover,
.route-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 22px 52px rgba(14, 35, 84, 0.13);
  outline: 0;
  transform: translateY(-3px);
}

.route-card span {
  color: var(--green-dark);
  font-weight: 900;
}

.product-story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(14, 35, 84, 0.04), rgba(26, 174, 89, 0.08)),
    #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-story-copy {
  max-width: 720px;
}

.story-image-stack {
  position: relative;
  min-height: 420px;
}

.story-image-stack img:first-child {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image-stack img:nth-child(2) {
  position: absolute;
  left: -28px;
  bottom: -26px;
  width: clamp(96px, 13vw, 154px);
  padding: 8px;
  background: #fff;
  border: 1px solid #dfc378;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(14, 35, 84, 0.2);
}

.route-card strong {
  font-size: 1.28rem;
}

.route-card p {
  color: var(--muted);
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 20px;
}

.benefit-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.benefit-list p {
  color: var(--muted);
}

.medical-note {
  padding: 14px 16px;
  color: #0a3c52;
  background: #e7f8f4;
  border: 1px solid #91d7cc;
  border-radius: 8px;
}

.benefit-layout img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-band {
  background: #fff;
}

.detail-media-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.detail-media-grid img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.package-content-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: clamp(16px, 3vw, 24px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 248, 0.96));
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.package-item-card {
  display: grid;
  grid-template-rows: minmax(150px, 1fr) auto;
  gap: 12px;
  min-height: 235px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
}

.package-item-card img {
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.package-item-card--boxer img {
  max-height: 230px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.package-item-card--cushion img {
  max-width: 96%;
  filter: drop-shadow(0 14px 22px rgba(14, 35, 84, 0.18));
}

.package-item-card--pump img {
  max-height: 120px;
  border-radius: 6px;
}

.package-item-card span {
  display: block;
  padding-top: 12px;
  color: var(--blue);
  border-top: 1px solid rgba(14, 35, 84, 0.1);
  font-weight: 900;
}

.manual-sheet {
  align-self: center;
  justify-self: center;
  display: grid;
  align-content: center;
  gap: 8px;
  width: min(190px, 88%);
  min-height: 150px;
  padding: 22px;
  color: var(--blue);
  background: linear-gradient(180deg, #fff, #f7fbfb);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(14, 35, 84, 0.08);
  text-align: center;
}

.manual-sheet strong {
  color: var(--teal-dark);
  font-size: 1.35rem;
  font-style: italic;
}

.manual-sheet small {
  color: var(--muted);
  font-weight: 900;
}

.clean-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  font-weight: 800;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 50%;
}

.lifestyle-proof {
  background: #fff;
}

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

.lifestyle-grid img {
  width: 100%;
  height: min(72vw, 720px);
  object-fit: cover;
  object-position: top center;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.comfort-story {
  display: grid;
  gap: 28px;
}

.comfort-story-step {
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.comfort-story-step:nth-child(even) {
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
}

.comfort-story-step:nth-child(even) .comfort-story-media {
  order: 2;
}

.comfort-story-media {
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f8f8;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.comfort-story-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.comfort-story-step--product .comfort-story-media {
  background: linear-gradient(145deg, #ffffff, #e9f7f4);
}

.comfort-story-step--product .comfort-story-media img {
  padding: clamp(18px, 4vw, 42px);
  object-fit: contain;
}

.comfort-story-copy {
  max-width: 560px;
}

.comfort-story-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.comfort-story-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.comfort-story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #b8d7dd;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.enriched-gallery img {
  aspect-ratio: 4 / 5;
  object-position: top center;
}

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

.product-showcase article,
.contact-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.product-showcase img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.product-showcase div,
.contact-grid article {
  padding: 22px;
}

.product-showcase p,
.contact-grid p {
  color: var(--muted);
}

.product-showcase strong,
.contact-grid a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.delivery-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--blue-deep);
  background: #eef8f9;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  font-weight: 850;
}

.company-info-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 1.4fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 248, 246, 0.86));
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.company-info-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.company-info-panel dl,
.company-info-panel dd {
  margin: 0;
}

.company-info-panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.company-info-panel dl div {
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #d7ecee;
  border-radius: 8px;
}

.company-info-panel dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.company-info-panel dd {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-map {
  overflow: hidden;
  margin-top: 18px;
  min-height: 360px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.contact-map iframe {
  display: block;
  width: 100% !important;
  min-height: 360px;
  border: 0;
}

.contact-form-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(135deg, rgba(235, 248, 246, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.contact-form-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
}

.captcha-field {
  max-width: 280px;
}

.contact-bank-panel {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.section-heading.compact {
  max-width: 780px;
}

.section-heading.compact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.contact-bank-grid article {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.bank-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-card-heading h3 {
  margin: 0;
  font-size: 1.1rem;
}

.bank-card-heading span {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #fff;
  font-weight: 900;
  background: var(--teal-dark);
  border-radius: 999px;
}

.contact-bank-grid dl,
.contact-bank-grid dd {
  margin: 0;
}

.contact-bank-grid dl {
  display: grid;
  gap: 10px;
}

.contact-bank-grid dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-bank-grid dd {
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-bank-grid .iban-row {
  padding-top: 10px;
  border-top: 1px solid #d7ecee;
}

.contact-message-stack {
  display: grid;
  gap: 14px;
}

.contact-message-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-message-card.is-read {
  border-left-color: #8aa4b3;
  opacity: 0.86;
}

.contact-message-card p {
  margin: 0;
  white-space: pre-line;
}

.contact-message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-message-meta a,
.contact-message-meta span {
  padding: 7px 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 999px;
}

.success-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px clamp(18px, 5vw, 72px);
  padding: 18px 20px;
  color: #053f3f;
  background: #dcf9ee;
  border: 1px solid #84d9bd;
  border-radius: 8px;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.order-shop-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: #fff;
}

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

.shop-product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 100%;
  padding: 18px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(14, 35, 84, 0.08);
}

.shop-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
  border: 1px solid #d5e8eb;
  border-radius: 8px;
}

.shop-product-body {
  display: grid;
  gap: 8px;
}

.shop-product-body p {
  color: var(--muted);
}

.shop-product-body strong {
  color: var(--blue);
  font-size: 1.15rem;
}

.product-buy-band {
  background: #f7fbfa;
}

.product-detail-buy {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.product-detail-buy > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.product-buy-panel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-buy-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.product-detail-price {
  color: var(--blue);
  font-size: 1.4rem;
}

.variant-selection-note,
.cart-variant {
  color: var(--teal-dark);
  font-weight: 900;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 20, 34, 0.42);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  width: min(680px, 100%);
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  background: #f7fbfa;
  border-left: 1px solid #b9dadd;
  box-shadow: -24px 0 70px rgba(14, 35, 84, 0.22);
  transform: translateX(104%);
  transition: transform 220ms ease;
}

.cart-drawer > .cart-order-form {
  display: none;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer-header span {
  color: var(--teal-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cart-drawer-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.cart-close {
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b8d7dd;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-drawer-actions {
  display: grid;
  gap: 10px;
  align-self: end;
  align-content: start;
  padding-top: 12px;
  background: linear-gradient(180deg, rgba(247, 251, 250, 0.72), #f7fbfa 34%);
  border-top: 1px solid #c2dfe2;
}

.cart-drawer-actions .primary-button,
.cart-drawer-actions .ghost-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
  box-shadow: none;
}

.cart-empty,
.cart-line {
  padding: 16px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.cart-line img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-line-body {
  display: grid;
  align-content: start;
  gap: 8px;
}

.cart-line-body p {
  color: var(--muted);
}

.cart-line-size {
  max-width: 220px;
  gap: 5px;
  font-size: 0.9rem;
}

.cart-line-size select {
  min-height: 40px;
}

.cart-size-panel {
  display: none;
  gap: 10px;
}

.cart-unit-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #f3fbf8;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.cart-unit-panel > strong {
  font-size: 0.88rem;
}

.cart-unit-list {
  display: grid;
  gap: 8px;
}

.cart-unit-list label {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px 8px;
  align-items: center;
  font-size: 0.84rem;
}

.cart-unit-list select {
  min-height: 36px;
  padding: 0 10px;
}

.cart-unit-list small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 700;
}

.cart-size-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  font-weight: 800;
}

.cart-size-mode input {
  width: 17px;
  height: 17px;
}

.cart-size-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.cart-size-split label {
  display: grid;
  gap: 5px;
  font-size: 0.9rem;
}

.cart-size-split select {
  min-height: 40px;
}

.cart-size-error {
  padding: 12px 14px;
  color: var(--danger);
  background: #fff1ee;
  border: 1px solid #f0b5ab;
  border-radius: 8px;
  font-weight: 800;
}

.cart-login-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid #b8dce3;
  border-radius: 8px;
}

.cart-login-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-toast {
  position: fixed;
  right: clamp(16px, 4vw, 40px);
  bottom: clamp(16px, 4vw, 34px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  color: #fff;
  background: #0b736e;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(14, 35, 84, 0.22);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cart-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cart-toast a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.cart-qty button,
.cart-remove {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b8d7dd;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.cart-remove {
  color: #9f1d1d;
}

.cart-order-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--soft);
  border: 1px solid #bddadd;
  border-radius: 8px;
}

.cart-contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.cart-contact-panel a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.payment-methods {
  display: grid;
  gap: 8px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  cursor: pointer;
}

.payment-method-option input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--teal);
}

.payment-method-option:has(input:checked) {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 132, 140, 0.12);
}

.payment-method-option span {
  display: grid;
  gap: 2px;
}

.payment-method-option strong {
  font-size: 15px;
}

.payment-method-option small {
  font-size: 13px;
  line-height: 1.35;
}

.payment-method-option small,
.payment-method-empty {
  color: var(--muted);
}

body.cart-is-open {
  overflow: hidden;
}

.order-copy {
  position: sticky;
  top: 104px;
  align-self: start;
}

.order-copy p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.contact-panel a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.order-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--soft);
  border: 1px solid #bddadd;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-page {
  width: min(1240px, calc(100% - 32px));
  margin: 42px auto 64px;
}

.checkout-head {
  margin-bottom: 24px;
}

.checkout-head h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.checkout-summary,
.checkout-form {
  background: #fff;
}

.conditional-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f3fbf8;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.conditional-section[hidden] {
  display: none;
}

.checkout-toggle {
  align-self: end;
  min-height: 46px;
  padding: 0 12px;
  background: #f3fbf8;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.checkout-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #bddadd;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(14, 35, 84, 0.08);
}

.checkout-auth-gate {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  border: 1px solid #bddadd;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.checkout-auth-gate p {
  max-width: 680px;
  color: var(--muted);
}

.checkout-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-cart-items .cart-line {
  grid-template-columns: 74px minmax(0, 1fr);
}

.checkout-cart-items .cart-line img {
  width: 74px;
  height: 74px;
}

.checkout-cart-items .cart-line-body h3 {
  font-size: 1rem;
}

.checkout-cart-items .cart-line-body p {
  display: none;
}

.checkout-cart-items .cart-line-body .cart-variant {
  display: block;
}

.section-heading.tight {
  margin: 0;
}

.section-heading.tight h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  font-weight: 900;
}

.product-options {
  display: grid;
  gap: 12px;
}

.product-option {
  display: grid;
  grid-template-columns: auto 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  cursor: pointer;
}

.product-option:has(input:checked) {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 132, 140, 0.13);
}

.product-option img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.product-option span {
  display: grid;
  gap: 4px;
}

.product-option small {
  color: var(--muted);
}

.product-option b {
  color: var(--blue);
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row.three {
  grid-template-columns: 120px repeat(2, minmax(0, 1fr));
}

.form-row.three.equal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: #22313f;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd7dc;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 132, 140, 0.15);
}

.consent-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.consent-box label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 650;
}

.consent-box input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.consent-box a {
  color: var(--teal-dark);
  font-weight: 800;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.order-total[hidden] {
  display: none;
}

.order-total strong {
  color: var(--blue);
  font-size: 1.4rem;
}

.payment-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}

.payment-summary,
.payment-frame-shell,
.payment-result {
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.payment-summary {
  display: grid;
  gap: 16px;
}

.payment-summary > span {
  color: var(--muted);
  font-weight: 800;
}

.payment-summary > strong {
  overflow-wrap: anywhere;
}

.payment-summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-summary li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8e7e9;
}

.payment-frame-shell iframe {
  width: 100%;
  min-height: 620px;
}

.payment-result {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.bank-transfer-panel {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.bank-transfer-panel h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.bank-transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.bank-transfer-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.bank-transfer-grid article span {
  color: var(--teal-dark);
  font-weight: 900;
}

.bank-transfer-grid p {
  margin: 0;
  overflow-wrap: anywhere;
}

.field-validation,
.field-validation-error,
.validation-summary-errors {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
}

.validation-summary ul {
  margin: 0;
  padding-left: 18px;
}

.legal-page,
.admin-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.legal-page article,
.admin-surface {
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-page h1,
.admin-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-page p,
.legal-page li {
  color: #425466;
}

.admin-toolbar,
.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.stat-card {
  flex: 1 1 180px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.stat-card span {
  display: block;
  color: var(--muted);
}

.stat-card strong {
  font-size: 1.7rem;
}

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

.orders-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #c2dfe2;
  vertical-align: top;
}

.orders-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.order-size-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 6px 9px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.menu-admin-list {
  display: grid;
  gap: 12px;
}

.menu-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.menu-admin-form {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) minmax(180px, 1.5fr) 110px auto auto auto;
  gap: 10px;
  align-items: end;
}

.menu-admin-delete {
  display: flex;
  align-items: end;
}

.status-form {
  display: flex;
  gap: 8px;
}

.status-form select {
  min-width: 120px;
}

.small-button {
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-heading-actions,
.order-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.orders-filter-form {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto auto;
  gap: 10px;
  align-items: end;
  width: min(100%, 920px);
}

.orders-filter-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.orders-filter-form input,
.orders-filter-form select {
  min-height: 40px;
  font-size: 0.94rem;
}

.orders-filter-form .small-button,
.orders-filter-form .ghost-button {
  min-height: 40px;
  white-space: nowrap;
}

.admin-table-shell {
  display: grid;
  gap: 14px;
}

.admin-table-toolbar,
.admin-table-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-table-toolbar input {
  width: min(420px, 100%);
  min-height: 40px;
}

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

.admin-table-tools select {
  width: auto;
  min-height: 40px;
}

.admin-table-info {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-data-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}

.admin-data-table th[data-sort]::after {
  content: "↕";
  margin-left: 7px;
  color: #7ba3ad;
  font-size: 0.78rem;
}

.admin-data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.system-definition-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.system-definition-nav a {
  min-height: 38px;
}

.order-actions {
  min-width: 230px;
}

.order-actions .small-button,
.order-actions .ghost-button,
.order-actions .danger-button {
  min-height: 34px;
  padding: 0 10px;
}

.admin-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: min(86vh, 820px);
  padding: 22px;
  overflow: auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8dce3;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(16, 38, 92, 0.22);
}

.admin-dialog::backdrop {
  background: rgba(6, 22, 43, 0.46);
}

.dialog-head {
  position: sticky;
  top: -22px;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: -22px -22px 0;
  padding: 22px 22px 14px;
  background: #fff;
  border-bottom: 1px solid #c2dfe2;
}

.dialog-head span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.dialog-head button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid #b8dce3;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-dialog[open] .dialog-head button[data-dialog-close] {
  position: static;
  box-shadow: 0 8px 22px rgba(16, 38, 92, 0.14);
}

.dialog-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.color-picker-field span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-picker-field input[type="color"] {
  width: 72px;
  min-height: 46px;
  padding: 4px;
  cursor: pointer;
}

.color-picker-field code {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--blue);
  background: #eef9f5;
  border: 1px solid #b8dce3;
  border-radius: 6px;
  font: 800 0.92rem/1 Inter, Segoe UI, Roboto, Arial, sans-serif;
}

.customer-auth-page,
.customer-account-page {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto;
}

.customer-auth-panel,
.customer-account-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid #b8dce3;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16, 38, 92, 0.08);
}

.customer-auth-panel {
  width: min(620px, 100%);
  margin: 0 auto;
}

.customer-auth-panel h1,
.customer-account-head h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.customer-auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.customer-password-field {
  display: grid;
  gap: 8px;
}

.customer-password-field > input {
  width: 100%;
}

.customer-password-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.customer-password-label label {
  margin: 0;
}

.customer-password-label a,
.customer-auth-back {
  color: var(--teal);
  font-weight: 800;
}

.customer-auth-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.customer-auth-success {
  padding: 14px 16px;
  color: #075d49;
  background: #e8f8f2;
  border: 1px solid #99d9c4;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.55;
}

.customer-auth-switch {
  margin: 18px 0 0;
  font-weight: 800;
}

.customer-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.customer-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-bottom: 16px;
}

.account-kv {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px 14px;
}

.account-kv dt {
  color: var(--muted);
  font-weight: 800;
}

.account-kv dd {
  margin: 0;
  font-weight: 900;
}

.account-review-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.account-review-list li,
.account-review-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.account-review-form {
  margin-bottom: 10px;
}

.product-dialog {
  width: min(1120px, calc(100vw - 28px));
}

.admin-product-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.admin-product-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #d5e8eb;
  border-radius: 8px;
}

.admin-product-line span {
  display: grid;
  gap: 4px;
}

.admin-product-line small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.definition-table .color-chip {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--chip-color);
  border: 1px solid #9fb9c0;
  border-radius: 50%;
}

.variant-manager {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #c2dfe2;
}

.variant-feedback {
  padding: 10px 12px;
  color: #063f35;
  background: #dff8ec;
  border: 1px solid #9fdfc0;
  border-radius: 7px;
  font-weight: 800;
}

.variant-feedback.is-error {
  color: #7a1e16;
  background: #fff1ef;
  border-color: #f0b5ad;
}

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

.variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.variant-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(90px, auto) auto;
  gap: 10px;
  align-items: end;
}

.add-variant-form {
  padding: 12px;
  background: #fff;
  border: 1px dashed #9cced4;
  border-radius: 8px;
}

.detail-tabs {
  display: grid;
  grid-template-columns: repeat(4, auto) minmax(0, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.detail-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.detail-tabs > label {
  padding: 9px 12px;
  background: var(--soft);
  border: 1px solid #b8dce3;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.detail-tabs > input:checked + label {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.tab-panel {
  display: none;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.detail-tabs > input:nth-of-type(1):checked ~ .customer-panel,
.detail-tabs > input:nth-of-type(2):checked ~ .products-panel,
.detail-tabs > input:nth-of-type(3):checked ~ .payment-panel,
.detail-tabs > input:nth-of-type(4):checked ~ .shipping-panel {
  display: block;
}

.detail-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px 16px;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  font-weight: 700;
}

.order-item-list {
  display: grid;
  gap: 10px;
}

.order-item-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(140px, auto) minmax(110px, auto);
  gap: 10px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.modal-status-form {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #c2dfe2;
}

.workflow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.workflow-links legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 900;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 190px);
  padding: 36px 18px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background:
    linear-gradient(100deg, rgba(0, 132, 140, 0.08), transparent 34%),
    #f5fbfa;
  transition: grid-template-columns 0.24s ease;
}

.admin-shell.is-sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 20px;
  color: #d9f2f1;
  background: linear-gradient(180deg, var(--blue-deep), #0d3f61 58%, #087348);
  box-shadow: 18px 0 42px rgba(14, 35, 84, 0.16);
  overflow-y: auto;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.admin-shell.is-sidebar-collapsed .admin-sidebar {
  pointer-events: none;
  transform: translateX(-100%);
  box-shadow: none;
}

.admin-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-brand {
  display: grid;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.admin-brand img {
  width: 150px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}

.admin-sidebar-toggle,
.admin-topbar-menu {
  display: inline-flex;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.admin-sidebar-toggle span,
.admin-topbar-menu span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-sidebar-toggle {
  color: #fff;
}

.admin-topbar-menu {
  color: var(--ink);
  background: #fff;
  border-color: #c2dfe2;
}

.admin-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
}

.admin-nav a,
.admin-nav summary,
.admin-open-site,
.admin-logout {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #d9f2f1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-nav a:hover,
.admin-nav a:focus-visible,
.admin-nav summary:hover,
.admin-nav summary:focus-visible,
.admin-nav a.is-active,
.admin-open-site:hover,
.admin-open-site:focus-visible,
.admin-logout:hover,
.admin-logout:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  outline: 0;
}

.admin-nav a.is-active {
  border-color: rgba(255, 255, 255, 0.36);
}

.admin-nav-group {
  display: grid;
  gap: 8px;
}

.admin-nav-subgroup {
  display: grid;
  gap: 6px;
}

.admin-nav-group summary,
.admin-nav-subgroup summary {
  justify-content: space-between;
  list-style: none;
}

.admin-nav-group summary::-webkit-details-marker,
.admin-nav-subgroup summary::-webkit-details-marker {
  display: none;
}

.admin-nav-group summary::after,
.admin-nav-subgroup summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.admin-nav-group[open] > summary::after,
.admin-nav-subgroup[open] > summary::after {
  transform: rotate(225deg);
}

.admin-subnav {
  display: grid;
  gap: 6px;
  padding-left: 12px;
}

.admin-subnav a {
  min-height: 40px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.94rem;
}

.admin-nav-subgroup summary {
  min-height: 40px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.94rem;
}

.admin-subnav.nested {
  padding-left: 10px;
}

.admin-subnav.nested a {
  min-height: 36px;
  font-size: 0.9rem;
}

.admin-open-site {
  margin-top: auto;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.admin-sidebar form {
  margin-top: 0;
}

.admin-logout {
  width: 100%;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(22px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #c2dfe2;
}

.admin-topbar-spacer {
  flex: 1 1 auto;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.admin-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #16345c;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 86, 0.08);
}

.admin-icon-button:hover,
.admin-icon-button:focus-visible {
  color: #007c89;
  border-color: #8bc7ca;
  outline: 0;
}

.admin-icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-notification-badge {
  position: absolute;
  right: -4px;
  top: -5px;
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: #fff;
  background: #d9344a;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.admin-user {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-user {
  padding-left: 4px;
  color: #425466;
  font-weight: 800;
}

.admin-content {
  padding: clamp(26px, 4vw, 46px);
}

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

.admin-page-heading .eyebrow {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-page-heading h1 {
  display: none;
}

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

.admin-product-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.product-create-panel {
  margin-bottom: 18px;
}

.product-edit-form,
.product-delete-form {
  display: grid;
  gap: 14px;
}

.product-size-manager {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.product-size-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-size-heading small,
.muted-note {
  color: var(--muted);
  font-weight: 700;
}

.admin-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-grid.two {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.production-form {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.production-rules {
  display: grid;
  gap: 10px;
}

.production-rules p {
  margin: 0;
  color: #22313f;
  font-weight: 750;
}

.qr-label-surface {
  margin-top: 18px;
}

.qr-label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
}

.qr-label-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.qr-label-code svg {
  display: block;
  width: 138px;
  height: 138px;
}

.qr-label-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.qr-label-info strong,
.qr-label-info small,
.qr-label-info dd {
  overflow-wrap: anywhere;
}

.qr-label-info dl {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
}

.qr-label-info dl div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.qr-label-info dt,
.qr-label-info dd {
  margin: 0;
  color: #0b1d33;
  font-weight: 850;
}

.qr-label-info dt {
  color: var(--muted);
}

.variant-stock {
  align-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.product-size-list {
  display: grid;
  gap: 8px;
}

.product-size-item,
.product-size-row,
.product-size-add {
  display: grid;
  gap: 8px;
}

.product-size-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.product-size-row {
  grid-template-columns: minmax(86px, 1fr) auto auto;
  align-items: center;
}

.product-size-add {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #c2dfe2;
}

.compact-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

label small {
  color: var(--muted);
  font-weight: 650;
}

.danger-button {
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #9f1d1d, #d34836);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.danger-button:hover,
.danger-button:focus-visible {
  background: linear-gradient(135deg, #7f1717, #b42318);
  outline: 3px solid rgba(180, 35, 24, 0.16);
}

.bank-account-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bank-account-card {
  margin-top: 0;
}

.bank-account-delete {
  margin-top: -8px;
}

.admin-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  color: #063f35;
  background: #dff8ec;
  border: 1px solid #8bd9bd;
  border-radius: 8px;
  font-weight: 800;
}

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

.content-page-list {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.content-page-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid #d0e7e9;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.content-page-list a:hover,
.content-page-list a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  outline: 0;
}

.content-editor-stack {
  display: grid;
  gap: 18px;
}

.seo-settings-stack {
  display: grid;
  gap: 22px;
}

.content-editor {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.content-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #c2dfe2;
}

.content-editor-heading span {
  color: var(--muted);
  font-weight: 800;
}

.content-editor-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.content-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-fields label:has(textarea) {
  grid-column: span 2;
}

.content-field {
  display: grid;
  gap: 7px;
  color: #22313f;
  font-weight: 750;
}

.content-field:has(textarea),
.content-field:has(.admin-image-upload) {
  grid-column: span 2;
}

.content-field-label {
  display: block;
}

.html-code-input {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.45;
}

.seo-card {
  border-color: #abd5db;
}

.seo-card .content-editor-heading {
  align-items: flex-start;
}

.seo-fields {
  grid-template-columns: minmax(180px, 0.7fr) minmax(120px, 0.3fr) repeat(2, minmax(0, 1fr));
}

.seo-fields label:has(textarea),
.seo-fields .content-field {
  grid-column: span 2;
}

.seo-fields label:has(textarea[name="Input.StructuredDataJson"]) {
  grid-column: span 4;
}

.content-check {
  width: fit-content;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.admin-image-upload {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
}

.admin-image-upload.compact {
  grid-template-columns: 96px minmax(0, 1fr);
}

.admin-image-upload img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7fbfa;
  border: 1px solid #d3e5e8;
  border-radius: 8px;
}

.admin-image-upload.compact img {
  aspect-ratio: 1.5 / 1;
}

.slider-admin-form {
  display: grid;
  gap: 18px;
}

.slider-admin-grid {
  display: grid;
  gap: 18px;
}

.slider-admin-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slider-card-preview {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 132, 140, 0.12), rgba(26, 174, 89, 0.12)),
    #f6fbfa;
  border-right: 1px solid #c2dfe2;
}

.slider-card-preview img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d5e8eb;
  border-radius: 8px;
}

.slider-card-body {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.email-create-form {
  margin-bottom: 18px;
}

.email-fields label:has(input[type="email"]),
.email-fields label:has(input[name$="Notes"]) {
  grid-column: span 2;
}

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

.email-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.email-card-form {
  display: grid;
  gap: 12px;
}

.email-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c2dfe2;
}

.email-card-head > span {
  color: var(--teal);
  font-weight: 900;
}

.email-delete-form {
  display: grid;
}

.email-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workflow-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 35, 84, 0.07);
}

.workflow-help strong {
  margin-right: 6px;
}

.workflow-help span {
  padding: 6px 9px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid #d0e7e9;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
}

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

.workflow-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.workflow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c2dfe2;
}

.workflow-card-head > span,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-weight: 900;
}

.status-pill {
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.analytics-surface {
  display: grid;
  gap: 18px;
}

.google-chart {
  width: 100%;
  min-height: 420px;
}

.admin-sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(245, 251, 250, 0), #f5fbfa 42%);
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(110deg, rgba(14, 35, 84, 0.14), transparent 42%),
    linear-gradient(280deg, rgba(26, 174, 89, 0.16), transparent 38%),
    #f5fbfa;
}

.admin-login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card > img {
  width: 190px;
  margin-bottom: 6px;
}

.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 30px;
  background: #fff;
  border: 1px solid #c2dfe2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inline-check {
  grid-template-columns: 20px 1fr;
  align-items: center;
  font-weight: 650;
}

.inline-check input {
  width: 18px;
  min-height: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d9f2f1;
  background:
    linear-gradient(135deg, var(--blue-deep), #0d3f61 58%, #087348);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span {
  color: #a9d5d2;
}

.payment-logos {
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 34px;
  padding: 0 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  font-weight: 900;
  letter-spacing: 0;
}

.payment-badge.troy {
  color: #006f78;
}

.payment-badge.visa {
  color: #17376f;
  font-style: italic;
  letter-spacing: 0.04em;
}

.payment-badge.mastercard {
  gap: 0;
  min-width: 86px;
  padding-left: 8px;
  padding-right: 8px;
}

.payment-badge.mastercard span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.payment-badge.mastercard span:first-child {
  background: #eb001b;
  margin-right: -7px;
}

.payment-badge.mastercard span:nth-child(2) {
  background: #f79e1b;
  margin-right: 7px;
  mix-blend-mode: multiply;
}

.payment-badge.mastercard b {
  color: var(--blue-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

@media (max-width: 920px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 88px;
    padding: 8px 14px;
  }

  .site-logo img {
    width: 142px;
    height: 72px;
  }

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

  .qr-label-grid {
    grid-template-columns: 1fr;
  }

  .qr-label-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .qr-label-code svg {
    width: 112px;
    height: 112px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    z-index: 30;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    width: auto;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    padding: 8px;
    background: linear-gradient(180deg, #f7fcfc, #edf8f2);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(14, 35, 84, 0.2);
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
  }

  .cart-nav-button {
    margin-left: auto;
    position: relative;
    width: 46px;
    min-width: 46px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(11, 143, 73, 0.22);
  }

  .cart-nav-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cart-nav-button i {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 3px;
  }

  .cart-nav-button i::before {
    content: "";
    position: absolute;
    left: -7px;
    top: -5px;
    width: 8px;
    height: 8px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: skewX(-14deg);
  }

  .cart-nav-button i::after {
    content: "";
    position: absolute;
    left: 3px;
    bottom: -7px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 12px 0 0 #fff;
  }

  .cart-nav-button b {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.75rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .hero-section,
  .slider-slide,
  .page-hero,
  .product-story-band,
  .detail-media-grid,
  .benefit-layout,
  .order-section,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

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

  .home-slider,
  .slider-track {
    min-height: auto;
  }

  .slider-slide {
    padding: 42px clamp(18px, 5vw, 44px) 74px;
  }

  .hero-media {
    place-items: center;
  }

  .order-copy {
    position: static;
  }

  .feature-grid,
  .gallery-strip,
  .route-card-grid,
  .product-showcase,
  .contact-grid,
  .shop-product-grid,
  .admin-product-grid,
  .email-settings-grid,
  .workflow-grid,
  .seo-fields,
  .content-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-info-panel {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    grid-template-columns: 1fr;
  }

  .company-info-panel dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .content-page-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-image-stack {
    min-height: auto;
  }

  .story-image-stack img:first-child {
    max-height: 520px;
  }

  .story-image-stack img:nth-child(2),
  .patent-badge-img {
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 104px !important;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .benefits-page-hero {
    grid-template-columns: 1fr;
  }

  .benefits-hero-visual {
    width: min(100%, 640px);
    min-height: clamp(400px, 76vw, 560px);
    margin-inline: auto;
  }

  .comfort-story-step,
  .comfort-story-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .comfort-story-step:nth-child(even) .comfort-story-media {
    order: 0;
  }

  .lifestyle-grid img {
    height: auto;
    max-height: none;
  }

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

  .admin-shell.is-sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 30;
    width: min(280px, 86vw);
    height: auto;
    min-height: 100vh;
  }

  .admin-shell.is-sidebar-collapsed .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .orders-filter-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

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

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

  .slider-card-preview {
    border-right: 0;
    border-bottom: 1px solid #c2dfe2;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3rem;
  }

  .brand-mark {
    width: min(280px, 88vw);
  }

  .slider-logo {
    width: min(280px, 88vw);
  }

  .slider-control {
    top: auto;
    bottom: 22px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    transform: none;
  }

  .slider-control.prev {
    left: 18px;
  }

  .slider-control.next {
    right: 18px;
  }

  .slider-dots {
    bottom: 38px;
  }

  .slider-dots button {
    width: 24px;
  }

  .slider-dots button.is-active {
    width: 34px;
  }

  .feature-grid,
  .gallery-strip,
  .route-card-grid,
  .product-showcase,
  .contact-grid,
  .shop-product-grid,
  .lifestyle-grid,
  .admin-product-grid,
  .email-settings-grid,
  .workflow-grid,
  .content-page-list,
  .seo-fields,
  .content-fields,
  .form-row.two,
  .form-row.three,
  .customer-account-grid {
    grid-template-columns: 1fr;
  }

  .package-content-visual {
    grid-template-columns: 1fr;
  }

  .company-info-panel dl {
    grid-template-columns: 1fr;
  }

  .content-fields label:has(textarea),
  .seo-fields label:has(textarea),
  .seo-fields label:has(textarea[name="Input.StructuredDataJson"]),
  .content-field:has(textarea),
  .content-field:has(.admin-image-upload),
  .seo-fields .content-field {
    grid-column: auto;
  }

  .content-editor-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-option {
    grid-template-columns: auto 64px 1fr;
  }

  .product-option img {
    width: 64px;
    height: 64px;
  }

  .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-line img {
    width: 72px;
    height: 72px;
  }

  .cart-toast {
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 280px;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 12px;
  }
}

/* Corporate public redesign overrides */
body:not(.admin-body) {
  background: #f6f8f9;
}

.site-header {
  min-height: 78px;
  padding: 10px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(14, 35, 84, 0.1);
  box-shadow: 0 10px 34px rgba(14, 35, 84, 0.06);
  backdrop-filter: blur(16px);
}

.site-logo {
  min-width: 142px;
}

.site-logo img {
  width: 142px;
  height: 58px;
}

.site-nav {
  gap: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  min-height: 42px;
  padding: 0 2px;
  color: #1d2c3b;
  border: 0;
  border-radius: 0;
  font-weight: 850;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #00848c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--blue-deep);
  background: transparent;
  box-shadow: none;
  outline: 0;
  transform: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.account-nav-button {
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(14, 35, 84, 0.16);
  box-shadow: none;
}

.cart-nav-button {
  min-height: 42px;
  padding: 0 16px;
  background: #006f78;
  border-color: #00606a;
  box-shadow: 0 12px 28px rgba(0, 111, 120, 0.18);
}

.corporate-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 108px);
  min-height: 760px;
  padding: clamp(54px, 6vw, 82px) clamp(24px, 6vw, 104px) clamp(48px, 6vw, 76px);
  background: linear-gradient(90deg, rgba(246, 248, 249, 0.98) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(238, 246, 245, 0.96) 100%);
  border-bottom: 1px solid rgba(14, 35, 84, 0.1);
}

.corporate-hero__copy {
  max-width: 780px;
}

.corporate-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.55vw, 5.9rem);
  line-height: 0.96;
}

.corporate-hero .lead {
  max-width: 680px;
  color: #435a6f;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.72;
}

.corporate-hero__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.corporate-hero__media::before {
  content: "";
  position: absolute;
  inset: 7% -4% 7% 15%;
  background: #10265c;
  border-radius: 8px;
  transform: skewX(-4deg);
}

.corporate-hero__media img {
  position: relative;
  width: min(100%, 500px);
  max-height: 600px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 28px 36px rgba(14, 35, 84, 0.22));
}

.clinical-product-band {
  background: #fff;
}

.corporate-hero:has(.product-spin) {
  background: #fff;
  min-height: 0;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.corporate-hero:has(.product-spin) h1 { font-size: 64px; line-height: 1.03; }

.corporate-hero__media.product-spin {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  min-height: 0;
  justify-self: center;
  align-content: center;
}

.corporate-hero__media.product-spin::before { content: none; }

.product-spin__stage {
    position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.product-spin__canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.product-spin--smooth .product-spin__image {
    opacity: 0;
}

.product-spin__stage.is-dragging { cursor: grabbing; }

.corporate-hero__media .product-spin__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  pointer-events: none;
}

.product-spin__controls {
  width: min(100%, 350px);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px auto 0;
}

.product-spin [hidden] { display: none; }
.product-spin__controls[hidden] { display: flex; visibility: hidden; }
.product-spin__label { color: #52616b; font-size: 13px; font-weight: 600; }
.product-spin__controls input { width: 100%; min-width: 40px; min-height: 24px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; accent-color: #007b82; cursor: pointer; }
.product-spin__controls button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #dce4e5;
  border-radius: 50%;
  background: #fff;
  color: #22333b;
  cursor: pointer;
}
.product-spin__controls button:hover { background: #edf5f3; border-color: #007b82; }
.product-spin__controls button:focus-visible, .product-spin__controls input:focus-visible { outline: 2px solid #007b82; outline-offset: 3px; }
.corporate-hero__media .product-spin__controls img { width: 20px; height: 20px; filter: none; border-radius: 0; }
.product-spin__status { font-size: 13px; color: #52616b; margin: 8px 0 0; }

@media (max-width: 980px) {
  .corporate-hero:has(.product-spin) { min-height: 0; gap: 24px; }
  .corporate-hero__media.product-spin { max-width: 480px; }
}

@media (max-width: 760px) {
  .corporate-hero:has(.product-spin) { gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .corporate-hero:has(.product-spin) h1 { font-size: 32px; line-height: 1.08; margin-bottom: 14px; }
  .corporate-hero:has(.product-spin) .eyebrow { font-size: 10px; letter-spacing: 0; margin-bottom: 8px; }
  .corporate-hero:has(.product-spin) .lead { font-size: 15px; line-height: 1.5; margin-bottom: 16px; }
  .corporate-hero:has(.product-spin) .hero-actions { margin-top: 16px; gap: 10px; }
  .corporate-hero__media.product-spin { max-width: 350px; }
  .product-spin__stage { max-width: 260px; justify-self: center; }
}

@media (max-width: 760px) and (max-height: 740px) {
  .corporate-hero:has(.product-spin) h1 { font-size: 28px; }
  .product-spin__stage { max-width: 190px; }
}

.clinical-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  margin-bottom: clamp(28px, 5vw, 58px);
}

.clinical-intro .section-heading {
  margin-bottom: 0;
}

.clinical-intro-media {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f7f8;
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
}

.clinical-intro-media img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

.air-cushion-media {
  position: relative;
  min-height: 340px;
  padding: clamp(22px, 4vw, 38px);
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 132, 140, 0.1), transparent 42%),
    linear-gradient(145deg, #ffffff, #edf5f6);
}

.air-cushion-media .air-cushion-media__image {
  width: min(100%, 560px);
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(14, 35, 84, 0.2));
}

.air-cushion-media__label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  max-width: min(280px, calc(100% - 44px));
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(14, 35, 84, 0.1);
}

.air-cushion-media__label span {
  display: block;
  margin-bottom: 4px;
  color: #006f78;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.air-cushion-media__label strong {
  display: block;
  color: #112a5e;
  font-size: 0.96rem;
}

.clinical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(14, 35, 84, 0.12);
  border: 1px solid rgba(14, 35, 84, 0.12);
}

.clinical-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  background: #fff;
}

.clinical-grid span {
  display: block;
  margin-bottom: 32px;
  color: #006f78;
  font-weight: 950;
}

.clinical-grid h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.clinical-grid p {
  color: #536b7e;
}

.corporate-detail-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background: #eef4f5;
}

.corporate-detail-media img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(14, 35, 84, 0.14);
}

.usage-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.78fr);
  grid-template-rows: repeat(2, 210px);
  gap: 10px;
  width: 100%;
  max-width: 760px;
  justify-self: center;
}

.usage-photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  background: #fff;
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(14, 35, 84, 0.1);
}

.usage-photo-grid img:first-child {
  grid-row: 1 / span 2;
}

.corporate-detail-copy {
  max-width: 620px;
}

.compact-list {
  margin-top: 28px;
}

.compact-list li {
  background: rgba(255, 255, 255, 0.76);
}

.order-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: #0e2354;
}

.order-cta-band h2,
.order-cta-band p,
.order-cta-band .eyebrow {
  color: #fff;
}

.order-cta-band .lead {
  opacity: 0.82;
}

.order-cta-band .primary-button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--blue-deep);
  box-shadow: none;
}

.product-page-hero {
  background: #fff;
}

.product-page-hero .product-pack-shot {
  padding: clamp(18px, 3vw, 34px);
  background: #f4f7f8;
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
}

.product-page-hero .product-pack-shot > img:first-child {
  display: block;
  height: auto;
}

.product-structure-band {
  background: #f6f8f9;
}

.product-package-band {
  background: #fff;
}

.corporate-buy-band {
  background: #eef4f5;
}

.corporate-buy-band .product-detail-buy {
  align-items: stretch;
}

.corporate-buy-band .product-detail-buy > img {
  background: #fff;
  border: 1px solid rgba(14, 35, 84, 0.1);
  border-radius: 8px;
  object-fit: contain;
}

.corporate-buy-band .product-buy-panel {
  border: 1px solid rgba(14, 35, 84, 0.12);
  box-shadow: 0 24px 58px rgba(14, 35, 84, 0.1);
}

.purchase-assurance {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  color: #425f73;
  font-weight: 800;
}

.purchase-assurance span {
  padding-left: 18px;
  border-left: 3px solid #00848c;
}

@media (max-width: 980px) {
  .corporate-hero,
  .clinical-intro,
  .corporate-detail-band {
    grid-template-columns: 1fr;
  }

  .usage-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 260px;
    max-width: 100%;
  }

  .usage-photo-grid img:first-child {
    grid-row: auto;
  }

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

  .corporate-hero__media {
    min-height: 360px;
  }

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

  .order-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
  }

  .site-logo {
    min-width: 104px;
  }

  .site-logo img {
    width: 104px;
    height: 48px;
  }

  .site-nav {
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #c2dfe2;
    border-radius: 8px;
  }

  .site-nav a {
    justify-content: flex-start;
    width: 100%;
    padding: 0 10px;
  }

  .corporate-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.25rem);
  }

  .clinical-grid {
    grid-template-columns: 1fr;
  }

  .air-cushion-media {
    align-content: center;
    gap: 18px;
  }

  .air-cushion-media__label {
    position: static;
    max-width: 100%;
    justify-self: stretch;
  }

  .usage-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .usage-photo-grid img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .corporate-hero,
  .section-band {
    padding-left: 18px;
    padding-right: 18px;
  }
}

