/* Wholesale Distribution — logo-matched theme + site extras */

:root,
html.__variable_d5a796,
html {
  --font-poppins: "Poppins", "Poppins Fallback", sans-serif;

  /* Logo palette: blue cube + orange lid + steel grey */
  --teal: #0072BC;
  --teal-dark: #005A96;
  --blue-bright: #00AEEF;
  --accent: #F7941E;
  --accent-dark: #E07F0C;
  --ink: #2A2A2C;
  --gray: #6B6F76;
  --line: #D9E0E8;
  --cream: #F4F8FC;
  --bg-neutral: #EAF0F6;
  --footer-top: #0B2545;
  --footer-bottom: #06182E;
  --footer-accent: #00AEEF;
}

/* Eyebrows — logo blue shimmer (was teal green) */
.eyebrow {
  background: linear-gradient(90deg, #0072BC, #00AEEF 50%, #0072BC);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero brand word — blue → cyan → soft orange (logo cube) */
.hero__word--teal {
  background: linear-gradient(135deg, #00AEEF, #3B9BE8 40%, #F7941E 95%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Slide-button dark overlays were hardcoded green */
.btn__slide-bg-inner,
.navbar__cta-bg-inner {
  background-color: #003D6B !important;
}

.btn__slide-bg,
.navbar__cta-bg {
  background-color: var(--teal-dark) !important;
}

/* Section titles were green gradient */
.section-h2 {
  background: linear-gradient(135deg, #111827, #005A96 40%, #00AEEF 62%, #111827) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Soft section tint that used green wash */
.section--mint,
.trust-band,
.cta-band {
  background: var(--cream) !important;
}

/* Main stylesheet forces crisp-edges on every img — makes logos look blurry */
img {
  image-rendering: auto !important;
}

.products-grid .product-slider-card {
  flex: none;
  max-width: none;
  width: 100%;
  scroll-snap-align: unset;
}

/* Order / Cart form page */
.order-header {
  padding: 56px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--line, #E7E5E0);
  background: #fff;
}

.order-subtitle {
  color: var(--gray, #6B6F6E);
  max-width: 560px;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.65;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  padding-top: 36px;
  align-items: start;
}

.order-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--cream, #FBFAF8);
  border: 1px solid var(--line, #E7E5E0);
  border-radius: var(--radius-md, 16px);
}

.order-product-card,
.order-form-card {
  background: #fff;
  border: 1px solid var(--line, #E7E5E0);
  border-radius: var(--radius-md, 16px);
  padding: 22px;
}

.order-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-product-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: var(--cream, #FBFAF8);
  border-radius: var(--radius-sm, 14px);
  padding: 16px;
}

.order-product-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 10px;
  color: var(--ink, #1C1C1C);
}

.order-product-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.order-product-desc {
  color: var(--gray, #6B6F6E);
  font-size: 14px;
  line-height: 1.6;
}

.order-change-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
}

.order-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.order-form .form-group {
  margin-bottom: 14px;
}

.order-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink, #1C1C1C);
}

.order-form .req {
  color: #dc2626;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line, #E7E5E0);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink, #1C1C1C);
}

.order-form input:focus,
.order-form textarea:focus {
  outline: 2px solid rgba(0, 114, 188, 0.28);
  border-color: var(--teal);
}

.order-submit {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

.order-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.order-success {
  text-align: center;
  padding: 20px 8px;
}

@media (max-width: 900px) {
  .order-layout,
  .order-form .form-row {
    grid-template-columns: 1fr;
  }
}

.navbar__logo img {
  height: 72px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
  /* Global CSS uses crisp-edges on all imgs — that makes logo muddy */
  image-rendering: auto !important;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (max-width: 640px) {
  .navbar__logo img {
    height: 52px;
    max-width: 180px;
  }
}

.navbar__dropdown-wrap {
  position: relative;
}

.navbar__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  z-index: 100;
}

.navbar__dropdown[hidden] {
  display: none !important;
}

.navbar__dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--ink, #1C1C1C);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.navbar__dropdown-item:hover {
  background: #E8F4FC !important;
  color: var(--teal);
}

.navbar__mobile.is-open,
.navbar__mobile:not([hidden]) {
  display: block;
}

.navbar__mobile-submenu {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px 16px;
}

.navbar__mobile-submenu[hidden] {
  display: none !important;
}

.navbar__mobile-sublink {
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink, #1C1C1C);
  text-decoration: none;
}

.navbar__mobile-sublink:hover {
  color: var(--teal);
}

/* Categories */
.categories-section {
  position: relative;
  padding: 40px 0 60px;
}

.cat-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
  gap: 1.5rem;
}

.cat-header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-desc {
  margin-bottom: 0 !important;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray, #6B6F6E);
}

.slider-nav-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.slider-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line, #E7E5E0);
  background: #ffffff;
  color: var(--ink, #1C1C1C);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slider-nav-btn:hover:not(:disabled):not(.disabled) {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 114, 188, 0.28);
}

.slider-nav-btn:disabled,
.slider-nav-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.categories-slider-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 20px;
}

.categories-slider-track::-webkit-scrollbar {
  display: none;
}

.cat-circle-card {
  flex: 0 0 calc(33.333% - 18px);
  min-width: 250px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  gap: 16px;
  transition: transform 0.3s ease;
  outline: none;
}

.cat-circle-img-wrap {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.05);
  background-color: var(--bg-neutral, #F4F3F0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.cat-circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.cat-circle-card:hover .cat-circle-img-wrap {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 114, 188, 0.22), 0 6px 14px rgba(0, 0, 0, 0.08);
  border-color: var(--teal);
}

.cat-circle-card:hover .cat-circle-img-wrap img {
  transform: scale(1.1);
}

.cat-circle-label {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink, #1C1C1C);
  line-height: 1.35;
  max-width: 220px;
  text-align: center;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-circle-card:hover .cat-circle-label {
  color: var(--teal);
}

@media (max-width: 900px) {
  .cat-circle-card {
    flex: 0 0 220px;
    min-width: 200px;
    gap: 14px;
  }

  .cat-circle-img-wrap {
    width: 190px;
    height: 190px;
  }

  .cat-circle-label {
    font-size: 15px;
    max-width: 190px;
  }

  .desktop-desc {
    display: none;
  }
}

@media (max-width: 640px) {
  .categories-section {
    padding: 30px 0 40px;
  }

  .cat-header-row {
    margin-bottom: 20px;
    gap: 12px;
  }

  .cat-header-row .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
  }

  .cat-header-row .section-h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  .slider-nav-btn {
    width: 38px;
    height: 38px;
  }

  .categories-slider-track {
    gap: 20px;
    padding: 8px 4px 16px;
  }

  .cat-circle-card {
    flex: 0 0 68%;
    min-width: 210px;
    gap: 12px;
  }

  .cat-circle-img-wrap {
    width: 190px;
    height: 190px;
    border-width: 4px;
  }

  .cat-circle-label {
    font-size: 15px;
    max-width: 190px;
  }
}

/* Footer — deep navy from logo blues */
.site-footer {
  background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bottom) 100%);
  color: #ffffff;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font, sans-serif);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.8fr 0.9fr 1.2fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-wrap {
  margin-bottom: 16px;
}

.footer-logo-wrap img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: auto !important;
  /* Logo reads better on navy footer */
  filter: brightness(1.08) contrast(1.05);
}

.footer-brand-tagline {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 290px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--footer-accent);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--footer-accent), var(--accent));
  border-radius: 2px;
  opacity: 0.9;
}

