:root {
  --ink: #17202a;
  --muted: #667085;
  --line: #dfe7f1;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --navy: #0d2d5c;
  --blue: #1d4f91;
  --teal: #00b8c8;
  --teal-soft: #e8fbfd;
  --blue-soft: #edf4fb;
  --coral: #00b8c8;
  --gold: #00b8c8;
  --green: #25d366;
  --shadow: 0 18px 55px rgba(13, 45, 92, 0.16);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.initial-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.initial-loader-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: min(280px, 100%);
  padding: 28px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.initial-loader-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.initial-loader-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.initial-loader-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0, 184, 200, 0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}

html.catalog-loading body > :not(.initial-loader) {
  visibility: hidden;
}

html:not(.catalog-loading) .initial-loader {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

body.cart-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: 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: 12px;
  min-height: 66px;
  padding: 8px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 233, 240, 0.88);
  backdrop-filter: blur(14px);
}

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

.brand-logo-wrap {
  display: grid;
  width: 68px;
  height: 54px;
  flex: 0 0 68px;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(0, 184, 200, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(13, 45, 92, 0.14);
}

.brand-logo-wrap picture,
.brand-logo {
  width: 100%;
  height: 100%;
}

.brand-logo {
  object-fit: contain;
}

.brand strong {
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-actions a {
  color: var(--muted);
}

.quote-pill,
.icon-button {
  border: 0;
  cursor: pointer;
}

.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 800;
}

.quote-count {
  display: inline;
  min-width: 0;
  height: auto;
  color: var(--teal);
  background: transparent;
  border-radius: 0;
  font-weight: 900;
}

.quote-bump {
  animation: quoteBump 0.42s ease;
}

.hero {
  position: relative;
  min-height: clamp(330px, 44vh, 430px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 45, 92, 0.1), rgba(13, 45, 92, 0.82));
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 42px clamp(18px, 6vw, 72px) 28px;
}

