
/* ═══ Design Tokens ═══ */
:root {
  --bdg-primary: #6B0F1A;
  --bdg-primary-dark: #3D0A10;
  --bdg-secondary: #C8A96E;
  --bdg-cta: #C8A96E;
  --bdg-cta-hover: #B8964E;
  --bdg-bg-light: #FAF7F2;
  --bdg-bg-dark: #1A1210;
  --bdg-bg-dark-alt: #231E1C;
  --bdg-bg-footer: #0D0A08;
  --bdg-text: #F0EBE4;
  --bdg-text-on-dark: #F0EBE4;
  --bdg-text-muted: #8A7E75;
  --bdg-success: #2D6A4F;
  --bdg-error: #C1292E;
  --bdg-border: rgba(200,169,110,0.15);
  --bdg-radius: 12px;
  --bdg-gap: clamp(16px, 4vw, 24px);
  --bdg-max-width: min(1400px, 92vw);
  --bdg-gold-line: 1px solid rgba(200,169,110,0.2);
  /* Override WooCommerce custom properties */
  --woocommerce: #C8A96E;
  --wc-primary: #C8A96E;
  --wc-primary-text: #1A1210;
  --wc-secondary: #231E1C;
  --wc-secondary-text: #F0EBE4;
  --wc-content-bg: #1A1210;
  --wc-form-border-color: rgba(200,169,110,0.3);
  --wc-form-border-radius: 6px;
  --wc-form-color-background: #1A1210;
  --wc-form-color-text: #F0EBE4;
}

/* Hide ALL countdown/timer elements globally */
.bdg-deal-countdown, .bdg-daily-deal-timer-badge, .bdg-timed-offer-countdown-row { display: none !important; }

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: manipulation;
}
body {
  background: var(--bdg-bg-dark);
  color: var(--bdg-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  min-height: 100vh;
  min-height: 100dvh;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ═══ LAYOUT ═══ */
.bdg-container {
  max-width: var(--bdg-max-width);
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
/* removed body overflow-x:hidden — breaks iOS scroll */

/* ═══ FADE-IN ANIMATION ═══ */
/* Sections start visible — JS adds animation class after load */
.bdg-fade-in {
  opacity: 1;
  transform: translateY(0);
}
.bdg-animate .bdg-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.bdg-animate .bdg-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ HEADER ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0) 100%);
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  /* removed backdrop-filter transition — causes scroll freeze on iOS Safari */
}
.site-header.header-solid {
  background: rgba(26,18,16,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 20px;
  max-width: var(--bdg-max-width);
  margin: 0 auto;
}
.logo-area a { display: inline-flex; align-items: center; }
.logo-area .bdg-logo { display: block; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); }
.logo-area .bdg-logo-desktop { height: 50px; }
.logo-area .bdg-logo-mobile { display: none; height: 42px; }
.header-search {
  flex: 1;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,0.2);
}
.header-search input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.06);
  color: var(--bdg-text);
}
.header-search input::placeholder { color: rgba(240,235,228,0.4); }
.header-search button {
  background: var(--bdg-secondary);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  font-size: 18px;
  color: var(--bdg-bg-dark);
}
.header-icons { display: flex; gap: 16px; align-items: center; }
.header-icons a { color: var(--bdg-text-on-dark); font-size: 14px; text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1.2; transition: color 0.3s; }
.header-icons a:hover { color: var(--bdg-secondary); }
.header-icons a span { font-size: 11px; opacity: 0.6; }
.header-icons a strong { font-size: 14px; }
.cart-count { background: var(--bdg-secondary); color: var(--bdg-bg-dark); font-size: 11px; font-weight: 700; border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; position: relative; top: -8px; left: -4px; }

/* Category nav bar */
.header-categories {
  background: rgba(200,169,110,0.06);
  border-top: var(--bdg-gold-line);
}
.header-categories-inner {
  display: flex;
  gap: 0;
  max-width: var(--bdg-max-width);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-categories-inner::-webkit-scrollbar { display: none; }
.header-categories-inner a {
  color: rgba(240,235,228,0.7);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s, background 0.3s;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.header-categories-inner a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--bdg-secondary);
  transition: width 0.3s, left 0.3s;
}
.header-categories-inner a:hover::after,
.header-categories-inner a.active::after {
  width: 100%;
  left: 0;
}
.header-categories-inner a:hover, .header-categories-inner a.active {
  color: var(--bdg-secondary);
}
.mobile-toggle { display: none; background: none; border: none; color: var(--bdg-text-on-dark); font-size: 24px; cursor: pointer; flex-shrink: 0; }
.bdg-header-account-icon { display: none; }
@media (max-width: 768px) {
  .bdg-header-account-icon { display: flex !important; }
}
@media (max-width: 768px) {
  /* Mobile header: Hamburger | Logo (center) | Search | Account | Cart */
  .header-top {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 12px;
  }
  .mobile-toggle { display: block; font-size: 24px; order: 1; }
  .logo-area { order: 2; flex: 1; text-align: center; }
  .logo-area .bdg-logo-desktop { display: none; }
  .logo-area .bdg-logo-mobile { display: inline-block; height: 50px; margin: 0 auto; }
  .header-search { order: 3; display: flex; flex: 0; width: auto; }
  .header-search input { display: none; }
  .header-search button { background: transparent; font-size: 22px; padding: 0; color: var(--bdg-text-on-dark); }
  .header-icons { order: 4; gap: 14px; margin-left: 0; }
  .header-icons a span:not(.cart-count) { display: none; }
  .header-icons a strong { display: none; }
  .header-icons a { font-size: 22px; }
  .header-icons .bdg-header-ordini { display: none; }
  .header-icons .cart-count { display: inline-flex !important; }
  .cart-count { top: -8px; left: -4px; width: 16px; height: 16px; font-size: 10px; }
  /* Hide category bar on mobile — categories are in the drawer menu */
  .header-categories { display: none; }
}

/* ═══ PAGE SWITCHER (hidden) ═══ */
.bdg-page-switcher { display: none; }

