/* ==========================================================================
   STACKER PRO - MODERN HYBRID PDP & THEME STYLING
   ========================================================================== */

:root {
  --sp-bg-page: #ffffff;
  --sp-bg-card: #ffffff;
  --sp-bg-card-alt: #f8fafc;
  --sp-border: #e2e8f0;
  --sp-border-hover: #cbd5e1;
  --sp-gold: #f59e0b;
  --sp-gold-light: #fbbf24;
  --sp-gold-dark: #d97706;
  --sp-gold-accent: #C8A951;
  --sp-text-main: #0f172a;
  --sp-text-muted: #64748b;
  --sp-text-light: #94a3b8;
  --sp-green: #10b981;
  --sp-radius: 8px;
  --sp-radius-lg: 12px;
}

body, body.sp-theme-dark, body.sp-theme-white {
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
}

.sp-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------- Topbar ---------------- */
.sp-topbar {
  background: #02050a;
  border-bottom: 1px solid #142033;
  color: var(--sp-gold-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
}
.sp-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.sp-topbar-usps {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.sp-topbar-right {
  display: flex;
  gap: 16px;
}
.sp-top-link {
  color: #cbd5e1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.sp-top-link:hover {
  color: var(--sp-gold-light);
}

/* ---------------- Main Header ---------------- */
.sp-header {
  background: var(--sp-bg-card);
  border-bottom: 1px solid var(--sp-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 24px;
}
.sp-brand img {
  max-height: 48px;
  width: auto;
  display: block;
}
.sp-search-wrap {
  flex: 1;
  max-width: 580px;
}
.sp-search-form {
  display: flex;
  position: relative;
  width: 100%;
}
.sp-search-form input {
  width: 100%;
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  color: #ffffff;
  padding: 10px 44px 10px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sp-search-form input:focus {
  border-color: var(--sp-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.sp-search-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--sp-gold);
  cursor: pointer;
  padding: 6px 10px;
  display: flex;
  align-items: center;
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--sp-radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sp-verify-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--sp-gold-light);
}
.sp-verify-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: var(--sp-gold);
  color: #ffffff;
}
.sp-cart-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid #f59e0b;
  color: #060b14 !important;
  font-weight: 700;
}
.sp-cart-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.sp-cart-icon-wrap {
  position: relative;
  display: flex;
}
.sp-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
}

/* ---------------- Navigation ---------------- */
.sp-nav {
  background: #070e1c;
  border-top: 1px solid rgba(26, 42, 68, 0.6);
}
.sp-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}
.sp-menu-item {
  position: relative;
}
.sp-menu-item > a {
  display: block;
  padding: 12px 14px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.sp-menu-item > a:hover {
  color: var(--sp-gold-light);
  background: rgba(255,255,255,0.03);
}
.sp-gold-link > a {
  color: var(--sp-gold) !important;
}
.sp-has-dropdown:hover .sp-dropdown {
  display: block;
}
.sp-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #0b1528;
  border: 1px solid var(--sp-border);
  border-radius: 0 0 var(--sp-radius) var(--sp-radius);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  list-style: none;
  padding: 8px 0;
  z-index: 100;
}
.sp-dropdown a {
  display: block;
  padding: 9px 18px;
  color: #cbd5e1;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}
.sp-dropdown a:hover {
  background: rgba(245, 158, 11, 0.1);
  color: #ffffff;
  padding-left: 22px;
}

/* ---------------- Breadcrumb ---------------- */
.sp-pdp-main {
  padding: 24px 0 60px;
}
.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sp-text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sp-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
}
.sp-breadcrumb a:hover {
  color: var(--sp-gold-light);
}
.sp-bc-sep {
  color: #475569;
}
.sp-breadcrumb [aria-current="page"] {
  color: #e2e8f0;
  font-weight: 600;
}

