/* ── BDC THEME — MAIN STYLESHEET ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --clr-primary:   #C0392B;
  --clr-primary-d: #A93226;
  --clr-green:     #1D9E75;
  --clr-navy:      #0A1628;
  --clr-navy-mid:  #183A5C;
  --clr-bg:        #F5F6F8;
  --clr-white:     #FFFFFF;
  --clr-border:    #E8E8EC;
  --clr-text:      #111318;
  --clr-muted:     #6B7280;
  --clr-amber:     #EF9F27;
  --font-head:     'Sora', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.10);
  --max-w:         1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.bdc-container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── HEADER ───────────────────────────────────────────────────── */
.bdc-header {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.bdc-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.bdc-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  max-width: 220px !important;
}
.bdc-logo img {
  height: 38px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: block !important;
}
.bdc-logo-text {
  font-family: var(--font-head) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--clr-navy) !important;
  white-space: nowrap !important;
  display: block !important;
  line-height: 1 !important;
}
.bdc-logo-text em { font-style: normal !important; color: var(--clr-primary) !important; }
.bdc-logo-text small { display: none !important; }
.bdc-nav { display: flex; align-items: center; gap: 4px; }
.bdc-nav a {
  font-size: 14px; font-weight: 600; color: var(--clr-muted);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.bdc-nav a:hover, .bdc-nav a.active { color: var(--clr-text); background: var(--clr-bg); }
.bdc-nav a.bdc-nav-sell {
  background: var(--clr-primary); color: #fff; margin-left: 8px;
}
.bdc-nav a.bdc-nav-sell:hover { background: var(--clr-primary-d); }
.bdc-header-cart {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--clr-text);
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  padding: 8px 16px; border-radius: 999px; transition: all .15s;
}
.bdc-header-cart:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.bdc-header-cart .cart-count {
  background: var(--clr-primary); color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.bdc-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.bdc-hamburger span { display: block; width: 24px; height: 2px; background: var(--clr-text); border-radius: 2px; transition: all .2s; }
@media(max-width:900px){
  .bdc-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--clr-border); box-shadow: var(--shadow-md); }
  .bdc-nav.open { display: flex; }
  .bdc-hamburger { display: flex; }
}