/* ═══ HERO ═══ */
.bdg-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  -webkit-overflow-scrolling: touch;
}
.bdg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,18,16,0.3) 0%, rgba(26,18,16,0.6) 50%, rgba(26,18,16,0.95) 100%);
}
.bdg-hero .bdg-container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 100px;
}
.bdg-hero h1 {
  color: var(--bdg-text-on-dark);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 700px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.bdg-hero p {
  color: rgba(240,235,228,0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 550px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}
.bdg-hero-label {
  display: inline-block;
  color: var(--bdg-secondary);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ═══ CATEGORY HERO ═══ */
.bdg-hero-category {
  min-height: 60vh;
}
.bdg-hero-category .bdg-container {
  padding-top: 140px;
  padding-bottom: 60px;
}

/* ═══ CHI SIAMO ═══ */
.bdg-hero-chisiamo { min-height: 56vh; }
.bdg-hero-chisiamo .bdg-container { text-align: center; }
.bdg-chisiamo-logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.bdg-chisiamo-section { padding: 60px 0 80px; }
.bdg-chisiamo-content { max-width: 760px; }
.bdg-prose h1, .bdg-prose h2, .bdg-prose h3 {
  font-family: var(--bdg-font-display, Georgia, serif);
  color: var(--bdg-text, #f5ece0);
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.bdg-prose h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0 0 24px; }
.bdg-prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(200,169,110,0.18);
}
.bdg-prose h2:first-of-type { border-top: 0; padding-top: 0; }
.bdg-prose p {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(245,236,224,0.86);
  margin: 0 0 18px;
}
.bdg-prose a {
  color: var(--bdg-secondary, #C8A96E);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.4);
  transition: border-color .2s;
}
.bdg-prose a:hover { border-bottom-color: var(--bdg-secondary, #C8A96E); }
.bdg-prose strong { color: var(--bdg-text, #f5ece0); }
.bdg-chisiamo-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(200,169,110,0.18);
}
.bdg-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--bdg-secondary, #C8A96E);
  color: var(--bdg-secondary, #C8A96E);
  padding: 14px 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.bdg-btn-ghost:hover { background: var(--bdg-secondary, #C8A96E); color: #1a1210; }
@media (max-width: 768px) {
  .bdg-hero-chisiamo { min-height: 50vh; }
  .bdg-chisiamo-logo { width: 90px; margin-bottom: 16px; }
  .bdg-chisiamo-section { padding: 40px 0 60px; }
  .bdg-prose p { font-size: 16px; }
  .bdg-prose h2 { margin: 36px 0 14px; padding-top: 20px; }
  .bdg-chisiamo-cta { margin-top: 40px; padding-top: 28px; }
  .bdg-chisiamo-cta .bdg-btn,
  .bdg-chisiamo-cta .bdg-btn-ghost { width: 100%; text-align: center; }
}

/* ═══ BUTTONS ═══ */
.bdg-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 0;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.bdg-btn-cta {
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
}
.bdg-btn-cta:hover {
  background: #B8964E;
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
  transform: translateY(-1px);
}
.bdg-btn-outline {
  background: transparent;
  color: var(--bdg-text-on-dark);
  border: 1px solid rgba(200,169,110,0.4);
}
.bdg-btn-outline:hover {
  border-color: var(--bdg-secondary);
  color: var(--bdg-secondary);
  box-shadow: 0 0 20px rgba(200,169,110,0.15);
}

/* ═══ SECTIONS ═══ */
.bdg-section {
  padding: 100px 0;
}
.bdg-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--bdg-secondary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bdg-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--bdg-secondary);
  margin: 16px auto 0;
}
.bdg-section-subtitle {
  text-align: center;
  color: var(--bdg-text-muted);
  font-size: 15px;
  margin-bottom: 48px;
  font-weight: 300;
}

/* ═══ ALTERNATING SECTION BACKGROUNDS ═══ */
.bdg-homepage .bdg-categories { background: var(--bdg-bg-dark); }
.bdg-homepage .bdg-bestsellers { background: var(--bdg-bg-dark-alt); }
.bdg-homepage .bdg-new-arrivals { background: var(--bdg-bg-dark); }
.bdg-homepage .bdg-premium-highlight { background: var(--bdg-bg-dark-alt); }
.bdg-homepage .bdg-reviews { background: var(--bdg-bg-dark); }

/* ═══ CATEGORY GRID ═══ */
.bdg-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.bdg-cat-card {
  border-radius: var(--bdg-radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bdg-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.bdg-cat-card-img {
  aspect-ratio: 2/3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.bdg-cat-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,18,16,0) 40%, rgba(26,18,16,0.85) 100%);
}
.bdg-cat-card-name {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: var(--bdg-text-on-dark);
  text-align: center;
  padding: 20px 12px;
  font-weight: 500;
  font-size: 14px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ═══ PRODUCT GRID ═══ */
.bdg-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.bdg-product-card {
  position: relative;
  cursor: pointer;
  background: var(--bdg-bg-dark-alt);
  border-radius: var(--bdg-radius);
  overflow: hidden;
  border: 1px solid var(--bdg-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bdg-product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.bdg-product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.bdg-product-card:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}
.bdg-product-card-body {
  padding: 16px 18px 20px;
}
.bdg-product-card-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.bdg-product-card-price {
  font-size: 20px;
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 14px;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-product-card .bdg-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 11px;
  border-radius: 0;
  background: transparent;
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bdg-product-card .bdg-btn:hover {
  background: rgba(200,169,110,0.1);
  border-color: var(--bdg-secondary);
}

/* ═══ TRUST BAR ═══ */
.bdg-trust-bar {
  background: var(--bdg-bg-dark);
  color: var(--bdg-text-on-dark);
  border-top: var(--bdg-gold-line);
  border-bottom: var(--bdg-gold-line);
}
.bdg-trust-bar .bdg-section-title {
  color: var(--bdg-secondary);
}
.bdg-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  text-align: center;
}
.bdg-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border-right: var(--bdg-gold-line);
}
.bdg-trust-item:last-child { border-right: none; }
.bdg-trust-icon {
  font-size: 3rem;
  color: var(--bdg-secondary);
  font-weight: 300;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
}
.bdg-trust-item strong {
  color: var(--bdg-text-on-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.bdg-trust-item span:last-child {
  color: rgba(240,235,228,0.5);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
}

/* ═══ FREE SHIPPING PROGRESS BAR ═══ */
.bdg-shipping-bar { display: none !important; /* REMOVED: progress bar is inline in cart/checkout totals only */
  position: sticky;
  top: 0;
  z-index: 1002;
  background: #0D0A08;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(200,169,110,0.1);
  transition: top 0.3s ease;
}
.bdg-shipping-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(240,235,228,0.7);
  font-weight: 400;
  max-width: var(--bdg-max-width);
  width: 100%;
  padding: 0 var(--bdg-gap);
}
.bdg-shipping-bar-text {
  white-space: nowrap;
}
.bdg-shipping-bar-text strong {
  color: var(--bdg-secondary);
  font-weight: 600;
}
.bdg-shipping-bar-track {
  flex: 1;
  max-width: 200px;
  height: 4px;
  background: rgba(200,169,110,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.bdg-shipping-bar-fill {
  height: 100%;
  background: var(--bdg-secondary);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.bdg-shipping-bar-check {
  color: var(--bdg-success);
  font-weight: 600;
  font-size: 13px;
}
@media (max-width: 768px) {
  .bdg-shipping-bar { height: 32px; }
  .bdg-shipping-bar-inner { font-size: 11px; gap: 8px; }
  .bdg-shipping-bar-track { max-width: 120px; }
}

/* ═══ SHIPPING INFO SECTION (Product Page) ═══ */
.bdg-shipping-section {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.bdg-shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
}
.bdg-shipping-option svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.bdg-shipping-option-text {
  flex: 1;
}
.bdg-shipping-option-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
}
.bdg-shipping-option-title .bdg-free-tag {
  color: var(--bdg-success);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}
.bdg-shipping-option-title .bdg-price-tag {
  color: var(--bdg-secondary);
  font-weight: 600;
}
.bdg-shipping-option-sub {
  font-size: 12px;
  color: var(--bdg-text-muted);
  line-height: 1.6;
}
.bdg-shipping-option-sub a {
  color: var(--bdg-secondary);
}
.bdg-delivery-estimate {
  font-size: 13px;
  color: var(--bdg-success);
  font-weight: 500;
  margin-top: 2px;
}
.bdg-shipping-note {
  font-size: 11px;
  color: var(--bdg-text-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* ═══ DELIVERY METHOD SELECTOR (Buy Box + Cart + Checkout) ═══ */
.bdg-delivery-selector {
  margin: 12px 0;
}

/* Hide delivery method selector on product pages - only show on cart/checkout */
#page-prodotto .bdg-delivery-radio,
#page-prodotto h3:has(+ .bdg-delivery-radio),
#page-prodotto-sale .bdg-delivery-radio,
#page-prodotto-sale h3:has(+ .bdg-delivery-radio),
#page-prodotto-normal .bdg-delivery-radio,
#page-prodotto-normal h3:has(+ .bdg-delivery-radio) { display: none !important; }
/* Also hide "Metodo di consegna" heading on product pages */
.bdg-delivery-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(200,169,110,0.15);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  border-radius: 4px;
}
.bdg-delivery-radio:hover {
  border-color: rgba(200,169,110,0.4);
  background: rgba(200,169,110,0.04);
}
.bdg-delivery-radio.active {
  border-color: var(--bdg-secondary);
  background: rgba(200,169,110,0.06);
}
.bdg-delivery-radio input[type="radio"] {
  accent-color: var(--bdg-secondary);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}
.bdg-delivery-radio-content {
  flex: 1;
}
.bdg-delivery-radio-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
}
.bdg-delivery-radio-desc {
  font-size: 12px;
  color: var(--bdg-text-muted);
  margin-top: 2px;
}
.bdg-delivery-radio-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--bdg-success);
  white-space: nowrap;
}
.bdg-delivery-radio-price.paid {
  color: var(--bdg-secondary);
}

/* ═══ SHIPPING ADDRESS FIELDS (Checkout) ═══ */
.bdg-shipping-address-fields {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: rgba(200,169,110,0.04);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 4px;
}
.bdg-shipping-address-fields.visible {
  display: block;
}
.bdg-shipping-address-fields h4 {
  font-size: 13px;
  color: var(--bdg-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ═══ CART SHIPPING PROGRESS ═══ */
.bdg-cart-shipping-progress {
  margin-top: 12px;
  padding: 12px 0;
}
.bdg-cart-shipping-progress-text {
  font-size: 12px;
  color: var(--bdg-text-muted);
  margin-bottom: 6px;
}
.bdg-cart-shipping-progress-text strong {
  color: var(--bdg-secondary);
}
.bdg-cart-shipping-progress-bar {
  height: 4px;
  background: rgba(200,169,110,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.bdg-cart-shipping-progress-fill {
  height: 100%;
  background: var(--bdg-secondary);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ═══ PREMIUM HIGHLIGHT (WAGYU) ═══ */
.bdg-premium-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bdg-premium-label {
  display: inline-block;
  color: var(--bdg-secondary);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-premium-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 20px;
  line-height: 1.1;
}
.bdg-premium-content p {
  color: rgba(240,235,228,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}
.bdg-premium-image img {
  border-radius: var(--bdg-radius);
  width: 100%;
  height: auto;
  border: 1px solid var(--bdg-border);
}

/* ═══ REVIEWS ═══ */
.bdg-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bdg-review-card {
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: var(--bdg-radius);
  padding: 32px;
  position: relative;
}
.bdg-review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bdg-secondary), transparent);
}
.bdg-review-stars {
  color: var(--bdg-secondary);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.bdg-review-card p {
  font-style: italic;
  color: rgba(240,235,228,0.7);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}
.bdg-review-author {
  color: var(--bdg-secondary);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══ NEWSLETTER ═══ */
.bdg-newsletter {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text-on-dark);
  border-top: var(--bdg-gold-line);
}
.bdg-newsletter-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.bdg-newsletter-box h2 {
  color: var(--bdg-secondary);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.bdg-newsletter-box p {
  color: rgba(240,235,228,0.6);
  margin-bottom: 32px;
  font-weight: 300;
}
.bdg-newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.bdg-input {
  padding: 14px 20px;
  border: 1px solid rgba(200,169,110,0.25);
  background: rgba(255,255,255,0.04);
  color: var(--bdg-text-on-dark);
  border-radius: 0;
  font-size: 14px;
  flex: 1;
  max-width: 300px;
  transition: border-color 0.3s;
}
.bdg-input:focus {
  outline: none;
  border-color: var(--bdg-secondary);
}
.bdg-input::placeholder {
  color: rgba(240,235,228,0.35);
}

/* ═══ RISTORANTE QR MENU — MOBILE-FIRST ═══ */

/* Hero full-screen */
.bdg-qr-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.bdg-qr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,8,0.6) 0%, rgba(13,10,8,0.75) 50%, rgba(13,10,8,0.95) 100%);
  z-index: 1;
}
.bdg-qr-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.bdg-qr-hero__logo {
  width: 140px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.bdg-qr-hero__badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-hero__tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  max-width: 500px;
}
.bdg-qr-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(200,169,110,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.bdg-qr-hero__scroll svg {
  width: 20px;
  height: 20px;
  animation: bdg-bounce 2s infinite;
}
@keyframes bdg-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* Menu Cards */
.bdg-qr-menus {
  background: var(--bdg-bg-dark);
  padding: 48px 0 56px;
}
.bdg-qr-menus__title {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-menus__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--bdg-gap);
  max-width: var(--bdg-max-width);
  margin: 0 auto;
}
.bdg-menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  border-radius: var(--bdg-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.bdg-menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
  transition: background 0.3s ease;
}
.bdg-menu-card:hover,
.bdg-menu-card:active {
  transform: scale(1.015);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.bdg-menu-card:active {
  transform: scale(0.985);
}
.bdg-menu-card__content {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bdg-menu-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-menu-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
}
.bdg-menu-card__desc {
  font-size: 0.85rem;
  color: rgba(240,235,228,0.7);
  line-height: 1.4;
}
.bdg-menu-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-menu-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.bdg-menu-card:hover .bdg-menu-card__cta svg {
  transform: translateX(4px);
}
.bdg-menu-card__hint {
  display: block;
  font-size: 0.65rem;
  color: rgba(200,169,110,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .bdg-qr-menus__grid {
    flex-direction: row;
  }
  .bdg-menu-card {
    flex: 1;
    min-height: 340px;
  }
  .bdg-menu-card__hint { display: none; }
}

/* Process Section */
.bdg-qr-process {
  background: var(--bdg-bg-dark-alt);
  padding: 64px 0;
}
.bdg-qr-process__title {
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.bdg-qr-process__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.bdg-qr-step__num {
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--bdg-secondary);
  opacity: 0.35;
  font-weight: 700;
}
.bdg-qr-step__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
}
.bdg-qr-step__label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bdg-secondary);
  letter-spacing: 0.05em;
}
.bdg-qr-step__desc {
  font-size: 0.9rem;
  color: var(--bdg-text-muted);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .bdg-qr-process__steps {
    flex-direction: row;
    max-width: var(--bdg-max-width);
    gap: 32px;
  }
  .bdg-qr-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bdg-qr-step__num { font-size: 4rem; }
}

/* Gallery */
.bdg-qr-gallery {
  background: var(--bdg-bg-dark);
  padding: 48px 0;
  overflow: hidden;
}
.bdg-qr-gallery__title {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-gallery__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--bdg-gap) 16px;
  scrollbar-width: none;
}
.bdg-qr-gallery__scroll::-webkit-scrollbar { display: none; }
.bdg-qr-gallery__item {
  flex-shrink: 0;
  width: 80vw;
  max-width: 400px;
  aspect-ratio: 4/3;
  border-radius: var(--bdg-radius);
  overflow: hidden;
  scroll-snap-align: center;
}
.bdg-qr-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .bdg-qr-gallery__item {
    width: 340px;
  }
}

/* Chi e DeiGoti */
.bdg-qr-about {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.bdg-qr-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,10,8,0.82);
}
.bdg-qr-about__inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-about__label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 12px;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-about__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
}
.bdg-qr-about__text {
  font-size: 1rem;
  color: rgba(240,235,228,0.75);
  line-height: 1.7;
}

/* Info Bar */
.bdg-qr-info {
  background: var(--bdg-bg-dark-alt);
  padding: 40px 0;
}
.bdg-qr-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--bdg-max-width);
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-info__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bdg-qr-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200,169,110,0.1);
  color: var(--bdg-secondary);
  font-size: 1.1rem;
}
.bdg-qr-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bdg-text-muted);
  display: block;
}
.bdg-qr-info__value {
  font-size: 0.95rem;
  color: var(--bdg-text);
  line-height: 1.4;
}
.bdg-qr-info__value a {
  color: var(--bdg-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .bdg-qr-info__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Final */
.bdg-qr-cta {
  background: var(--bdg-bg-dark);
  padding: 56px 0 64px;
  text-align: center;
}
.bdg-qr-cta__inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-cta__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: #fff;
  margin-bottom: 8px;
}
.bdg-qr-cta__subtitle {
  font-size: 0.9rem;
  color: var(--bdg-text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.bdg-qr-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  min-height: 52px;
}
.bdg-qr-cta__btn:hover {
  background: var(--bdg-cta-hover);
  transform: translateY(-1px);
}
.bdg-qr-cta__btn svg {
  width: 18px;
  height: 18px;
}

/* ═══ EMPTY STATE ═══ */
.bdg-empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--bdg-text-muted);
}
.bdg-empty-state p {
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 300;
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--bdg-bg-footer);
  color: var(--bdg-text-on-dark);
  padding: 80px 0 0;
  border-top: var(--bdg-gold-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--bdg-secondary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200,169,110,0.15);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.footer-col p,
.footer-col li {
  color: rgba(240,235,228,0.5);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 6px;
  font-weight: 300;
}
.footer-col ul {
  list-style: none;
}
.footer-col a {
  color: rgba(240,235,228,0.5);
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--bdg-secondary);
}
.bdg-social-footer {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 24px 0;
  border-top: var(--bdg-gold-line);
  margin-top: 16px;
}
.bdg-social-footer a {
  color: var(--bdg-text-muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.bdg-social-footer a:hover {
  color: var(--bdg-secondary);
}
.footer-copyright {
  background: rgba(0,0,0,0.3);
  color: rgba(240,235,228,0.3);
  font-size: 12px;
  text-align: center;
  padding: 16px 0;
  font-weight: 300;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .site-header nav { display: none; }
  .mobile-toggle { display: block; }
  .site-header.nav-open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26,18,16,0.95);
    backdrop-filter: blur(12px);
    padding: 16px var(--bdg-gap);
    gap: 12px;
    border-top: var(--bdg-gold-line);
  }
  .bdg-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bdg-products-grid { grid-template-columns: repeat(2, 1fr); }
  .bdg-premium-split { grid-template-columns: 1fr; gap: 32px; }
  .bdg-reviews-grid { grid-template-columns: 1fr; }
  .bdg-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .bdg-trust-item { border-right: none; border-bottom: var(--bdg-gold-line); padding: 24px; }
  .bdg-trust-item:last-child { border-bottom: none; }
  .bdg-trust-item:nth-child(odd) { border-right: var(--bdg-gold-line); }
  .bdg-trust-item:nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .bdg-hero { min-height: 80vh; min-height: 80dvh; }
  .bdg-hero .bdg-container { padding-top: 80px; padding-bottom: 40px; }
  .bdg-hero-category { min-height: 30vh; }
  .bdg-hero-category .bdg-container { padding-top: 80px; padding-bottom: 30px; }
  .bdg-hero h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .bdg-hero p { font-size: 14px; }
  .bdg-newsletter-form { flex-direction: column; align-items: center; }
  .bdg-input { max-width: 100%; width: 100%; }
  .bdg-section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .bdg-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bdg-products-grid { grid-template-columns: 1fr; }
  .bdg-hero { min-height: 70vh; min-height: 70dvh; }
  .bdg-hero-category { min-height: 25vh; }
  .bdg-section { padding: 60px 0; }
}

/* ═══ PRODUCT SINGLE PAGE ═══ */
.bdg-breadcrumb {
  padding: 130px 0 12px;
  font-size: 13px;
  color: var(--bdg-text-muted);
}
@media (max-width: 768px) {
  .bdg-breadcrumb {
    padding: 160px 0 6px;
    font-size: 11px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }
  .bdg-breadcrumb span { margin: 0 5px; }
}
.bdg-breadcrumb a {
  color: var(--bdg-secondary);
  font-weight: 500;
  transition: opacity 0.3s;
}
.bdg-breadcrumb a:hover {
  opacity: 0.7;
}
.bdg-breadcrumb span {
  margin: 0 8px;
  color: rgba(200,169,110,0.3);
}
/* Amazon-style 3-column product page */
.bdg-product-layout-amazon {
  display: grid;
  grid-template-columns: 1.4fr 1fr 300px;
  gap: 32px;
  padding: 20px 0 40px;
}
.bdg-product-gallery-amazon { display: flex; gap: 12px; align-items: flex-start; }
.bdg-gallery-thumbs-vertical { display: flex; flex-direction: column; gap: 8px; width: 60px; flex-shrink: 0; }
.bdg-gallery-thumbs-vertical img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: border-color 0.2s; background: #231E1C; }
.bdg-gallery-thumbs-vertical img:hover, .bdg-gallery-thumbs-vertical img.active { border-color: var(--bdg-secondary); }
.bdg-gallery-main-amazon { flex: 1; background: #231E1C; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bdg-gallery-main-amazon { position: relative; }
.bdg-gallery-main-amazon img { width: 100%; max-height: 650px; object-fit: contain; display: block; }

/* Mobile gallery slider — hidden on desktop */
.bdg-gallery-mobile { display: none; }

/* Like + Share actions — overlay top-right on main image (Amazon-style) */
.bdg-product-gallery-amazon { position: relative; }
.bdg-gallery-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 5;
}
.bdg-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(26,18,16,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200,169,110,0.35);
  border-radius: 50%;
  color: #F0EBE4;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.bdg-action-btn span { display: none; }
.bdg-action-btn:hover { color: var(--bdg-secondary); border-color: var(--bdg-secondary); transform: scale(1.05); }
.bdg-action-btn svg { flex-shrink: 0; width: 18px; height: 18px; transition: all 0.2s ease; }
.bdg-like-btn.is-liked { color: #dc3545; }
.bdg-like-btn.is-liked svg { fill: #dc3545; stroke: #dc3545; }
.bdg-product-info-amazon h1 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 24px; font-weight: 400; color: var(--bdg-text-on-dark); line-height: 1.3; margin-bottom: 8px; }
.bdg-product-rating { display: none; }
.bdg-product-divider { height: 1px; background: rgba(200,169,110,0.15); margin: 16px 0; }
.bdg-product-price-amazon { font-size: 28px; font-weight: 400; color: var(--bdg-text-on-dark); }
.bdg-product-price-unit { font-size: 13px; color: var(--bdg-text-muted); margin-bottom: 16px; }
.bdg-product-bullets ul { list-style: disc; padding-left: 18px; color: var(--bdg-text-on-dark); font-size: 14px; line-height: 1.8; }
.bdg-product-bullets li { margin-bottom: 4px; }
.bdg-product-meta-amazon { display: grid; gap: 8px; font-size: 14px; }
.bdg-product-meta-amazon div { display: flex; gap: 12px; }
.bdg-meta-label { color: var(--bdg-text-muted); min-width: 120px; font-weight: 600; }
.bdg-product-meta-amazon a { color: var(--bdg-secondary); }
/* Buy Box */
.bdg-buy-box { background: #231E1C; border: 1px solid rgba(200,169,110,0.2); border-radius: 8px; padding: 20px; height: fit-content; position: sticky; top: 100px; }
.bdg-buybox-price { font-size: 28px; color: var(--bdg-text-on-dark); margin-bottom: 12px; }
.bdg-buybox-pickup { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bdg-text-on-dark); margin-bottom: 8px; }
.bdg-buybox-stock { margin-bottom: 16px; }
.bdg-in-stock { color: var(--bdg-success); font-size: 14px; font-weight: 600; }
.bdg-out-stock { color: var(--bdg-error); font-size: 14px; font-weight: 600; }
.bdg-buybox-qty { margin-bottom: 16px; }
.bdg-buybox-qty label { font-size: 13px; color: var(--bdg-text-muted); display: block; margin-bottom: 6px; }
.bdg-buybox-qty select { width: 100%; padding: 8px 12px; background: #1A1210; color: var(--bdg-text-on-dark); border: 1px solid rgba(200,169,110,0.3); border-radius: 8px; font-size: 14px; cursor: pointer; }
.bdg-buybox-add { display: block; width: 100%; padding: 14px; background: #FFB81C; color: #1A1210; border: none; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 8px; transition: background 0.2s; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; }
.bdg-buybox-add:hover { background: #E5A318; }
.bdg-buybox-buy { display: block; width: 100%; padding: 14px; background: #9B1B30; color: #fff; border: none; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 16px; transition: all 0.2s; text-transform: uppercase; letter-spacing: 1.5px; text-align: center; text-decoration: none; }
.bdg-buybox-buy:hover { background: #B22240; }
.bdg-buybox-secure { font-size: 12px; color: var(--bdg-text-muted); text-align: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(200,169,110,0.1); }
.bdg-buybox-details { font-size: 13px; }
.bdg-buybox-details div { display: flex; justify-content: space-between; margin-bottom: 6px; }
.bdg-buybox-details span { color: var(--bdg-text-muted); }
.bdg-buybox-details strong { color: var(--bdg-text-on-dark); }
@media (max-width: 1024px) { .bdg-product-layout-amazon { grid-template-columns: 1fr 1fr; } .bdg-buy-box { grid-column: 1 / -1; position: static; } }
@media (max-width: 768px) {
  .bdg-product-layout-amazon { grid-template-columns: 1fr; }
  /* Mobile Amazon: Gallery TOP → dots/heart/share → Title → Rating → Offer/Price → Pickup → Qty → Buttons */
  .bdg-product-layout-amazon { display: flex; flex-direction: column; gap: 0; }
  .bdg-product-gallery-amazon { order: 1; flex-direction: column; margin: 0 calc(-1 * var(--bdg-gap)); }
  .bdg-gallery-thumbs-vertical { display: none; }
  .bdg-gallery-main-amazon { display: none; }

  /* Mobile slider visible */
  .bdg-gallery-mobile { display: block; width: 100%; }
  .bdg-gallery-mobile-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #231E1C;
  }
  .bdg-gallery-mobile-track::-webkit-scrollbar { display: none; }
  .bdg-gallery-mobile-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
  }
  .bdg-gallery-mobile-slide img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    padding: 20px;
    display: block;
  }
  .bdg-gallery-mobile { position: relative; }
  .bdg-gallery-mobile-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px var(--bdg-gap);
  }
  /* Mobile: keep overlay top-right, slightly smaller */
  .bdg-gallery-actions { top: 10px; right: 10px; gap: 8px; }
  .bdg-action-btn { width: 32px; height: 32px; }
  .bdg-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(200,169,110,0.25);
    cursor: pointer;
    transition: all 0.2s;
  }
  .bdg-gallery-dot.is-active {
    background: var(--bdg-secondary);
    width: 22px;
    border-radius: 4px;
  }

  .bdg-product-info-amazon { order: 2; padding-top: 12px; }
  .bdg-product-info-amazon h1 { font-size: 17px; line-height: 1.4; }
  /* Buy box inline on mobile */
  .bdg-buy-box { order: 3; background: transparent; border: none; padding: 0; position: static; margin-top: 8px; }
  .bdg-buybox-price { display: block; font-size: 32px; margin-bottom: 8px; }
  .bdg-timed-offer-price.bdg-buybox-price { display: inline-block; }
  .bdg-buybox-pickup { padding: 12px 0; border-top: 1px solid rgba(200,169,110,0.1); }
  .bdg-buybox-stock { color: var(--bdg-success); font-size: 16px; }
  .bdg-buybox-qty select { background: var(--bdg-bg-dark); border: 1px solid rgba(200,169,110,0.3); border-radius: 8px; padding: 12px 16px; font-size: 16px; width: 100%; }
  .bdg-buybox-add, .bdg-buybox-buy { border-radius: 24px; padding: 14px; font-size: 16px; }
  .bdg-buybox-secure { display: none; }
  .bdg-buybox-details { display: none; }
  .bdg-product-meta-amazon { font-size: 13px; }
}

/* ═══ WooCommerce overrides for Amazon-style product page ═══ */
/* Neutralize WooCommerce defaults inside our custom layout */
.bdg-product-layout-amazon .cart.bdg-buybox-form {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
.bdg-product-layout-amazon .bdg-buybox-form .quantity {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  float: none !important;
}
.bdg-product-layout-amazon .bdg-buybox-form .quantity input.qty {
  width: 100% !important;
  padding: 8px 12px !important;
  background: #1A1210 !important;
  color: var(--bdg-text-on-dark) !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  cursor: pointer;
  -moz-appearance: textfield;
  box-sizing: border-box;
}
.bdg-product-layout-amazon .bdg-buybox-form .quantity input.qty::-webkit-inner-spin-button,
.bdg-product-layout-amazon .bdg-buybox-form .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bdg-product-layout-amazon .bdg-buybox-form .quantity input.qty:focus {
  border-color: var(--bdg-secondary) !important;
  outline: none;
}
/* Hide WooCommerce screen-reader label inside buybox */
.bdg-buybox-qty .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
/* Ensure bdg-buybox-add button is not overridden by WooCommerce */
.woocommerce .bdg-buybox-add,
.woocommerce div.product .bdg-buybox-add {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  background: #FFB81C !important;
  color: #1A1210 !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  min-width: 0 !important;
  flex: none !important;
  text-align: center !important;
}
.woocommerce .bdg-buybox-add:hover { background: #E5A318 !important; box-shadow: none !important; transform: none !important; }
/* Ensure buy-now link is styled as button */
.woocommerce .bdg-buybox-buy {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  background: #9B1B30 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  margin-bottom: 16px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
}
.woocommerce .bdg-buybox-buy:hover { background: #E5A318 !important; }
/* Mobile quantity input override */
@media (max-width: 768px) {
  .bdg-product-layout-amazon .bdg-buybox-form .quantity input.qty {
    background: var(--bdg-bg-dark) !important;
    border: 1px solid rgba(200,169,110,0.3) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    width: 100% !important;
  }
}
/* Remove double padding: template has inline padding-top */
.single-product .bdg-product-layout-amazon { margin-top: 0; }

.bdg-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 24px 0 60px;
}
.bdg-product-gallery-main img {
  width: 100%;
  border-radius: var(--bdg-radius);
  border: 1px solid var(--bdg-border);
}
.bdg-product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.bdg-product-gallery-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(200,169,110,0.15);
  cursor: pointer;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}
.bdg-product-gallery-thumbs img:hover,
.bdg-product-gallery-thumbs img.active {
  border-color: var(--bdg-secondary);
  opacity: 1;
}
.bdg-product-info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--bdg-text-on-dark);
  margin-bottom: 16px;
  font-weight: 300;
}
.bdg-product-price {
  font-size: 32px;
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-product-price .bdg-price-old {
  text-decoration: line-through;
  color: var(--bdg-text-muted);
  font-size: 22px;
  margin-right: 8px;
}
.bdg-product-price .bdg-price-sale {
  color: var(--bdg-error);
}
.bdg-product-short-desc {
  color: rgba(240,235,228,0.7);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 300;
  border-bottom: var(--bdg-gold-line);
  padding-bottom: 24px;
}
.bdg-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bdg-border);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.bdg-qty-selector button {
  background: rgba(200,169,110,0.1);
  color: var(--bdg-secondary);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.3s;
}
.bdg-qty-selector button:hover {
  background: rgba(200,169,110,0.2);
}
.bdg-qty-selector input {
  width: 50px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--bdg-text);
  background: transparent;
  border-left: 1px solid var(--bdg-border);
  border-right: 1px solid var(--bdg-border);
}
.bdg-add-to-cart {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.bdg-add-to-cart:hover {
  background: #B8964E;
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
  transform: translateY(-1px);
}
/* Buy Now button */
.bdg-buy-now {
  display: block;
  width: 100%;
  padding: 18px;
  background: transparent;
  color: var(--bdg-text-on-dark);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.bdg-buy-now:hover {
  border-color: var(--bdg-secondary);
  color: var(--bdg-secondary);
  box-shadow: 0 0 20px rgba(200,169,110,0.15);
}

/* Toast notification */
.bdg-toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,18,16,0.95);
  backdrop-filter: blur(12px);
  color: var(--bdg-text-on-dark);
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid var(--bdg-border);
  font-size: 14px;
  font-weight: 400;
  z-index: 10001;
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
  text-align: center;
}
.bdg-toast.show { top: 100px; }
.bdg-toast a { color: var(--bdg-secondary); font-weight: 600; text-decoration: underline; white-space: nowrap; }
@media (max-width: 768px) {
  .bdg-toast { padding: 12px 16px; font-size: 13px; gap: 8px; }
  .bdg-toast.show { top: 80px; }
}

/* Mobile sticky bar — styles in bottom section */
.bdg-sticky-bar .bdg-sticky-price {
  font-size: 20px;
  font-weight: 300;
  color: var(--bdg-secondary);
  white-space: nowrap;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-sticky-bar button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bdg-sticky-bar .bdg-sticky-add { background: var(--bdg-cta); color: var(--bdg-bg-dark); flex: 1; border-radius: 20px; font-size: 15px; }
.bdg-sticky-bar .bdg-sticky-right { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.bdg-sticky-bar .bdg-sticky-shipping-text { font-size: 10px; color: var(--bdg-text-muted); text-align: center; letter-spacing: 0.5px; }
@media (max-width: 768px) {
  .bdg-sticky-bar { display: flex; align-items: center; }
  #page-prodotto { padding-bottom: 80px; }
}
.bdg-pickup-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,169,110,0.06);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--bdg-secondary);
  font-weight: 400;
  margin-bottom: 20px;
}
.bdg-pickup-badge svg {
  flex-shrink: 0;
}
.bdg-product-meta {
  font-size: 13px;
  color: var(--bdg-text-muted);
  line-height: 1.8;
}
.bdg-product-meta strong {
  color: rgba(240,235,228,0.6);
}
.bdg-product-meta a {
  color: var(--bdg-secondary) !important;
}

