/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE — Custom WC template overrides
   ═══════════════════════════════════════════════════════════ */

/* ─── Shop / PLP ─── */
.listing-section {
  padding: var(--gap-2xl) 0 var(--gap-xl);
}
.listing-title {
  text-align: center;
  margin-bottom: var(--gap-2xl);
}
.listing-title .dark { color: var(--sky-deep); }
.listing-title .blue { color: var(--sky-bright); }

/* ─── Category Group (PLP sections) ─── */
.category-group {
  margin-bottom: var(--gap-3xl);
}
.category-group:last-child {
  margin-bottom: 0;
}
.category-group-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: -1px;
  padding-bottom: var(--gap-sm);
  border-bottom: 2px solid var(--sky-bright);
  margin-bottom: var(--gap-xl);
}

.woocommerce-main .container {
  padding-top: 0;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-grid-gap);
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}
.woocommerce ul.products li.product:only-child {
  grid-column-start: 2;
}

/* ─── Product Card (in grid) ─── */
.woocommerce ul.products li.product .product-card {
  height: 100%;
}

.product-card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.product-card-link:hover { color: inherit; }

/* ═══════════════════════════════════════════════════════════
   CATEGORY PRICING LAYOUT — Pricing cards for /category/* pages
   ═══════════════════════════════════════════════════════════ */

/* ─── Section ─── */
.cat-pricing-section {
  padding: var(--gap-3xl) 0 var(--gap-2xl);
  background: var(--off-white);
}
.cat-pricing-heading {
  text-align: center;
  margin-bottom: var(--gap-sm);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--sky-deep);
}
.cat-pricing-heading .dark  { color: var(--sky-deep); }
.cat-pricing-heading .accent { color: var(--signal); }
.cat-pricing-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--slate);
  margin-bottom: var(--gap-2xl);
}

/* ─── Two-column grid ─── */
.cat-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 16px auto 0;
  align-items: stretch;
}

/* ─── Card base ─── */
.cat-pricing-card {
  background: var(--white);
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* ─── Featured card (combo) ─── */
.cat-pricing-featured {
  background: var(--sky-deep);
  border: 1.5px solid rgba(77, 166, 255, 0.2);
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.25);
}
.cat-pricing-featured .cat-pricing-name {
  color: #fff;
}
.cat-pricing-featured .cat-pricing-desc {
  color: rgba(255, 255, 255, 0.72);
}
.cat-pricing-featured .cat-pricing-current {
  color: #fff;
}
.cat-pricing-featured .cat-pricing-original {
  color: rgba(255, 255, 255, 0.4);
}
.cat-pricing-featured .cat-pricing-save {
  background: rgba(253, 125, 52, 0.15);
  color: var(--signal);
}
.cat-pricing-featured .cat-pricing-features-heading {
  color: rgba(255, 255, 255, 0.6);
}
.cat-pricing-featured .cat-pricing-features {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.cat-pricing-featured .cat-pricing-features li {
  color: rgba(255, 255, 255, 0.85);
}
.cat-pricing-featured .cat-pricing-features li + li {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.cat-pricing-featured .cat-pricing-rating .rating-count {
  color: rgba(255, 255, 255, 0.6);
}
.cat-pricing-featured .star-empty {
  color: rgba(255, 255, 255, 0.25);
}

/* ─── "MOST POPULAR" badge ─── */
.cat-pricing-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--signal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ─── Tags row ─── */
.cat-pricing-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── Card name ─── */
.cat-pricing-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0;
}

/* ─── Card description ─── */
.cat-pricing-desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

/* ─── Star rating ─── */
.cat-pricing-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-pricing-rating .stars-wrapper {
  display: flex;
  gap: 0;
}
.cat-pricing-rating .rating-count {
  font-size: 13px;
  color: var(--slate);
}

/* ─── Price block ─── */
.cat-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-pricing-current {
  font-size: 36px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: -1px;
}
.cat-pricing-current .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.cat-pricing-original {
  font-size: 18px;
  color: var(--slate);
  text-decoration: line-through;
}
.cat-pricing-save {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-dark);
  background: var(--signal-pale);
  padding: 3px 10px;
  border-radius: var(--radius-tag);
}

/* ─── CTA button ─── */
.cat-pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ─── Demo link ─── */
.cat-pricing-demo-link {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
}
.cat-pricing-demo-link:hover {
  color: var(--sky-bright);
  text-decoration: underline;
}

/* ─── Feature checklist ─── */
.cat-pricing-features {
  border-top: 1px solid var(--horizon);
  padding-top: 20px;
}
.cat-pricing-cta {
  margin-top: auto;
}
.cat-pricing-features-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--slate);
  margin: 0 0 4px;
}
.cat-pricing-features-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-deep);
  margin: 0 0 12px;
}
.cat-pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cat-pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.cat-pricing-features li + li {
  border-top: 1px solid var(--horizon);
}
.cat-feat-yes::before {
  content: '✓';
  color: #22C55E;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.cat-feat-no::before {
  content: '✗';
  color: rgba(11, 31, 58, 0.25);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.cat-feat-no {
  color: var(--slate);
}

/* ─── Platform-exclusive features (combo card) ─── */
.cat-feat-platform {
  color: rgba(255, 255, 255, 0.85);
}
.cat-feat-platform::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  flex-shrink: 0;
}
.cat-feat-platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(253, 125, 52, 0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: auto;
}

/* ─── Eyebrow label on pricing cards ─── */
.cat-pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--slate);
}
.cat-pricing-eyebrow--dark {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Product image inside pricing card ─── */
.cat-pricing-image {
  background: var(--off-white);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}
.cat-pricing-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-pricing-image--dark {
  background: var(--white);
}

/* ─── Featured card CTA glow ─── */
.cat-pricing-featured .cat-pricing-cta.btn-primary {
  box-shadow: 0 4px 16px rgba(253, 125, 52, 0.3);
}
.cat-pricing-featured .cat-pricing-cta.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(253, 125, 52, 0.45);
}