.footer-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-list {
  gap: 16px;
}

.footer-contact-list .contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.contact-icon {
  color: var(--footer-accent);
  flex-shrink: 0;
}

.footer-contact-list .contact-item:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.dot-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 44px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ========== Distributor Signup ========== */
.dist-signup-page {
  background: linear-gradient(180deg, #F4F8FC 0%, #ffffff 40%);
}

.dist-header {
  padding: 64px 0 28px;
  text-align: center;
}

.dist-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}

.dist-subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.dist-form-section {
  padding: 12px 0 72px;
}

.dist-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 16px);
  padding: 28px 28px 32px;
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.06);
}

.dist-form__section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 22px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.dist-form__section-title:first-child {
  margin-top: 0;
}

.dist-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dist-form .form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.dist-form .form-group {
  margin-bottom: 14px;
}

.dist-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.dist-form .req {
  color: #dc2626;
}

.dist-form input[type="text"],
.dist-form input[type="email"],
.dist-form input[type="tel"],
.dist-form select,
.dist-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dist-form input:focus,
.dist-form select:focus,
.dist-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.18);
}

.dist-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6F76' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.file-upload-zone {
  display: block;
  cursor: pointer;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  background: var(--cream);
  padding: 28px 16px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-zone:hover {
  border-color: var(--teal);
  background: #EAF4FB;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
}

.file-upload-placeholder svg {
  color: var(--teal);
}

.file-upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.file-hint {
  font-size: 12px;
  color: var(--gray);
}

.dist-form .submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  min-height: 48px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .dist-form-card {
    padding: 22px 16px 26px;
  }

  .dist-form .form-row,
  .dist-form .form-row--3 {
    grid-template-columns: 1fr;
  }

  .dist-header {
    padding: 48px 0 20px;
  }
}

/* ========== Contact page ========== */
.contact-page {
  background: linear-gradient(180deg, #F4F8FC 0%, #ffffff 45%);
}

.contact-header {
  padding: 64px 0 28px;
  text-align: center;
}

.contact-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}

.contact-subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.contact-content {
  padding: 12px 0 72px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 16px);
  padding: 26px;
  box-shadow: 0 8px 28px rgba(11, 37, 69, 0.06);
}

.info-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.info-desc {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 114, 188, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.info-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .form-group {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.18);
}

.contact-form .submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* ========== Checkout ========== */
.checkout-page {
  background: #F7F8F4;
  min-height: 70vh;
  padding: 40px 0 72px;
}