/* Product Tabs */
.bdg-product-tabs {
  border-bottom: 1px solid var(--bdg-border);
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bdg-product-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .bdg-product-tabs button { padding: 12px 14px; font-size: 11px; letter-spacing: 0.3px; }
}
.bdg-product-tabs button {
  background: none;
  border: none;
  padding: 14px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--bdg-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  flex-shrink: 0;
}
.bdg-product-tabs button.active {
  color: var(--bdg-secondary);
  border-bottom-color: var(--bdg-secondary);
}
.bdg-product-tabs button:hover {
  color: var(--bdg-text);
}
.bdg-product-tab-content {
  display: none;
  padding: 28px 0;
  line-height: 1.8;
  color: rgba(240,235,228,0.7);
  font-weight: 300;
}
.bdg-product-tab-content.active {
  display: block;
}
.bdg-product-tab-content h3 {
  font-size: 18px;
  color: var(--bdg-secondary);
  margin: 20px 0 10px;
  font-weight: 500;
}
.bdg-related-products {
  padding: 60px 0;
  border-top: var(--bdg-gold-line);
}
.bdg-related-products h2 {
  font-size: 1.8rem;
  color: var(--bdg-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ═══ CART PAGE ═══ */
.bdg-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 32px 0 60px;
  align-items: start;
}
.bdg-cart-table {
  width: 100%;
  border-collapse: collapse;
}
.bdg-cart-table th {
  background: rgba(200,169,110,0.08);
  color: var(--bdg-secondary);
  padding: 14px 16px;
  text-align: left;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: var(--bdg-gold-line);
}
.bdg-cart-table th:last-child {
  text-align: center;
  width: 40px;
}
.bdg-cart-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(200,169,110,0.08);
  vertical-align: middle;
  font-size: 14px;
  color: var(--bdg-text);
}
.bdg-cart-table tr:nth-child(even) td {
  background: rgba(200,169,110,0.03);
}
.bdg-cart-table .bdg-cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bdg-cart-table .bdg-cart-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--bdg-border);
}
.bdg-cart-table .bdg-cart-product span {
  font-weight: 500;
  color: var(--bdg-text);
}
.bdg-cart-remove {
  background: none;
  border: none;
  color: rgba(240,235,228,0.3);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.3s;
}
.bdg-cart-remove:hover {
  color: var(--bdg-error);
}
.bdg-cart-totals {
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: var(--bdg-radius);
  padding: 28px;
}
.bdg-cart-totals h3 {
  font-size: 16px;
  color: var(--bdg-secondary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: var(--bdg-gold-line);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bdg-cart-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  color: var(--bdg-text);
  border-bottom: 1px solid rgba(200,169,110,0.08);
  font-weight: 300;
}
.bdg-cart-totals-row:last-of-type {
  border-bottom: none;
}
.bdg-cart-totals-row.bdg-cart-total {
  font-size: 22px;
  font-weight: 300;
  color: var(--bdg-secondary);
  padding: 18px 0 10px;
  border-top: var(--bdg-gold-line);
  border-bottom: none;
  margin-top: 10px;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-cart-totals .bdg-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  text-align: center;
}
.bdg-coupon-row {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.bdg-coupon-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--bdg-border);
  border-radius: 0;
  font-size: 14px;
  color: var(--bdg-text);
  background: rgba(255,255,255,0.04);
}
.bdg-coupon-row input::placeholder { color: var(--bdg-text-muted); }
.bdg-coupon-row input:focus {
  outline: none;
  border-color: var(--bdg-secondary);
}
.bdg-coupon-row button {
  padding: 12px 24px;
  background: rgba(200,169,110,0.1);
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 0;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.bdg-coupon-row button:hover {
  background: rgba(200,169,110,0.2);
  border-color: var(--bdg-secondary);
}

/* ═══ CHECKOUT PAGE ═══ */
.bdg-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 0;
  align-items: start;
}
@media (max-width: 968px) {
  .bdg-checkout-layout { grid-template-columns: 1fr; gap: 20px; }
}
.bdg-checkout-form h3,
.bdg-checkout-summary h3 {
  font-size: 16px;
  color: var(--bdg-secondary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: var(--bdg-gold-line);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bdg-form-group {
  margin-bottom: 18px;
}
.bdg-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--bdg-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bdg-form-group input,
.bdg-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--bdg-border);
  border-radius: 0;
  font-size: 15px;
  color: var(--bdg-text);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.3s;
}
.bdg-form-group input::placeholder,
.bdg-form-group textarea::placeholder { color: rgba(240,235,228,0.3); }
.bdg-form-group input:focus,
.bdg-form-group textarea:focus {
  outline: none;
  border-color: var(--bdg-secondary);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.08);
}
.bdg-form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.bdg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bdg-checkout-summary {
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: var(--bdg-radius);
  padding: 28px;
}
.bdg-checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(200,169,110,0.08);
  font-size: 14px;
  color: var(--bdg-text);
}
.bdg-checkout-item strong { color: var(--bdg-secondary); }
.bdg-checkout-item:last-of-type {
  border-bottom: none;
}
.bdg-checkout-item .item-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bdg-checkout-item .item-qty {
  background: rgba(200,169,110,0.15);
  color: var(--bdg-secondary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
}
.bdg-checkout-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: var(--bdg-gold-line);
}
.bdg-checkout-totals .bdg-cart-totals-row.bdg-cart-total {
  border-top: none;
  padding-top: 8px;
}
.bdg-payment-methods {
  margin-top: 24px;
  padding-top: 20px;
  border-top: var(--bdg-gold-line);
}
.bdg-payment-methods h4 {
  font-size: 13px;
  color: var(--bdg-text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.bdg-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--bdg-border);
  border-radius: 0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.bdg-payment-option:hover {
  border-color: rgba(200,169,110,0.4);
  background: rgba(200,169,110,0.04);
}
.bdg-payment-option input[type="radio"] {
  accent-color: var(--bdg-secondary);
  width: 18px;
  height: 18px;
}
.bdg-payment-option label {
  font-size: 14px;
  font-weight: 500;
  color: var(--bdg-text);
  cursor: pointer;
}
.bdg-checkout-note {
  font-size: 12px;
  color: rgba(240,235,228,0.3);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
  font-weight: 300;
}

/* ═══ RESPONSIVE — NEW PAGES ═══ */
@media (max-width: 768px) {
  .bdg-product-layout { grid-template-columns: 1fr; gap: 24px; }
  .bdg-cart-layout { grid-template-columns: 1fr; }
  .bdg-checkout-layout { grid-template-columns: 1fr; }
  .bdg-form-row { grid-template-columns: 1fr; }
  /* CART MOBILE: card layout instead of table */
  .bdg-cart-table thead { display: none; }
  .bdg-cart-table, .bdg-cart-table tbody, .bdg-cart-table tr, .bdg-cart-table td { display: block; width: 100%; }
  .bdg-cart-table tr { padding: 16px 0; border-bottom: 1px solid rgba(200,169,110,0.1); }
  .bdg-cart-table td { padding: 4px 0; border: none; background: transparent !important; }
  .bdg-cart-table .bdg-cart-product { margin-bottom: 8px; }
  .bdg-cart-table .bdg-cart-product img { width: 80px; height: 80px; border-radius: 8px; }
  .bdg-cart-table .bdg-cart-product span { font-size: 15px; }
  .bdg-cart-table td:nth-child(2)::before { content: 'Prezzo: '; color: var(--bdg-text-muted); font-size: 13px; }
  .bdg-cart-table td:nth-child(4)::before { content: 'Totale: '; color: var(--bdg-text-muted); font-size: 13px; }
  .bdg-cart-table td:nth-child(4) { font-weight: 600; color: var(--bdg-secondary); font-size: 16px; }
  .bdg-cart-table td:last-child { position: absolute; right: 0; top: 16px; }
  .bdg-cart-table tr { position: relative; }
  /* breadcrumb mobile padding handled above */
}
@media (max-width: 480px) {
  .bdg-product-gallery-thumbs img { width: 60px; height: 60px; }
}

/* ═══ CATEGORY PAGE SECTIONS DARK ═══ */
.bdg-page .bdg-section {
  background: var(--bdg-bg-dark);
}
.bdg-page .bdg-section:nth-child(even) {
  background: var(--bdg-bg-dark-alt);
}

/* ═══ OVERFLOW HIDDEN ON CARD IMAGES ═══ */
.bdg-product-card {
  overflow: hidden;
}
.bdg-product-card > img {
  overflow: hidden;
}

/* ═══ AMAZON MOBILE DRAWER MENU ═══ */
.bdg-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bdg-drawer-overlay.open {
  display: block;
  opacity: 1;
}
.bdg-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #1A1210;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bdg-drawer.open {
  transform: translateX(0);
}
.bdg-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bdg-primary-dark);
  border-bottom: 1px solid rgba(200,169,110,0.2);
}
.bdg-drawer-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bdg-text-on-dark);
  font-size: 16px;
  font-weight: 500;
}
.bdg-drawer-header-left svg {
  flex-shrink: 0;
}
.bdg-drawer-close {
  background: none;
  border: none;
  color: var(--bdg-text-on-dark);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.bdg-drawer-section-title {
  padding: 14px 20px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bdg-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.bdg-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 48px;
  color: var(--bdg-text-on-dark);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.bdg-drawer-item:hover, .bdg-drawer-item:active {
  background: rgba(200,169,110,0.08);
}
.bdg-drawer-item-arrow {
  color: var(--bdg-text-muted);
  font-size: 16px;
}

/* ═══ OFFERTA DEL GIORNO ═══ */
.bdg-daily-deal {
  background: var(--bdg-bg-dark-alt);
  border-bottom: var(--bdg-gold-line);
}
.bdg-daily-deal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.bdg-daily-deal-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--bdg-secondary);
  margin: 0;
}
.bdg-daily-deal-timer-badge { display: none !important; }
.bdg-deal-countdown { display: none !important; }
._bdg-daily-deal-timer-badge-old {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(193,41,46,0.15);
  border: 1px solid rgba(193,41,46,0.3);
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-deal-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--bdg-bg-dark);
  border: 1px solid var(--bdg-border);
  border-radius: var(--bdg-radius);
  overflow: hidden;
  align-items: center;
}
.bdg-deal-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.bdg-deal-card-info {
  padding: 24px 24px 24px 0;
}
.bdg-deal-card-info h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--bdg-text-on-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.bdg-deal-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.bdg-deal-price-old {
  font-size: 18px;
  color: var(--bdg-text-muted);
  text-decoration: line-through;
  font-weight: 300;
}
.bdg-deal-price-new {
  font-size: 32px;
  font-weight: 400;
  color: #C1292E;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-deal-discount-badge {
  display: inline-block;
  background: #C1292E;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.bdg-deal-countdown {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-deal-countdown-unit {
  text-align: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 6px;
  padding: 8px 12px;
  min-width: 54px;
}
.bdg-deal-countdown-unit .num {
  font-size: 24px;
  font-weight: 600;
  color: var(--bdg-text-on-dark);
  display: block;
  line-height: 1.2;
}
.bdg-deal-countdown-unit .lbl {
  font-size: 10px;
  color: var(--bdg-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bdg-deal-progress {
  margin-bottom: 20px;
}
.bdg-deal-progress-label {
  font-size: 13px;
  color: var(--bdg-text-muted);
  margin-bottom: 6px;
}
.bdg-deal-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(200,169,110,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.bdg-deal-progress-fill {
  height: 100%;
  width: 76%;
  background: linear-gradient(90deg, var(--bdg-secondary), #B8964E);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.bdg-deal-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
}
.bdg-deal-cta:hover {
  background: #B8964E;
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
}
@media (max-width: 768px) {
  .bdg-deal-card { grid-template-columns: 1fr; }
  .bdg-deal-card-info { padding: 20px; }
  .bdg-deal-price-new { font-size: 26px; }
  .bdg-daily-deal-header { flex-wrap: wrap; }
}

/* ═══ ARCHIVE CATEGORY — hero compatto + spazi ottimizzati ═══ */
.bdg-hero.bdg-hero-category {
  min-height: 320px !important;
  padding-top: 140px !important;
  padding-bottom: 50px !important;
  background-size: cover !important;
  background-position: center !important;
}
.bdg-hero.bdg-hero-category h1 {
  font-size: 48px !important;
  color: #fff !important;
  text-align: center;
}
.bdg-hero.bdg-hero-category .bdg-hero-label {
  display: block;
  text-align: center;
  color: var(--bdg-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.bdg-archive-section { padding: 50px 0 60px; }
@media (max-width: 768px) {
  .bdg-hero.bdg-hero-category { min-height: 220px !important; padding-top: 90px !important; padding-bottom: 30px !important; }
  .bdg-hero.bdg-hero-category h1 { font-size: 30px !important; }
  .bdg-hero.bdg-hero-category .bdg-hero-label { font-size: 11px; letter-spacing: 2px; }
  .bdg-archive-section { padding: 28px 0 40px; }
}

/* ═══ GOOGLE REVIEWS — Custom widget server-side ═══ */
.bdg-google-reviews { padding: 60px 0; }

.bdg-google-header {
  display: flex; align-items: center; gap: 20px;
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: 16px; padding: 24px 30px;
  margin-bottom: 32px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
}
.bdg-google-logo { flex-shrink: 0; width: 56px; height: 56px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bdg-google-summary { flex: 1; min-width: 0; }
.bdg-google-rating-row { display: flex; align-items: baseline; gap: 12px; }
.bdg-google-rating-num { font-size: 38px; font-weight: 600; color: #F0EBE4; line-height: 1; font-family: -apple-system, sans-serif; }
.bdg-google-stars { color: #FBBC05; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.bdg-google-stars .bdg-star-empty { color: rgba(251,188,5,0.25); }
.bdg-google-meta { font-size: 13px; color: var(--bdg-text-muted); margin-top: 4px; }
.bdg-google-meta strong { color: #F0EBE4; font-weight: 600; }
.bdg-google-write-btn {
  background: #4285F4; color: #fff; padding: 12px 22px; border-radius: 24px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all 0.3s; flex-shrink: 0;
}
.bdg-google-write-btn:hover { background: #3367D6; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(66,133,244,0.3); }

/* Grid recensioni */
.bdg-google-reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.bdg-google-review-card {
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: 12px; padding: 22px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.bdg-google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  border-color: rgba(200,169,110,0.4);
}
.bdg-google-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bdg-google-review-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #C8A96E, #9B1B30); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; font-family: Georgia, serif;
}
.bdg-google-review-info { flex: 1; min-width: 0; }
.bdg-google-review-name { font-size: 14px; font-weight: 600; color: #F0EBE4; line-height: 1.2; }
.bdg-google-review-date { font-size: 12px; color: rgba(240,235,228,0.5); margin-top: 2px; }
.bdg-google-review-platform { flex-shrink: 0; opacity: 0.8; }
.bdg-google-review-stars { color: #FBBC05; font-size: 16px; letter-spacing: 1px; margin-bottom: 12px; line-height: 1; }
.bdg-google-review-stars .bdg-star-empty { color: rgba(251,188,5,0.25); }
.bdg-google-review-text {
  font-size: 13px; line-height: 1.6; color: rgba(240,235,228,0.85);
  margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical;
  overflow: hidden;
}

.bdg-google-cta {
  text-align: center; margin-top: 32px;
}
.bdg-google-cta a {
  color: var(--bdg-secondary); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 12px 24px; border: 1px solid var(--bdg-secondary);
  border-radius: 24px; display: inline-block; transition: all 0.3s;
}
.bdg-google-cta a:hover { background: var(--bdg-secondary); color: var(--bdg-bg-dark); }

@media (max-width: 968px) {
  .bdg-google-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .bdg-google-reviews { padding: 40px 0; }
  .bdg-google-header { padding: 18px 20px; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .bdg-google-summary { text-align: center; }
  .bdg-google-rating-row { justify-content: center; }
  .bdg-google-rating-num { font-size: 32px; }
  .bdg-google-stars { font-size: 18px; }
  .bdg-google-write-btn { width: 100%; padding: 10px 16px; font-size: 12px; }
  .bdg-google-reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .bdg-google-review-card { padding: 18px; }
  .bdg-google-review-text { font-size: 12px; -webkit-line-clamp: 5; }
}
.bdg-google-reviews .bdg-section-title { color: var(--bdg-secondary); font-size: 30px; font-weight: 400; font-family: Georgia, serif; text-align: center; margin-bottom: 8px; }
.bdg-google-reviews .bdg-section-subtitle { color: var(--bdg-text-muted); font-size: 14px; text-align: center; margin-bottom: 28px; }
.bdg-google-reviews-wrap { margin-top: 20px; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* Container e wrapper */
.bdg-google-reviews-wrap .ti-widget,
.bdg-google-reviews-wrap .ti-widget-container,
.bdg-google-reviews-wrap .ti-reviews-container,
.bdg-google-reviews-wrap .ti-reviews-container-wrapper,
.bdg-google-reviews-wrap .ti-fade-container { background: transparent !important; }

/* Header con rating + logo Google */
.bdg-google-reviews-wrap .ti-header { background: transparent !important; padding: 20px 0 30px !important; text-align: center !important; }
.bdg-google-reviews-wrap .ti-rating-text,
.bdg-google-reviews-wrap .ti-rating,
.bdg-google-reviews-wrap .ti-rating-text strong,
.bdg-google-reviews-wrap .ti-rating-text span { color: #F0EBE4 !important; font-family: -apple-system, sans-serif !important; }
.bdg-google-reviews-wrap .ti-rating-large { color: #C8A96E !important; font-size: 22px !important; font-weight: 600 !important; letter-spacing: 1px !important; }
.bdg-google-reviews-wrap .ti-large-logo { background: transparent !important; }

/* Card recensione */
.bdg-google-reviews-wrap .ti-review-item,
.bdg-google-reviews-wrap .ti-inner {
  background: var(--bdg-bg-dark-alt) !important;
  border: 1px solid var(--bdg-border) !important;
  border-radius: 12px !important;
  padding: 22px !important;
  margin: 8px !important;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s !important;
  box-shadow: none !important;
}
.bdg-google-reviews-wrap .ti-review-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
  border-color: rgba(200,169,110,0.4) !important;
}

/* Nome, data, testo recensione */
.bdg-google-reviews-wrap .ti-name,
.bdg-google-reviews-wrap .ti-review-content,
.bdg-google-reviews-wrap .ti-review-text-container { color: #F0EBE4 !important; }
.bdg-google-reviews-wrap .ti-name { font-weight: 600 !important; font-size: 14px !important; }
.bdg-google-reviews-wrap .ti-date { color: rgba(240,235,228,0.5) !important; font-size: 11px !important; }
.bdg-google-reviews-wrap .ti-review-content { font-size: 13px !important; line-height: 1.6 !important; margin-top: 10px !important; }
.bdg-google-reviews-wrap .ti-read-more,
.bdg-google-reviews-wrap .ti-read-more a { color: var(--bdg-secondary) !important; font-size: 12px !important; }

/* Stelle */
.bdg-google-reviews-wrap .ti-stars,
.bdg-google-reviews-wrap .ti-star { display: inline-flex !important; }

/* Frecce slider */
.bdg-google-reviews-wrap .ti-controls .ti-next,
.bdg-google-reviews-wrap .ti-controls .ti-prev {
  background: var(--bdg-bg-dark-alt) !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 50% !important;
  width: 38px !important; height: 38px !important;
  color: var(--bdg-secondary) !important;
}
.bdg-google-reviews-wrap .ti-controls .ti-next:hover,
.bdg-google-reviews-wrap .ti-controls .ti-prev:hover {
  background: rgba(200,169,110,0.15) !important;
  border-color: var(--bdg-secondary) !important;
}

/* Footer "Visualizza tutte" se presente */
.bdg-google-reviews-wrap .ti-show-more,
.bdg-google-reviews-wrap .ti-footer { background: transparent !important; color: var(--bdg-text) !important; }
.bdg-google-reviews-wrap .ti-show-more a { color: var(--bdg-secondary) !important; }

/* Verified badge tooltip */
.bdg-google-reviews-wrap .ti-verified-tooltip { background: #1A1210 !important; color: #F0EBE4 !important; }

@media (max-width: 768px) {
  .bdg-google-reviews { padding: 40px 0; }
  .bdg-google-reviews .bdg-section-title { font-size: 22px; }
  .bdg-google-reviews-wrap .ti-review-item,
  .bdg-google-reviews-wrap .ti-inner { padding: 16px !important; margin: 4px !important; }
  .bdg-google-reviews-wrap .ti-review-content { font-size: 12px !important; }
}

/* ═══ CHECKOUT — DELIVERY SELECTOR IN ALTO ═══ */
.bdg-delivery-top { margin: 0 0 32px; }
.bdg-delivery-top-title {
  font-family: Georgia, serif; font-size: 22px; font-weight: 400;
  color: var(--bdg-secondary); margin: 0 0 18px; text-align: left;
}
.bdg-delivery-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bdg-delivery-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--bdg-bg-dark-alt); border: 2px solid rgba(200,169,110,0.18);
  border-radius: 12px; padding: 18px 20px; cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.bdg-delivery-card:hover { border-color: rgba(200,169,110,0.4); transform: translateY(-2px); }
.bdg-delivery-card.is-active {
  border-color: var(--bdg-secondary); background: rgba(200,169,110,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.bdg-delivery-card.is-active::after {
  content: '✓'; position: absolute; top: 12px; right: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bdg-secondary); color: var(--bdg-bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.bdg-delivery-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.bdg-delivery-card-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(200,169,110,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bdg-secondary);
}
.bdg-delivery-card.is-active .bdg-delivery-card-icon {
  background: var(--bdg-secondary); color: var(--bdg-bg-dark);
}
.bdg-delivery-card-body { flex: 1; min-width: 0; }
.bdg-delivery-card-title {
  font-size: 15px; font-weight: 600; color: var(--bdg-text);
  margin-bottom: 4px; line-height: 1.2;
}
.bdg-delivery-card-sub {
  font-size: 12px; color: var(--bdg-text-muted); line-height: 1.4;
}
.bdg-delivery-card-price {
  font-size: 17px; font-weight: 600; color: var(--bdg-secondary);
  font-family: Georgia, serif; flex-shrink: 0; padding-right: 30px;
}
.bdg-delivery-card-price.is-free { color: #52B788; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Nascondi i radio WC originali nel sidebar (sostituiti dalle card in alto) */
.bdg-checkout-summary ul#shipping_method { display: none !important; }
.bdg-checkout-summary .shipping th { display: none !important; }
.bdg-checkout-summary .woocommerce-shipping-destination { display: none !important; }
.bdg-checkout-summary tr.woocommerce-shipping-totals.shipping { display: none !important; }
.bdg-checkout-summary .shipping-row { display: none !important; }

@media (max-width: 768px) {
  .bdg-delivery-cards { grid-template-columns: 1fr; gap: 10px; }
  .bdg-delivery-top { margin: 0 0 24px; }
  .bdg-delivery-top-title { font-size: 18px; margin-bottom: 14px; }
  .bdg-delivery-card { padding: 14px 16px; gap: 12px; }
  .bdg-delivery-card-icon { width: 40px; height: 40px; }
  .bdg-delivery-card-icon svg { width: 22px; height: 22px; }
  .bdg-delivery-card-title { font-size: 14px; }
  .bdg-delivery-card-sub { font-size: 11px; }
  .bdg-delivery-card-price { font-size: 15px; padding-right: 26px; }
}

/* ═══ CHECKOUT PAGE OVERRIDES ═══ */
.bdg-checkout-hero { min-height: 280px !important; background-size: cover !important; background-position: center !important; padding-top: 140px !important; padding-bottom: 50px !important; }
.bdg-checkout-hero h1 { font-size: 42px !important; color: #fff !important; }
.bdg-checkout-section { padding: 36px 0 60px; }
.bdg-checkout-form .form-row { margin-bottom: 14px; }
.bdg-checkout-form .form-row label { display: block; font-size: 12px; color: var(--bdg-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 500; }
.bdg-checkout-form .form-row input[type="text"],
.bdg-checkout-form .form-row input[type="email"],
.bdg-checkout-form .form-row input[type="tel"],
.bdg-checkout-form .form-row input[type="number"],
.bdg-checkout-form .form-row input[type="date"],
.bdg-checkout-form .form-row textarea,
.bdg-checkout-form .form-row .select2-selection,
.bdg-checkout-form .form-row select {
  width: 100% !important;
  background: var(--bdg-bg-dark) !important;
  color: #F0EBE4 !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  -webkit-text-fill-color: #F0EBE4 !important;
}
.bdg-checkout-form .form-row select option { background: #1A1210 !important; color: #F0EBE4 !important; }
.bdg-checkout-form .form-row input::placeholder { color: rgba(240,235,228,0.4) !important; }
.bdg-checkout-form .form-row input::-webkit-input-placeholder { color: rgba(240,235,228,0.4) !important; }
/* Select2 widget — paese, provincia */
.bdg-checkout-form .select2-container .select2-selection { height: auto !important; min-height: 46px !important; }
.bdg-checkout-form .select2-container--default .select2-selection--single .select2-selection__rendered { color: #F0EBE4 !important; line-height: 22px !important; padding-left: 0 !important; }
.bdg-checkout-form .select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px !important; right: 10px !important; }
.bdg-checkout-form .select2-container--default .select2-selection--single .select2-selection__placeholder { color: rgba(240,235,228,0.4) !important; }
.select2-dropdown { background: #1A1210 !important; color: #F0EBE4 !important; border: 1px solid rgba(200,169,110,0.3) !important; }
.select2-results__option { color: #F0EBE4 !important; padding: 10px 14px !important; }
.select2-results__option--highlighted { background: #C8A96E !important; color: #1A1210 !important; }
.select2-search--dropdown .select2-search__field { background: #2C2420 !important; color: #F0EBE4 !important; border: 1px solid rgba(200,169,110,0.3) !important; border-radius: 6px !important; padding: 8px 10px !important; }
/* WC notices su sfondo dark */
.woocommerce-NoticeGroup, .woocommerce-error, .woocommerce-message, .woocommerce-info {
  background: rgba(200,169,110,0.08) !important;
  border-left: 4px solid #C8A96E !important;
  color: #F0EBE4 !important;
  padding: 14px 18px !important;
  border-radius: 6px !important;
  list-style: none !important;
  margin-bottom: 18px !important;
}
.woocommerce-error { border-left-color: #C1292E !important; background: rgba(193,41,46,0.08) !important; }
.woocommerce-error li, .woocommerce-message li, .woocommerce-info li { color: #F0EBE4 !important; padding: 2px 0; }
.woocommerce-error a, .woocommerce-message a, .woocommerce-info a { color: #C8A96E !important; }
/* Optional/required labels */
.bdg-checkout-form .form-row label .optional { color: rgba(240,235,228,0.4) !important; font-size: 11px; }
.bdg-checkout-form .form-row label .required { color: #C1292E !important; }
/* Date input picker icon */
.bdg-checkout-form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7) sepia(1) saturate(2) hue-rotate(20deg); }
.bdg-checkout-form .form-row textarea { min-height: 80px; resize: vertical; }
.bdg-checkout-form .form-row input:focus,
.bdg-checkout-form .form-row select:focus,
.bdg-checkout-form .form-row textarea:focus { border-color: var(--bdg-secondary) !important; outline: none !important; }
.bdg-checkout-form .form-row.form-row-first { float: left; width: 48%; clear: left; }
.bdg-checkout-form .form-row.form-row-last { float: right; width: 48%; clear: right; }
.bdg-checkout-form .form-row.form-row-wide { clear: both; }
.bdg-checkout-form .woocommerce-billing-fields::after,
.bdg-checkout-form .woocommerce-shipping-fields::after { content: ''; display: table; clear: both; }
.bdg-checkout-form h3 { font-family: Georgia, serif; font-weight: 400; font-size: 20px; color: var(--bdg-secondary); margin: 24px 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(200,169,110,0.15); }
.bdg-checkout-form h3:first-child { margin-top: 0; }
.bdg-checkout-form .select2-selection__rendered { line-height: 24px !important; padding: 0 !important; color: var(--bdg-text) !important; }
.bdg-checkout-form .select2-selection__arrow { top: 14px !important; right: 12px !important; }
.bdg-checkout-form .woocommerce-input-wrapper { display: block; }

/* RIGHT: Order summary */
.bdg-checkout-summary { background: var(--bdg-bg-dark-alt); border: 1px solid var(--bdg-border); border-radius: 12px; padding: 24px; position: sticky; top: 100px; }
.bdg-checkout-summary h3 { font-family: Georgia, serif; font-size: 18px; font-weight: 400; color: var(--bdg-secondary); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(200,169,110,0.15); }
/* Override WC shop_table styles inside checkout summary */
.bdg-checkout-summary .woocommerce-checkout-review-order-table {
  display: block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bdg-checkout-items { margin-bottom: 18px; }
.bdg-checkout-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(200,169,110,0.08); font-size: 13px; color: var(--bdg-text); gap: 12px; }
.bdg-checkout-item:last-child { border-bottom: none; }
.bdg-checkout-item .item-name { flex: 1; line-height: 1.4; }
.bdg-checkout-item .item-qty { color: var(--bdg-secondary); font-weight: 600; margin-right: 6px; }
.bdg-checkout-item strong { color: var(--bdg-text-on-dark); font-family: Georgia, serif; font-weight: 400; font-size: 14px; }
.bdg-checkout-totals { border-top: 1px solid rgba(200,169,110,0.15); padding-top: 14px; margin-bottom: 18px; }
.bdg-checkout-totals .bdg-cart-totals-row { padding: 8px 0; font-size: 13px; }
.bdg-checkout-totals .bdg-cart-total { font-size: 16px; font-weight: 500; padding-top: 14px; border-top: 1px solid rgba(200,169,110,0.15); margin-top: 6px; }
.bdg-checkout-totals .bdg-cart-total span:last-child { color: var(--bdg-secondary); font-size: 22px; font-family: Georgia, serif; }
.bdg-checkout-totals .shipping-row th, .bdg-checkout-totals .shipping-row td { display: block; padding: 0; border: 0; background: transparent; }
.bdg-checkout-totals ul#shipping_method { list-style: none; margin: 4px 0 0; padding: 0; }
.bdg-checkout-totals ul#shipping_method li { padding: 4px 0; font-size: 13px; }
.bdg-checkout-totals ul#shipping_method input[type="radio"] { margin-right: 6px; accent-color: var(--bdg-secondary); }

.bdg-cart-shipping-info { font-size: 12px; color: var(--bdg-text-muted); margin: 0 0 10px; font-style: italic; }

/* Box "Informazioni ritiro" del snippet WPCode — restyling dark */
[data-bdg-pickup-info],
.bdg-checkout-form div[style*="rgb(255, 243, 205)"],
.bdg-checkout-form div[style*="#fff3cd"] {
  background: rgba(200,169,110,0.08) !important;
  color: #F0EBE4 !important;
  border: 1px solid rgba(200,169,110,0.25) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  margin: 12px 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
/* Nascondi pickup elements quando spedizione selezionata */
body.bdg-mode-shipping [data-bdg-pickup-info],
body.bdg-mode-shipping #billing_pickup_time_field,
body.bdg-mode-shipping #billing_pickup_date_field,
body.bdg-mode-shipping div[style*="fff3cd"] {
  display: none !important;
}

/* Delivery estimate box */
.bdg-delivery-estimate-box {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(45,106,79,0.08); border: 1px solid rgba(82,183,136,0.25);
  border-radius: 8px; padding: 12px 14px; margin-top: 10px;
  font-size: 13px; color: var(--bdg-text);
}
.bdg-delivery-estimate-box svg { flex-shrink: 0; margin-top: 2px; }
.bdg-delivery-estimate-box strong { color: #52B788; font-weight: 600; }
.bdg-delivery-note { font-size: 11px; color: var(--bdg-text-muted); display: block; margin-top: 4px; }

/* Payment methods */
.bdg-payment-methods, #payment.woocommerce-checkout-payment { margin: 18px 0; padding: 0 !important; background: transparent !important; border-radius: 0 !important; }
.bdg-payment-methods h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--bdg-text-muted); margin: 0 0 12px; }
.bdg-payment-methods ul.wc_payment_methods { list-style: none; padding: 0; margin: 0; }
.bdg-payment-methods .wc_payment_method { background: var(--bdg-bg-dark); border: 1px solid rgba(200,169,110,0.2); border-radius: 8px; padding: 14px; margin-bottom: 10px; transition: border-color 0.3s; }
.bdg-payment-methods .wc_payment_method:has(input:checked),
.bdg-payment-methods .wc_payment_method.selected { border-color: var(--bdg-secondary); background: rgba(200,169,110,0.05); }
.bdg-payment-methods .wc_payment_method label { display: inline-flex; align-items: center; cursor: pointer; font-size: 14px; color: var(--bdg-text); font-weight: 500; }
.bdg-payment-methods .wc_payment_method input[type="radio"] { margin-right: 10px; accent-color: var(--bdg-secondary); }
.bdg-payment-methods .wc_payment_method img { max-height: 24px; margin-left: 8px; vertical-align: middle; }
.bdg-payment-methods .payment_box { display: none; padding: 12px 0 0; font-size: 13px; color: var(--bdg-text-muted); line-height: 1.5; }
.bdg-payment-methods .wc_payment_method:has(input:checked) .payment_box { display: block; }

/* Place order button */
.bdg-checkout-place-order, #place_order {
  display: block !important; width: 100% !important; box-sizing: border-box !important;
  background: #FFB81C !important; color: #1A1210 !important; border: none !important;
  border-radius: 50px !important; padding: 16px !important; font-size: 14px !important;
  font-weight: 700 !important; cursor: pointer !important; text-align: center !important;
  text-transform: uppercase !important; letter-spacing: 1.5px !important;
  font-family: -apple-system, sans-serif !important;
  margin-top: 16px !important;
}
.bdg-checkout-place-order:hover, #place_order:hover { background: #E5A318 !important; }
.bdg-checkout-note { font-size: 11px; color: var(--bdg-text-muted); margin-top: 14px; line-height: 1.5; }

@media (max-width: 768px) {
  .bdg-checkout-hero { min-height: 200px !important; padding-top: 90px !important; padding-bottom: 30px !important; }
  .bdg-checkout-hero h1 { font-size: 28px !important; }
  .bdg-checkout-section { padding: 20px 0 40px; }
  .bdg-checkout-form .form-row.form-row-first,
  .bdg-checkout-form .form-row.form-row-last { float: none; width: 100%; }
  .bdg-checkout-summary { position: static; padding: 18px; margin-top: 20px; }
  .bdg-checkout-form h3 { font-size: 17px; }
}

/* ═══ CART PAGE — FULL OVERRIDE ═══ */
.bdg-wc-page-wrap { padding-top: 0; }
.bdg-cart-hero { min-height: 280px !important; background-size: cover !important; background-position: center !important; padding-top: 140px !important; padding-bottom: 50px !important; }
.bdg-cart-hero h1 { font-size: 42px !important; color: #fff !important; }
@media (max-width: 768px) {
  .bdg-cart-hero { min-height: 200px !important; padding-top: 90px !important; padding-bottom: 30px !important; }
  .bdg-cart-hero h1 { font-size: 28px !important; }
}
.bdg-wc-page-wrap .woocommerce { display: block; }
.bdg-wc-page-wrap .woocommerce > .woocommerce-notices-wrapper { max-width: var(--bdg-max-width); margin: 0 auto 16px; padding: 0 var(--bdg-gap); }
.bdg-cart-section { padding: 36px 0 60px; }

/* Express payment buttons (PayPal/GooglePay/ApplePay) — visibili e spaziati */
.bdg-cart-totals .wcpay-express-checkout-wrapper,
.bdg-cart-totals .wc-block-cart-payment-methods,
.bdg-cart-totals .wp-block-woocommerce-cart-express-payment-block {
  display: block !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(200,169,110,0.15) !important;
}
.bdg-cart-totals #wcpay-express-checkout-element { margin-bottom: 10px; }
.bdg-cart-totals .wcpay-payment-request-button-separator,
.bdg-cart-totals .wc-stripe-payment-request-wrapper {
  margin-top: 12px !important;
}
/* PayPal smart buttons */
.bdg-cart-totals [id*="paypal"] { margin-top: 10px !important; }

/* Layout */
.bdg-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.bdg-cart-totals-col { position: sticky; top: 100px; }

/* TABLE (DESKTOP) */
.bdg-cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: 12px;
  overflow: hidden;
}
.bdg-cart-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bdg-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--bdg-border);
}
.bdg-cart-table th:nth-child(2),
.bdg-cart-table th:nth-child(3),
.bdg-cart-table th:nth-child(4) { text-align: center; }
.bdg-cart-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(200,169,110,0.08);
  vertical-align: middle;
  color: var(--bdg-text);
  font-size: 14px;
}
.bdg-cart-table tr:last-child td { border-bottom: none; }
.bdg-cart-table td:nth-child(2),
.bdg-cart-table td:nth-child(3),
.bdg-cart-table td:nth-child(4) { text-align: center; }

.bdg-cart-product { display: flex; align-items: center; gap: 14px; }
.bdg-cart-product img,
.bdg-cart-product a img {
  width: 80px !important;
  height: 80px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.bdg-cart-product span { font-size: 14px; color: var(--bdg-text); font-weight: 500; line-height: 1.4; }
.bdg-cart-product a { color: inherit; text-decoration: none; }
.bdg-cart-product a:hover { color: var(--bdg-secondary); }

.bdg-cart-line-total { font-weight: 600; color: var(--bdg-secondary); font-family: Georgia, serif; font-size: 16px; }

/* QTY selector */
.bdg-qty-selector { display: inline-flex; align-items: center; gap: 0; background: var(--bdg-bg-dark); border: 1px solid rgba(200,169,110,0.3); border-radius: 8px; overflow: hidden; }
.bdg-qty-selector button { width: 36px; height: 36px; background: transparent; color: var(--bdg-text); border: none; font-size: 18px; cursor: pointer; transition: background 0.2s; }
.bdg-qty-selector button:hover { background: rgba(200,169,110,0.15); }
.bdg-qty-selector input { width: 44px; height: 36px; background: transparent; color: var(--bdg-text); border: none; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.bdg-qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Remove button */
.bdg-cart-remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 22px; color: var(--bdg-text-muted); text-decoration: none; line-height: 1; transition: all 0.3s; background: none; border: none; cursor: pointer; border-radius: 50%; }
.bdg-cart-remove:hover { color: #C1292E; background: rgba(193,41,46,0.1); }

/* Coupon row */
.bdg-coupon-cart-row { display: flex; gap: 10px; margin-top: 20px; max-width: 460px; }
.bdg-coupon-cart-row input { flex: 1; background: var(--bdg-bg-dark); color: var(--bdg-text); border: 1px solid rgba(200,169,110,0.3); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.bdg-coupon-cart-row input:focus { border-color: var(--bdg-secondary); outline: none; }
.bdg-coupon-cart-row button { background: transparent; color: var(--bdg-secondary); border: 1px solid var(--bdg-secondary); border-radius: 8px; padding: 12px 20px; font-size: 12px; font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s; white-space: nowrap; }
.bdg-coupon-cart-row button:hover { background: var(--bdg-secondary); color: var(--bdg-bg-dark); }

/* Totals sidebar */
.bdg-cart-totals { background: var(--bdg-bg-dark-alt); border: 1px solid var(--bdg-border); border-radius: 12px; padding: 24px; }
.bdg-cart-totals h3 { font-family: Georgia, serif; font-size: 18px; font-weight: 400; color: var(--bdg-secondary); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(200,169,110,0.15); }
.bdg-cart-totals-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font-size: 14px; color: var(--bdg-text); }
.bdg-cart-totals-row.cart-discount { color: #52B788; }
.bdg-cart-total { font-size: 17px; font-weight: 500; padding-top: 16px; border-top: 1px solid rgba(200,169,110,0.15); margin-top: 8px; }
.bdg-cart-total span:last-child { color: var(--bdg-secondary); font-size: 22px; font-family: Georgia, serif; }

/* Shipping block */
.bdg-cart-shipping-block { padding: 14px 0; border-top: 1px solid rgba(200,169,110,0.1); border-bottom: 1px solid rgba(200,169,110,0.1); margin: 8px 0; }
.bdg-cart-shipping-label { display: block; font-size: 11px; color: var(--bdg-text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 10px; }
.bdg-cart-shipping-block .shipping th { display: none; }
.bdg-cart-shipping-block .shipping td { padding: 0; border: none; background: transparent; }
.bdg-cart-shipping-block ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.bdg-cart-shipping-block ul#shipping_method li { padding: 6px 0; font-size: 13px; color: var(--bdg-text); }
.bdg-cart-shipping-block ul#shipping_method input[type="radio"] { margin-right: 8px; accent-color: var(--bdg-secondary); vertical-align: middle; }
.bdg-cart-shipping-block ul#shipping_method label { display: inline; cursor: pointer; }
.bdg-cart-shipping-block .woocommerce-shipping-destination { font-size: 12px; color: var(--bdg-text-muted); margin-top: 8px; }
.bdg-cart-shipping-block .woocommerce-shipping-calculator { display: none; }
.bdg-cart-shipping-block .shipping-calculator-button { display: none; }

/* Free shipping progress */
.bdg-cart-shipping-progress { margin-top: 14px; }
.bdg-cart-shipping-progress-text { font-size: 12px; color: var(--bdg-text); margin-bottom: 8px; line-height: 1.4; }
.bdg-cart-shipping-progress-text strong { color: var(--bdg-secondary); }
.bdg-cart-shipping-progress-bar { width: 100%; height: 6px; background: rgba(200,169,110,0.15); border-radius: 3px; overflow: hidden; }
.bdg-cart-shipping-progress-fill { height: 100%; background: linear-gradient(90deg, var(--bdg-secondary), #52B788); border-radius: 3px; transition: width 0.6s ease; }

/* Proceed to checkout button */
.wc-proceed-to-checkout { margin-top: 18px; padding: 0; }
.wc-proceed-to-checkout .checkout-button {
  display: block !important; width: 100% !important; box-sizing: border-box !important;
  background: #FFB81C !important; color: #1A1210 !important; border: none !important;
  border-radius: 50px !important; padding: 16px !important; font-size: 14px !important;
  font-weight: 700 !important; cursor: pointer !important; text-align: center !important;
  text-transform: uppercase !important; letter-spacing: 1.5px !important; text-decoration: none !important;
  font-family: -apple-system, sans-serif !important;
}
.wc-proceed-to-checkout .checkout-button:hover { background: #E5A318 !important; }

/* PayPal/Stripe express buttons spacing */
.bdg-cart-totals .wcpay-payment-request-button-separator,
.bdg-cart-totals #wcpay-express-checkout-element,
.bdg-cart-totals .wc-stripe-payment-request-wrapper {
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(200,169,110,0.1) !important;
}

/* ═══ MOBILE CART ═══ */
@media (max-width: 768px) {
  .bdg-wc-page-wrap { padding-top: 60px; }
  .bdg-cart-section { padding: 20px 0 40px; }
  .bdg-cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .bdg-cart-totals-col { position: static; }

  /* Trasforma la tabella in card stack */
  .bdg-cart-table { background: transparent; border: none; border-radius: 0; }
  .bdg-cart-table thead { display: none; }
  .bdg-cart-table tbody, .bdg-cart-table tr, .bdg-cart-table td { display: block; width: 100%; }
  .bdg-cart-table tr {
    background: var(--bdg-bg-dark-alt);
    border: 1px solid var(--bdg-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
  }
  .bdg-cart-table tr:last-child td { border-bottom: 1px solid rgba(200,169,110,0.08); }
  .bdg-cart-table td { padding: 8px 0; border: none; text-align: left !important; }
  .bdg-cart-table td:not(:last-child)::before {
    content: attr(data-title) ":";
    display: inline-block;
    color: var(--bdg-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    font-weight: 500;
    min-width: 80px;
  }
  /* Prodotto: full width senza label */
  .bdg-cart-table td[data-title="Prodotto"] { padding: 0 0 14px; border-bottom: 1px solid rgba(200,169,110,0.1); margin-bottom: 8px; }
  .bdg-cart-table td[data-title="Prodotto"]::before { display: none; }
  .bdg-cart-product { gap: 12px; padding-right: 36px; }
  .bdg-cart-product img,
  .bdg-cart-product a img { width: 90px !important; height: 90px !important; }
  .bdg-cart-product span { font-size: 14px; line-height: 1.35; }

  /* Remove X in alto a destra della card */
  .bdg-cart-table td:last-child {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
    width: auto;
  }
  .bdg-cart-table td:last-child::before { display: none; }
  .bdg-cart-table td:last-child .bdg-cart-remove { width: 30px; height: 30px; font-size: 20px; background: rgba(0,0,0,0.4); }

  /* Qty selector inline su mobile */
  .bdg-cart-table td[data-title="Quantit\00e0"] { display: flex; align-items: center; }
  .bdg-cart-table td[data-title="Totale"] { display: flex; align-items: center; }
  .bdg-cart-table td[data-title="Prezzo"] { display: flex; align-items: center; }

  .bdg-coupon-cart-row { flex-direction: column; max-width: 100%; margin-top: 16px; }
  .bdg-coupon-cart-row button { width: 100%; padding: 14px; font-size: 13px; }

  .bdg-cart-totals { padding: 18px; }
  .bdg-cart-totals h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 12px; }
  .bdg-cart-totals-row { font-size: 13px; padding: 8px 0; }
  .bdg-cart-total span:last-child { font-size: 20px; }
  .wc-proceed-to-checkout .checkout-button { padding: 15px !important; font-size: 13px !important; }
}

/* ═══ STICKY BUY BAR (mobile) ═══ */
.bdg-sticky-buy {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(20, 14, 12, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(200,169,110,0.25);
  padding: 10px 14px env(safe-area-inset-bottom, 10px);
  z-index: 9998;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.5);
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.bdg-sticky-buy.is-visible {
  transform: translateY(0);
}
.bdg-sticky-info {
  flex: 1;
  min-width: 0;
}
.bdg-sticky-title {
  font-size: 12px;
  color: #F0EBE4;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-bottom: 2px;
}
.bdg-sticky-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.bdg-sticky-sale {
  font-size: 18px;
  font-weight: 400;
  color: #C8A96E;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-sticky-old {
  font-size: 11px;
  color: #8A7E75;
  text-decoration: line-through;
  font-family: Georgia, serif;
}
.bdg-sticky-cta {
  flex: 0 0 auto;
  background: #FFB81C;
  color: #1A1210;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
}
.bdg-sticky-cta:active { background: #E5A318; }
@media (max-width: 768px) {
  .bdg-sticky-buy { display: flex; }
  /* Spazio in fondo alla pagina per non coprire ultimi contenuti */
  .bdg-product-description-section + .bdg-also-viewed,
  .bdg-also-viewed:last-of-type { padding-bottom: 90px; }
}

/* ═══ PRODUCT PAGE — spacing compatto ═══ */
.bdg-product-container {
  padding-top: 0 !important;
  padding-bottom: 24px;
}
.bdg-product-layout-amazon {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.bdg-product-description-section {
  padding-top: 0;
  padding-bottom: 28px;
  border-top: var(--bdg-gold-line);
  margin-top: 16px;
}
.bdg-product-description-section h2 {
  color: var(--bdg-secondary);
  font-size: 1.25rem;
  font-weight: 300;
  margin: 22px 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: 0.02em;
}
.bdg-product-description {
  color: var(--bdg-text);
  font-size: 15px;
  line-height: 1.7;
}
.bdg-product-description p { margin: 0 0 14px; }
.bdg-product-description h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bdg-secondary);
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,169,110,0.18);
  letter-spacing: 0.2px;
}
.bdg-product-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.bdg-product-description ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--bdg-text);
}
.bdg-product-description ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bdg-secondary);
}
.bdg-product-description strong { color: #F0EBE4; font-weight: 600; }
.bdg-product-description em { color: rgba(240,235,228,0.75); font-style: italic; display: block; margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--bdg-secondary); background: rgba(200,169,110,0.05); }

/* Ingredienti reali + allergeni */
.bdg-product-description p.bdg-ingredients {
  background: rgba(200,169,110,0.05);
  border: 1px solid rgba(200,169,110,0.18);
  border-left: 3px solid var(--bdg-secondary);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: rgba(240,235,228,0.92);
}
.bdg-allergen {
  color: #FFB84A !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,184,74,0.4);
  text-underline-offset: 2px;
}
.bdg-allergens-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
  padding: 12px 16px;
  background: rgba(255,184,74,0.06);
  border: 1px solid rgba(255,184,74,0.25);
  border-radius: 6px;
}
.bdg-allergens-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FFB84A;
  margin-right: 4px;
}
.bdg-allergen-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,184,74,0.12);
  border: 1px solid rgba(255,184,74,0.4);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #FFB84A;
  letter-spacing: 0.3px;
}

/* FAQ accordions */
.bdg-faq { margin: 8px 0 0; }
.bdg-faq-item {
  border: 1px solid rgba(200,169,110,0.18);
  border-radius: 10px;
  margin-bottom: 10px;
  background: rgba(200,169,110,0.03);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.bdg-faq-item[open] {
  border-color: rgba(200,169,110,0.4);
  background: rgba(200,169,110,0.06);
}
.bdg-faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: #F0EBE4;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 44px;
  transition: color 0.2s;
}
.bdg-faq-item summary::-webkit-details-marker { display: none; }
.bdg-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--bdg-secondary);
  font-weight: 300;
  transition: transform 0.2s;
}
.bdg-faq-item[open] summary::after { content: "−"; }
.bdg-faq-item summary:hover { color: var(--bdg-secondary); }
.bdg-faq-item > div, .bdg-faq-item > p {
  padding: 0 18px 16px;
  margin: 0;
  color: rgba(240,235,228,0.85);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .bdg-product-container { padding-top: 0 !important; padding-bottom: 12px; }
  .bdg-product-description-section { padding-bottom: 16px; margin-top: 8px; }
  .bdg-product-description-section h2 { font-size: 1.1rem; margin: 14px 0 8px; }
  .bdg-product-description { font-size: 14px; }
}

/* ═══ RELATED PRODUCTS HORIZONTAL SCROLL (Amazon "visti anche") ═══ */
.bdg-also-viewed {
  padding: 28px 0 24px;
  margin-top: 0;
  border-top: var(--bdg-gold-line);
}
.bdg-also-viewed + .bdg-also-viewed {
  border-top: var(--bdg-gold-line);
  padding-top: 28px;
  margin-top: 0;
}
.bdg-also-viewed h2 {
  font-size: 18px;
  font-weight: 400;
  color: var(--bdg-text-on-dark);
  margin-bottom: 18px;
  padding-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 768px) {
  .bdg-also-viewed { padding: 22px 0 18px; }
  .bdg-also-viewed + .bdg-also-viewed { padding-top: 22px; }
  .bdg-also-viewed h2 { margin-bottom: 14px; }
}
.bdg-also-viewed-wrapper {
  position: relative;
}
.bdg-also-viewed-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 8px;
}
.bdg-also-viewed-scroll::-webkit-scrollbar { display: none; }
.bdg-also-viewed-card {
  flex: 0 0 230px;
  width: 230px;
  cursor: pointer;
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.bdg-also-viewed-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border-color: rgba(200,169,110,0.4);
}
.bdg-also-viewed-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bdg-also-viewed-card:hover img {
  transform: scale(1.04);
}
.bdg-also-viewed-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bdg-also-viewed-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  min-height: 41px;
}
.bdg-also-viewed-card-price {
  font-size: 20px;
  font-weight: 400;
  color: var(--bdg-secondary);
  font-family: Georgia, 'Times New Roman', serif;
  margin-top: auto;
}
.bdg-from {
  font-size: 12px;
  color: var(--bdg-text-muted);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: lowercase;
  margin-right: 3px;
  font-weight: 400;
}
.bdg-also-viewed-card-from {
  font-size: 11px;
  color: var(--bdg-text-muted);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: lowercase;
  margin-right: 2px;
}
.bdg-also-viewed-card-price-row {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap;
  margin-top: auto;
  line-height: 1;
}
.bdg-also-viewed-card-price-row .bdg-also-viewed-card-price {
  margin-top: 0;
  line-height: 1;
}
.bdg-also-viewed-card-price-old {
  font-size: 13px;
  color: var(--bdg-text-muted);
  text-decoration: line-through;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  position: relative;
  top: -1px; /* compensa baseline serif */
}
.bdg-also-viewed-card { position: relative; }
.bdg-also-viewed-card-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: #9B1B30; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.5px;
}
.bdg-also-viewed-card-badges,
.bdg-offer-badges {
  display: flex; gap: 6px; align-items: stretch;
  margin: 0 0 8px -9px;  /* compensa il padding interno del badge per allineare al titolo */
}
/* Badge: stessa altezza, stesso font, stesso allineamento */
.bdg-also-viewed-card-badges .bdg-timed-offer-badge,
.bdg-offer-badges .bdg-timed-offer-badge,
.bdg-also-viewed-card-badges .bdg-discount-badge,
.bdg-offer-badges .bdg-discount-badge {
  display: inline-flex !important; align-items: center !important;
  background: #CC0C39 !important; color: #fff !important;
  font-size: 11px !important; font-weight: 700 !important;
  line-height: 1 !important;
  padding: 5px 9px !important; border-radius: 3px !important;
  text-transform: none !important; letter-spacing: 0 !important;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  .bdg-also-viewed-card-badges .bdg-timed-offer-badge,
  .bdg-also-viewed-card-badges .bdg-discount-badge {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }
  .bdg-also-viewed-card-badges {
    gap: 4px !important;
    margin-bottom: 6px !important;
    margin-left: -7px !important;
  }
}
@media (max-width: 768px) {
  .bdg-also-viewed-card { flex: 0 0 170px; width: 170px; border-radius: 10px; }
  .bdg-also-viewed-card img { height: 170px; }
  .bdg-also-viewed-card-body { padding: 12px 13px 14px; }
  .bdg-also-viewed-card-title { font-size: 13px; -webkit-line-clamp: 2; margin-bottom: 6px; min-height: 35px; }
  .bdg-also-viewed-card-price { font-size: 17px; line-height: 1; }
  .bdg-also-viewed-card-price-old { font-size: 12px; line-height: 1; top: 0; }
  .bdg-also-viewed-card-price-row { gap: 6px; align-items: baseline; }
  .bdg-also-viewed h2 { font-size: 16px !important; }
  .bdg-also-viewed-card .bdg-btn { display: none; }
  .bdg-also-viewed-scroll { gap: 12px; }
}
.bdg-also-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(26,18,16,0.9);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 50%;
  color: var(--bdg-text-on-dark);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}
.bdg-also-scroll-btn:hover {
  background: rgba(200,169,110,0.15);
  border-color: var(--bdg-secondary);
}
.bdg-also-scroll-btn.left { left: -18px; }
.bdg-also-scroll-btn.right { right: -18px; }
@media (max-width: 768px) {
  /* Hide left arrow, keep right arrow as scroll hint */
  .bdg-also-scroll-btn.left { display: none; }
  .bdg-also-scroll-btn.right {
    display: flex;
    width: 38px;
    height: 38px;
    right: 8px;
    background: rgba(26,18,16,0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-color: var(--bdg-secondary);
    color: var(--bdg-secondary);
    font-size: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    animation: bdgPulseHint 2s ease-in-out infinite;
  }
  .bdg-also-viewed-wrapper.is-scrolled .bdg-also-scroll-btn.right { opacity: 0; pointer-events: none; }
}
@keyframes bdgPulseHint {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-4px); }
}

/* ═══ UPDATED MOBILE STICKY BAR ═══ */
.bdg-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26,18,16,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 20px rgba(0,0,0,0.4);
  z-index: 1000;
  gap: 10px;
  border-top: var(--bdg-gold-line);
}

/* ═══ AMAZON TIMED OFFER — PRODUCT PAGE ═══ */
.bdg-timed-offer {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.bdg-timed-offer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.bdg-timed-offer-badge {
  display: inline-block;
  background: #CC0C39;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}
.bdg-timed-offer-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(240,235,228,0.4);
  color: rgba(240,235,228,0.5);
  font-size: 11px;
  cursor: pointer;
  position: relative;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  transition: border-color 0.2s, color 0.2s;
}
.bdg-timed-offer-info:hover {
  border-color: var(--bdg-secondary);
  color: var(--bdg-secondary);
}
/* Tooltip: hidden by default */
.bdg-timed-offer-info .bdg-tooltip { display: none; }
/* Desktop: show on hover */
@media (min-width: 769px) {
  .bdg-timed-offer-info:hover .bdg-tooltip { display: block; }
}
/* Mobile: bottom sheet style */
@media (max-width: 768px) {
  .bdg-timed-offer-info .bdg-tooltip {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0;
    padding: 28px 20px 36px;
    z-index: 10000;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
    transform: none !important;
  }
  .bdg-timed-offer-info .bdg-tooltip .bdg-tooltip-title { font-size: 17px; margin-bottom: 10px; }
  .bdg-timed-offer-info .bdg-tooltip .bdg-tooltip-text { font-size: 14px; }
  .bdg-timed-offer-info .bdg-tooltip .bdg-tooltip-close { top: 14px; right: 16px; font-size: 24px; }
}
/* Dark overlay for mobile tooltip */
.bdg-tooltip-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.bdg-timed-offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.bdg-timed-offer-discount {
  font-size: 26px;
  font-weight: 400;
  color: #CC0C39;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-timed-offer-price {
  font-size: 30px;
  font-weight: 400;
  color: var(--bdg-text-on-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 768px) {
  .bdg-timed-offer-price { font-size: 38px; font-weight: 300; }
  .bdg-timed-offer-discount { font-size: 16px; }
  .bdg-timed-offer-old-price { font-size: 15px; }
}
.bdg-timed-offer-old-price {
  font-size: 14px;
  color: var(--bdg-text-muted);
  margin-bottom: 6px;
}
.bdg-timed-offer-old-price span {
  text-decoration: line-through;
}
.bdg-timed-offer-lowest {
  font-size: 13px;
  color: #CC0C39;
  margin-bottom: 12px;
}
.bdg-timed-offer-countdown-row {
  display: none; /* Rimosso countdown - solo data scadenza nel tooltip */
}

/* ═══ TOOLTIP ═══ */
/* Amazon-style popup card (white, with X close button) */
.bdg-tooltip {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  color: #0F1111;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #D5D9D9;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  white-space: normal;
  width: 340px;
  max-width: 90vw;
  z-index: 100;
  pointer-events: auto;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-style: normal;
  animation: bdg-tooltip-fade 0.2s ease;
}
.bdg-tooltip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  line-height: 1;
}
.bdg-tooltip-close:hover { color: #000; }
.bdg-tooltip-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: #0F1111;
}
.bdg-tooltip-text {
  color: #565959;
  font-size: 13px;
}
@keyframes bdg-tooltip-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ PRODUCT CARD OFFER BADGES ═══ */
.bdg-offer-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px 0;
  margin-top: 4px;
}
.bdg-discount-badge {
  display: inline-block;
  background: #CC0C39;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-offer-label {
  color: #CC0C39;
  font-size: 12px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ═══ HOMEPAGE DEAL SECTION ENHANCED BADGES ═══ */
.bdg-deal-offer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.bdg-deal-offer-badges .bdg-timed-offer-badge {
  font-size: 13px;
  padding: 4px 12px;
}
.bdg-deal-offer-badges .bdg-timed-offer-info {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

/* ═══ PRODUCT CARD — SALE ═══ */
.bdg-product-card-price-sale {
  font-size: 20px;
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 4px;
  font-family: Georgia, 'Times New Roman', serif;
}
.bdg-product-card-price-old {
  font-size: 13px;
  color: var(--bdg-text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
  font-weight: 300;
}
/* ═══ COUPON ROW (Amazon-style) ═══ */
.bdg-coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
  margin: 12px 0;
  flex-wrap: wrap;
}
.bdg-coupon-label {
  background: #2D6A4F;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}
.bdg-coupon-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--bdg-text-on-dark);
}
.bdg-coupon-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2D6A4F;
  cursor: pointer;
}
.bdg-coupon-terms {
  font-size: 12px;
  color: var(--bdg-secondary);
  text-decoration: none;
  margin-left: auto;
}
.bdg-coupon-terms:hover { text-decoration: underline; }
.bdg-coupon-applied {
  font-size: 12px;
  color: #2D6A4F;
  font-weight: 600;
  display: none;
}

/* ═══ ACCOUNT PAGE ═══ */
.bdg-account-container { padding-top: 120px; padding-bottom: 60px; }
.bdg-account-welcome { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.bdg-account-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--bdg-primary); color: var(--bdg-secondary); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; font-family: Georgia, serif; flex-shrink: 0; border: 2px solid var(--bdg-secondary); }
.bdg-account-welcome h1 { font-size: 24px; font-weight: 400; color: var(--bdg-text-on-dark); margin-bottom: 2px; font-family: -apple-system, sans-serif; }
.bdg-account-welcome p { font-size: 14px; color: var(--bdg-text-muted); margin: 0; }
/* Quick actions strip */
.bdg-account-quick { display: flex; gap: 12px; margin-bottom: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.bdg-account-quick::-webkit-scrollbar { display: none; }
.bdg-account-quick-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 20px; background: #231E1C; border: 1px solid rgba(200,169,110,0.15); border-radius: 12px; text-decoration: none; color: var(--bdg-text-on-dark); font-size: 12px; font-weight: 500; min-width: 80px; transition: border-color 0.3s, transform 0.2s; flex-shrink: 0; }
.bdg-account-quick-btn:hover { border-color: var(--bdg-secondary); transform: translateY(-2px); }
.bdg-aq-icon { font-size: 22px; }
/* Account grid */
.bdg-account-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 48px; }
/* Orders header */
.bdg-account-orders-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bdg-account-orders-header h2 { font-size: 20px; font-weight: 400; color: var(--bdg-text-on-dark); margin: 0; font-family: -apple-system, sans-serif; }
.bdg-account-orders-header a { color: var(--bdg-secondary); font-size: 14px; text-decoration: none; }
.bdg-account-orders-header a:hover { text-decoration: underline; }
.bdg-account-box {
  background: #231E1C;
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
}
.bdg-account-box:hover { border-color: var(--bdg-secondary); transform: translateY(-2px); }
.bdg-account-box-icon { font-size: 28px; flex-shrink: 0; }
.bdg-account-box strong { color: var(--bdg-text-on-dark); font-size: 15px; display: block; margin-bottom: 4px; }
.bdg-account-box p { color: var(--bdg-text-muted); font-size: 13px; margin: 0; line-height: 1.4; }
.bdg-order-card { background: #231E1C; border: 1px solid rgba(200,169,110,0.15); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.bdg-order-header { display: flex; gap: 32px; padding: 14px 20px; background: rgba(200,169,110,0.05); border-bottom: 1px solid rgba(200,169,110,0.1); flex-wrap: wrap; }
.bdg-order-label { display: block; font-size: 11px; color: var(--bdg-text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.bdg-order-header span:not(.bdg-order-label) { color: var(--bdg-text-on-dark); font-size: 14px; }
.bdg-order-body { padding: 20px; }
.bdg-order-status { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.bdg-order-items { display: flex; flex-direction: column; gap: 12px; }
.bdg-order-item { display: flex; gap: 14px; align-items: center; }
.bdg-btn-order { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; background: var(--bdg-cta); color: var(--bdg-bg-dark); transition: background 0.2s; }
.bdg-btn-order:hover { background: var(--bdg-cta-hover); }
.bdg-btn-order-outline { background: transparent; border: 1px solid rgba(200,169,110,0.3); color: var(--bdg-text-on-dark); }
.bdg-btn-order-outline:hover { border-color: var(--bdg-secondary); }
@media (max-width: 768px) {
  .bdg-account-container { padding-top: 80px; }
  .bdg-account-welcome { gap: 12px; margin-bottom: 20px; }
  .bdg-account-avatar { width: 44px; height: 44px; font-size: 16px; }
  .bdg-account-welcome h1 { font-size: 20px; }
  .bdg-account-welcome p { font-size: 13px; }
  /* Quick actions: scroll horizontal */
  .bdg-account-quick { gap: 8px; margin-bottom: 24px; }
  .bdg-account-quick-btn { padding: 12px 16px; min-width: 72px; }
  .bdg-aq-icon { font-size: 20px; }
  .bdg-account-quick-btn span:last-child { font-size: 11px; }
  /* Account grid: 2 columns on mobile */
  .bdg-account-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bdg-account-box { padding: 14px; gap: 10px; flex-direction: column; text-align: center; }
  .bdg-account-box-icon { width: auto; }
  .bdg-account-box strong { font-size: 13px; }
  .bdg-account-box p { font-size: 11px; }
  /* Orders */
  .bdg-account-orders-header { margin-bottom: 14px; }
  .bdg-account-orders-header h2 { font-size: 18px; }
  .bdg-order-header { flex-direction: column; gap: 6px; padding: 12px 16px; }
  .bdg-order-header > div { display: flex; justify-content: space-between; }
  .bdg-order-label { font-size: 11px; display: inline; margin-right: 8px; }
  .bdg-order-header span:not(.bdg-order-label) { font-size: 13px; }
  .bdg-order-body { padding: 14px; }
  .bdg-order-item img { width: 56px !important; height: 56px !important; }
  .bdg-btn-order { padding: 10px 20px; font-size: 13px; width: 100%; text-align: center; }
}

/* ═══ CONTATTI PAGE ═══ */
.bdg-contatti-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; color: rgba(240,235,228,0.7); font-size: 16px; line-height: 1.8; }
.bdg-contatti-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bdg-contatti-card { background: #231E1C; border: 1px solid rgba(200,169,110,0.15); border-radius: 12px; padding: 32px 24px; text-align: center; text-decoration: none; transition: border-color 0.3s, transform 0.2s; display: block; }
.bdg-contatti-card:hover { border-color: var(--bdg-secondary); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.bdg-contatti-icon { font-size: 36px; margin-bottom: 16px; }
.bdg-contatti-card h3 { color: var(--bdg-secondary); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; font-family: -apple-system, sans-serif; }
.bdg-contatti-card p { color: var(--bdg-text-on-dark); font-size: 16px; margin: 0; }
.bdg-contatti-dove-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 40px; align-items: start; }
.bdg-contatti-info-col { padding-top: 8px; }
.bdg-contatti-address { color: rgba(240,235,228,0.7); font-size: 16px; line-height: 1.9; margin-bottom: 0; }
.bdg-contatti-address strong { color: #F0EBE4; font-size: 18px; }
.bdg-contatti-orari { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(200,169,110,0.15); }
.bdg-contatti-orari-title { color: #C8A96E; font-weight: 600; margin-bottom: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.bdg-contatti-orari-text { color: rgba(240,235,228,0.7); font-size: 15px; line-height: 1.9; }
.bdg-contatti-map { background: #231E1C; border-radius: 12px; overflow: hidden; min-height: 400px; border: 1px solid rgba(200,169,110,0.15); }
.bdg-contatti-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 768px) {
  .bdg-contatti-intro { font-size: 14px; margin-bottom: 32px; }
  .bdg-contatti-grid { grid-template-columns: 1fr; gap: 10px; }
  .bdg-contatti-card { padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left; border-radius: 10px; }
  .bdg-contatti-icon { font-size: 26px; margin-bottom: 0; flex-shrink: 0; width: 36px; text-align: center; }
  .bdg-contatti-card h3 { font-size: 12px; margin-bottom: 4px; }
  .bdg-contatti-card p { font-size: 14px; }
  .bdg-contatti-dove-grid { grid-template-columns: 1fr; gap: 32px; }
  .bdg-contatti-map { min-height: 300px; }
  .bdg-contatti-map iframe { min-height: 300px; }
  .bdg-contatti-dove-grid .bdg-btn { width: 100%; text-align: center; }
}
/* Footer mobile */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col h4 { font-size: 14px; margin-bottom: 8px; }
  .footer-col p, .footer-col li { font-size: 13px; }
  .bdg-social-footer { flex-wrap: wrap; gap: 12px; }
  .footer-copyright { font-size: 11px; padding: 12px 0; }
}

/* Sale badge on cards (red, same as Offerta a tempo but with "XX% di sconto") */
.bdg-product-card .bdg-offer-badges .bdg-discount-badge {
  background: #CC0C39;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}

/* ═══ PRODUCT PAGE — NORMAL SALE (no timed offer) ═══ */
.bdg-normal-sale-price-row {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.bdg-normal-sale-price {
  font-size: 30px;
  font-weight: 400;
  color: var(--bdg-text-on-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin-bottom: 4px;
}
@media (max-width: 768px) {
  .bdg-normal-sale-price { font-size: 38px; font-weight: 300; }
}
.bdg-normal-sale-old {
  font-size: 14px;
  color: var(--bdg-text-muted);
}
.bdg-normal-sale-old span {
  text-decoration: line-through;
}
.bdg-normal-sale-discount {
  display: inline-block;
  color: #CC0C39;
  font-size: 14px;
  font-weight: 600;
  margin-right: 6px;
}

/* ═══ PRODUCT PAGE — FULL PRICE (no discount) ═══ */
.bdg-full-price-row {
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(200,169,110,0.1);
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.bdg-full-price {
  font-size: 30px;
  font-weight: 400;
  color: var(--bdg-text-on-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 768px) {
  .bdg-full-price { font-size: 38px; font-weight: 300; }
  #page-prodotto-sale { padding-bottom: 80px; }
  #page-prodotto-normal { padding-bottom: 80px; }
}

/* old spedizioni responsive removed — now in SPEDIZIONI PAGE section below */

/* =================================================================
   WOOCOMMERCE — SHOP/ARCHIVE PAGES
   ================================================================= */
.bdg-main { min-height: 60vh; }

/* Product grid */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products li.product,
ul.products li.product {
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  border-radius: var(--bdg-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
  width: 100%;
  float: none;
  position: relative;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  border-color: rgba(200,169,110,0.3);
}
.woocommerce-LoopProduct-link { display: block; text-decoration: none; color: inherit; }
.products .product img,
.woocommerce-LoopProduct-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.4s ease;
}
.products .product:hover img { transform: scale(1.05); }
.woocommerce-loop-product__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
  padding: 16px 16px 4px;
  margin: 0;
}
.woocommerce ul.products li.product .price {
  color: var(--bdg-secondary);
  font-size: 18px;
  font-weight: 300;
  padding: 0 16px 8px;
  font-family: Georgia, 'Times New Roman', serif;
}
.woocommerce ul.products li.product .price del { color: var(--bdg-text-muted); font-size: 14px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: #CC0C39; }

/* Add to cart button in grid */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 10px 16px;
  font-size: 11px;
  background: transparent;
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.woocommerce ul.products li.product .button:hover {
  background: rgba(200,169,110,0.1);
  border-color: var(--bdg-secondary);
}

/* Sale badge */
.woocommerce span.onsale {
  background: #CC0C39;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: auto;
  min-width: auto;
  line-height: 1.5;
}

/* Ordering / result count */
.woocommerce-ordering,
.woocommerce-result-count {
  color: var(--bdg-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.woocommerce-ordering select {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border: 1px solid var(--bdg-border);
  padding: 8px 12px;
  border-radius: 4px;
}

/* Pagination — sia versione classic (ul/li) che custom (paginate_links plain) */
nav.woocommerce-pagination {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 50px !important;
  padding: 20px 0;
}
nav.woocommerce-pagination > .page-numbers,
nav.woocommerce-pagination > a.page-numbers,
nav.woocommerce-pagination > span.page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text-on-dark);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}
nav.woocommerce-pagination > a.page-numbers:hover {
  background: rgba(200,169,110,0.15);
  border-color: var(--bdg-secondary);
  color: var(--bdg-secondary);
}
nav.woocommerce-pagination > span.page-numbers.current {
  background: var(--bdg-secondary) !important;
  color: var(--bdg-bg-dark) !important;
  border-color: var(--bdg-secondary) !important;
  font-weight: 700;
}
nav.woocommerce-pagination > .page-numbers.dots {
  background: transparent;
  border: none;
}

/* Pagination versione classic (ul/li) */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border: 1px solid var(--bdg-border);
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  border-color: var(--bdg-secondary);
}

/* =================================================================
   WOOCOMMERCE — SINGLE PRODUCT
   ================================================================= */

/* Top spacing so content doesn't sit under header */
.single-product .bdg-container { padding-top: 100px; }

/* Hide verbose tag slugs in product meta */
.product_meta .tagged_as { display: none; }

.single-product .product {
  padding-top: 20px;
}

/* Product title — larger, more elegant */
.woocommerce div.product .product_title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--bdg-text);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Price — bigger, gold */
.woocommerce div.product p.price {
  color: var(--bdg-secondary);
  font-size: 32px;
  font-weight: 300;
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 20px;
}
.woocommerce div.product p.price del { color: var(--bdg-text-muted); font-size: 20px; }
.woocommerce div.product p.price ins { text-decoration: none; color: #CC0C39; }

/* Short description — better readability */
.woocommerce div.product .woocommerce-product-details__short-description {
  color: rgba(240,235,228,0.7);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 15px;
  font-weight: 300;
  border-bottom: 1px solid rgba(200,169,110,0.12);
  padding-bottom: 24px;
}

/* Gallery — dark bg, rounded corners */
.woocommerce div.product .woocommerce-product-gallery {
  background: #231E1C;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,0.1);
}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  border-radius: 8px;
}
/* Gallery thumbnails — smaller, gold hover border */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 0 8px 8px;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 70px !important;
  flex-shrink: 0;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 6px;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  border-color: var(--bdg-secondary);
  opacity: 1;
}
/* Zoom icon — dark styled */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  background: rgba(26,18,16,0.8);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bdg-secondary);
  transition: all 0.3s ease;
}
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
  border-color: var(--bdg-secondary);
  background: rgba(200,169,110,0.15);
}

/* Product meta (SKU, categories) — muted, smaller */
.woocommerce div.product .product_meta {
  font-size: 13px;
  color: var(--bdg-text-muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(200,169,110,0.1);
  line-height: 2;
}
.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in {
  display: block;
  opacity: 0.7;
}
.woocommerce div.product .product_meta a {
  color: var(--bdg-secondary);
  transition: opacity 0.3s;
}
.woocommerce div.product .product_meta a:hover { opacity: 0.7; }

/* Add to cart form — full width button */
.woocommerce div.product form.cart {
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
/* Quantity input — dark styled */
.woocommerce div.product form.cart .quantity input {
  background: #231E1C;
  color: var(--bdg-text);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 14px;
  width: 80px;
  text-align: center;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  -moz-appearance: textfield;
}
.woocommerce div.product form.cart .quantity input::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.woocommerce div.product form.cart .quantity input:focus {
  border-color: var(--bdg-secondary);
  outline: none;
}
/* Add to cart button — full width, gold, uppercase */
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1;
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  padding: 18px 36px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: #B8964E;
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
  transform: translateY(-1px);
}

/* Tabs — dark themed, gold active */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 48px;
  border-top: 1px solid rgba(200,169,110,0.1);
  padding-top: 8px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(200,169,110,0.15);
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--bdg-text-muted);
  padding: 14px 28px;
  display: block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--bdg-text);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--bdg-secondary);
  border-bottom-color: var(--bdg-secondary);
}
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 28px 0;
  color: rgba(240,235,228,0.7);
  line-height: 1.8;
  font-size: 15px;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
  color: var(--bdg-secondary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 16px;
}

/* Related / upsells — better title, dark cards */
.woocommerce .related.products,
.woocommerce .upsells.products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}
.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product {
  background: #231E1C;
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.woocommerce .related.products ul.products li.product:hover,
.woocommerce .upsells.products ul.products li.product:hover {
  border-color: rgba(200,169,110,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  color: var(--bdg-text-muted);
  font-size: 13px;
  padding: 0 0 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.woocommerce-breadcrumb a { color: var(--bdg-secondary); }
.woocommerce-breadcrumb a:hover { opacity: 0.7; }

/* Mobile adjustments for single product */
@media (max-width: 768px) {
  .single-product .bdg-container { padding-top: 80px; }
  .woocommerce div.product .product_title { font-size: 1.5rem; }
  .woocommerce div.product p.price { font-size: 26px; }
  .woocommerce div.product form.cart { flex-direction: column; align-items: stretch; }
  .woocommerce div.product form.cart .quantity { width: 100%; }
  .woocommerce div.product form.cart .quantity input { width: 100%; }
  .woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; text-align: center; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; font-size: 12px; letter-spacing: 0.5px; }
}

/* =================================================================
   WOOCOMMERCE — CART
   ================================================================= */
.woocommerce-cart table.cart { border-collapse: collapse; width: 100%; }
.woocommerce-cart table.cart th { color: var(--bdg-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--bdg-border); padding: 12px 0; text-align: left; }
.woocommerce-cart table.cart td { border-bottom: 1px solid rgba(200,169,110,0.08); padding: 16px 0; vertical-align: middle; color: var(--bdg-text); }
.woocommerce-cart table.cart img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.woocommerce-cart table.cart .product-name a { color: var(--bdg-text); font-weight: 500; }
.woocommerce-cart table.cart .product-price, .woocommerce-cart table.cart .product-subtotal { color: var(--bdg-secondary); }
.woocommerce-cart .cart_totals { background: var(--bdg-bg-dark-alt); padding: 24px; border-radius: var(--bdg-radius); border: 1px solid var(--bdg-border); }
.woocommerce-cart .cart_totals h2 { color: var(--bdg-secondary); font-size: 18px; margin-bottom: 16px; }
.woocommerce-cart .cart_totals table th { color: var(--bdg-text-muted); }
.woocommerce-cart .cart_totals table td { color: var(--bdg-text); }

/* Checkout/cart buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #B8964E;
  color: var(--bdg-bg-dark);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
}

/* =================================================================
   WOOCOMMERCE — CHECKOUT
   ================================================================= */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout h3#order_review_heading {
  color: var(--bdg-secondary);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.woocommerce form .form-row label { color: var(--bdg-text-muted); font-size: 14px; margin-bottom: 4px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border: 1px solid var(--bdg-border);
  padding: 12px 16px;
  border-radius: 4px;
  width: 100%;
  transition: border-color 0.3s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--bdg-secondary);
  outline: none;
}
.woocommerce-checkout #payment { background: var(--bdg-bg-dark-alt); border-radius: var(--bdg-radius); border: 1px solid var(--bdg-border); }
.woocommerce-checkout #payment .payment_methods { border-bottom: 1px solid var(--bdg-border); }
.woocommerce-checkout #payment .payment_methods li { color: var(--bdg-text); padding: 16px; border-bottom: 1px solid rgba(200,169,110,0.08); }
.woocommerce-checkout #payment .place-order { padding: 16px; }

/* =================================================================
   WOOCOMMERCE — MY ACCOUNT
   ================================================================= */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--bdg-border);
}
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 20px;
  color: var(--bdg-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--bdg-secondary);
  border-bottom-color: var(--bdg-secondary);
}

/* =================================================================
   FORMS & INPUTS (GLOBAL)
   ================================================================= */
input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),
textarea, select {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border: 1px solid var(--bdg-border);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--bdg-secondary);
}

/* =================================================================
   PAGE TITLE (inner pages)
   ================================================================= */
.bdg-page-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bdg-border);
}

/* Entry content styling for pages */
.entry-content { color: rgba(240,235,228,0.8); line-height: 1.7; }
.entry-content h2, .entry-content h3 { color: var(--bdg-secondary); margin-top: 32px; margin-bottom: 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content a { color: var(--bdg-secondary); }
.entry-content img { border-radius: var(--bdg-radius); }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border-left: 4px solid var(--bdg-secondary);
  border-top: none;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.woocommerce-error {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text);
  border-left: 4px solid var(--bdg-error);
  border-top: none;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.woocommerce-message a, .woocommerce-info a { color: var(--bdg-secondary); }

/* Archive title */
.woocommerce-products-header__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--bdg-secondary);
  margin-bottom: 8px;
}

/* Responsive WooCommerce */
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }
  .woocommerce-cart table.cart { font-size: 13px; }
  .woocommerce-cart table.cart img { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   WORDPRESS LAYOUT FIXES — full-width sections
   ================================================================= */

/* Make homepage full width */
.bdg-homepage {
  width: 100%;
}
.bdg-homepage .bdg-section,
.bdg-homepage .bdg-hero,
.bdg-homepage .bdg-trust-bar {
  width: 100%;
}

/* Fix body margin/padding added by WP */
body {
  margin: 0;
  padding: 0;
}

/* removed html overflow-x:hidden — was blocking mobile scroll */

/* =================================================================
   HEADER FIX — search bar form wrapper transparent to flex
   ================================================================= */
.header-search form {
  display: contents;
}
.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: none;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.06);
  color: var(--bdg-text);
  -webkit-appearance: none;
  appearance: none;
}

/* =================================================================
   WOOCOMMERCE CSS OVERRIDE — force dark theme over WC defaults
   ================================================================= */
html body,
body.woocommerce,
body.woocommerce-page,
body.home,
body.page,
body.single-product {
  background: #1A1210;
  color: #F0EBE4;
}

/* WooCommerce resets to white — force dark */
.woocommerce .content-area,
.woocommerce #primary,
.woocommerce #content,
.woocommerce-page .content-area,
.woocommerce-page #primary,
.woocommerce-page #content,
#content,
#primary,
.content-area,
.site-content {
  background: #1A1210;
  color: #F0EBE4;
}

/* Category card images: ensure background covers and no white gaps */
.bdg-cat-card {
  background: #1A1210;
}
.bdg-cat-card-img {
  background-color: #1A1210;
}

/* Product cards: dark background */
.bdg-product-card {
  background: #231E1C;
}

/* ═══ RISTORANTE PAGE ═══ */

/* Hero full-screen */
.bdg-qr-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.bdg-qr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,8,0.6) 0%, rgba(13,10,8,0.75) 50%, rgba(13,10,8,0.95) 100%);
  z-index: 1;
}
.bdg-qr-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.bdg-qr-hero__logo {
  width: 140px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}
.bdg-qr-hero__badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 6px 18px;
  border-radius: 100px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-hero__tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  max-width: 500px;
}
.bdg-qr-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(200,169,110,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.bdg-qr-hero__scroll svg {
  width: 20px;
  height: 20px;
  animation: bdg-bounce 2s infinite;
}
@keyframes bdg-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* Menu Cards */
.bdg-qr-menus {
  background: var(--bdg-bg-dark);
  padding: 48px 0 56px;
}
.bdg-qr-menus__title {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-menus__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--bdg-gap);
  max-width: var(--bdg-max-width);
  margin: 0 auto;
}
.bdg-menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  border-radius: var(--bdg-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.bdg-menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
  transition: background 0.3s ease;
}
.bdg-menu-card:hover,
.bdg-menu-card:active {
  transform: scale(1.015);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.bdg-menu-card:active {
  transform: scale(0.985);
}
.bdg-menu-card__content {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bdg-menu-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-menu-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 700;
}
.bdg-menu-card__desc {
  font-size: 0.85rem;
  color: rgba(240,235,228,0.7);
  line-height: 1.4;
}
.bdg-menu-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-menu-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.bdg-menu-card:hover .bdg-menu-card__cta svg {
  transform: translateX(4px);
}
.bdg-menu-card__hint {
  display: block;
  font-size: 0.65rem;
  color: rgba(200,169,110,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .bdg-qr-menus__grid {
    flex-direction: row;
  }
  .bdg-menu-card {
    flex: 1;
    min-height: 340px;
  }
  .bdg-menu-card__hint { display: none; }
}

/* Process Section */
.bdg-qr-process {
  background: var(--bdg-bg-dark-alt);
  padding: 64px 0;
}
.bdg-qr-process__title {
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.bdg-qr-process__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.bdg-qr-step__num {
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--bdg-secondary);
  opacity: 0.35;
  font-weight: 700;
}
.bdg-qr-step__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
}
.bdg-qr-step__label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bdg-secondary);
  letter-spacing: 0.05em;
}
.bdg-qr-step__desc {
  font-size: 0.9rem;
  color: var(--bdg-text-muted);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .bdg-qr-process__steps {
    flex-direction: row;
    max-width: var(--bdg-max-width);
    gap: 32px;
  }
  .bdg-qr-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bdg-qr-step__num { font-size: 4rem; }
}

/* Gallery */
.bdg-qr-gallery {
  background: var(--bdg-bg-dark);
  padding: 48px 0;
  overflow: hidden;
}
.bdg-qr-gallery__title {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-gallery__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--bdg-gap) 16px;
  scrollbar-width: none;
}
.bdg-qr-gallery__scroll::-webkit-scrollbar { display: none; }
.bdg-qr-gallery__item {
  flex-shrink: 0;
  width: 80vw;
  max-width: 400px;
  aspect-ratio: 4/3;
  border-radius: var(--bdg-radius);
  overflow: hidden;
  scroll-snap-align: center;
}
.bdg-qr-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .bdg-qr-gallery__item {
    width: 340px;
  }
}