/* ─── Product Catalogue Sections ─── */
.cat-products-section {
  padding: var(--gap-2xl) 0;
  background: #fff;
}
.cat-products-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.cat-products-col ul.products,
.cat-products-col ul.products[class*="columns"] {
  grid-template-columns: 1fr !important;
  max-width: 100% !important;
  margin: 0 !important;
  justify-content: start !important;
}
.cat-products-col ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
}
.cat-products-col .product-card {
  width: 100%;
}
/* Mockup images in combo cards — contain within fixed-height container */
.product-card--featured .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── Dark navy combo card — category page dual layout only ─── */
.cat-products-col .product-card--featured {
  background: var(--sky-deep);
  border-color: rgba(77, 166, 255, 0.2);
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.25);
}
.cat-products-col .product-card--featured .product-card-name {
  color: #fff;
}
.cat-products-col .product-card--featured .product-card-desc {
  color: rgba(255, 255, 255, 0.72);
}
.cat-products-col .product-card--featured .product-card-img {
  background: var(--white);
}
.cat-products-col .product-card--featured .price-main,
.cat-products-col .product-card--featured .price-wrapper {
  color: #fff;
}
.cat-products-col .product-card--featured .price-original {
  color: rgba(255, 255, 255, 0.4);
}
.cat-products-col .product-card--featured .star-filled { color: #F5A623; }
.cat-products-col .product-card--featured .star-empty  { color: rgba(255, 255, 255, 0.25); }
.cat-products-col .product-card--featured .rating-count { color: rgba(255, 255, 255, 0.6); }
.cat-products-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--sky-deep);
  letter-spacing: -1px;
  margin-bottom: var(--gap-sm);
  text-align: center;
}
.cat-products-heading .accent {
  color: var(--signal);
}
.cat-products-subtitle {
  font-size: 16px;
  color: var(--slate);
  margin-bottom: var(--gap-xl);
  text-align: center;
}
.cat-products-section ul.products,
.cat-products-section ul.products[class*="columns"] {
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

/* ─── Combo product cards: distinct border to match featured pricing card ─── */
.cat-products-section--combo .product-card {
  border-color: var(--sky-deep);
  border-width: 2px;
}

/* ─── Category Pricing: Responsive ─── */
@media (max-width: 767px) {
  .cat-products-dual {
    grid-template-columns: 1fr;
  }
  .cat-products-col--combo {
    order: -1;
  }
}
@media (max-width: 768px) {
  .cat-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .cat-pricing-featured {
    order: -1;
  }
  .cat-pricing-heading {
    font-size: 28px;
  }
  .cat-pricing-card {
    padding: 24px;
  }
  .cat-pricing-current {
    font-size: 28px;
  }
  .cat-pricing-name {
    font-size: 20px;
  }
  .cat-pricing-badge {
    right: 16px;
  }
  .cat-pricing-image {
    min-height: 120px;
    padding: 12px;
  }
  .cat-pricing-image img {
    max-height: 180px;
  }
  .cat-feat-platform-pill {
    font-size: 9px;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .cat-pricing-section {
    padding: var(--gap-2xl) 0 var(--gap-xl);
  }
  .cat-pricing-card {
    padding: 20px;
  }
  .cat-pricing-heading {
    font-size: 24px;
  }
}

/* ─── Single Product (PDP) ─── */
.woocommerce-product-section {
  width: 100%;
  background: #fff;
  padding: 32px 0 64px;
}
.product-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}
.product-left {
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--navbar-height, 80px) + 32px);
  align-self: flex-start;
}
.product-right {
  width: 688px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--navbar-height, 80px) + 32px);
  align-self: flex-start;
}

/* Product images */
.product-image-wrapper { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  background: var(--off-white);
  border-radius: var(--radius-card-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.main-image img { max-height: 420px; max-width: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }

/* ── Lightbox ── */
.de-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.de-lightbox.is-open { display: flex; }
.de-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-card-sm);
  transform: scale(1);
  transition: transform 0.25s ease;
  cursor: zoom-in;
}
.de-lightbox-img.is-zoomed {
  transform: scale(2);
  cursor: zoom-out;
}
.de-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
}
.de-lightbox-close:hover { opacity: 1; }
.gallery { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 120px;
  height: 120px;
  background: var(--off-white);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.gallery-thumb:hover,
.gallery-thumb.active { box-shadow: 0 0 0 2px var(--sky-bright); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Product info */
.product-name {
  font-size: 32px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1;
}
.product-short-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.8);
  letter-spacing: -0.3px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-short-desc p { margin: 0; }
.product-short-desc ul { list-style: disc; padding-left: 24px; margin: 0; }
.product-short-desc ul li { font-size: 16px; color: rgba(11,31,58,0.8); letter-spacing: -0.3px; line-height: 1.6; margin-bottom: 4px; }
.product-short-desc h2,
.product-short-desc h3,
.product-short-desc h4,
.product-short-desc h5 { margin-top: 8px; }
.product-short-desc a { color: var(--sky-bright); text-decoration: underline; }
.product-short-desc a:hover { color: var(--sky-electric); }

/* Info strip */
.info-strip {
  display: flex;
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
}
.info-item {
  flex: 1;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border-right: 1px solid var(--horizon-dark);
  text-align: center;
}
.info-item:last-child { border-right: none; }
.info-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.info-icon svg {
  width: 100%;
  height: 100%;
}
.info-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.88px;
  text-transform: uppercase;
  line-height: 1.2;
}
.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Price block */
.price-block { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 16px; }
.price-current {
  font-size: 48px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -2px;
  line-height: 1;
}
.price-old {
  font-size: 24px;
  font-weight: 400;
  color: rgba(255,0,0,0.55);
  text-decoration: line-through;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* CTA block */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* form.cart stacks plugin addons below the qty + button row */
form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
}
/* Qty + Add-to-cart button row */
.cta-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* CUW plugin addon section — card styles are inline in template-2.php;
   hover and child styles handled here. */
.cuw-product-addons:hover {
  border-color: var(--sky-bright) !important;
}
.cuw-product-addons .cuw-product-row {
  gap: 16px !important;
  align-items: center !important;
}
.cuw-product-addons .cuw-product-row > div {
  gap: 16px !important;
  align-items: center !important;
}
.cuw-product-addons .cuw-product-image {
  width: 80px !important;
  height: 80px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.cuw-product-addons .cuw-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.cuw-product-addons .cuw-product-checkbox {
  width: 22px !important;
  height: 22px !important;
  border: 1px solid var(--horizon-dark) !important;
  border-radius: 4px !important;
  background: #fff !important;
  margin: 0 !important;
  cursor: pointer;
}
.cuw-product-addons .cuw-product-title a {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--sky-deep) !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}
.cuw-product-addons .cuw-product-price {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--sky-deep) !important;
  letter-spacing: -0.5px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.cuw-product-addons .cuw-product-addons-pricing-section {
  display: none !important;
}