/* ── HERO BANNER ──────────────────────────────────────────────── */
.bdc-page-hero {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  padding: 48px 20px;
}
.bdc-page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.bdc-page-hero h1 { font-family: var(--font-head); font-size: clamp(24px,4vw,38px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.bdc-page-hero p { font-size: 16px; color: rgba(255,255,255,.75); max-width: 560px; }

/* ── BREADCRUMB ───────────────────────────────────────────────── */
.bdc-breadcrumb { font-size: 13px; color: var(--clr-muted); padding: 12px 20px; max-width: var(--max-w); margin: 0 auto; }
.bdc-breadcrumb a { color: var(--clr-muted); }
.bdc-breadcrumb a:hover { color: var(--clr-primary); }
.bdc-breadcrumb span { margin: 0 6px; }

/* ── SHOP PAGE ────────────────────────────────────────────────── */
.bdc-shop-hero {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #1a3a5c 100%);
  padding: 32px 20px 28px;
}
.bdc-shop-hero-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.bdc-shop-hero h1 { font-family: var(--font-head); font-size: clamp(20px,3vw,28px); font-weight: 800; color: #fff; margin-bottom: 6px; }
.bdc-shop-hero p { font-size: 14px; color: rgba(255,255,255,.75); max-width: 480px; margin-bottom: 0; }
.bdc-shop-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bdc-shop-hero-badge { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.bdc-shop-hero-badge-g { background: var(--clr-green); color: #fff; }
.bdc-shop-hero-badge-a { background: var(--clr-amber); color: #3a2000; }
.bdc-shop-hero-badge-w { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.bdc-shop-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.bdc-shop-stat { text-align: right; }
.bdc-shop-stat strong { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #fff; }
.bdc-shop-stat span { font-size: 11px; color: rgba(255,255,255,.6); }

.bdc-woo-wrap { max-width: var(--max-w); margin: 0 auto; padding: 32px 20px 60px; }

/* WooCommerce shop toolbar */
.woocommerce-result-count { font-size: 13px; color: var(--clr-muted); margin-bottom: 16px; }
.woocommerce-ordering { margin-bottom: 16px; }
.woocommerce-ordering select { font-family: var(--font-body); font-size: 13px; border: 1px solid var(--clr-border); border-radius: var(--radius-sm); padding: 8px 12px; background: #fff; color: var(--clr-text); }
.woocommerce-breadcrumb { display: none; }

/* ── PRODUCT GRID ─────────────────────────────────────────────── */
.bdc-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin-bottom: 40px !important;
  width: 100% !important;
}
@media(max-width:1100px){ .bdc-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media(max-width:750px){  .bdc-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media(max-width:480px){  .bdc-grid { grid-template-columns: 1fr !important; } }

.bdc-card {
  position: relative;
  min-width: 0; /* prevent grid blowout */
}

.bdc-card-inner {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  height: 100%;
}
.bdc-card-inner:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #C0392B;
}

/* Image area */
.bdc-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  display: block;
}
.bdc-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Branded color fallback */
.bdc-card-color {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}
.bdc-card-color::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.04) 0px,
    rgba(255,255,255,.04) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}
.bdc-card-logo {
  height: 32px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  opacity: .85 !important;
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
}
.bdc-card-brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
  display: block;
}
.bdc-card-disc-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.2);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
  position: relative;
  z-index: 1;
  display: block;
}

/* Discount badge overlay */
.bdc-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
  font-family: var(--font-head);
}

/* Card body */
.bdc-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.bdc-card-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.3;
}
.bdc-card-from {
  font-size: 13px;
  color: var(--clr-muted);
}
.bdc-card-from strong {
  font-size: 15px;
  font-weight: 700;
}
.bdc-card-cta {
  display: block;
  padding: 10px;
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-top: auto;
  font-family: var(--font-head);
}

/* ── SINGLE PRODUCT/* ── SINGLE PRODUCT ───────────────────────────────────────────── */
.bdc-product-hero {
  background: linear-gradient(135deg, #1a4a2e 0%, #2d7a4f 60%, #1a5c38 100%);
  padding: 44px 20px;
  text-align: center;
}
.bdc-product-hero-logo {
  width: 200px; height: 100px; background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; padding: 14px; overflow: hidden;
}
.bdc-product-hero-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bdc-product-hero h1 { font-family: var(--font-head); font-size: clamp(22px,3.5vw,32px); font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.bdc-product-hero p { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.bdc-product-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bdc-product-hero-badge { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.bdc-phb-g { background: var(--clr-green); color: #fff; }
.bdc-phb-a { background: var(--clr-amber); color: #3a2000; }
.bdc-phb-w { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }

.bdc-product-body { max-width: 1100px; margin: 0 auto; padding: 32px 20px 60px; }
.bdc-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px; align-items: start; }
@media(max-width:768px){ .bdc-product-layout { grid-template-columns: 1fr; } }

/* Variation picker */
.bdc-var-section-label { font-size: 11px; font-weight: 800; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; display: block; }
.bdc-var-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border: 2px solid var(--clr-border); border-radius: var(--radius-md);
  margin-bottom: 10px; cursor: pointer; background: #fff; transition: all .15s;
}
.bdc-var-option:hover { border-color: var(--clr-primary); }
.bdc-var-option.selected { border-color: var(--clr-primary); background: #fff9f9; box-shadow: 0 2px 12px rgba(192,57,43,.1); }
.bdc-var-option.out-of-stock { opacity: .5; cursor: not-allowed; }
.bdc-var-left { display: flex; flex-direction: column; gap: 4px; }
.bdc-var-face { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--clr-text); }
.bdc-var-disc { font-size: 13px; color: var(--clr-green); font-weight: 600; }
.bdc-var-stk { font-size: 11px; background: #EAF7F0; color: #0F6E56; padding: 2px 9px; border-radius: 999px; display: inline-block; margin-top: 2px; width: fit-content; }
.bdc-var-oos { font-size: 11px; background: #eee; color: #999; padding: 2px 9px; border-radius: 999px; display: inline-block; margin-top: 2px; width: fit-content; }
.bdc-var-right { text-align: right; }
.bdc-var-price { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--clr-primary); }
.bdc-var-save { font-size: 12px; color: var(--clr-muted); margin-top: 2px; }

/* Cart panel */
.bdc-cart-panel { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.bdc-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bdc-qty-label { font-size: 11px; font-weight: 800; color: var(--clr-muted); flex: 1; text-transform: uppercase; letter-spacing: .5px; }
.bdc-qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--clr-border); border-radius: 10px; overflow: hidden; }
.bdc-qty-ctrl button { width: 42px; height: 42px; border: none; background: var(--clr-bg); font-size: 20px; font-weight: 700; color: var(--clr-text); transition: background .1s; }
.bdc-qty-ctrl button:hover { background: #e8e8ec; }
.bdc-qty-ctrl span { width: 48px; text-align: center; font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--clr-text); background: #fff; }
.bdc-total-row { background: #FFF8F0; border: 1.5px solid #FFD9A0; border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bdc-total-label { font-size: 13px; color: var(--clr-muted); }
.bdc-total-price { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--clr-text); }
.bdc-save-badge { display: inline-block; background: #EAF7F0; color: #0F6E56; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.bdc-atc-btn {
  display: block; width: 100%; padding: 17px;
  background: var(--clr-primary); color: #fff; border: none;
  border-radius: var(--radius-md); font-family: var(--font-head);
  font-size: 17px; font-weight: 800; text-align: center;
  margin-bottom: 12px; transition: background .15s;
}
.bdc-atc-btn:hover { background: var(--clr-primary-d); }
.bdc-atc-btn:disabled { background: #bbb; cursor: not-allowed; }
.bdc-view-cart { display: none; width: 100%; padding: 14px; background: var(--clr-navy); color: #fff; border: none; border-radius: var(--radius-md); font-family: var(--font-head); font-size: 15px; font-weight: 700; text-align: center; margin-bottom: 12px; text-decoration: none; }
.bdc-msg-ok { display: none; font-size: 13px; text-align: center; padding: 10px; border-radius: 8px; margin-bottom: 12px; background: #EAF7F0; color: #0F6E56; font-weight: 600; }
.bdc-msg-er { display: none; font-size: 13px; text-align: center; padding: 10px; border-radius: 8px; margin-bottom: 12px; background: #FAECE7; color: #A32D2D; font-weight: 600; }
.bdc-micro-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bdc-micro-trust span { font-size: 12px; color: var(--clr-muted); display: flex; align-items: center; gap: 4px; }

/* Trust bar */
.bdc-trust-bar { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-md); margin-bottom: 28px; overflow: hidden; }
.bdc-trust-item { flex: 1; min-width: 140px; padding: 16px; border-right: 1px solid var(--clr-border); display: flex; align-items: flex-start; gap: 10px; }
.bdc-trust-item:last-child { border-right: none; }
.bdc-trust-icon { width: 36px; height: 36px; border-radius: 9px; background: #FEF3F0; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.bdc-trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--clr-text); margin-bottom: 2px; }
.bdc-trust-item span { font-size: 12px; color: var(--clr-muted); line-height: 1.4; }

/* Content sections */
.bdc-content-section { margin-bottom: 24px; }
.bdc-section-title { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--clr-text); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 3px solid var(--clr-primary); display: inline-block; }
.bdc-steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:600px){ .bdc-steps-grid { grid-template-columns: 1fr; } }
.bdc-step-card { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-md); padding: 18px; }
.bdc-step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--clr-primary); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-family: var(--font-head); }
.bdc-step-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--clr-text); margin-bottom: 5px; }
.bdc-step-card p { font-size: 13px; color: var(--clr-muted); line-height: 1.6; }
.bdc-content-box { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.bdc-content-box h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--clr-text); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--clr-primary); display: inline-block; }
.bdc-content-box h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--clr-text); margin: 20px 0 8px; }
.bdc-content-box p { font-size: 15px; color: #444; line-height: 1.85; margin-bottom: 14px; }
.bdc-content-box p:last-child { margin-bottom: 0; }
.bdc-content-box ul { padding-left: 22px; margin-bottom: 14px; }
.bdc-content-box ul li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 4px; }
.bdc-use-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 12px; }
@media(max-width:480px){ .bdc-use-grid { grid-template-columns: 1fr; } }
.bdc-use-item { background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #444; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.bdc-use-item::before { content: "✓"; color: var(--clr-green); font-weight: 800; flex-shrink: 0; }

/* FAQ */
.bdc-faq-item { border-top: 1px solid var(--clr-border); }
.bdc-faq-item:first-child { border-top: none; }
.bdc-faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 15px 0; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--clr-text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.bdc-faq-btn::after { content: "+"; font-size: 22px; color: var(--clr-primary); font-weight: 400; flex-shrink: 0; margin-left: 12px; }
.bdc-faq-btn.open::after { content: "−"; }
.bdc-faq-answer { font-size: 14px; color: var(--clr-muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .2s; }
.bdc-faq-answer.open { max-height: 400px; padding-bottom: 14px; }

/* Top sellers grid */
.bdc-ts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media(max-width:600px){ .bdc-ts-grid { grid-template-columns: repeat(2,1fr); } }
.bdc-ts-card { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-md); padding: 20px; text-align: center; text-decoration: none; display: block; transition: all .2s; }
.bdc-ts-card:hover { border-color: var(--clr-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bdc-ts-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--clr-text); display: block; margin-bottom: 8px; }
.bdc-ts-disc { font-size: 12px; background: #EAF7F0; color: #0F6E56; padding: 3px 10px; border-radius: 999px; display: inline-block; font-weight: 700; margin-bottom: 12px; }
.bdc-ts-btn { display: block; background: var(--clr-primary); color: #fff; padding: 9px; border-radius: 8px; font-size: 13px; font-weight: 700; }

/* Promo note */
.bdc-promo-note { background: var(--clr-navy); border-radius: var(--radius-lg); padding: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.bdc-promo-note p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.85); flex: 1; min-width: 200px; margin: 0; }
.bdc-promo-note strong { color: #5DCAA5; }
.bdc-promo-note a { background: var(--clr-green); color: #fff; padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; display: inline-block; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.bdc-footer { background: var(--clr-navy); color: #fff; margin-top: 0; }
.bdc-footer-top { max-width: var(--max-w); margin: 0 auto; padding: 52px 20px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media(max-width:900px){ .bdc-footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:520px){ .bdc-footer-top { grid-template-columns: 1fr; } }
.bdc-footer-brand p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.75; margin: 14px 0 18px; max-width: 260px; }
.bdc-footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #fff; }
.bdc-footer-logo em { font-style: normal; color: #5DCAA5; }
.bdc-footer-socials { display: flex; gap: 10px; }
.bdc-footer-socials a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; transition: background .15s; }
.bdc-footer-socials a:hover { background: var(--clr-green); }
.bdc-footer-col h4 { font-family: var(--font-head); font-size: 11px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }
.bdc-footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 8px; transition: color .15s; }
.bdc-footer-col a:hover { color: #5DCAA5; }
.bdc-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.bdc-footer-bottom-inner { max-width: var(--max-w); margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.bdc-footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); margin: 0; }
.bdc-footer-bottom-links { display: flex; gap: 16px; }
.bdc-footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.4); }
.bdc-footer-bottom-links a:hover { color: #5DCAA5; }

/* ── MISC ─────────────────────────────────────────────────────── */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.woocommerce-message, .woocommerce-error, .woocommerce-info { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.woocommerce-message { background: #EAF7F0; color: #0F6E56; border-left: 4px solid var(--clr-green); }
.woocommerce-error { background: #FAECE7; color: #A32D2D; border-left: 4px solid var(--clr-primary); }
.woocommerce-info { background: #EEF4FF; color: #1a56db; border-left: 4px solid #1a56db; }
.woocommerce-notices-wrapper .woocommerce-message a.button { display: inline-block; background: var(--clr-primary); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; margin-left: 12px; }

/* ── PRODUCT CARD FALLBACK (no image) ─────────────────────────── */
.bdc-card-fallback {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}
.bdc-card-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.03) 0px,
    rgba(255,255,255,.03) 1px,
    transparent 1px,
    transparent 12px
  );
}
.bdc-card-fallback-logo {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: .9;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}
.bdc-card-fallback-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  line-height: 1.2;
}
.bdc-card-fallback-disc {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.25);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .5px;
  position: relative;
  z-index: 1;
}

/* Hide WooCommerce default image when we have fallback */
li.product:has(.bdc-card-fallback) .woocommerce-LoopProduct-link img:first-child {
  display: none !important;
}

/* ── PRODUCT HERO — brand colored (set via inline style) ──────── */
.bdc-product-hero-branded {
  padding: 44px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bdc-product-hero-branded::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.04) 0px,
    rgba(255,255,255,.04) 1px,
    transparent 1px,
    transparent 16px
  );
  pointer-events: none;
}
.bdc-product-hero-branded > * { position: relative; z-index: 1; }