.hero-logo {
  display: grid;
  width: 76px;
  height: 66px;
  margin-bottom: 10px;
  place-items: center;
  overflow: hidden;
  background: rgba(13, 45, 92, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.5;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 12px 28px rgba(0, 184, 200, 0.28);
}

.btn-secondary {
  color: var(--navy);
  background: var(--blue-soft);
  border-color: #c8d9ee;
}

.product-card .card-actions .btn-primary:first-child,
.featured-actions .btn-primary:first-child {
  color: var(--navy);
  background: var(--blue-soft);
  border-color: #c8d9ee;
  box-shadow: none;
}

.product-card .card-actions .btn-secondary:last-child,
.featured-actions .btn-secondary:last-child {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 184, 200, 0.28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-full {
  width: 100%;
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.benefits-strip article {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(14px, 3vw, 34px);
  background: #fff;
}

.benefits-strip span,
.product-card small,
.cart-line small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.benefits-strip strong {
  display: block;
  margin-top: 4px;
}

.trust-strip span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.trust-strip strong {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.section {
  padding: 52px clamp(16px, 4vw, 56px);
}

.home-featured {
  background: #fff;
}

.compact-featured {
  padding-top: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.featured-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.featured-strip-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.featured-strip-link {
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.featured-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.featured-tile {
  flex: 0 0 clamp(270px, 31vw, 390px);
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 98px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(13, 45, 92, 0.08);
  scroll-snap-align: start;
}

.featured-media {
  width: 74px;
  height: 74px;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

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

.featured-tile:hover .featured-media img {
  transform: scale(1.05);
}

.featured-copy {
  min-width: 0;
}

.featured-copy span {
  display: block;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-copy h3 {
  display: -webkit-box;
  margin: 4px 0 5px;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.15;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.featured-copy strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.featured-copy em {
  display: inline-flex;
  margin-top: 4px;
  padding: 3px 8px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-actions {
  display: grid;
  gap: 6px;
}

.btn-mini {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.78rem;
}

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

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.08;
}

.catalog-tools {
  position: sticky;
  top: 67px;
  z-index: 10;
  display: grid;
  gap: 12px;
  padding: 14px 0 18px;
  background: var(--soft);
}

.search-box {
  display: grid;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.catalog-search {
  position: relative;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 184, 200, 0.36);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(13, 45, 92, 0.11);
}

.catalog-search::before {
  content: "";
  position: absolute;
  left: 32px;
  bottom: 33px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  pointer-events: none;
}

.catalog-search::after {
  content: "";
  position: absolute;
  left: 47px;
  bottom: 30px;
  width: 9px;
  height: 2px;
  background: var(--teal);
  border-radius: 999px;
  transform: rotate(45deg);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 50px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d9ee;
  border-radius: var(--radius);
  outline: 0;
  font-weight: 800;
}

.search-box input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 184, 200, 0.14);
}

.search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.clear-search {
  min-height: 38px;
  padding: 0 12px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.clear-search:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.search-clear-mobile {
  display: none;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px 0 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(13, 45, 92, 0.05);
}

.category-tabs button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.category-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-color: var(--navy);
}

.category-tabs button.active span {
  color: var(--navy);
  background: var(--teal);
}

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

.product-card,
.benefit-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(13, 45, 92, 0.08);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  border-color: rgba(0, 184, 200, 0.36);
  box-shadow: 0 18px 44px rgba(13, 45, 92, 0.14);
  transform: translateY(-3px);
}

.product-image-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce8f4;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-min:empty,
.product-description:empty,
.product-options:empty {
  display: none;
}

.product-card h3 {
  margin: 9px 0 8px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 8px;
}

.price-row div {
  padding: 12px;
  background: var(--soft);
  border: 1px solid #e5edf6;
  border-radius: var(--radius);
}

.price-row strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 1.05rem;
}

.wholesale-benefit {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 184, 200, 0.2);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.wholesale-benefit span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wholesale-benefit:empty {
  display: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chips span,
.choice-group button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  text-align: center;
  line-height: 1.2;
}

.card-actions {
  margin-top: auto;
  padding-top: 16px;
}

.card-actions .btn {
  flex: 1 1 130px;
}

.benefit-grid article {
  padding: 20px;
}

.benefit-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-weight: 900;
}

.benefit-grid h3 {
  margin: 16px 0 8px;
}

.benefit-grid p,
.empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-detail {
  min-height: 100vh;
  padding: 30px clamp(16px, 4vw, 56px) 70px;
  background: #fff;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: start;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-main {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.gallery-thumbs button {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--teal);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-info h1 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.detail-info p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink);
  font-weight: 700;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 99px;
}

.detail-meta,
.detail-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

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

.detail-meta span,
.detail-options > div {
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.detail-options h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.selector-box {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.selector-box label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-group button {
  cursor: pointer;
}

.choice-group button.active {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.selector-box input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  justify-items: end;
  background: rgba(13, 45, 92, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 45, 92, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-card {
  width: min(880px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

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

.video-modal-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.video-modal-frame {
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.video-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

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

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-head h2 {
  margin: 0;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--soft);
  border-radius: var(--radius);
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 16px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-line img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.cart-applied-price {
  display: grid;
  gap: 2px;
  margin: 8px 0;
  padding: 9px 10px;
  background: var(--soft);
  border-radius: var(--radius);
}

.cart-applied-price strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.cart-qty {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.cart-qty input {
  width: 96px;
  min-height: 38px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.cart-qty input:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 184, 200, 0.12);
}

.cart-line .cart-volume-message {
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.cart-line .cart-volume-message.applied {
  color: #087f5b;
}

.cart-saving {
  margin-top: 7px;
  padding: 8px 10px;
  background: rgba(0, 184, 200, 0.08);
  border-radius: var(--radius);
}

.cart-saving[hidden] {
  display: none;
}

.cart-line .cart-saving p,
.cart-line .cart-saving strong {
  color: #087f5b;
  font-weight: 800;
}

.cart-line-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.cart-subtotal {
  display: grid;
  gap: 2px;
}

.cart-subtotal strong {
  color: var(--navy);
}

.cart-line-actions button {
  padding: 0;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}

.cart-tax-note {
  margin: -5px 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
  font-weight: 900;
  transition: bottom 0.22s ease;
}

.whatsapp-float.footer-near {
  bottom: max(88px, calc(72px + env(safe-area-inset-bottom)));
}

.quote-toast {
  position: fixed;
  right: 16px;
  bottom: 82px;
  z-index: 35;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.quote-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px clamp(16px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, var(--navy), #082148);
  border-top: 4px solid var(--teal);
}

.site-footer strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer div:nth-child(2) {
  display: grid;
  gap: 4px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-footer a,
.site-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.6s ease forwards;
}

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

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

  45% {
    transform: scale(1.06);
    box-shadow: 0 0 0 5px rgba(0, 184, 200, 0.18);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1060px) {
  .hero {
    min-height: clamp(310px, 42vh, 390px);
  }

  .benefits-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 54px;
    height: 42px;
    flex-basis: 54px;
  }

  .brand small,
  .nav-actions a {
    display: none;
  }

  .quote-pill {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: clamp(270px, 40vh, 340px);
  }

  .hero-content {
    padding: 34px 18px 24px;
  }

  .hero-logo {
    width: 58px;
    height: 50px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .hero-copy {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
    min-height: 44px;
  }

  .product-grid,
  .benefit-grid,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .benefits-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-strip article {
    padding: 12px;
  }

  .trust-strip strong {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .section {
    padding: 42px 16px;
  }

  .compact-featured {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .section-heading {
    display: block;
  }

  .featured-strip-head {
    align-items: start;
  }

  .featured-strip-link {
    display: none;
  }

  .featured-tile {
    flex-basis: 285px;
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 112px;
  }

  .featured-media {
    width: 66px;
    height: 66px;
  }

  .featured-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .catalog-tools {
    top: 62px;
  }

  .catalog-search {
    padding: 14px;
  }

  .catalog-search::before {
    left: 28px;
    bottom: 29px;
  }

  .catalog-search::after {
    left: 43px;
    bottom: 26px;
  }

  .search-box input {
    min-height: 54px;
  }

  .search-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .clear-search {
    width: 100%;
  }

  .product-card {
    box-shadow: 0 10px 28px rgba(13, 45, 92, 0.09);
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    width: 100%;
  }

  .detail-meta,
  .detail-options {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .site-footer nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .catalog-tools {
    gap: 6px;
    padding: 6px 0 8px;
  }

  .catalog-search {
    gap: 5px;
    padding: 8px 10px;
  }

  .catalog-search > span {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .catalog-search::before {
    left: 22px;
    bottom: 22px;
  }

  .catalog-search::after {
    left: 37px;
    bottom: 19px;
  }

  .search-box input {
    min-height: 44px;
    padding: 0 46px 0 42px;
    font-size: 0.92rem;
  }

  [data-search-input]::-webkit-search-cancel-button,
  [data-search-input]::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
  }

  .search-clear-mobile:not([hidden]) {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
  }

  .search-actions {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .search-actions p {
    min-width: 0;
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .clear-search:not(.search-clear-mobile) {
    display: none;
  }

  .clear-search {
    width: auto;
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .category-tabs {
    position: relative;
    gap: 8px;
    padding-bottom: 0;
    padding-right: 20px;
  }

  .category-tabs.has-more-categories:not(.categories-at-end)::after {
    content: "›";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    width: 30px;
    place-items: center end;
    padding-right: 2px;
    color: var(--blue);
    background: linear-gradient(to right, transparent, var(--soft) 58%);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
  }

  .category-tabs button {
    gap: 6px;
    min-height: 38px;
    padding: 0 10px 0 7px;
    font-size: 0.82rem;
  }

  .category-tabs button span {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
  }
}