/* Qty input — hide native number spinners and any default border */
.qty-input {
  width: 32px;
  text-align: center;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  color: var(--sky-deep);
  letter-spacing: -0.6px;
  font-family: var(--font-body);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-selector .qty-input,
.qty-selector .qty-input:focus,
.qty-selector .qty-input:active {
  border: none;
  outline: none;
  box-shadow: none;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Trust microcopy */
.trust-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.trust-info {
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-info svg { width: 14px; height: 14px; flex-shrink: 0; }
.trust-info span { font-size: 12px; font-weight: 500; color: rgba(11,31,58,0.75); letter-spacing: -0.3px; }
.trust-dot { font-size: 13px; color: rgba(11,31,58,0.75); }

/* Guaranteed Safe Checkout – Astra built-in (.ast-single-product-payments) */
.ast-single-product-payments { margin-top: 6px; border-color: #dddddd; padding: 30px !important; border-radius: 4px !important; }
.ast-single-product-payments legend { text-align: center !important; font-size: 1.1em !important; font-weight: 600 !important; }
.ast-single-product-payments ul { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.ast-single-product-payments li.ast-custom-payment { display: inline-flex; align-items: center; }
.ast-single-product-payments .ahfb-svg-iconset { display: inline-flex; }
.ast-single-product-payments .ahfb-svg-iconset svg { width: 52px !important; height: 34px !important; }

/* ─── Cart Page ─── */
body.woocommerce-cart { background: #fff !important; }
.cart-section {
  width: 100%;
  background: #fff;
  padding: 40px 0 40px;
}
/* Consistent 40px gap between every top-level cart section */
.cart-section .woocommerce-cart-form { margin-bottom: 40px; }
/* WooCommerce notice injected between banner and cart table (e.g. ?removed_item=1) */
.cart-section .woocommerce-notices-wrapper { margin-bottom: 24px; }
.cart-section .woocommerce-notices-wrapper:empty { margin-bottom: 0; }

.cart-table {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
}
.cart-header {
  display: grid;
  grid-template-columns: 4fr 1fr 1.6fr 1fr 0.4fr;
  background: var(--off-white);
  border-bottom: 0.8px solid var(--horizon);
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: rgba(11,31,58,0.75);
  letter-spacing: 0.88px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}
.cart-header span:first-child { text-align: left; }

.cart-item {
  display: grid;
  grid-template-columns: 4fr 1fr 1.6fr 1fr 0.4fr;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 0.8px solid var(--off-white);
  transition: background 0.2s;
}
.cart-item:hover { background: rgba(244,247,251,0.5); }

.cart-item-info { display: flex; align-items: center; gap: 18px; }
.cart-item-thumb {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 10px;
}
.cart-item-thumb img { height: 80px; width: 49px; }
.cart-item-details { display: flex; flex-direction: column; gap: 8px; }
.cart-item-name {
  font-size: 18px !important;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1;
}
.cart-item-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.6);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.cart-item-price {
  font-size: 18px;
  font-weight: 400;
  color: rgba(0,0,0,0.8);
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1.2;
}
.cart-item-subtotal {
  font-size: 22px;
  font-weight: 500;
  color: #000;
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 0;
  overflow: hidden;
}
.cart-item-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cart-item-delete:hover { opacity: 0.6; }
.cart-item-delete svg { width: 20px; height: 20px; color: var(--slate); }
.cart-item-delete:hover svg { color: var(--signal); }

/* Cart qty selector — boxed Figma variant */
.qty-selector.cart-qty {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  gap: 10px;
  width: 120px;
  justify-content: center;
}
/* Override WooCommerce plugin's input.qty border/sizing inside the cart row */
.cart-item .qty-selector.cart-qty input.qty-input,
.cart-item .qty-selector.cart-qty input.qty-input:focus,
.cart-item .qty-selector.cart-qty input.qty-input:active,
.cart-item .qty-selector.cart-qty input[type="number"],
.woocommerce .cart-item .qty-selector.cart-qty input.qty-input,
.woocommerce-page .cart-item .qty-selector.cart-qty input.qty-input {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  text-align: center !important;
  color: var(--sky-deep) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  -webkit-text-fill-color: var(--sky-deep) !important;
  opacity: 1 !important;
}

/* Coupon row */
.coupon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  border-top: 0.8px solid var(--horizon);
  padding: 16px 28px;
  flex-wrap: wrap;
}
.coupon-apply-btn {
  height: 46px !important;
  padding: 0 20px;
  font-size: 14px;
  flex-shrink: 0;
  width: auto;
}
/* ID+class beats WooCommerce's #coupon_code{width:100%!important} (higher specificity) */
#coupon_code.input-text,
.coupon-input,
.coupon-row input.input-text,
.woocommerce .coupon-row input.input-text,
.woocommerce-page .coupon-row input.input-text {
  width: 249px !important;
  min-width: 249px !important;
  max-width: 249px !important;
  flex: 0 0 249px !important;
  height: 46px;
  border: 0.8px solid var(--horizon-dark) !important;
  border-radius: var(--radius-input);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--sky-deep);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}
.coupon-input:focus,
.coupon-row input.input-text:focus { border-color: var(--sky-bright) !important; outline: none; }
.coupon-input::placeholder,
.coupon-row input.input-text::placeholder { color: var(--slate); }

/* Cart totals */
.cart-totals {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
}
.totals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 24.8px;
  border-bottom: 0.8px solid var(--horizon);
}
.totals-header-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
}
.totals-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--off-white);
  border: 0.8px solid var(--horizon);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.88px;
  text-transform: uppercase;
}
.totals-rows {
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.totals-row-bordered {
  border-bottom: 0.5px solid var(--horizon-dark);
  padding-bottom: 12.5px;
}
.totals-label { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -0.2px; }
.totals-value { font-size: 15px; font-weight: 500; color: var(--sky-deep); letter-spacing: -0.3px; }
.totals-value-highlight { font-size: 15px; font-weight: 600; color: var(--sky-bright); letter-spacing: -0.3px; }
.totals-divider {
  height: 2px;
  background: var(--horizon-dark);
  margin-top: -1px; /* overlap + replace the previous row's 0.5px border-bottom = single line */
  margin-bottom: 4px;
}
.totals-total-label { font-size: 16px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.4px; }
.totals-total-value { font-size: 24px; font-weight: 600; color: var(--sky-deep); letter-spacing: -1.2px; }
.totals-cta {
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.totals-cta .btn-primary,
.totals-cta .btn-secondary {
  width: 100%;
}
.totals-cta .btn-primary { color: #fff; }
.totals-trust {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding-top: 8px;
  border-top: 0.8px solid var(--horizon-dark);
}
.totals-trust .trust-badge { display: flex !important; flex-shrink: 0; }
.totals-trust .trust-badge span { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.1px; }
.totals-trust .trust-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ─── PDP Details ─── */
.section-heading {
  font-size: 32px;
  font-weight: 500;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1;
}
.details-container { display: flex; flex-direction: column; }
.details-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 0 16px;
  border-top: 1px solid var(--horizon-dark);
  transition: background 0.2s;
}
.details-item:hover { background: rgba(232,241,251,0.3); }
.details-icon {
  width: 40px;
  height: 40px;
  background: #EAF1FA;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.details-icon svg { width: 24px; height: 24px; }
.details-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.details-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.details-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(11,31,58,0.6);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Desc blocks */
.desc-block { display: flex; flex-direction: column; gap: 16px; }
.desc-block ul { list-style: disc; padding-left: 24px; }
.desc-block ul li {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.8);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.desc-block p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.8);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.desc-block a { color: var(--sky-bright); text-decoration: underline; }
.desc-block a:hover { color: var(--sky-electric); }

/* ─── Product Long Description (dynamic from WP editor) ─── */
.product-long-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-long-description h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1;
  margin-top: 8px;
}
.product-long-description h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-top: 4px;
}
.product-long-description h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1.2;
}
.product-long-description h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1.3;
}
.product-long-description h6 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.product-long-description p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.8);
  letter-spacing: -0.5px;
  line-height: 1.5;
  margin: 0;
}
.product-long-description p:empty {
  display: none;
}
.product-long-description ul,
.product-long-description ol {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}
.product-long-description ol {
  list-style: decimal;
}
.product-long-description ul li,
.product-long-description ol li {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.8);
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.product-long-description a {
  color: var(--sky-bright);
  text-decoration: underline;
}
.product-long-description a:hover {
  color: var(--sky-electric);
}
.product-long-description strong {
  font-weight: 600;
}
.product-long-description img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-input);
}
.product-long-description blockquote {
  border-left: 4px solid var(--sky-bright);
  padding-left: 24px;
  font-style: italic;
  color: var(--slate);
}
.product-long-description hr {
  border: none;
  border-top: 1px solid var(--horizon-dark);
  margin: 8px 0;
}

/* Guarantee strip */
.guarantee-strip {
  background: var(--off-white);
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
}
.guarantee-inner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 16px 13px 16px 12px;
  width: 100%;
}
.guarantee-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 32px; height: 32px; }
.guarantee-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.guarantee-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.guarantee-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Drone coverage strip */
.drone-coverage-strip {
  background: var(--off-white);
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-card-sm);
  margin-top: 10px;
  overflow: hidden;
}
.drone-coverage-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 0;
  margin-bottom: 12px;
}
.drone-coverage-heading svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.drone-coverage-heading span {
  font-size: 17px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.3px;
}
.drone-coverage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 0 0;
}
.drone-coverage-table thead th {
  background: #e9eef5;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--sky-deep);
  padding: 6px 12px;
  text-align: left;
  border-bottom: 1px solid var(--horizon-dark);
}
.drone-coverage-table tbody td {
  padding: 8px 12px;
  color: #3a3f47;
  border-bottom: 1px solid #e9eef5;
}
.drone-coverage-table tbody tr:last-child td {
  border-bottom: none;
}
.category-badge {
  display: inline-block;
  background: var(--sky-bright);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}