.checkout-empty[hidden],
.checkout-filled[hidden],
.checkout-success[hidden],
.checkout-coupon__form[hidden],
.checkout-billing[hidden] {
  display: none !important;
}

.checkout-empty {
  display: flex;
  justify-content: center;
  padding: 24px 16px;
}

.checkout-empty__card {
  width: 100%;
  max-width: 600px;
  text-align: center;
  background: #fff;
  padding: 60px 30px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(20, 40, 60, 0.06);
}

.checkout-empty__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}

.checkout-empty__text {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.6;
}

.checkout-empty__btn {
  padding: 14px 32px;
}

.checkout-wrap {
  max-width: 1120px;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 10px;
  text-decoration: none;
}

.checkout-back:hover {
  color: var(--teal);
}

.checkout-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal);
  margin: 0 0 22px;
}

.checkout-coupon {
  background: #fff;
  border: 1px solid #E6E8E2;
  border-radius: 16px;
  margin-bottom: 22px;
  overflow: hidden;
}

.checkout-coupon__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.checkout-coupon__toggle svg {
  color: var(--teal);
  flex-shrink: 0;
}

.checkout-coupon__toggle strong {
  color: var(--teal);
  font-weight: 700;
}

.checkout-coupon__form {
  display: flex;
  gap: 10px;
  padding: 0 20px 18px;
}

.checkout-coupon__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #F3F4F0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.checkout-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 40, 60, 0.06);
}

.checkout-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 22px;
}

.co-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.co-field {
  margin-bottom: 14px;
}

.co-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

.co-optional {
  color: var(--gray);
  font-weight: 500;
}

.req {
  color: #dc2626;
}

.co-field input,
.co-field select,
.co-field textarea {
  width: 100%;
  border: 1px solid #E4E6E0;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  background: #F3F4F0;
  color: var(--ink);
  appearance: none;
}

.co-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6F76' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.14);
}

.co-mt {
  margin-top: 10px;
}

.co-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.co-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.co-notes textarea {
  min-height: 110px;
  resize: vertical;
}

.checkout-order {
  position: sticky;
  top: 100px;
}

.checkout-order__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 6px;
}

.checkout-order__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #F3F4F0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-order__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-order__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-order__qty-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}

.checkout-order__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.co-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #E4E6E0;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.checkout-order__qty-controls input {
  width: 48px;
  text-align: center;
  border: 1px solid #E4E6E0;
  border-radius: 8px;
  padding: 5px 4px;
  font: inherit;
  font-size: 13px;
  background: #F3F4F0;
}

.checkout-order__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.checkout-totals {
  border-top: 1px dashed #D9DDD4;
  padding-top: 14px;
  margin-bottom: 18px;
}

.checkout-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed #E6E8E2;
}

.checkout-totals__row:last-child {
  border-bottom: 0;
}

.checkout-totals__ship {
  color: var(--teal);
  font-weight: 700;
}

.checkout-totals__row--total {
  padding-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
}

.checkout-payment {
  border: 1.5px solid var(--teal);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  background: rgba(0, 114, 188, 0.04);
}

.checkout-payment__option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.checkout-payment__option input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.checkout-payment__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.checkout-payment__desc {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.checkout-privacy {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray);
  margin: 0 0 16px;
}

.checkout-privacy a {
  color: var(--teal);
  text-decoration: underline;
}

.checkout-place-order {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
}

.checkout-place-order:hover {
  background: var(--teal-dark);
}

.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: var(--gray);
}

.checkout-success {
  text-align: center;
  padding: 12px 0 4px;
}

.checkout-success__msg {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

@media (max-width: 960px) {
  .checkout-layout,
  .co-row {
    grid-template-columns: 1fr;
  }

  .checkout-order {
    position: static;
  }

  .checkout-page {
    padding: 28px 0 56px;
  }

  .checkout-card {
    padding: 22px 18px;
  }

  .checkout-coupon__form {
    flex-direction: column;
  }
}

/* ========== Legal pages (Privacy / Terms) ========== */
.legal-page {
  background: var(--cream);
  padding-bottom: 72px;
}

.legal-header {
  padding: 56px 0 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0, 174, 239, 0.12), transparent 60%),
    linear-gradient(180deg, #EAF4FB 0%, var(--cream) 100%);
}

.legal-header .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}

.legal-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}

.legal-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.65;
}

.legal-content {
  max-width: 860px;
  margin-top: 8px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.05);
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 12px;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-section li::marker {
  color: var(--teal);
}

.legal-section strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-contact-box {
  margin-top: 16px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-contact-box p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink);
}

.legal-contact-box p:last-child {
  margin-bottom: 0;
}

.legal-contact-box a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.legal-contact-box a:hover {
  color: var(--teal-dark);
}

@media (max-width: 700px) {
  .legal-header {
    padding: 40px 0 20px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .legal-section + .legal-section {
    margin-top: 22px;
    padding-top: 22px;
  }
}