/* ---------------- Product Hero Grid ---------------- */
.sp-pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Left Column: Gallery */
.sp-pdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sp-gallery-main-wrap {
  position: relative;
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 420px;
}
.sp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 2;
}
.sp-badge-bestseller {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--sp-gold);
}
.sp-badge-sale {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #ef4444;
}
.sp-zoom-box img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.sp-zoom-box:hover img {
  transform: scale(1.04);
}
.sp-thumbs-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sp-thumb-btn {
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.sp-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sp-thumb-btn.is-active, .sp-thumb-btn:hover {
  border-color: var(--sp-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Right Column: Buy Box */
.sp-pdp-buybox {
  display: flex;
  flex-direction: column;
}
.sp-buybox-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.sp-brand-tag {
  color: var(--sp-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.sp-rating-tag {
  color: #f59e0b;
  font-size: 13px;
  font-weight: 600;
}
.sp-pdp-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.25;
}

/* Price */
.sp-price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sp-border);
  margin-bottom: 18px;
}
.sp-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--sp-gold);
  letter-spacing: -0.5px;
}
.sp-old-price {
  font-size: 20px;
  color: #64748b;
  text-decoration: line-through;
}
.sp-price-tax {
  font-size: 13px;
  color: #94a3b8;
}

/* Stock */
.sp-stock-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.sp-stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.sp-stock-text {
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

/* Stapelkorting Banner */
.sp-discount-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 29, 54, 0.8) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--sp-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.sp-disc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
}
.sp-disc-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.sp-disc-tier {
  background: rgba(6, 11, 20, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sp-tier-qty {
  font-size: 13px;
  color: #cbd5e1;
}
.sp-tier-val {
  font-size: 14px;
  color: var(--sp-gold);
}
.sp-disc-note {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Quantity & CTA Button */
.sp-actions-wrap {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.sp-qty-control {
  display: flex;
  align-items: center;
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  overflow: hidden;
  height: 52px;
}
.sp-qty-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  width: 44px;
  height: 100%;
  cursor: pointer;
  transition: background 0.15s;
}
.sp-qty-btn:hover {
  background: #142033;
}
.sp-qty-control input {
  width: 48px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
.sp-add-btn {
  flex: 1;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: var(--sp-radius);
  color: #060b14;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}
.sp-add-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
}

/* Trust Strip */
.sp-trust-strip {
  border-top: 1px solid var(--sp-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

/* ---------------- Product Details Tabs ---------------- */
.sp-details-section {
  margin-top: 40px;
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.sp-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--sp-border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.sp-tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  white-space: nowrap;
}
.sp-tab-btn:hover {
  color: #ffffff;
}
.sp-tab-btn.is-active {
  color: var(--sp-gold);
}
.sp-tab-btn.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sp-gold);
  box-shadow: 0 0 10px var(--sp-gold);
}
.sp-tab-content {
  display: none;
}
.sp-tab-content.is-active {
  display: block;
}

/* Prose formatting */
.sp-prose {
  color: #e2e8f0;
  line-height: 1.8;
  font-size: 15px;
}
.sp-prose h2, .sp-prose h3 {
  color: #ffffff;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px;
}
.sp-prose p {
  margin-bottom: 16px;
}
.sp-prose table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 20px 0;
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  overflow: hidden;
}
.sp-prose td, .sp-prose th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sp-border);
}

/* FAQ Details in Prose */
.sp-faq details {
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}
.sp-faq details[open] {
  border-color: var(--sp-gold);
}
.sp-faq summary {
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
.sp-faq details div {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.7;
}

/* Specs Table */
.sp-specs-table-wrap {
  max-width: 760px;
}
.sp-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  overflow: hidden;
}
.sp-specs-table th {
  background: #0b1528;
  color: #94a3b8;
  text-align: left;
  padding: 14px 20px;
  width: 35%;
  font-size: 14px;
  border-bottom: 1px solid var(--sp-border);
}
.sp-specs-table td {
  padding: 14px 20px;
  color: #ffffff;
  font-size: 14px;
  border-bottom: 1px solid var(--sp-border);
}

/* Shipping Info Tab */
.sp-shipping-info {
  color: #e2e8f0;
}
.sp-shipping-info h3 {
  color: #ffffff;
  margin-bottom: 14px;
}
.sp-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.sp-rate-card {
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 20px;
}
.sp-rate-card h4 {
  color: #ffffff;
  margin: 0 0 8px;
  font-size: 16px;
}
.sp-rate-price {
  color: var(--sp-gold);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}
.sp-rate-time {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}

/* ---------------- Site Footer ---------------- */
.sp-footer {
  background: #03060c;
  border-top: 1px solid var(--sp-border);
  padding: 50px 0 24px;
  color: #94a3b8;
  margin-top: 80px;
}
.sp-footer-strip {
  display: flex;
  justify-content: space-around;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--sp-border);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.sp-strip-badge {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.sp-footer-logo {
  max-height: 42px;
  margin-bottom: 14px;
}
.sp-footer-text {
  font-size: 13.5px;
  line-height: 1.7;
}
.sp-fcol-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sp-flinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-flinks a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s;
}
.sp-flinks a:hover {
  color: var(--sp-gold-light);
}
.sp-trust-card {
  background: #060b14;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.sp-footer-bottom {
  border-top: 1px solid #142033;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* ---------------- Cart Drawer ---------------- */
#sp-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overscroll-behavior: contain;
}
#sp-cart-overlay.sp-open {
  opacity: 1;
  visibility: visible;
}