/* Chi e DeiGoti */
.bdg-qr-about {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.bdg-qr-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,10,8,0.82);
}
.bdg-qr-about__inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-about__label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bdg-secondary);
  margin-bottom: 12px;
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-qr-about__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #fff;
  margin-bottom: 20px;
}
.bdg-qr-about__text {
  font-size: 1rem;
  color: rgba(240,235,228,0.75);
  line-height: 1.7;
}

/* Info Bar */
.bdg-qr-info {
  background: var(--bdg-bg-dark-alt);
  padding: 40px 0;
}
.bdg-qr-info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--bdg-max-width);
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-info__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bdg-qr-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200,169,110,0.1);
  color: var(--bdg-secondary);
  font-size: 1.1rem;
}
.bdg-qr-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bdg-text-muted);
  display: block;
}
.bdg-qr-info__value {
  font-size: 0.95rem;
  color: var(--bdg-text);
  line-height: 1.4;
}
.bdg-qr-info__value a {
  color: var(--bdg-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .bdg-qr-info__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Final */
.bdg-qr-cta {
  background: var(--bdg-bg-dark);
  padding: 56px 0 64px;
  text-align: center;
}
.bdg-qr-cta__inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 var(--bdg-gap);
}
.bdg-qr-cta__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: #fff;
  margin-bottom: 8px;
}
.bdg-qr-cta__subtitle {
  font-size: 0.9rem;
  color: var(--bdg-text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.bdg-qr-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  min-height: 52px;
}
.bdg-qr-cta__btn:hover {
  background: var(--bdg-cta-hover);
  transform: translateY(-1px);
}
.bdg-qr-cta__btn svg {
  width: 18px;
  height: 18px;
}

/* =================================================================
   WOOCOMMERCE — ARCHIVE / CATEGORY PAGES
   ================================================================= */

/* Archive section padding */
.bdg-archive-section {
  padding-top: 48px;
  padding-bottom: 60px;
}

/* Breadcrumb */
.bdg-breadcrumb {
  font-size: 13px;
  color: rgba(240,235,228,0.5);
  margin-bottom: 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bdg-breadcrumb a {
  color: var(--bdg-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.bdg-breadcrumb a:hover {
  color: #B8964E;
}
.bdg-breadcrumb-sep {
  margin: 0 8px;
  color: rgba(240,235,228,0.3);
}
.bdg-breadcrumb-current {
  color: rgba(240,235,228,0.7);
}

/* Ensure product title is visible on archive cards */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bdg-text-on-dark);
  padding: 16px 16px 4px;
  margin: 0;
}

/* Product card images — dark bg, no white flash */
.woocommerce ul.products li.product a img,
ul.products li.product a img,
.woocommerce-LoopProduct-link img {
  background: #1A1210 !important;
  width: 100% !important;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
/* Image wrapper link — dark bg for loading state */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product > a {
  background: #1A1210;
  display: block;
}
/* Product card itself — dark alt bg */
.woocommerce ul.products li.product,
ul.products li.product {
  background: #231E1C !important;
  border-color: rgba(200,169,110,0.12);
}

/* Product card price on archive */
.woocommerce ul.products li.product .price {
  color: var(--bdg-secondary);
  font-size: 18px;
  font-weight: 300;
  padding: 0 16px 8px;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Add to cart button in archive */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable {
  display: block;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 10px 16px;
  font-size: 11px;
  background: transparent;
  color: var(--bdg-secondary);
  border: 1px solid rgba(200,169,110,0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
  background: rgba(200,169,110,0.1);
  border-color: var(--bdg-secondary);
}

/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination {
  margin-top: 48px;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bdg-bg-dark-alt);
  border: 1px solid var(--bdg-border);
  color: var(--bdg-text-on-dark);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--bdg-secondary);
  color: var(--bdg-secondary);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--bdg-secondary);
  border-color: var(--bdg-secondary);
  color: var(--bdg-bg-dark);
  font-weight: 700;
}

/* Result count & ordering */
.woocommerce-result-count,
.woocommerce-ordering {
  color: rgba(240,235,228,0.5);
  font-size: 13px;
  margin-bottom: 16px;
}
.woocommerce-ordering select {
  background: var(--bdg-bg-dark-alt);
  color: var(--bdg-text-on-dark);
  border: 1px solid var(--bdg-border);
  padding: 8px 12px;
  font-size: 13px;
}

/* Responsive archive */
@media (max-width: 768px) {
  .bdg-archive-section { padding-top: 32px; }
}
@media (max-width: 480px) {
  .bdg-archive-section { padding-top: 24px; }
}

/* =================================================================
   CATEGORY PAGE (page template with bdg-hero-category)
   ================================================================= */
.bdg-category-page {
  min-height: 60vh;
}
.bdg-category-page .bdg-page {
  /* Remove any unwanted wrapping */
}
.bdg-category-page .bdg-hero-category {
  /* Already styled in hero section */
}

/* ── Category hero background images per page ── */
body.page-id-2755 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/scamone-bovino-opt.webp'); }
body.page-id-2730 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/picanha-bovino-opt.webp'); }
body.page-id-2714 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/costata-belga01-opt.webp'); }
body.page-id-2181 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/braciolettine-alla-messinese01-opt.webp'); }
body.page-id-2747 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/hamburger-bovino-conditi03-opt.webp'); }
body.page-id-2736 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/coppa-artigianale-opt.webp'); }
body.page-id-2725 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/salame-artigianale-opt.webp'); }
body.page-id-2719 .bdg-hero-category { background-image: url('https://www.braceriadeigoti.it/wp-content/uploads/2026/03/primo-sale-opt.webp'); }

.bdg-category-page .bdg-section {
  padding-top: 24px;
  padding-bottom: 48px;
}

/* Product title in WooCommerce loop — force visible */
.woocommerce ul.products li.product h2,
ul.products li.product h2.woocommerce-loop-product__title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--bdg-text-on-dark) !important;
  padding: 16px 16px 4px;
  margin: 0;
  line-height: 1.3;
}