.drone-coverage-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #e8f0fc;
  border-top: 1px solid var(--horizon-dark);
  color: var(--sky-bright);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}
.drone-coverage-cta:hover {
  background: #d8e6f8;
  color: var(--sky-bright);
}
.drone-coverage-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.drone-coverage-cta svg:last-child {
  margin-left: auto;
}
.drone-coverage-cta strong {
  font-weight: 700;
}

/* Rating row */
.rating-row { display: flex; align-items: center; gap: 8px; }
.stars-sm { display: flex; gap: 4px; }
.star { color: #F5A623; font-size: 14px; line-height: 14px; }
.star-lg { font-size: 22px; color: #F5A623; }
.star-lg.empty { color: var(--horizon-dark); }
.rating-score { font-size: 14px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.3px; }
.rating-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--sky-bright);
  letter-spacing: -0.14px;
  text-decoration: none;
}
.rating-link:hover { color: var(--sky-electric); text-decoration: underline; }

/* Price badge */
.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--signal-pale);
  border: 0.8px solid var(--signal);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--signal-dark);
  letter-spacing: 0.88px;
  text-transform: uppercase;
}

/* Qty selector */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: var(--radius-input);
  padding: 0 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--sky-deep);
  letter-spacing: -0.6px;
  flex-shrink: 0;
}
.qty-btn {
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--sky-deep);
  padding: 0;
  transition: color 0.2s;
}
.qty-btn:hover { color: var(--signal); }

/* Add to cart button — defined in components.css, layout overrides only */

/* Platform toggle details */
.toggle-checkbox {
  width: 22px;
  height: 22px;
  border: 1px solid var(--horizon-dark);
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
}
/* ─── Addon Expand/Collapse & Selected State ─── */

/* Selected state: blue border + light blue background */
.cuw-product-addons.addon-selected {
  border-color: var(--sky-bright) !important;
  background: rgba(45, 125, 210, 0.06) !important;
}
.cuw-product-addons .cuw-product-row.addon-expanded {
  align-items: flex-start !important;
}
.cuw-product-addons .cuw-product-row.addon-expanded > div {
  align-items: flex-start !important;
}

/* "More info" toggle link */
.addon-more-info-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--sky-bright) !important;
  text-decoration: none !important;
  cursor: pointer;
  margin-top: 4px;
}
.addon-more-info-toggle:hover { color: var(--sky-electric) !important; }
.addon-chevron {
  font-size: 11px;
  transition: transform 0.2s;
}

/* Expandable section */
.addon-expand-section {
  overflow: hidden;
  animation: addonSlideDown 0.25s ease-out;
}
@keyframes addonSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Feature checklist */
.cuw-product-addons .addon-features {
  list-style: none !important;
  margin: 12px 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}
.cuw-product-addons .addon-features li {
  font-size: 14px;
  font-weight: 400;
  color: var(--sky-deep);
  letter-spacing: -0.3px;
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.cuw-product-addons .addon-features li::before {
  content: '\2713' !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E6F4EA;
  color: #1B873E;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* "View Full Details" button */
.cuw-product-addons .addon-view-details-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-bright) !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border: 1px solid var(--sky-bright) !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.cuw-product-addons .addon-view-details-btn:hover {
  background: var(--sky-bright);
  color: #fff !important;
}

/* ─── PDP Reviews ─── */
.reviews-section {
  width: 100%;
  background: #fff;
  padding: 64px 0;
}
.reviews-section .container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-padding-x); }
.reviews-title-bar {
  display: inline-flex;
  align-items: center;
  padding: 12px 0 14px;
  border-bottom: 2px solid var(--sky-bright);
  margin-bottom: 32px;
}
.reviews-title-bar h2 { font-size: 24px; font-weight: 600; color: var(--sky-deep); letter-spacing: -1px; line-height: 1; }
.reviews-summary {
  background: var(--off-white);
  border-radius: var(--radius-card-sm);
  padding: 32px;
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
.reviews-left { width: 180px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.reviews-big-score { font-size: 64px; font-weight: 600; color: var(--sky-deep); letter-spacing: -4px; line-height: 1; }
.reviews-big-stars { display: flex; gap: 4px; }
.reviews-label { font-size: 14px; font-weight: 400; color: rgba(11,31,58,0.6); letter-spacing: -0.3px; }
.reviews-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { font-size: 14px; font-weight: 500; color: rgba(11,31,58,0.6); letter-spacing: -0.3px; min-width: 40px; text-align: right; }
.bar-track { flex: 1; height: 12px; background: var(--horizon); border-radius: var(--radius-pill); overflow: hidden; }
.bar-fill { height: 100%; background: #F5A623; border-radius: var(--radius-pill); }
.bar-pct { font-size: 14px; font-weight: 500; color: rgba(11,31,58,0.6); letter-spacing: -0.3px; min-width: 30px; text-align: right; }
.review-item {
  padding: 16px 0;
  border-top: 1px solid var(--horizon-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-item:last-child { border-bottom: 1px solid var(--horizon-dark); }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; }
.reviewer-name { font-size: 14px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.5px; }
.reviewer-role { font-size: 14px; font-weight: 300; color: rgba(11,31,58,0.6); letter-spacing: -0.5px; }
.review-date { font-size: 14px; font-weight: 300; color: rgba(11,31,58,0.6); }
.review-stars { display: flex; gap: 4px; }
.review-text { font-size: 14px; font-weight: 400; color: rgba(11,31,58,0.8); letter-spacing: -0.5px; line-height: 1.2; }
.review-product-tag { margin-top: 8px; }
.review-product-tag a { font-size: 13px; font-weight: 500; color: var(--sky-bright); text-decoration: none; background: #e8f1fb; border-radius: 4px; padding: 2px 8px; display: inline-block; }
.review-product-tag a:hover { background: #d1e5f8; }

/* Reviews — Add Your Review button */
.btn-add-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13.5px 17.5px;
  border-radius: 8px;
  background: #e8f1fb;
  border: 1.5px solid var(--sky-bright);
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.14px;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-add-review:hover { background: var(--sky-bright); color: #fff; }

/* Reviews — Search + Sort bar */
.reviews-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.reviews-search-bar {
  flex: 1;
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
}
.reviews-search-bar svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--slate); }
.reviews-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 300;
  color: var(--sky-deep);
  letter-spacing: -0.3px;
  background: transparent;
  font-family: var(--font-body);
}
.reviews-search-bar input::placeholder { color: var(--slate); }
.reviews-sort {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviews-sort select {
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--sky-deep);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.reviews-sort-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Reviews — Counter */
.reviews-counter {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 0;
}

/* Reviews — Show More button */
.reviews-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.btn-show-more-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 33.5px;
  height: 64px;
  border-radius: 8px;
  background: #e8f1fb;
  border: 1.5px solid var(--sky-bright);
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.14px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.btn-show-more-reviews:hover { background: var(--sky-bright); color: #fff; }

/* ─── Related Products ─── */
.related-section {
  width: 100%;
  background: #f4f7fb;
  padding: 96px 0;
}
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}
.related-header-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.related-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 4px;
  background: #fff0eb;
  border: 0.8px solid #fd7d34;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #e8501a;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  white-space: nowrap;
}
.related-header h2 { font-size: 56px; font-weight: 600; color: var(--sky-deep); letter-spacing: -1px; line-height: 1; }
.related-header h2 span { color: var(--sky-bright); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-grid-gap);
}
/* Cards inside related section use the same .product-card from components.css */
.related-section .product-card { text-decoration: none; }
/* Force white text on product-card add-to-cart buttons (override Astra theme link color) */
.woocommerce ul.products li.product a.btn-primary-icon,
.woocommerce ul.products li.product a.btn-primary-icon:visited,
.related-section a.btn-primary-icon,
.related-section a.btn-primary-icon:visited { color: #fff !important; -webkit-text-fill-color: #fff !important; }
/* Hover: darken bg + lift (override Astra theme defaults) */
.woocommerce ul.products li.product a.btn-primary-icon:hover,
.related-section a.btn-primary-icon:hover {
  background: var(--signal-dark) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253,125,52,0.35);
}
.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-view-all:hover { background: var(--signal-dark); color: #fff; }

/* ─── Reviews section extras ─── */
.review-empty {
  font-size: 16px;
  color: var(--slate);
  padding: 32px 0;
}
.review-form-wrap {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--horizon-dark);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review-form-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1;
}
.review-form-wrap .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}
.review-form-wrap label { font-size: 14px; font-weight: 500; color: var(--sky-deep); }
.review-form-wrap .req { color: var(--signal); }
.review-form-wrap .form-input,
.review-form-wrap .form-textarea {
  background: #fff;
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-input);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--sky-deep);
  outline: none;
  transition: border-color 0.2s;
}
.review-form-wrap .form-input:focus,
.review-form-wrap .form-textarea:focus { border-color: var(--sky-bright); }
.review-form-wrap .form-textarea { resize: vertical; min-height: 120px; }
.review-form-wrap .btn-primary { align-self: flex-start; margin-top: 8px; }