html.sp-drawer-locked,
body.sp-drawer-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
#sp-cart-drawer,
#sp-cart-drawer input,
#sp-cart-drawer button,
#sp-cart-drawer a {
  touch-action: manipulation !important;
}

#sp-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  height: 100%;
  height: 100dvh;
  max-height: 100%;
  max-height: 100dvh;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  visibility: hidden;
  box-sizing: border-box;
  overflow: hidden;
}
#sp-cart-drawer.sp-open {
  transform: translateX(0);
  visibility: visible;
}
.sp-cd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
  box-sizing: border-box;
}
.sp-cd-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-cd-title-wrap h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-cd-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.sp-cd-close:hover {
  color: #0f172a;
}
.sp-cd-fs-box {
  padding: 10px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-sizing: border-box;
}
.sp-cd-fs-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}
.sp-cd-fs-text b {
  color: #0f172a;
}
.sp-cd-fs-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.sp-cd-fs-fill {
  height: 100%;
  background: #10b981;
  border-radius: 999px;
  transition: width 0.4s ease;
}
.sp-cd-items {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding: 14px 18px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.sp-cd-empty {
  flex: 1 1 auto;
  min-height: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: #ffffff;
  box-sizing: border-box;
}
.sp-cd-empty.sp-is-empty {
  display: flex !important;
}
.sp-cd-empty h4 {
  color: #0f172a;
  margin: 12px 0 6px;
  font-size: 16px;
  font-weight: 700;
}
.sp-cd-empty p {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}
.sp-cd-foot {
  padding: 14px 18px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
  margin-top: auto;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}
.sp-cd-totals {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 13px;
}
.sp-cd-total-row {
  display: flex;
  justify-content: space-between;
  color: #475569;
}
.sp-cd-total-row strong {
  color: #0f172a;
  font-weight: 600;
}
.sp-cd-final-total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #cbd5e1;
}
.sp-cd-final-total span {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.sp-cd-final-total strong,
.sp-gold-total {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.sp-cd-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 18px;
  min-height: 46px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
  box-sizing: border-box;
  flex-shrink: 0;
}
.sp-cd-btn-checkout:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Mobile responsive constraints for cart drawer */
@media (max-width: 480px) {
  #sp-cart-drawer {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    border-left: none;
  }
  .sp-cd-head {
    padding: 12px 14px;
  }
  .sp-cd-title-wrap h3 {
    font-size: 14px;
  }
  .sp-cd-fs-box {
    padding: 8px 14px;
  }
  .sp-cd-items {
    padding: 10px 14px;
  }
  .sp-cd-foot {
    padding: 12px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .sp-cd-totals {
    margin-bottom: 8px;
  }
  .sp-cd-total-row {
    font-size: 12px;
    margin-bottom: 3px;
  }
  .sp-cd-final-total span {
    font-size: 13.5px;
  }
  .sp-cd-final-total strong {
    font-size: 16px;
  }
  .sp-cd-btn-checkout {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-height: 650px) {
  .sp-cd-head {
    padding: 8px 12px;
  }
  .sp-cd-fs-box {
    padding: 6px 12px;
  }
  .sp-cd-items {
    padding: 8px 12px;
  }
  .sp-cd-foot {
    padding: 8px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
  .sp-cd-totals {
    margin-bottom: 6px;
  }
  .sp-cd-total-row {
    font-size: 11.5px;
    margin-bottom: 2px;
  }
  .sp-cd-btn-checkout {
    padding: 9px 12px;
    font-size: 13px;
    min-height: 40px;
  }
}

/* Responsive cart page optimizations */
@media (max-width: 768px) {
  .modern-cart-wrapper {
    padding: 16px 0 40px !important;
  }
  .cart-page-header {
    margin-bottom: 16px !important;
  }
  .cart-page-title {
    font-size: 20px !important;
  }
  .cart-shipping-banner {
    padding: 10px 14px !important;
    margin-bottom: 16px !important;
  }
  .cart-product-card {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .cart-product-thumb {
    width: 52px !important;
    height: 52px !important;
  }
  .cart-summary-card {
    padding: 16px !important;
    border-radius: 10px !important;
  }
  .btn-cart-checkout-modern {
    padding: 13px 16px !important;
    font-size: 14.5px !important;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .sp-pdp-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 28px;
  }
  .sp-header-inner {
    flex-wrap: wrap;
  }
  .sp-search-wrap {
    order: 3;
    max-width: 100%;
  }
  .sp-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Checkout refinements: hide crypto and link styling */
#card-pay-crypto,
.opc-radio-badge.crypto {
  display: none !important;
}

.opc-prod-img-link {
  display: block !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}
.opc-prod-img-link:hover .opc-prod-thumb-box {
  border-color: #2563eb !important;
}
.opc-prod-title-link {
  color: #0f172a !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.opc-prod-title-link:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}



/* ==========================================================================
   STACKER PRO / STEROIDEN.COM MASTER FOOTER & INFORMATION PAGES BASELINE
   ========================================================================== */
.sp-info-page {
  background-color: #f8fafc;
  padding: 24px 0 56px;
  min-height: 75vh;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sp-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Breadcrumbs */
.sp-breadcrumbs {
  margin-bottom: 22px;
}
.sp-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
}
.sp-breadcrumb-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.sp-breadcrumb-list a:hover {
  color: #0f172a;
}
.sp-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 11px;
}
.sp-breadcrumb-list span[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

/* Hero Header */
.sp-info-hero {
  text-align: center;
  margin-bottom: 34px;
}
.sp-info-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #af8734;
  border: 1px solid rgba(175, 135, 52, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sp-info-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sp-info-sub {
  font-size: 14.5px;
  color: #475569;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Universal Section Headings */
.sp-section-heading {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px;
  text-align: center;
  letter-spacing: -0.01em;
}
.sp-sub-tag {
  font-size: 11px;
  font-weight: 800;
  color: #af8734;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
  text-align: center;
}

/* Universal Trust Strip */
.sp-info-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-trust-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a;
}
.sp-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.sp-trust-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.sp-trust-text span {
  font-size: 11.5px;
  color: #64748b;
}

/* Universal Gold CTA Button */
.sp-btn-cta-gold {
  background: #af8734 !important;
  color: #ffffff !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.sp-btn-cta-gold:hover {
  background: #99752c !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Mobile Responsive Baseline */
@media (max-width: 900px) {
  .sp-info-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .sp-info-page {
    padding: 14px 0 36px;
  }
  .sp-container {
    padding: 0 12px;
  }
  .sp-info-hero {
    margin-bottom: 22px;
  }
  .sp-info-eyebrow {
    font-size: 10px;
    padding: 3px 10px;
  }
  .sp-info-title {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .sp-info-sub {
    font-size: 13px;
    line-height: 1.5;
  }
  .sp-section-heading {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .sp-info-trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
}