/* =================================================================
   CATEGORY PAGE — MOBILE OPTIMIZATION
   ================================================================= */

/* Mobile hero: minimal space */
@media (max-width: 768px) {
  .bdg-hero-category {
    min-height: 35vh;
  }
  .bdg-hero-category .bdg-container {
    padding-top: 90px;
    padding-bottom: 24px;
  }
  .bdg-hero-category h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 8px;
  }
  .bdg-hero-category p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Product grid: 2 columns on tablet */
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Product cards — tight, dark, no white */
  .woocommerce ul.products li.product,
  ul.products li.product {
    background: #231E1C !important;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Product images fill card */
  .woocommerce ul.products li.product a img,
  ul.products li.product a img,
  .woocommerce-LoopProduct-link img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #1A1210 !important;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  /* Title */
  .woocommerce ul.products li.product h2,
  ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 13px !important;
    padding: 10px 10px 2px !important;
  }

  /* Price */
  .woocommerce ul.products li.product .price {
    font-size: 15px !important;
    padding: 0 10px 6px !important;
  }

  /* Button — SCEGLI OPZIONI */
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.add_to_cart_button,
  .woocommerce ul.products li.product a.product_type_simple,
  .woocommerce ul.products li.product a.product_type_variable {
    width: calc(100% - 20px) !important;
    margin: 0 10px 10px !important;
    padding: 8px 10px !important;
    font-size: 10px !important;
    letter-spacing: 1px;
    background: rgba(200,169,110,0.08);
    color: var(--bdg-secondary);
    border: 1px solid rgba(200,169,110,0.25);
  }

  /* Archive section less padding */
  .bdg-archive-section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  /* Breadcrumb smaller */
  .bdg-breadcrumb {
    padding-top: 110px !important;
    font-size: 11px !important;
    margin-bottom: 16px;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.5 !important;
    overflow: visible !important;
  }
  .bdg-breadcrumb span { margin: 0 5px !important; }
}