.cross-sells-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.cross-sells-col .upsell-wrapper {
  flex: 1;
}
.cross-sells-col .woocommerce ul.products,
.cross-sells-col ul.products {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.cross-sells-col ul.products li.product,
.cross-sells-col ul.products li.product .product-card {
  width: 100%;
}
.cross-sells-col .product-card-name {
  font-size: 15px;
  -webkit-line-clamp: 4;
}

/* ─── Cart Bottom Row ─── */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 0; /* gap handled by woocommerce-cart-form margin-bottom */
}
.upsell-wrapper {
  background: var(--horizon); /* #E8F1FB — section fill blue, contrast vs white page bg */
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.upsell-title { font-size: 32px; font-weight: 600; color: var(--sky-deep); letter-spacing: -1px; line-height: 1; }
.upsell-title span { color: var(--sky-bright); }
.upsell-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  flex: 1;
  align-content: stretch;
}
/* Cards inside upsell — equal width + height */
.upsell-wrapper .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.upsell-wrapper .product-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Fixed title height so all cards align content at the same vertical positions */
.upsell-wrapper .product-card-name {
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.upsell-wrapper .product-card-desc {
  flex: 1; /* pushes price/rating to bottom */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.upsell-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.upsell-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.upsell-card-image {
  background: var(--off-white);
  border-radius: var(--radius-card-sm);
  height: 272px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}
.upsell-card-image img { max-height: 220px; max-width: 135px; object-fit: contain; }
.upsell-card-image a { display: contents; }
.upsell-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -1px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.upsell-card-title a { color: inherit; text-decoration: none; }
.upsell-card-title a:hover { color: var(--sky-bright); }
.upsell-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.upsell-card-rating .star-rating { font-size: 16px; }
.upsell-card-review-count { font-size: 12px; color: rgba(11,31,58,0.6); letter-spacing: -0.1px; }
.upsell-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(11,31,58,0.6);
  letter-spacing: -0.5px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.upsell-card-price { font-size: 28px; font-weight: 600; color: #000; letter-spacing: -0.5px; line-height: 1; }
.upsell-card-price del { font-size: 16px; font-weight: 400; color: rgba(255,0,0,0.6); text-decoration: line-through; margin-left: 6px; }
.upsell-card-price ins { text-decoration: none; }

/* Platform banner (cart upsell) */
.cuw-offer .cuw-container { margin: 0; padding: 0; border: 0; background: none; }
.cuw-offer-text, .cuw-discount-text { background: var(--sky-bright, #2D7DD2) !important; }

.platform-banner {
  width: 100%;
  border-radius: 16px;
  background: var(--off-white);
  border: 2px solid var(--horizon-dark);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.platform-banner:hover {
  border-color: var(--sky-bright) !important;
  box-shadow: 0 0 0 3px rgba(45,125,210,0.15);
}
.platform-banner .btn-primary:hover,
.platform-banner .btn-banner-cart:hover {
  background: #e06a1f !important;
}

.platform-banner-img {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-banner-img img { width: 100%; height: 100%; object-fit: contain; }

.platform-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.platform-banner-badge {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--sky-bright);
  background: rgba(45,125,210,0.08);
  border: 1px solid rgba(45,125,210,0.15);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.platform-banner-title { font-size: 20px; font-weight: 700; color: var(--sky-deep); letter-spacing: -1px; line-height: 1.2; margin: 0; }
.platform-banner-desc { font-size: 15px; font-weight: 400; color: var(--slate); line-height: 1.4; margin: 0; }
.platform-banner .cuw-read-more-link { font-size: 14px; font-weight: 600; color: var(--sky-bright); text-decoration: none; margin-top: 8px; }
.platform-banner .cuw-read-more-link:hover { color: var(--sky-electric); text-decoration: underline; }
.platform-banner .cuw-product-variants { margin-top: 2px; }
.platform-banner .cuw-product-variants select { font-size: 14px; padding: 4px 8px; border: 1px solid var(--horizon-dark); border-radius: var(--radius-input); }

.platform-banner-price { font-size: 26px; font-weight: 700; color: var(--sky-deep); letter-spacing: -0.6px; white-space: nowrap; text-align: center; flex-shrink: 0; }
.platform-banner .cuw-product-price del { display: none; }
.platform-banner .cuw-product-price ins { text-decoration: none; }

.platform-banner-qty { flex-shrink: 0; }

.platform-banner .btn-primary { height: 46px; padding: 0 20px; font-size: 14px; font-weight: 600; color: #fff !important; -webkit-text-fill-color: #fff !important; white-space: nowrap; flex-shrink: 0; border-radius: 10px; }
.platform-banner .cuw-button:disabled { opacity: 0.5; cursor: not-allowed; }

/* Trust badges (cart) */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 32px;
}
.trust-badge { display: flex; align-items: center; gap: 4px; }
.trust-badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.trust-badge span { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.1px; }

/* ─── Checkout ─── */
.checkout-section {
  width: 100%;
  background: #fff;
  padding: 48px 0 64px;
}
.checkout-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

/* Attention banner */
.attention-banner {
  width: 100%;
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.attention-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sky-mid);
  padding: 12px 24px;
}
.attention-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  letter-spacing: -0.2px;
}
.attention-body { padding: 16px 24px; }
.attention-body p { font-size: 14px; font-weight: 400; color: var(--sky-deep); letter-spacing: -0.2px; line-height: 1.55; }
.attention-body strong { font-weight: 600; }

/* Coupon bar */
.coupon-bar {
  width: 100%;
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.coupon-toggle { padding: 16px 24px; }
.coupon-toggle p { font-size: 14px; font-weight: 400; color: var(--sky-deep); letter-spacing: -0.2px; }
.coupon-toggle a { color: var(--sky-bright); font-weight: 500; text-decoration: none; }
.coupon-toggle a:hover { text-decoration: underline; }
.coupon-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--off-white);
  border-top: 0.8px solid var(--horizon);
}
.coupon-input-field {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--sky-deep);
  font-family: var(--font-body);
  height: 50px;
}
.coupon-input-field::placeholder { color: var(--slate); }
.coupon-input-field:focus { border-color: var(--sky-bright); outline: none; }
.coupon-bar .btn-apply-coupon,
.btn-apply-coupon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 50px !important;
  padding: 0 24px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  border-radius: 8px;
  background: var(--horizon);
  border: 1.5px solid var(--sky-bright);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.14px;
  transition: background 0.2s, color 0.2s;
}
.coupon-bar .btn-apply-coupon:hover,
.btn-apply-coupon:hover { background: var(--sky-bright); color: #fff; }

/* Checkout main layout */
.checkout-main {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

/* Billing details */
.billing-details {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.billing-header {
  padding: 20px 28px;
  border-bottom: 0.8px solid var(--horizon-dark);
}
.billing-title { font-size: 24px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.8px; }
.billing-form { padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--sky-deep);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.form-label .required { color: var(--signal); }
.form-input {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--sky-deep);
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s;
}
.form-input::placeholder { color: var(--slate); }
.form-input:focus { border-color: var(--sky-bright); outline: none; }
.form-hint { font-size: 12px; font-weight: 400; color: rgba(11,31,58,0.4); letter-spacing: -0.3px; line-height: 1.2; }
.form-checkbox { display: flex; align-items: center; gap: 12px; }
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 14px;
  font-weight: 300;
  color: var(--sky-deep);
  letter-spacing: -0.2px;
  cursor: pointer;
}

/* Order summary */
.order-summary {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  width: 400px;
  flex-shrink: 0;
}
.order-header {
  padding: 16px 24px;
  border-bottom: 0.8px solid var(--horizon-dark);
}
.order-title { font-size: 17px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.5px; }
.order-col-heads {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 0.8px solid var(--horizon-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.order-item-wrap { display: flex; align-items: center; gap: 12px; }
.order-item-img {
  width: 60px;
  height: 60px;
  background: var(--off-white);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.order-item-img img { max-width: 29px; max-height: 48px; object-fit: contain; }
.order-item-name { font-size: 12px; font-weight: 500; color: var(--sky-deep); letter-spacing: -0.2px; line-height: 1.2; }
.order-item-qty { font-size: 12px; font-weight: 500; color: rgba(11,31,58,0.7); letter-spacing: -0.1px; }
.order-item-price { font-size: 14px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.3px; }

/* Order totals */
.order-totals {
  padding: 16px 24px;
  border-top: 0.8px solid var(--horizon-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-totals-row { display: flex; align-items: center; justify-content: space-between; }
.order-totals-label { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.2px; }
.order-totals-value { font-size: 14px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.3px; }
.order-totals-divider { height: 1px; background: var(--horizon-dark); margin: 4px 0; }
.order-total-final-row { display: flex; align-items: center; justify-content: space-between; }
.order-total-final-label { font-size: 16px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.4px; }
.order-total-final-value { font-size: 20px; font-weight: 700; color: var(--sky-deep); letter-spacing: -1px; }

/* Upgrade CTA (checkout) */
.upgrade-cta {
  padding: 24px;
  border-top: 0.8px solid var(--horizon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upgrade-box {
  border: 0.8px solid var(--horizon-dark);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  background: var(--horizon);
}
.upgrade-header { background: var(--horizon); padding: 16px 16px 0; }
.upgrade-header-text { font-size: 18px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.4px; }
.upgrade-body { background: var(--horizon); padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.upgrade-product-row { display: flex; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.upgrade-img {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.upgrade-img img { width: 100%; height: 100%; object-fit: contain; }
.upgrade-info { display: flex; flex-direction: column; gap: 8px; }
.upgrade-name { font-size: 15px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.3px; line-height: 1.3; }
.upgrade-desc {
  background: var(--horizon);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--sky-mid);
  letter-spacing: -0.1px;
  line-height: 1.2;
}
.upgrade-read-more {
  font-size: 14px;
  color: var(--sky-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.upgrade-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--sky-deep);
}
.upgrade-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.upgrade-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--sky-deep);
}
.upgrade-qty span {
  cursor: pointer;
  user-select: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--horizon-dark);
  border-radius: var(--radius-input);
}
.upgrade-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--horizon-dark);
}
.upgrade-checkbox label {
  font-size: 16px;
  font-weight: 500;
  color: var(--sky-deep);
  cursor: pointer;
}
.upgrade-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sky-bright);
  cursor: pointer;
}

/* Payment section */
.payment-section { border-top: 0.8px solid var(--horizon-dark); }
.payment-header { padding: 16px 24px; border-bottom: 0.8px solid var(--horizon-dark); }
.payment-title { font-size: 17px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.5px; }

/* ── WooCommerce native #payment form overrides ── */
#payment {
  background: transparent !important;
  padding: 16px 24px !important;
  border-radius: 0 !important;
  border: none !important;
}
#payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
}
#payment ul.payment_methods::after { display: none !important; }
#payment ul.payment_methods li.wc_payment_method:last-child { border-bottom: none !important; }
#payment ul.payment_methods li.wc_payment_method {
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #fff !important;
  border: 0.8px solid var(--horizon-dark) !important;
  border-radius: 10px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  transition: border-color 0.15s !important;
}
#payment ul.payment_methods li.wc_payment_method label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--sky-deep) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--sky-bright) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
#payment ul.payment_methods li.wc_payment_method.payment-method-active,
#payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
  border-color: var(--sky-bright) !important;
}
#payment .payment_box {
  flex-basis: 100% !important;
  background: #f9fafb !important;
  border: 0.8px solid var(--horizon-dark) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin: 4px 0 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
#payment .payment_box p {
  font-size: 13px !important;
  color: var(--slate) !important;
  margin: 0 !important;
}
#payment .payment_box input[type="text"],
#payment .payment_box input[type="tel"],
#payment .payment_box input[type="email"],
#payment .payment_box select {
  background: #fff !important;
  border: 0.8px solid var(--horizon-dark) !important;
  border-radius: var(--radius-input) !important;
  padding: 16px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: var(--sky-deep) !important;
  font-family: var(--font-body) !important;
  width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
}
#payment .payment_box input[type="text"]:focus,
#payment .payment_box input[type="tel"]:focus,
#payment .payment_box input[type="email"]:focus,
#payment .payment_box select:focus {
  border-color: var(--sky-bright) !important;
}
/* Place order section — stack vertically: privacy → terms → button */
#payment .place-order,
#payment .form-row.place-order {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid var(--horizon-dark) !important;
  background: transparent !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