/* Store logo card on product hero */
.bdc-product-hero-logo-card {
  width: 180px;
  height: 90px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  padding: 16px;
}
.bdc-product-hero-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.bdc-product-hero-branded h1 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.bdc-product-hero-branded p {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
}

/* ── BRAND NAME CARDS ─────────────────────────────────────────── */
.bdc-brand-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px;
  width: 100%;
  height: 100%;
  min-height: 180px;
}
.bdc-brand-line1 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  letter-spacing: -0.5px;
}
.bdc-brand-line2 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.bdc-brand-disc {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.25);
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: .8px;
  margin-top: 6px;
}
.bdc-card-shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── WC NATIVE FORM INTEGRATION ───────────────────────────────── */
/* Hide everything in WC form except the button */
.bdc-cart-panel .variations_form table,
.bdc-cart-panel .variations_form tbody,
.bdc-cart-panel .variations_form tr { display: block !important; width: 100% !important; }
.bdc-cart-panel .variations_form td.label,
.bdc-cart-panel .variations_form td.value > label { display: none !important; }
.bdc-cart-panel .variations_form td.value { display: block !important; width: 100% !important; padding: 0 !important; }
.bdc-cart-panel .variations_form select { display: none !important; }
.bdc-cart-panel .reset_variations { display: none !important; }
.bdc-cart-panel .woocommerce-variation-price { display: none !important; }
.bdc-cart-panel .woocommerce-variation-availability { display: none !important; }
.bdc-cart-panel .quantity { display: none !important; }
/* Style the Add to Cart button to match our design */
.bdc-cart-panel .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  padding: 17px !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  font-family: var(--font-head) !important;
  cursor: pointer !important;
  color: #fff !important;
  transition: opacity .15s !important;
  letter-spacing: .3px !important;
  margin-top: 0 !important;
  text-transform: none !important;
}