/* Small phones: single column */
@media (max-width: 480px) {
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .bdg-hero-category .bdg-container {
    padding-top: 60px;
    padding-bottom: 20px;
  }
}

/* Very small phones: still 2 columns but tighter */
@media (max-width: 360px) {
  .woocommerce ul.products,
  ul.products {
    gap: 8px !important;
  }

  .woocommerce ul.products li.product h2,
  ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 12px !important;
    padding: 8px 8px 2px !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 14px !important;
    padding: 0 8px 4px !important;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.product_type_variable {
    font-size: 9px !important;
    padding: 6px 8px !important;
    margin: 0 8px 8px !important;
    width: calc(100% - 16px) !important;
  }
}

/* =================================================================
   FIX: Product grid — force grid, no WC floats/widths
   ================================================================= */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products.columns-4,
ul.products.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}
/* Category page: remove extra spacing, full width */
.bdg-category-page .entry-content {
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.bdg-category-page .bdg-page {
  padding: 0;
  margin: 0;
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  ul.products.columns-4,
  ul.products.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  ul.products.columns-4,
  ul.products.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* =================================================================
   FIX: Remove WC ::before/::after that break CSS grid
   ================================================================= */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after,
ul.products::before,
ul.products::after {
  display: none !important;
  content: none !important;
}

/* Duplicate contatti block removed — canonical rules at line ~2877 */

/* =================================================================
   SPEDIZIONI PAGE
   ================================================================= */
.bdg-spedizioni-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bdg-spedizioni-card { background: #231E1C; border: 1px solid rgba(200,169,110,0.15); border-radius: 12px; padding: 40px 28px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.bdg-spedizioni-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.bdg-spedizioni-card-icon { font-size: 48px; margin-bottom: 20px; }
.bdg-spedizioni-card h3 { font-family: Georgia, serif; font-size: 20px; color: #C8A96E; margin-bottom: 12px; }
.bdg-spedizioni-card p { color: rgba(240,235,228,0.7); font-size: 15px; line-height: 1.7; }

.bdg-spedizioni-table-wrap { max-width: 800px; margin: 0 auto; overflow-x: auto; }
.bdg-spedizioni-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bdg-spedizioni-table th { padding: 16px 20px; text-align: left; color: #C8A96E; font-family: Georgia, serif; font-weight: 600; border-bottom: 2px solid rgba(200,169,110,0.3); }
.bdg-spedizioni-table td { padding: 14px 20px; border-bottom: 1px solid rgba(200,169,110,0.12); color: rgba(240,235,228,0.7); }
.bdg-spedizioni-table td strong { color: #F0EBE4; }

.bdg-spedizioni-free-box { background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.03)); border: 2px solid rgba(200,169,110,0.25); border-radius: 12px; padding: clamp(40px,5vw,64px); text-align: center; }
.bdg-spedizioni-free-box h2 { font-family: Georgia, serif; font-size: clamp(20px,2.5vw,28px); color: #F0EBE4; margin-bottom: 24px; }
.bdg-spedizioni-free-price { font-family: Georgia, serif; font-size: clamp(56px,8vw,80px); color: #C8A96E; font-weight: 700; line-height: 1; margin-bottom: 20px; }
.bdg-spedizioni-free-box p { color: #F0EBE4; font-size: clamp(16px,2vw,18px); line-height: 1.6; margin-bottom: 0; }
.bdg-spedizioni-free-box p strong { color: #C8A96E; }
.bdg-spedizioni-free-sub { color: rgba(240,235,228,0.6) !important; font-size: 15px !important; }
.bdg-spedizioni-free-sub strong { color: #C8A96E !important; }

.bdg-spedizioni-steps { display: flex; flex-direction: column; gap: 28px; }
.bdg-spedizioni-step { display: flex; align-items: flex-start; gap: 20px; }
.bdg-spedizioni-step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #C8A96E, #B8964E); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 18px; font-weight: 700; color: #1A1210; }
.bdg-spedizioni-step p { color: rgba(240,235,228,0.75); font-size: 16px; line-height: 1.7; padding-top: 8px; }

.bdg-spedizioni-alerts { display: flex; flex-direction: column; gap: 24px; }
.bdg-spedizioni-alert { background: rgba(200,169,110,0.06); border-left: 3px solid #C8A96E; border-radius: 0 12px 12px 0; padding: 24px 28px; }
.bdg-spedizioni-alert h3 { font-family: Georgia, serif; font-size: 17px; color: #C8A96E; margin-bottom: 10px; }
.bdg-spedizioni-alert p { color: rgba(240,235,228,0.75); font-size: 15px; line-height: 1.7; }
.bdg-spedizioni-alert a { color: #C8A96E; text-decoration: underline; }

@media (max-width: 768px) {
  .bdg-spedizioni-cards { grid-template-columns: 1fr; gap: 16px; }
  .bdg-spedizioni-card { padding: 28px 20px; }
  .bdg-spedizioni-table { font-size: 13px; }
  .bdg-spedizioni-table th, .bdg-spedizioni-table td { padding: 10px 12px; }
  .bdg-spedizioni-alert { padding: 20px; }
  .bdg-spedizioni-step { gap: 14px; }
  .bdg-spedizioni-step-num { width: 36px; height: 36px; font-size: 15px; }
}

/* Iubenda: untouched */

/* =================================================================
   BUY BOX: Quantity select dropdown + Variable product variations
   ================================================================= */
/* Quantity dropdown (select) — label above, full width */
.bdg-buybox-qty {
  display: block;
  margin-bottom: 14px;
}
.bdg-buybox-qty label {
  display: block;
  color: #F0EBE4;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.bdg-buybox-qty select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #1A1210;
  color: #F0EBE4;
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A96E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.bdg-buybox-qty select:focus {
  outline: none;
  border-color: #C8A96E;
}

/* Variable product variations inside buy box */
.bdg-buybox-variations .variations_form {
  margin: 0;
  padding: 0;
}
.bdg-buybox-variations .variations {
  width: 100%;
  border: none;
  margin-bottom: 16px;
}
.bdg-buybox-variations .variations tr {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.bdg-buybox-variations .variations td.label label {
  color: rgba(240,235,228,0.7);
  font-size: 14px;
  font-weight: 500;
}
.bdg-buybox-variations .variations td.value select,
.bdg-buy-box select,
.bdg-buy-box .variations select {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #1A1210 !important;
  color: #F0EBE4 !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A96E' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
}
.bdg-buybox-variations .variations td.value select:focus {
  outline: none;
  border-color: #C8A96E;
}
.bdg-buybox-variations .reset_variations {
  color: #C8A96E;
  font-size: 13px;
  margin-top: 4px;
  display: inline-block;
}
/* Variable price display */
.bdg-buybox-variations .woocommerce-variation-price {
  margin-bottom: 12px;
}
.bdg-buybox-variations .woocommerce-variation-price .price {
  color: #C8A96E;
  font-size: 24px;
  font-family: Georgia, serif;
  font-weight: 300;
}
.bdg-buybox-variations .woocommerce-variation-price .price del {
  color: #8A7E75;
  font-size: 16px;
}
.bdg-buybox-variations .woocommerce-variation-price .price ins {
  text-decoration: none;
}
/* Variable quantity input */
.bdg-buybox-variations .quantity {
  margin-bottom: 12px;
}
.bdg-buybox-variations .quantity .qty,
.bdg-buy-box input[type="number"],
.bdg-buybox-variations input[type="number"] {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #1A1210 !important;
  color: #F0EBE4 !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  text-align: center;
}
/* Variable add to cart button */
.bdg-buybox-variations .single_add_to_cart_button {
  width: 100%;
  background: #C8A96E;
  color: #1A1210;
  border: none;
  border-radius: 50px;
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}
.bdg-buybox-variations .single_add_to_cart_button:hover {
  background: #B8964E;
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
}
/* Hide WC default elements in variation form */
.bdg-buybox-variations .variations td.label { padding: 0; }
.bdg-buybox-variations .variations td.value { padding: 0; }
.bdg-buybox-variations .woocommerce-variation-description { color: rgba(240,235,228,0.6); font-size: 13px; margin-bottom: 8px; }
.bdg-buybox-variations .woocommerce-variation-availability { margin-bottom: 8px; }
.bdg-buybox-variations .woocommerce-variation-availability .stock { color: #2D6A4F; font-size: 13px; }

/* =================================================================
   NUCLEAR: WooCommerce form elements in buy box — dark theme
   ================================================================= */
.bdg-buy-box select,
.bdg-buy-box .variations select,
.bdg-buy-box .variations_form select,
.bdg-buy-box #peso,
.bdg-buy-box input.qty,
.bdg-buy-box input.input-text,
.bdg-buy-box .quantity input,
.woocommerce .bdg-buy-box select,
.woocommerce .bdg-buy-box input.qty {
  background: #1A1210 !important;
  background-color: #1A1210 !important;
  color: #F0EBE4 !important;
  border: 1px solid rgba(200,169,110,0.3) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.bdg-buy-box select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A96E' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}
/* WC button.alt inside buy box = giallo ambra */
.bdg-buy-box .single_add_to_cart_button,
.bdg-buy-box .single_add_to_cart_button.button.alt,
.bdg-buy-box button.single_add_to_cart_button,
.woocommerce .bdg-buy-box .single_add_to_cart_button.button.alt,
.bdg-buy-box .bdg-buybox-add {
  display: block !important;
  width: 100% !important;
  background: #FFB81C !important;
  background-color: #FFB81C !important;
  color: #1A1210 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  text-align: center !important;
  margin-top: 8px !important;
}
.bdg-buy-box .single_add_to_cart_button:hover,
.bdg-buy-box .bdg-buybox-add:hover {
  background: #E5A318 !important;
  background-color: #E5A318 !important;
}
/* Acquista ora = rosso */
.bdg-buy-box .bdg-buybox-buy {
  display: block !important;
  width: 100% !important;
  background: #9B1B30 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  text-align: center !important;
  text-decoration: none !important;
  margin-top: 6px !important;
}
/* Quantity wrapper inside buy box */
.bdg-buy-box .quantity {
  width: 100% !important;
  float: none !important;
  margin: 0 0 8px !important;
}
/* Hide WC quantity buttons if any */
.bdg-buy-box .quantity .plus,
.bdg-buy-box .quantity .minus {
  display: none !important;
}


/* ═══════════════════════════════════════
   BLOG STYLES
   ═══════════════════════════════════════ */

.bdg-blog-hero {
  padding: 140px 0 40px;
  text-align: center;
}
.bdg-blog-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  margin-bottom: 16px;
}
.bdg-blog-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 700;
}
.bdg-blog-meta {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bdg-blog-sep { color: #555; }
.bdg-blog-author { color: var(--bdg-secondary, #C8A96E); font-weight: 600; }

.bdg-blog-body {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 60px;
}
.bdg-blog-featured {
  margin: 0 0 40px;
  border-radius: 8px;
  overflow: hidden;
}
.bdg-blog-featured img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article typography */
.bdg-blog-content .entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #ddd;
}
.bdg-blog-content .entry-content h2 {
  font-size: 1.6rem;
  margin: 48px 0 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(200,169,110,0.2);
  color: #fff;
  font-weight: 700;
}
.bdg-blog-content .entry-content h3 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
  color: #fff;
  font-weight: 600;
}
.bdg-blog-content .entry-content p {
  margin: 0 0 20px;
}
.bdg-blog-content .entry-content blockquote {
  border-left: 3px solid var(--bdg-secondary, #C8A96E);
  margin: 32px 0;
  padding: 16px 24px;
  background: rgba(200,169,110,0.06);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #ccc;
}
.bdg-blog-content .entry-content blockquote p {
  margin: 0;
}
.bdg-blog-content .entry-content ul,
.bdg-blog-content .entry-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.bdg-blog-content .entry-content li {
  margin-bottom: 12px;
  line-height: 1.7;
}
.bdg-blog-content .entry-content strong {
  color: #fff;
  font-weight: 600;
}
.bdg-blog-content .entry-content em {
  color: #bbb;
}
.bdg-blog-content .entry-content a {
  color: var(--bdg-secondary, #C8A96E);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer & share */
.bdg-blog-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.bdg-blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.bdg-blog-tag {
  font-size: 0.8rem;
  color: var(--bdg-secondary, #C8A96E);
  background: rgba(200,169,110,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
}
.bdg-blog-share {
  font-size: 0.85rem;
  color: #999;
  display: flex;
  gap: 12px;
  align-items: center;
}
.bdg-blog-share a {
  color: var(--bdg-secondary, #C8A96E);
  text-decoration: none;
  font-weight: 600;
}

/* Related posts */
.bdg-blog-related {
  padding: 48px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bdg-blog-related h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: #fff;
}
.bdg-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.bdg-blog-card {
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}
.bdg-blog-card:hover { transform: translateY(-4px); }
.bdg-blog-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.bdg-blog-card-body { padding: 16px; }
.bdg-blog-card-body h3 { font-size: 1rem; margin: 0 0 8px; color: #fff; }
.bdg-blog-card-body time { font-size: 0.8rem; color: #999; }

/* Blog archive / index */
.bdg-blog-archive {
  padding: 140px 0 60px;
}
.bdg-blog-archive h1 {
  text-align: center;
  margin-bottom: 40px;
}


/* ═══════════════════════════════════════
   BLOG STYLES
   ═══════════════════════════════════════ */

/* ── Archive / Index ── */
.bdg-blog-archive { padding: 130px 0 60px; }
.bdg-blog-archive-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.bdg-blog-archive-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  margin-bottom: 12px;
}
.bdg-blog-archive-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.bdg-blog-archive-intro {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.6;
}

/* ── Blog Grid (shared archive + related) ── */
.bdg-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
@media (max-width: 700px) {
  .bdg-blog-grid { grid-template-columns: 1fr; }
}

/* ── Blog Card ── */
.bdg-blog-card {
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bdg-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,169,110,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.bdg-blog-card-img { position: relative; overflow: hidden; }
.bdg-blog-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bdg-blog-card:hover .bdg-blog-card-img img { transform: scale(1.05); }
.bdg-blog-card-img-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,169,110,0.08);
  color: #555;
}
.bdg-blog-card-img-placeholder svg { width: 48px; height: 48px; }
.bdg-blog-card-body { padding: 24px; }
.bdg-blog-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  display: block;
  margin-bottom: 10px;
}
.bdg-blog-card-body h2 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
}
.bdg-blog-card-excerpt {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.55;
  margin: 0 0 16px;
}
.bdg-blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #666;
}
.bdg-blog-card-readmore {
  color: var(--bdg-secondary, #C8A96E);
  font-weight: 600;
  font-size: 0.82rem;
}

/* Pagination */
.bdg-blog-pagination {
  text-align: center;
  margin-top: 48px;
}
.bdg-blog-pagination a,
.bdg-blog-pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #ccc;
  text-decoration: none;
}
.bdg-blog-pagination a:hover { background: rgba(200,169,110,0.15); color: #fff; }
.bdg-blog-pagination .current { background: var(--bdg-secondary, #C8A96E); color: #1a1a1a; font-weight: 700; }

/* ── Single Article ── */
.bdg-blog-hero {
  padding: 130px 0 32px;
  text-align: center;
}
.bdg-blog-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  text-decoration: none;
  margin-bottom: 20px;
}
.bdg-blog-title {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bdg-blog-subtitle {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: #999;
  line-height: 1.5;
}
.bdg-blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.bdg-blog-meta-author { display: flex; align-items: center; gap: 12px; }
.bdg-blog-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bdg-secondary, #C8A96E);
  color: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.bdg-blog-author { display: block; color: #fff; font-size: 0.9rem; }
.bdg-blog-meta-date { display: block; font-size: 0.78rem; color: #777; margin-top: 2px; }
.bdg-blog-share-top { display: flex; gap: 12px; }
.bdg-blog-share-top a {
  color: #666;
  transition: color 0.2s;
}
.bdg-blog-share-top a:hover { color: var(--bdg-secondary, #C8A96E); }

/* Featured image */
.bdg-blog-featured-wrap { padding: 32px 0 0; }
.bdg-blog-featured {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}
.bdg-blog-featured img { width: 100%; height: auto; display: block; }

/* Body */
.bdg-blog-body { padding: 48px 0; }
.bdg-blog-content {
  max-width: 720px;
  margin: 0 auto;
}

/* Typography */
.bdg-blog-content .entry-content {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #d4d4d4;
}
.bdg-blog-content .entry-content h2 {
  font-size: 1.55rem;
  margin: 56px 0 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(200,169,110,0.15);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.bdg-blog-content .entry-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.bdg-blog-content .entry-content h3 {
  font-size: 1.2rem;
  margin: 36px 0 14px;
  color: #fff;
  font-weight: 600;
}
.bdg-blog-content .entry-content p { margin: 0 0 22px; }
.bdg-blog-content .entry-content blockquote {
  border-left: 3px solid var(--bdg-secondary, #C8A96E);
  margin: 36px 0;
  padding: 20px 28px;
  background: rgba(200,169,110,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #bbb;
  font-size: 1.02rem;
}
.bdg-blog-content .entry-content blockquote p { margin: 0; }
.bdg-blog-content .entry-content ul,
.bdg-blog-content .entry-content ol {
  margin: 0 0 28px;
  padding-left: 20px;
}
.bdg-blog-content .entry-content li {
  margin-bottom: 14px;
  line-height: 1.75;
  padding-left: 4px;
}
.bdg-blog-content .entry-content strong { color: #fff; font-weight: 700; }
.bdg-blog-content .entry-content em { color: #bbb; }
.bdg-blog-content .entry-content a {
  color: var(--bdg-secondary, #C8A96E);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,169,110,0.4);
}
.bdg-blog-content .entry-content a:hover { text-decoration-color: var(--bdg-secondary); }

/* Article footer */
.bdg-blog-article-footer { padding: 0 0 48px; }
.bdg-blog-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bdg-blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.bdg-blog-tag {
  font-size: 0.78rem;
  color: var(--bdg-secondary, #C8A96E);
  background: rgba(200,169,110,0.08);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.bdg-blog-tag:hover { background: rgba(200,169,110,0.18); }
.bdg-blog-share-bottom {
  font-size: 0.85rem;
  color: #777;
  display: flex;
  gap: 14px;
  align-items: center;
}
.bdg-blog-share-bottom a { color: var(--bdg-secondary, #C8A96E); text-decoration: none; font-weight: 600; }

/* CTA box */
.bdg-blog-cta-box {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.03));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 12px;
  text-align: center;
}
.bdg-blog-cta-box h3 { font-size: 1.2rem; margin: 0 0 8px; color: #fff; }
.bdg-blog-cta-box p { font-size: 0.92rem; color: #aaa; margin: 0 0 20px; }
.bdg-blog-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--bdg-secondary, #C8A96E);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bdg-blog-cta-btn:hover { opacity: 0.85; }

/* Related */
.bdg-blog-related {
  padding: 56px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.bdg-blog-related h2 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 36px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .bdg-blog-hero { padding: 110px 0 24px; }
  .bdg-blog-meta { flex-direction: column; gap: 16px; }
  .bdg-blog-content .entry-content { font-size: 1rem; }
  .bdg-blog-content .entry-content h2 { font-size: 1.35rem; margin-top: 40px; padding-top: 24px; }
  .bdg-blog-footer-inner { flex-direction: column; align-items: flex-start; }
}
/* Card without image */
.bdg-blog-card-noimg {
  background: linear-gradient(135deg, rgba(200,169,110,0.06), rgba(200,169,110,0.02));
  border-color: rgba(200,169,110,0.12);
}
.bdg-blog-card-noimg .bdg-blog-card-body { padding: 32px; }
.bdg-blog-card-noimg h2 { font-size: 1.3rem; }

/* ── Category Intro ── */
.bdg-cat-intro {
  padding: 32px 0 28px;
}
.bdg-cat-intro-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(200,169,110,0.06), rgba(200,169,110,0.02));
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 12px;
}
.bdg-cat-intro-text::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 3rem;
  color: var(--bdg-secondary, #C8A96E);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}
.bdg-cat-intro-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #bbb;
  font-style: italic;
}
@media (max-width: 600px) {
  .bdg-cat-intro-text { padding: 24px 20px; }
}

/* ── Newsletter Section ── */
.bdg-newsletter-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.02));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 16px;
}
.bdg-nl-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  opacity: 0.9;
}
.bdg-nl-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  margin-bottom: 16px;
}
.bdg-newsletter-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bdg-newsletter-box > p {
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 28px;
}
.bdg-nl-form-row {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.bdg-nl-form-row .bdg-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.92rem;
}
.bdg-nl-form-row .bdg-input::placeholder { color: #777; }
.bdg-nl-form-row .bdg-input:focus {
  outline: none;
  border-color: var(--bdg-secondary, #C8A96E);
  background: rgba(200,169,110,0.06);
}
.bdg-nl-form-row .bdg-btn {
  white-space: nowrap;
  padding: 14px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
}
.bdg-nl-trust {
  font-size: 0.75rem;
  color: #666;
  margin: 16px 0 0;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .bdg-nl-form-row { flex-direction: column; }
  .bdg-newsletter-box { padding: 40px 20px; }
}

/* ── Offers Section ── */
.bdg-offers-section {
  border-bottom: 1px solid rgba(200,169,110,0.1);
}
.bdg-offers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.bdg-offers-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6b35;
  margin-bottom: 6px;
}
.bdg-offers-header .bdg-section-title {
  margin: 0;
  text-align: left;
}
.bdg-offers-countdown {
  text-align: right;
}
.bdg-countdown-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}
.bdg-countdown-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bdg-countdown-unit {
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 52px;
}
.bdg-countdown-unit span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff6b35;
  font-variant-numeric: tabular-nums;
}
.bdg-countdown-unit small {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-top: 2px;
}
.bdg-countdown-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
}
@media (max-width: 600px) {
  .bdg-offers-header { flex-direction: column; align-items: flex-start; }
  .bdg-offers-countdown { text-align: left; }
  .bdg-countdown-unit { padding: 6px 10px; min-width: 44px; }
  .bdg-countdown-unit span { font-size: 1.1rem; }
}

/* ── Restaurant Contact Section ── */
.bdg-qr-contact {
  padding: 64px 0;
}
.bdg-qr-contact__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.bdg-qr-contact__header {
  text-align: center;
  margin-bottom: 40px;
}
.bdg-qr-contact__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bdg-secondary, #C8A96E);
  margin-bottom: 12px;
}
.bdg-qr-contact__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.bdg-qr-contact__subtitle {
  color: #999;
  font-size: 0.92rem;
  margin: 0;
}
.bdg-qr-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .bdg-qr-contact__grid { grid-template-columns: 1fr; }
}
.bdg-qr-contact__card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.bdg-qr-contact__card-cta {
  background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.03));
  border-color: rgba(200,169,110,0.18);
}
.bdg-qr-contact__card-icon {
  margin-bottom: 16px;
  color: var(--bdg-secondary, #C8A96E);
}
.bdg-qr-contact__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.bdg-qr-contact__card p {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
  margin: 0 0 16px;
}
.bdg-qr-contact__hours {
  text-align: left;
}
.bdg-qr-contact__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.bdg-qr-contact__hours-row:last-child { border: none; }
.bdg-qr-contact__hours-closed span { color: #777; }
.bdg-qr-contact__btn {
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s, transform 0.2s;
  margin-bottom: 10px;
}
.bdg-qr-contact__btn:last-child { margin-bottom: 0; }
.bdg-qr-contact__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.bdg-qr-contact__btn-wa {
  background: #25D366;
  color: #fff;
}
.bdg-qr-contact__btn-tel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.bdg-qr-contact__btn-map {
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.2);
  color: var(--bdg-secondary, #C8A96E);
}

/* ── Footer heading (semantic fix) ── */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-heading a { color: #fff; text-decoration: none; }

/* ── Google Rating Badge (product pages) ── */
.bdg-google-rating-section {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.bdg-google-rating-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.bdg-gr-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bdg-gr-glogo { flex-shrink: 0; }
.bdg-gr-score { display: flex; flex-direction: column; gap: 2px; }
.bdg-gr-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bdg-gr-stars {
  display: flex;
  gap: 1px;
  margin: 2px 0;
}
.bdg-gr-count {
  font-size: 0.72rem;
  color: #999;
}
.bdg-gr-write {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bdg-secondary, #C8A96E);
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.bdg-gr-write:hover { opacity: 0.85; }
@media (max-width: 500px) {
  .bdg-google-rating-badge { flex-direction: column; gap: 16px; text-align: center; }
  .bdg-gr-left { flex-direction: column; }
  .bdg-gr-stars { justify-content: center; }
}

/* ── Restaurant Google Rating Section ── */
.bdg-qr-rating {
  padding: 48px 0;
  background: rgba(200,169,110,0.03);
  border-top: 1px solid rgba(200,169,110,0.08);
  border-bottom: 1px solid rgba(200,169,110,0.08);
}
.bdg-qr-rating__inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px;
}
.bdg-qr-rating__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.bdg-qr-rating__glogo { flex-shrink: 0; }
.bdg-qr-rating__score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bdg-qr-rating__number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bdg-qr-rating__stars {
  display: flex;
  gap: 2px;
}
.bdg-qr-rating__count {
  font-size: 0.85rem;
  color: #999;
  margin: 0 0 20px;
}
.bdg-qr-rating__write {
  display: inline-block;
  padding: 12px 28px;
  background: var(--bdg-secondary, #C8A96E);
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 24px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.bdg-qr-rating__write:hover { opacity: 0.85; }

/* ── WhatsApp Sticky Button ── */
.bdg-wa-sticky {
  display: none;
}
@media (max-width: 768px) {
  .bdg-wa-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .bdg-wa-sticky:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  }
  .bdg-wa-sticky:active {
    transform: scale(0.95);
  }
}

/* ── Hero shipping subtitle ── */
.bdg-hero-shipping {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 14px;
  letter-spacing: 0.3px;
}
@media (max-width: 600px) {
  .bdg-hero-shipping { font-size: 0.75rem; }
}