#place_order,
#payment #place_order,
.woocommerce-checkout #place_order {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 64px !important;
  padding: 0 24px !important;
  background: #0B1F3A !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  letter-spacing: -0.14px !important;
  transition: background 0.2s !important;
}
#place_order:hover,
#payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
  background: #1e3a5f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* Privacy + terms wrapper: stack vertically */
#payment .woocommerce-terms-and-conditions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  width: 100%;
}
/* Privacy text: plain block, no flex */
#payment .woocommerce-privacy-policy-text {
  display: block;
  font-size: 12px;
  color: var(--slate);
  text-align: left;
  margin: 0;
  line-height: 1.5;
}
#payment .woocommerce-privacy-policy-text a {
  color: var(--sky-bright);
  text-decoration: underline;
}
/* Terms checkbox row: checkbox + label side by side */
#payment .woocommerce-terms-and-conditions-wrapper .form-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: 100%;
}
#payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  flex-shrink: 0;
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--sky-bright);
}
#payment .woocommerce-terms-and-conditions-wrapper label {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.5;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  flex: 1;
}
/* Remove WooCommerce's default #payment background gradient */
.woocommerce-checkout #payment {
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
}
.payment-body { padding: 16px 24px; }
.payment-card-selector {
  border: 0.8px solid var(--sky-bright);
  border-radius: 10px;
  overflow: hidden;
}
.payment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}
.payment-option { display: flex; align-items: center; gap: 12px; }
.payment-radio {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--sky-bright);
  border: 0.8px solid var(--sky-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.payment-radio-inner { width: 10px; height: 10px; background: #fff; border-radius: var(--radius-pill); }
.payment-fields {
  background: #F9FAFB;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-field { display: flex; flex-direction: column; gap: 8px; }
.payment-field-row { display: flex; gap: 12px; }
.payment-field-row .payment-field { flex: 1; }
.payment-field-label { font-size: 12px; font-weight: 500; color: var(--sky-deep); letter-spacing: -0.1px; }
.payment-input {
  background: #fff;
  border: 0.8px solid var(--horizon-dark);
  border-radius: var(--radius-input);
  padding: 16px;
  font-size: 14px;
  font-weight: 300;
  color: var(--slate);
  font-family: var(--font-body);
  width: 100%;
}

/* Place order */
.place-order-section { padding: 16px 24px; border-top: 1px solid var(--horizon-dark); }
.btn-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px;
  background: var(--sky-deep);
  border-radius: var(--radius-input);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.14px;
  transition: background 0.2s;
}
.btn-place-order:hover { background: #1e3a5f; }

/* Checkout buttons */
.btn-checkout,
.btn-checkout:visited,
.btn-checkout:link {
  width: 100%;
  height: 64px;
  border-radius: var(--radius-input);
  background: var(--sky-deep);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  letter-spacing: -0.14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-checkout:hover { background: #1e3a5f; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* WooCommerce proceed-to-checkout button overrides
   Uses body-level selectors for high specificity (ast-separate-container is stripped) */
body .woocommerce .wc-proceed-to-checkout a.checkout-button,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:link,
body .woocommerce .wc-proceed-to-checkout a.checkout-button:visited,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:link,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:visited {
  background: var(--sky-deep) !important;
  border-radius: var(--radius-input) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
}
body .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #1e3a5f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.btn-continue-shopping {
  width: 100%;
  height: 64px;
  border-radius: var(--radius-input);
  background: var(--horizon);
  border: 1.5px solid var(--sky-bright);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
  letter-spacing: -0.14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.btn-continue-shopping:hover { background: var(--sky-bright); color: #fff; }

/* Mini cart */
.mini-cart-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--horizon);
}
.mini-cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--off-white);
  border-radius: var(--radius-card-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-cart-item-img img { max-height: 44px; object-fit: contain; }
.mini-cart-item-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius-input);
  overflow: hidden;
}
.mini-cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mini-cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mini-cart-item-name { font-size: 14px; font-weight: 600; color: var(--sky-deep); letter-spacing: -0.3px; }
.mini-cart-item-meta { font-size: 12px; color: rgba(11,31,58,0.7); }
.mini-cart-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--horizon-dark);
}
.mini-cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--sky-deep);
}
.mini-cart-buttons {
  display: flex;
  gap: 12px;
}
.mini-cart-buttons a {
  flex: 1;
  text-align: center;
}
.mini-cart-item-qty {
  font-size: 13px;
  color: var(--slate);
}
.mini-cart-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--slate);
  font-size: 14px;
}