.bdc-cart-panel .single_add_to_cart_button:hover { opacity: .88 !important; }
.bdc-cart-panel .single_add_to_cart_button.loading { opacity: .7 !important; cursor: wait !important; }
.bdc-cart-panel .woocommerce-variation-add-to-cart { display: block !important; }

/* ── CART PAGE ────────────────────────────────────────────────── */
.woocommerce-cart .quantity input.qty {
  width: 60px !important;
  text-align: center !important;
  padding: 8px !important;
  border: 1.5px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-family: var(--font-head) !important;
}
.woocommerce-cart .cart-subtotal th,
.woocommerce-cart .order-total th { font-family: var(--font-head); font-weight: 700; padding: 8px 0; font-size: 14px; }
.woocommerce-cart .cart-subtotal td,
.woocommerce-cart .order-total td { font-family: var(--font-head); font-weight: 800; padding: 8px 0; font-size: 15px; text-align: right; }
.woocommerce-cart .order-total td { font-size: 20px; color: #C0392B; }
.woocommerce-cart table.shop_table { width: 100%; border-collapse: collapse; }
@media(max-width:768px){
  .woocommerce-cart .bdc-product-layout > div:last-child { position: static !important; }
  [style*="grid-template-columns:1fr 360px"] { grid-template-columns: 1fr !important; }
}

/* ── CART PAGE REDESIGN ───────────────────────────────────────── */
.woocommerce-cart-form { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.woocommerce-cart-form table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-cart-form thead { display: none; }
.woocommerce-cart-form .cart_item { border-bottom: 1px solid #f5f5f5; }
.woocommerce-cart-form .cart_item td { padding: 20px 24px; vertical-align: middle; }
.woocommerce-cart-form td.product-thumbnail { width: 80px; padding-right: 0; }
.woocommerce-cart-form td.product-thumbnail img { width: 70px !important; height: 70px !important; object-fit: cover; border-radius: 10px; display: block; }
.woocommerce-cart-form td.product-name { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--clr-text); }
.woocommerce-cart-form td.product-name a { color: var(--clr-text); text-decoration: none; }
.woocommerce-cart-form td.product-name .variation { font-size: 12px; font-weight: 500; color: var(--clr-muted); margin-top: 4px; }
.woocommerce-cart-form td.product-price { font-size: 14px; color: var(--clr-muted); }
.woocommerce-cart-form td.product-price .amount { font-weight: 700; color: var(--clr-primary); font-size: 15px; }
.woocommerce-cart-form td.product-subtotal { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--clr-text); text-align: right; }
.woocommerce-cart-form td.product-remove a { color: #ccc !important; font-size: 22px; text-decoration: none; display: block; text-align: center; }
.woocommerce-cart-form td.product-remove a:hover { color: var(--clr-primary) !important; }
.woocommerce-cart-form td.product-quantity .quantity { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--clr-border); border-radius: 8px; overflow: hidden; width: fit-content; }
.woocommerce-cart-form td.product-quantity input.qty { width: 48px !important; text-align: center; border: none !important; padding: 8px 4px !important; font-family: var(--font-head) !important; font-size: 15px !important; font-weight: 700 !important; }
/* Cart totals box */
.cart-collaterals { display: none; }
.woocommerce-cart-form + * .cart-collaterals { display: block; }
/* Style proceed to checkout button */
.wc-proceed-to-checkout .checkout-button,
.woocommerce #payment #place_order,
.woocommerce-checkout #payment #place_order {
  background: var(--clr-primary) !important;
  color: #fff !important;
  font-family: var(--font-head) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  border-radius: 12px !important;
  padding: 16px !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
}

