/* ----------------------------------------
   PRODUCT + CART
---------------------------------------- */

.nav {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(18, 44, 58, 0.08);
}
.logo-top {
  color: #163f56 !important;
  text-shadow: none !important;
}
#navLinks a {
  color: #1a4055 !important;
}
.nav-hamburger span {
  background: #163f56 !important;
}
.pg {
  overflow: visible;
}

.product-page {
  background: #fff;
  padding: 116px 48px 0;
}

.product-detail {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 64px;
}

.product-detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -116px;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(78, 143, 168, 0.1);
  background: radial-gradient(circle 340px at 20% 30%, rgba(90, 143, 168, 0.16) 0%, transparent 70%), radial-gradient(circle 300px at 82% 22%, rgba(245, 208, 192, 0.4) 0%, transparent 70%), #f6f9fa;
}

.product-page-wm .product-detail::before {
  background: radial-gradient(circle 340px at 20% 30%, rgba(0, 191, 99, 0.14) 0%, transparent 70%), radial-gradient(circle 300px at 82% 22%, rgba(238, 62, 129, 0.12) 0%, transparent 70%), #f6f9fa;
}

.product-page-gc .product-detail::before {
  background: radial-gradient(circle 340px at 20% 30%, rgba(240, 216, 68, 0.18) 0%, transparent 70%), radial-gradient(circle 300px at 82% 22%, rgba(255, 79, 184, 0.12) 0%, transparent 70%), #f6f9fa;
}

.product-page-rl .product-detail::before {
  background: radial-gradient(circle 340px at 20% 30%, rgba(155, 0, 82, 0.12) 0%, transparent 70%), radial-gradient(circle 300px at 82% 22%, rgba(90, 143, 168, 0.14) 0%, transparent 70%), #f6f9fa;
}

.product-page-raw .product-detail::before {
  background: radial-gradient(circle 340px at 20% 30%, rgba(143, 129, 115, 0.16) 0%, transparent 70%), radial-gradient(circle 300px at 82% 22%, rgba(90, 143, 168, 0.12) 0%, transparent 70%), #f6f9fa;
}

.product-back {
  display: inline-flex;
  margin: 0 auto 24px;
  color: #5a8fa8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 470px);
  gap: 56px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 780px;
}

.product-gallery {
  align-self: start;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 104px;
}

.product-orbit {
  position: absolute;
  inset: 7% 5% 15%;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(22, 63, 86, 0.16);
}