.woocommerce-checkout .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}

/* ─── Notices / Messages ─── */
.woocommerce-message,
.woocommerce-info {
  background: var(--horizon);
  border-left: 4px solid var(--sky-bright);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--sky-deep);
  margin-bottom: 24px;
}
.woocommerce-error {
  background: var(--signal-pale);
  border-left: 4px solid var(--signal-dark);
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--signal-dark);
  margin-bottom: 24px;
  list-style: none;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — all WooCommerce sections
   Breakpoints: 1023px (tablet-landscape), 768px (tablet), 390px (mobile)
   ════════════════════════════════════════════════════════════ */

/* ── 1023px: tablet-landscape – two-col layout with narrower right ── */
@media (max-width: 1023px) {
  .product-short-desc,
  .product-short-desc ul li { font-size: 15px; }

  /* PDP: shrink right column, keep two columns */
  .product-layout {
    gap: 40px;
    padding: 0 var(--gap-xl);
  }
  .product-right {
    width: 380px;
    top: calc(var(--navbar-height, 80px) + 24px);
  }

  /* Cart / checkout */
  .woocommerce-checkout .checkout-layout {
    grid-template-columns: 1fr;
    padding: 0 var(--gap-xl);
  }
  .cart-header,
  .cart-item { grid-template-columns: 3fr 1fr 1fr; }
  .cart-item-price,
  .cart-item-delete { display: none; }
  .checkout-main { flex-direction: column; }
  .billing-details { width: 100%; }
  .order-summary { width: 100%; }
  .bottom-row {
    grid-template-columns: 1fr;
  }
  .upsell-cards { flex-direction: column; }
  .platform-banner { flex-wrap: wrap; gap: 16px; padding: 12px 16px; border-radius: 12px; }
  .platform-banner-text { flex-basis: 100%; order: -1; }
  .platform-banner-img { order: -2; }

  /* Shop / PLP */
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products li.product:only-child { grid-column-start: auto; }
  .listing-section { padding: var(--gap-4xl) 0 var(--gap-3xl); }

  /* Related */
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-header h2 { font-size: 40px; letter-spacing: -2px; }
  .related-section { padding: 64px 0; }

  /* Reviews */
  .reviews-summary { gap: 32px; }
}