/* ── WC NOTICES — fix green bar covering text ─────────────────── */
.woocommerce-message {
  background: #EAF7F0 !important;
  border: 1px solid #A3D9BC !important;
  border-left: 4px solid var(--clr-green) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  color: #0F6E56 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  max-width: var(--max-w) !important;
  margin: 12px auto !important;
}
.woocommerce-message::before { display: none !important; }
.woocommerce-message a.button {
  background: var(--clr-green) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ── ORDER CONFIRMATION PAGE ──────────────────────────────────── */
.woocommerce-order { font-family: var(--font-body); }
.woocommerce-order-received h1 { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--clr-text); margin-bottom: 8px; }
.woocommerce-thankyou-order-received { font-size: 15px; color: var(--clr-muted); margin-bottom: 24px; }
.woocommerce-order-overview { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); display: flex; flex-wrap: wrap; padding: 20px 24px; gap: 24px; margin-bottom: 28px; list-style: none; }
.woocommerce-order-overview li { font-size: 13px; color: var(--clr-muted); border-right: 1px solid var(--clr-border); padding-right: 24px; }
.woocommerce-order-overview li:last-child { border-right: none; padding-right: 0; }
.woocommerce-order-overview li strong { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--clr-text); margin-top: 4px; }
.woocommerce-order-details h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--clr-text); margin-bottom: 16px; }
.woocommerce-order-details table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce-order-details table th { background: var(--clr-navy); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 700; padding: 12px 16px; text-align: left; }
.woocommerce-order-details table td { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 14px; color: var(--clr-text); }
.woocommerce-order-details table tfoot td, .woocommerce-order-details table tfoot th { font-family: var(--font-head); font-weight: 800; font-size: 15px; border-bottom: none; }
.woocommerce-order-details table tfoot tr:last-child td { color: var(--clr-primary); font-size: 18px; }