.product-orbit-wm {
  background: radial-gradient(circle at 50% 23%, rgba(255, 244, 228, 0.94) 0%, rgba(255, 244, 228, 0.3) 38%, transparent 58%), radial-gradient(ellipse at 56% 76%, #ee6f9c 0%, #d6336c 42%, #a51f4d 100%);
}
.product-orbit-gc {
  background: radial-gradient(circle at 50% 23%, rgba(255, 250, 218, 0.94) 0%, rgba(255, 250, 218, 0.3) 38%, transparent 58%), radial-gradient(ellipse at 56% 76%, #f7d261 0%, #efb534 42%, #d58b19 100%);
}
.product-orbit-rl {
  background: radial-gradient(circle at 50% 23%, rgba(255, 235, 244, 0.96) 0%, rgba(255, 235, 244, 0.3) 38%, transparent 58%), radial-gradient(ellipse at 56% 76%, #e28ab8 0%, #cf5d98 42%, #a43774 100%);
}
.product-orbit-raw {
  background: radial-gradient(circle at 50% 23%, rgba(247, 241, 233, 0.96) 0%, rgba(247, 241, 233, 0.3) 38%, transparent 58%), radial-gradient(ellipse at 56% 76%, #ddd1c4 0%, #b5a798 42%, #8f8173 100%);
}

.product-orbit-photo {
  background: transparent;
}

.product-hero-jar {
  position: relative;
  z-index: 2;
  width: min(58%, 360px);
  margin-bottom: 52px;
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.22));
}

.product-hero-photo {
  border-radius: 38px;
  box-shadow: 0 28px 70px rgba(22, 63, 86, 0.16);
  height: 78%;
  left: 5%;
  object-fit: cover;
  margin-bottom: 0;
  position: absolute;
  top: 7%;
  width: 90%;
  z-index: 2;
}

.product-hero-nutrition {
  background: #9ac3df;
  object-fit: contain;
  object-position: center;
  padding: 28px;
}

.product-gallery-thumbs {
  bottom: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.product-gallery-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(90, 143, 168, 0.18);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(22, 63, 86, 0.14);
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  width: 46px;
  z-index: 4;
}

.product-gallery-arrow::before {
  border-color: #163f56;
  border-style: solid;
  content: "";
  display: block;
  height: 12px;
  width: 12px;
}

.product-gallery-arrow-prev::before {
  border-width: 0 0 3px 3px;
  transform: translateX(2px) rotate(45deg);
}

.product-gallery-arrow-next::before {
  border-width: 3px 3px 0 0;
  transform: translateX(-2px) rotate(45deg);
}

.product-gallery:hover .product-gallery-arrow,
.product-gallery-arrow:focus-visible {
  opacity: 1;
}

.product-gallery-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.product-gallery-arrow-prev {
  left: 9%;
}

.product-gallery-arrow-next {
  right: 9%;
}

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

.product-gallery-thumb {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1.5px solid rgba(90, 143, 168, 0.22);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(22, 63, 86, 0.1);
  cursor: pointer;
  display: flex;
  height: 72px;
  justify-content: center;
  padding: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  width: 72px;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: #5a8fa8;
  box-shadow: 0 0 0 4px rgba(90, 143, 168, 0.12), 0 14px 34px rgba(22, 63, 86, 0.12);
  transform: translateY(-1px);
}

.product-page-wm .product-gallery-thumb.active {
  border-color: #00bf63;
  box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.1), 0 14px 34px rgba(22, 63, 86, 0.12);
}

.product-page-gc .product-gallery-thumb.active {
  border-color: #f0d844;
  box-shadow: 0 0 0 4px rgba(240, 216, 68, 0.14), 0 14px 34px rgba(22, 63, 86, 0.12);
}

.product-page-rl .product-gallery-thumb.active {
  border-color: #9b0052;
  box-shadow: 0 0 0 4px rgba(155, 0, 82, 0.1), 0 14px 34px rgba(22, 63, 86, 0.12);
}

.product-page-raw .product-gallery-thumb.active {
  border-color: #d8cec2;
  box-shadow: 0 0 0 4px rgba(143, 129, 115, 0.12), 0 14px 34px rgba(22, 63, 86, 0.12);
}

.product-gallery-thumb img {
  border-radius: 10px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-buybox h1,
.cart-header h1 {
  font-family: "League Spartan", sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: #163f56;
  margin: 0 0 18px;
}

.product-kicker {
  display: block;
  color: #5a8fa8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.product-lede,
.cart-header p {
  font-family: "Playfair Display", serif;
  color: #496a7a;
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.product-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #163f56;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  text-decoration: none;
  text-transform: uppercase;
}

.rating-stars {
  color: #f0d844;
  font-family: Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow:
    0.45px 0 #f0d844,
    -0.45px 0 #f0d844,
    0 0.45px #f0d844,
    0 -0.45px #f0d844;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.product-facts div {
  border: 1px solid rgba(90, 143, 168, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  padding: 16px;
}
.product-facts strong,
.product-facts span {
  display: block;
}
.product-facts strong {
  color: #163f56;
  font-size: 22px;
  font-weight: 900;
}
.product-facts span {
  color: #5f7b88;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flavor-switcher {
  margin-bottom: 24px;
}

.flavor-switcher-label {
  color: #35596a;
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.flavor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavor-option {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1.5px solid rgba(90, 143, 168, 0.18);
  border-radius: 100px;
  color: #35596a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  text-decoration: none;
}

.flavor-dot-group {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
}

.flavor-option.active {
  background: #fff;
  color: #163f56;
  cursor: default;
  pointer-events: none;
}

.flavor-option.active-wm {
  border-color: #00bf63;
  box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.1);
}

.flavor-option.active-gc {
  border-color: #f0d844;
  box-shadow: 0 0 0 4px rgba(240, 216, 68, 0.14);
}

.flavor-option.active-rl {
  border-color: #9b0052;
  box-shadow: 0 0 0 4px rgba(155, 0, 82, 0.1);
}

.flavor-option.active-raw {
  border-color: #d8cec2;
  box-shadow: 0 0 0 4px rgba(143, 129, 115, 0.12);
}

.flavor-dot {
  border-radius: 50%;
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.flavor-dot-wm-pink {
  background: #ee3e81;
}

.flavor-dot-wm-green {
  background: #00bf63;
}

.flavor-dot-gc-pink {
  background: #ff4fb8;
}

.flavor-dot-gc-yellow {
  background: #f0d844;
}

.flavor-dot-rl {
  background: #9b0052;
}

.flavor-dot-raw {
  background: #d8cec2;
  border: 1px solid rgba(143, 129, 115, 0.42);
}

.purchase-form {
  background: #fff;
  border: 1px solid rgba(90, 143, 168, 0.15);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(22, 63, 86, 0.08);
  padding: 18px;
}

.purchase-options {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.purchase-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1.5px solid rgba(90, 143, 168, 0.18);
  border-radius: 18px;
  cursor: pointer;
  padding: 16px;
}
.purchase-option:has(input:checked) {
  border-color: #5a8fa8;
  box-shadow: 0 0 0 4px rgba(90, 143, 168, 0.1);
}

.product-page-wm .purchase-option:has(input:checked) {
  border-color: #00bf63;
  box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.1);
}

.product-page-gc .purchase-option:has(input:checked) {
  border-color: #f0d844;
  box-shadow: 0 0 0 4px rgba(240, 216, 68, 0.14);
}

.product-page-rl .purchase-option:has(input:checked) {
  border-color: #9b0052;
  box-shadow: 0 0 0 4px rgba(155, 0, 82, 0.1);
}

.product-page-raw .purchase-option:has(input:checked) {
  border-color: #d8cec2;
  box-shadow: 0 0 0 4px rgba(143, 129, 115, 0.12);
}
.purchase-option input {
  accent-color: #5a8fa8;
}
.product-page-wm .purchase-option input {
  accent-color: #00bf63;
}
.product-page-gc .purchase-option input {
  accent-color: #f0d844;
}
.product-page-rl .purchase-option input {
  accent-color: #9b0052;
}
.product-page-raw .purchase-option input {
  accent-color: #8f8173;
  margin-top: 2px;
}
.purchase-option strong,
.purchase-option small {
  display: block;
}
.purchase-option strong {
  color: #163f56;
  font-size: 18px;
  margin-bottom: 4px;
}
.purchase-option small {
  color: #62808e;
  font-size: 14px;
  line-height: 1.35;
}

.purchase-controls {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  margin-bottom: 16px;
}
.purchase-controls.delivery-hidden {
  grid-template-columns: 110px;
}
.purchase-controls label {
  color: #35596a;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.purchase-controls label[hidden] {
  display: none;
}
.purchase-controls select,
.purchase-controls input {
  border: 1px solid rgba(90, 143, 168, 0.24);
  border-radius: 14px;
  color: #163f56;
  font: 700 16px "League Spartan", sans-serif;
  height: 48px;
  padding: 0 14px;
  width: 100%;
}

.purchase-controls .product-qty-control {
  align-items: center;
  border: 1px solid rgba(90, 143, 168, 0.24);
  border-radius: 14px;
  display: inline-flex;
  height: 48px;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
}

.purchase-controls .product-qty-control button {
  background: transparent;
  border: 0;
  color: #163f56;
  cursor: pointer;
  font: 400 18px "League Spartan", sans-serif;
  height: 48px;
  padding: 0;
  width: 34px;
}

.purchase-controls .product-qty-control input {
  border: 0;
  border-radius: 0;
  height: 46px;
  padding: 0;
  text-align: center;
  width: 34px;
}

.add-cart-btn,
.checkout-btn,
.empty-cart a {
  align-items: center;
  background: #163f56;
  border: 0;
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "League Spartan", sans-serif;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 52px;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

.add-cart-btn {
  gap: 9px;
}

.checkout-btn {
  gap: 9px;
}

.add-cart-btn:disabled,
.checkout-btn:disabled {
  opacity: 0.86;
}

.button-spinner {
  animation: button-spin 0.8s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  height: 15px;
  width: 15px;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  color: #62808e;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
}
.form-note a {
  color: #ee3e81;
  font-weight: 800;
}

.product-story {
  border-top: 1px solid rgba(90, 143, 168, 0.2);
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 0 112px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: 64px;
  align-items: center;
}

.product-story-media {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--story-dot-1, #5a8fa8) 55%, #fdf8f4) 0%, transparent 55%), radial-gradient(circle at 78% 75%, color-mix(in srgb, var(--story-dot-2, #f5d0c0) 55%, #fdf8f4) 0%, transparent 55%), #fdf8f4;
}

.product-story-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-story-media-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  color: #537384;
  font-family: "League Spartan", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.product-story-copy {
  background: radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--story-dot-1, #5a8fa8) 38%, #fdf8f4) 0%, transparent 54%), radial-gradient(circle at 84% 76%, color-mix(in srgb, var(--story-dot-2, #f5d0c0) 42%, #fdf8f4) 0%, transparent 58%), #fdf8f4;
  border-radius: 28px;
  padding: 52px;
  text-align: left;
}

.product-story h2 {
  color: #163f56;
  font-family: "League Spartan", sans-serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 0.95;
  margin-top: 14px;
  text-transform: uppercase;
}
.product-story-copy .product-kicker {
  margin: 0;
}
.product-story-copy p {
  color: #537384;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 46ch;
}

.product-story-minerals {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(90, 143, 168, 0.18);
  list-style: none;
}
.product-story-minerals li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #7c96a3;
  font-family: "League Spartan", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-story-minerals strong {
  color: #163f56;
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 860px) {
  .product-story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 72px;
  }
  .product-story-copy {
    padding: 36px 24px;
    text-align: center;
  }
  .product-story-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .product-story-minerals {
    justify-content: center;
  }
}

.product-info-panels {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 820px;
  padding: 72px 0 80px;
}

.product-info-panels::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #4e8fa8;
}

.product-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  gap: 4px;
  justify-content: center;
}

.product-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: "League Spartan", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: -1px;
  padding: 0 4px 16px;
  text-transform: uppercase;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.product-tab:hover {
  color: #fff;
}

.product-tab.active {
  color: #fff;
  border-bottom-color: #fff;
}

.product-page-wm .product-tab.active {
  border-bottom-color: #00bf63;
}
.product-page-gc .product-tab.active {
  border-bottom-color: #f0d844;
}
.product-page-rl .product-tab.active {
  border-bottom-color: #9b0052;
}
.product-page-raw .product-tab.active {
  border-bottom-color: #fff;
}

.product-tabs .product-tab + .product-tab {
  margin-left: 28px;
}

.product-tab-panels {
  padding: 32px 0 36px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  animation: product-tab-fade 0.2s ease;
  display: block;
}

@keyframes product-tab-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-tab-panel p {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.75;
  text-align: center;
}
.product-tab-panel p + p {
  margin-top: 16px;
}
.product-copy-separator {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin: 20px auto;
}

.product-copy-separator::before,
.product-copy-separator::after {
  border-radius: 50%;
  content: "";
  display: block;
  height: 12px;
  width: 12px;
  box-shadow: 0 0 0 1.5px rgba(22, 63, 86, 0.4);
}

.product-copy-separator-wm::before {
  background: #ee3e81;
}

.product-copy-separator-wm::after {
  background: #00bf63;
}

.product-copy-separator-gc::before {
  background: #ff4fb8;
}

.product-copy-separator-gc::after {
  background: #f0d844;
}

.product-copy-separator-rl::before,
.product-copy-separator-rl::after {
  background: #9b0052;
}

.product-copy-separator-raw::before,
.product-copy-separator-raw::after {
  background: #d8cec2;
  border: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.product-copy-separator-rl::after,
.product-copy-separator-raw::after {
  display: none;
}

.product-mineral-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px auto 0;
  max-width: 480px;
}

.product-mineral-list div {
  background: #fff;
  border: 1px solid rgba(90, 143, 168, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(22, 63, 86, 0.1);
  padding: 16px 18px;
  text-align: center;
}

.product-mineral-list dt {
  color: #5f7b88;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.product-mineral-list dd {
  color: #163f56;
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

@media (max-width: 560px) {
  .product-tabs {
    border-bottom: none;
    display: grid;
    gap: 12px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-tabs .product-tab + .product-tab {
    margin-left: 0;
  }
  .product-tab {
    font-size: 12px;
    margin-bottom: 0;
    padding: 0 4px 12px;
    text-align: center;
    width: 100%;
  }
}

.cart-page {
  background: #fdf8f4;
  min-height: 80vh;
  padding: 140px 48px 96px;
}
.cart-header,
.cart-layout {
  max-width: 1080px;
  margin: 0 auto;
}
.cart-header {
  margin-bottom: 40px;
}
.cart-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 340px;
}
.cart-items {
  display: grid;
  gap: 14px;
}
.cart-item,
.cart-summary,
.empty-cart {
  background: #fff;
  border: 1px solid rgba(90, 143, 168, 0.15);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(22, 63, 86, 0.08);
}
.cart-item {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 96px minmax(0, 1fr) 150px;
  padding: 18px;
}
.cart-item-image {
  align-items: center;
  background: var(--cart-item-bg, #fdf8f4);
  border-radius: 18px;
  display: flex;
  height: 104px;
  justify-content: center;
  padding: 10px;
  width: 96px;
}
.cart-item img {
  max-height: 104px;
  object-fit: contain;
  width: 100%;
}
.cart-item h2,
.empty-cart h2 {
  color: #163f56;
  font-family: "League Spartan", sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.cart-item p,
.empty-cart p {
  color: #62808e;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.cart-item strong {
  color: #163f56;
}
.cart-item-price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cart-item-price s {
  color: #7f98a4;
  font-weight: 700;
}
.cart-item-actions {
  display: grid;
  gap: 8px;
}
.cart-qty-control {
  align-items: center;
  border: 1px solid rgba(90, 143, 168, 0.24);
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: space-between;
  max-width: 120px;
  overflow: hidden;
}
.cart-qty-control button {
  background: transparent;
  border: 0;
  color: #163f56;
  cursor: pointer;
  font: 400 18px "League Spartan", sans-serif;
  height: 42px;
  padding: 0;
  width: 38px;
}
.cart-qty-control span {
  color: #163f56;
  font: 800 14px "League Spartan", sans-serif;
  min-width: 30px;
  text-align: center;
}
.cart-item-actions label {
  color: #35596a;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cart-item-actions input {
  border: 1px solid rgba(90, 143, 168, 0.24);
  border-radius: 12px;
  height: 42px;
  padding: 0 10px;
}
.cart-item-actions button {
  background: transparent;
  border: 0;
  color: #35596a;
  cursor: pointer;
  font: 500 11px "League Spartan", sans-serif;
  letter-spacing: 0.12em;
  margin-left: auto;
  text-align: left;
  text-transform: uppercase;
}
.cart-summary {
  padding: 24px;
  position: sticky;
  top: 96px;
}
.summary-row {
  align-items: center;
  border-bottom: 1px solid rgba(90, 143, 168, 0.14);
  color: #537384;
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
}
.summary-row strong {
  color: #163f56;
}
.checkout-btn {
  margin-top: 18px;
}
.empty-cart {
  padding: 32px;
}
.empty-cart a {
  margin-top: 10px;
  width: auto;
}

@media (max-width: 900px) {
  .product-page,
  .cart-page {
    padding-left: 24px;
    padding-right: 24px;
  }
  .product-page {
    padding-top: 88px;
  }
  .product-detail {
    padding-top: 16px;
  }
  .product-detail,
  .cart-layout,
  .product-story {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    height: 560px;
    min-height: 560px;
    position: relative;
    top: auto;
  }
  .cart-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .product-page {
    padding-top: 76px;
  }
  .product-detail {
    padding-top: 8px;
  }
  .product-buybox h1,
  .cart-header h1 {
    font-size: 46px;
  }
  .product-gallery {
    height: 500px;
    min-height: 500px;
  }
  .product-orbit {
    inset: 0 0 96px;
  }
  .product-hero-photo {
    height: calc(100% - 96px);
    left: 0;
    top: 0;
    width: 100%;
  }
  .product-gallery-thumbs {
    bottom: 0;
  }
  .product-gallery-thumb {
    height: 62px;
    width: 62px;
  }
  .product-gallery-arrow {
    height: 40px;
    opacity: 1;
    width: 40px;
  }
  .product-gallery-arrow-prev {
    left: 6%;
  }
  .product-gallery-arrow-next {
    right: 6%;
  }
  .product-orbit {
    border-radius: 28px;
  }
  .flavor-options,
  .purchase-controls,
  .cart-item {
    grid-template-columns: 1fr;
  }
  .product-facts {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-facts div {
    border-radius: 14px;
    padding: 12px 10px;
  }
  .product-facts strong {
    font-size: 18px;
  }
  .product-facts span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .flavor-options {
    display: grid;
  }
  .cart-item-actions {
    max-width: 160px;
  }
}