/* ── 768px: tablet – single column, right column above description ── */
@media (max-width: 768px) {
  .product-short-desc,
  .product-short-desc ul li { font-size: 14px; }

  /* PDP layout: use display:contents to re-order children across columns */
  .woocommerce-product-section { padding: 24px 0 48px; }
  .product-layout {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--gap-xl);
  }

  /* Flatten .product-left so its children become direct flex items of .product-layout */
  .product-left { display: contents; }

  .product-image-wrapper {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .main-image { max-height: 55vw; aspect-ratio: auto; }
  .main-image img { max-width: 80%; max-height: 55vw; }
  .gallery-thumb { width: 88px; height: 88px; }

  .product-right {
    order: 2;
    width: 100%;
    position: static;  /* disable sticky on tablet */
    margin-bottom: 32px;
  }

  .desc-block,
  .product-long-description {
    order: 3;
    margin-bottom: 32px;
  }

  .guarantee-strip { order: 4; }
  .drone-coverage-strip { order: 5; }

  /* Typography scale-down */
  .product-name { font-size: 28px; letter-spacing: -0.8px; }
  .price-current { font-size: 36px; letter-spacing: -1.5px; }
  .section-heading { font-size: 26px; }
  .product-long-description h2 { font-size: 24px; }
  .product-long-description h3 { font-size: 20px; }
  .product-long-description h5 { font-size: 16px; }

  /* Info strip: wrap to 3 per row, last-row items grow to fill */
  .info-strip { flex-wrap: wrap; }
  .info-item {
    flex: 1 0 30%;
    border-bottom: 1px solid var(--horizon-dark);
  }
  .info-item:nth-last-child(-n+2) { border-bottom: none; }

  /* CTA */
  .cta-row { gap: 8px; }

  /* Coupon row: stack input + button vertically on mobile */
  .coupon-row {
    flex-direction: column;
    align-items: stretch;
  }
  #coupon_code.input-text,
  .coupon-input,
  .coupon-row input.input-text,
  .woocommerce .coupon-row input.input-text,
  .woocommerce-page .coupon-row input.input-text {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .coupon-apply-btn {
    width: 100% !important;
  }

  /* Cart / checkout */
  .woocommerce-checkout .checkout-layout { padding: 0 var(--gap-xl); }
  .checkout-main { padding: 0; }
  .billing-form { padding: 16px; }
  .form-row { flex-direction: column; gap: 18px; }

  /* Shop / PLP */
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .listing-section { padding: var(--gap-3xl) 0 var(--gap-2xl); }

  /* Related */
  .related-section { padding: 56px 0; }
  .related-header { flex-direction: column; gap: 20px; align-items: flex-start; }
  .related-header h2 { font-size: 36px; letter-spacing: -1.5px; }

  /* Reviews */
  .reviews-section { padding: 48px 0; }
  .reviews-summary { flex-direction: column; gap: 24px; align-items: stretch; }
  .reviews-left { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: center; }
  .reviews-search-row { flex-wrap: wrap; }
  .reviews-search-bar { min-width: 0; }
  .reviews-sort { flex-shrink: 0; }
}

/* ── 390px: mobile – full single column, compact spacing ── */
@media (max-width: 450px) {
  /* PDP */
  .woocommerce-product-section { padding: 16px 0 40px; }
  .product-layout { padding: 0 16px; }
  .product-image-wrapper { margin-bottom: 20px; }
  .main-image { max-height: 45vw; }
  .main-image img { max-width: 90%; max-height: 45vw; }
  .gallery-thumb { width: 72px; height: 72px; }

  .product-right { margin-bottom: 24px; gap: 20px; }
  .product-name { font-size: 20px; letter-spacing: -0.5px; }
  .price-current { font-size: 26px; letter-spacing: -1px; }
  .price-old { font-size: 15px; }

  /* Info strip: 2-per-row on mobile, last-row item fills full width */
  .info-item { flex: 1 0 45%; }
  /* Restore border-bottom stripped by the tablet cascade (nth-last-child(-n+2)) */
  .info-item:nth-last-child(2) { border-bottom: 1px solid var(--horizon-dark); }
  .info-item:nth-last-child(-n+1) { border-bottom: none; }

  /* CTA: full-width qty + button */
  .cta-row { flex-direction: column; }
  .qty-selector { justify-content: center; }
  .btn-add-to-cart { width: 100%; flex: none; height: 64px; }

  /* Shop / PLP */
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .listing-section { padding: var(--gap-2xl) 0 var(--gap-xl); }
  .listing-title { font-size: 26px; }
  .category-group-title { font-size: 22px; }

  /* Related */
  .related-section { padding: 40px 0; }
  .related-header { gap: 16px; }
  .related-header h2 { font-size: 28px; letter-spacing: -1px; }
  .related-badge { font-size: 11px; }
  .related-grid { grid-template-columns: 1fr; }
  .btn-view-all { padding: 16px 24px; font-size: 14px; }

  /* Reviews */
  .reviews-section { padding: 32px 0; }
  .reviews-summary { padding: 20px; }
  .reviews-big-score { font-size: 48px; }
  .reviews-search-row { flex-direction: column; }
  .reviews-search-bar,
  .reviews-sort { width: 100%; }
  .reviews-left { flex-direction: column; align-items: flex-start; }

  /* Cart / checkout */
  .woocommerce-checkout .checkout-layout { padding: 0 16px; }
  .cart-header { display: none; }
  .cart-item { grid-template-columns: 1fr; gap: 12px; }
  .billing-form { padding: 12px; }
  .platform-banner { padding: 12px 16px; flex-direction: column; text-align: center; align-items: stretch; border-radius: 12px; }
  .platform-banner-img { margin: 0 auto; }
  .platform-banner-text { align-items: center; }
  .platform-banner-title { font-size: 18px; }
  .platform-banner-price { font-size: 24px; }
  .platform-banner .btn-primary { width: 100%; }

  /* Touch targets */
  .qty-btn { min-width: 44px; min-height: 44px; }
  .gallery-thumb { min-width: 44px; min-height: 44px; }
}

/* ── Catalogue pagination ── */
.woocommerce-pagination {
  text-align: center;
  padding: 2em 0 0;
}
.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}
.woocommerce-pagination ul.page-numbers li {
  float: none;
  border: none;
  overflow: visible;
}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-input);
  border: 1.5px solid var(--horizon-dark);
  font-size: 14px;
  font-weight: 500;
  color: var(--sky-deep);
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
}
.woocommerce-pagination ul.page-numbers li a:hover {
  border-color: var(--sky-bright);
  color: var(--sky-bright);
}
.woocommerce-pagination ul.page-numbers li span.current {
  background: var(--sky-bright);
  border-color: var(--sky-bright);
  color: #fff;
}

/* ── CUW Modal — product detail content ── */
.cuw-modal-body {
  font-size: 15px;
  color: var(--sky-deep);
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.cuw-modal-body h2 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--sky-deep);
  margin: 24px 0 12px;
}
.cuw-modal-body h3 {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--sky-deep);
  margin: 20px 0 8px;
}
.cuw-modal-body h2:first-child,
.cuw-modal-body h3:first-child { margin-top: 0; }

.cuw-modal-body p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}

/* List — green checkmark bullets */
.cuw-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
}
.cuw-modal-body ul li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--sky-deep);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  letter-spacing: -0.3px;
}
.cuw-modal-body ul li + li { border-top: 1px solid var(--horizon); }
.cuw-modal-body ul li::before {
  content: '\2713';
  color: #22C55E;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  line-height: 1.45;
}

/* HR divider */
.cuw-modal-body hr {
  border: none;
  border-top: 1.5px solid var(--horizon-dark);
  margin: 20px 0;
}

/* Comparison table */
.cuw-modal-body table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-input);
  overflow: hidden;
  margin: 12px 0 16px;
  font-size: 14px;
}
.cuw-modal-body thead th {
  background: var(--sky-deep);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.14px;
  text-align: left;
  padding: 10px 14px;
}
.cuw-modal-body tbody td {
  padding: 9px 14px;
  color: var(--sky-deep);
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid var(--horizon);
}
.cuw-modal-body tbody tr:nth-child(even) td { background: var(--off-white); }
.cuw-modal-body tbody tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .cuw-modal-body h2 { font-size: 19px; margin: 20px 0 10px; }
  .cuw-modal-body h3 { font-size: 16px; }
  .cuw-modal-body table { font-size: 13px; }
  .cuw-modal-body thead th,
  .cuw-modal-body tbody td { padding: 8px 10px; }
}