/* ── CHECKOUT PAGE ────────────────────────────────────────────── */
.woocommerce-checkout h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--clr-text); margin-bottom: 16px; }
.woocommerce-checkout .form-row label { font-size: 13px; font-weight: 600; color: var(--clr-text); display: block; margin-bottom: 5px; }
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea {
  width: 100% !important; padding: 12px 14px !important; border: 1.5px solid var(--clr-border) !important;
  border-radius: 9px !important; font-size: 14px !important; font-family: var(--font-body) !important; color: var(--clr-text) !important;
  background: #fff !important;
}
.woocommerce-checkout .form-row input:focus, .woocommerce-checkout .form-row select:focus { border-color: var(--clr-primary) !important; outline: none !important; }

/* ── WC CART BRANDED CARD (no image fallback) ─────────────────── */
.woocommerce-cart-form td.product-thumbnail .bdc-cart-thumb {
  width: 70px; height: 70px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 800; color: #fff;
  text-align: center; line-height: 1.2; padding: 6px;
}

/* ── PRODUCT PAGE — hide WC dropdown label ────────────────────── */
.bdc-cart-panel .variations_form .variations td.label,
.bdc-cart-panel label[for*="denomination"],
.bdc-cart-panel .variations th { display: none !important; }
.bdc-cart-panel .variations_form .woocommerce-variation-add-to-cart { margin-top: 0 !important; }

/* ── NUCLEAR OVERRIDE: WC notices ─────────────────────────────── */
.woocommerce-notices-wrapper { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Remove ALL default WC notice styling */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  margin: 12px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.woocommerce-message {
  background: #EAF7F0 !important;
  border: 1px solid #A3D9BC !important;
  color: #0F6E56 !important;
}
.woocommerce-info {
  background: #EEF4FF !important;
  border: 1px solid #C3D8FF !important;
  color: #1a56db !important;
}
.woocommerce-error {
  background: #FAECE7 !important;
  border: 1px solid #F5B8A8 !important;
  color: #A32D2D !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
/* Fix the emoji/icon that covers first letter */
.woocommerce-message::before,
.woocommerce-info::before { display: none !important; }
.woocommerce-message a.button,
.woocommerce-message .button {
  all: unset !important;
  background: #1D9E75 !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-family: var(--font-body) !important;
  text-decoration: none !important;
}

/* Our custom notice */
.bdc-notice-success {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 18px; border-radius: 10px;
  background: #EAF7F0; border: 1px solid #A3D9BC;
  color: #0F6E56; font-size: 14px; margin: 12px 0;
}
.bdc-notice-btn {
  background: #1D9E75; color: #fff; padding: 8px 16px;
  border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}

/* ── NUCLEAR: product page denomination dropdown GONE ─────────── */
/* These selectors cover every possible WC variation form element */
.variations_form .variations,
.variations_form .variations_button > .quantity,
.variations_form .reset_variations,
.variations_form .woocommerce-variation-price,
.variations_form .woocommerce-variation-availability,
.single_variation_wrap .woocommerce-variation-price,
.single_variation_wrap .woocommerce-variation-availability {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ONLY show the add to cart button */
.variations_form .woocommerce-variation-add-to-cart {
  display: block !important;
}
.variations_form .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
}

/* ── CART PAGE: fix default WC cart table styling ──────────────── */
.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th { border: none !important; }
.woocommerce-cart .cart-subtotal td,
.woocommerce-cart .order-total td {
  text-align: right !important;
  font-family: var(--font-head) !important;
  font-weight: 800 !important;
}
.woocommerce-cart .order-total .amount {
  color: var(--clr-primary) !important;
  font-size: 20px !important;
}
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 12px !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  background: var(--clr-primary) !important;
  border-radius: 12px !important;
  font-family: var(--font-head) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  padding: 16px !important;
  color: #fff !important;
  text-align: center !important;
  display: block !important;
  text-decoration: none !important;
}
