/* ================================================================
   BookMyDecoration — Sidebar & Shop Page Styles
   Gold & Black Theme — Professional Sidebar UI
   ================================================================ */

/* ── SHOP PAGE WRAPPER ─────────────────────────────────────────── */
.bmd-shop-page {
  padding: 0 0 clamp(48px,6vw,80px);
  background: #F9F6EE;
}
.bmd-shop-page > .bmd-container { padding-top: 0; }

/* ── SHOP PAGE HEADER BANNER ──────────────────────────────────── */
.bmd-shop-banner {
  background: linear-gradient(115deg, var(--bmd-dark) 60%, #2A2000 100%);
  padding: clamp(28px,4vw,52px) 0;
  border-bottom: 3px solid var(--bmd-gold-dark);
  margin-bottom: 32px;
}
.bmd-shop-banner__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.bmd-shop-banner__title {
  font-family: var(--bmd-font-display);
  font-size: clamp(24px,3vw,40px); font-weight: 900; color: #fff; margin: 0;
}
.bmd-shop-banner__title em { font-style: italic; color: var(--bmd-gold-light); }
.bmd-shop-banner__breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.5); margin-top: 6px;
}
.bmd-shop-banner__breadcrumb a { color: rgba(255,255,255,.5); }
.bmd-shop-banner__breadcrumb a:hover { color: var(--bmd-gold); }
.bmd-shop-banner__breadcrumb .sep { margin: 0 6px; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.bmd-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
@media(max-width:960px){
  .bmd-shop-layout { grid-template-columns: 1fr; }
}

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.bmd-shop-sidebar {
  position: sticky;
  top: calc(var(--bmd-header-h) + 16px);
  display: flex; flex-direction: column; gap: 16px;
}
@media(max-width:960px){ .bmd-shop-sidebar { position: relative; top: auto; } }

/* Sidebar Card Base */
.bmd-sb-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1px solid #EEE8D8;
}
.bmd-sb-card__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--bmd-dark);
  border-bottom: 2px solid var(--bmd-gold-dark);
}
.bmd-sb-card__icon { font-size: 16px; }
.bmd-sb-card__title {
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bmd-gold);
}
.bmd-sb-card__body { padding: 14px 16px; }

/* Category list */
.bmd-sb-cats { display: flex; flex-direction: column; gap: 2px; }
.bmd-sb-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 9px;
  font-size: 13px; font-weight: 500; color: #333;
  text-decoration: none; transition: all .18s;
  border: 1px solid transparent;
}
.bmd-sb-cat:hover {
  background: var(--bmd-gold-pale); color: var(--bmd-gold-dark);
  border-color: var(--bmd-gold); text-decoration: none;
}
.bmd-sb-cat.active {
  background: var(--bmd-gold-pale); color: var(--bmd-gold-dark);
  font-weight: 700; border-color: var(--bmd-gold);
}
.bmd-sb-cat__count {
  background: var(--bmd-dark); color: var(--bmd-gold);
  font-size: 10px; font-weight: 800; padding: 2px 8px;
  border-radius: 99px; flex-shrink: 0;
}
.bmd-sb-cat.active .bmd-sb-cat__count { background: var(--bmd-gold); color: var(--bmd-dark); }

/* Price filter widget override */
.bmd-sb-card__body .price_slider_wrapper { padding: 0; }
.bmd-sb-card__body .price_slider { margin: 8px 0 14px; }
.bmd-sb-card__body .ui-slider-horizontal { height: 4px; background: #EEE; border-radius: 4px; border: none; }
.bmd-sb-card__body .ui-slider-horizontal .ui-slider-range { background: linear-gradient(90deg,var(--bmd-gold),var(--bmd-gold-dark)); height: 4px; }
.bmd-sb-card__body .ui-slider-handle {
  width: 16px; height: 16px; border-radius: 50%; top: -6px;
  background: var(--bmd-gold); border: 2px solid var(--bmd-gold-dark);
  box-shadow: 0 2px 8px rgba(212,175,55,.4); cursor: pointer;
}
.bmd-sb-card__body .price_slider_amount { display: flex; align-items: center; gap: 10px; }
.bmd-sb-card__body .price_slider_amount input[type=text] {
  flex: 1; border: 1px solid #EEE; border-radius: 7px; padding: 6px 10px;
  font-size: 12px; font-family: var(--bmd-font-body); color: #333;
}
.bmd-sb-card__body .price_slider_amount button {
  background: linear-gradient(135deg,var(--bmd-gold),var(--bmd-gold-dark)) !important;
  color: var(--bmd-dark) !important; border: none !important;
  border-radius: 7px !important; padding: 7px 16px !important;
  font-size: 12px !important; font-weight: 800 !important;
  font-family: var(--bmd-font-body) !important; cursor: pointer !important;
}

/* Featured product in sidebar */
.bmd-sb-featured {
  display: flex; flex-direction: column; gap: 0;
}
.bmd-sb-featured__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #F3F0E8;
  text-decoration: none; transition: opacity .18s;
}
.bmd-sb-featured__item:last-child { border-bottom: none; }
.bmd-sb-featured__item:hover { opacity: .8; }
.bmd-sb-featured__img {
  width: 52px; height: 52px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid #EEE;
}
.bmd-sb-featured__name { font-size: 12px; font-weight: 600; color: #333; line-height: 1.4; }
.bmd-sb-featured__price { font-size: 13px; font-weight: 800; color: var(--bmd-gold-dark); margin-top: 2px; }

/* Trust badges in sidebar */
.bmd-sb-trust { display: flex; flex-direction: column; gap: 10px; }
.bmd-sb-trust-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 9px; background: var(--bmd-gold-pale);
  border: 1px solid var(--bmd-gold);
}
.bmd-sb-trust-item__icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.bmd-sb-trust-item__title { font-size: 12px; font-weight: 700; color: var(--bmd-dark); }
.bmd-sb-trust-item__sub { font-size: 11px; color: var(--bmd-gray); margin-top: 1px; }

/* Contact CTA in sidebar */
.bmd-sb-cta {
  background: linear-gradient(135deg,var(--bmd-dark),#2A2000);
  border-radius: 14px; padding: 20px 18px; text-align: center;
  border: 1px solid var(--bmd-gold-dark);
}
.bmd-sb-cta__emoji { font-size: 32px; margin-bottom: 10px; display: block; }
.bmd-sb-cta__title { font-size: 14px; font-weight: 700; color: var(--bmd-gold-light); margin-bottom: 4px; }
.bmd-sb-cta__sub { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 14px; line-height: 1.5; }

/* ── SHOP MAIN ───────────────────────────────────────────────── */
.bmd-shop-main { min-width: 0; }

.bmd-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
  background: #fff; padding: 12px 16px; border-radius: 12px;
  border: 1px solid #EEE8D8; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.bmd-shop-toolbar__count .woocommerce-result-count {
  font-size: 13px; color: var(--bmd-gray); margin: 0; font-weight: 600;
}
.bmd-shop-toolbar__right { display: flex; align-items: center; gap: 12px; }
.bmd-shop-toolbar__sort .woocommerce-ordering,
.bmd-shop-toolbar .woocommerce-ordering { margin: 0 !important; }
.bmd-shop-toolbar__sort select,
.bmd-shop-main .woocommerce-ordering select {
  font-size: 13px; font-family: var(--bmd-font-body);
  border: 1px solid #DDD8C8; border-radius: 8px; padding: 8px 14px;
  background: var(--bmd-white); color: var(--bmd-dark); cursor: pointer; outline: none;
}
.bmd-shop-toolbar__sort select:focus { border-color: var(--bmd-gold); }

/* Grid view toggle buttons */
.bmd-view-toggle { display: flex; gap: 4px; }
.bmd-view-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid #DDD8C8;
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .18s; color: var(--bmd-gray);
}
.bmd-view-btn.active, .bmd-view-btn:hover { background: var(--bmd-gold-pale); border-color: var(--bmd-gold); color: var(--bmd-gold-dark); }

/* ── PRODUCT GRID ────────────────────────────────────────────── */
.bmd-shop-main .woocommerce ul.products,
.bmd-shop-main .woocommerce-page ul.products {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
}
@media(max-width:1100px){
  .bmd-shop-main .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media(max-width:640px){
  .bmd-shop-main .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

/* ── ACTIVE FILTERS ──────────────────────────────────────────── */
.bmd-active-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.bmd-active-filter {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bmd-gold-pale); border: 1px solid var(--bmd-gold);
  color: var(--bmd-gold-dark); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
}
.bmd-active-filter a { color: var(--bmd-gold-dark); font-size: 14px; font-weight: 900; text-decoration: none; }
.bmd-active-filter a:hover { color: #c00; }

/* ── PAGINATION ──────────────────────────────────────────────── */
.bmd-shop-pagination { margin-top: 32px; }
.woocommerce nav.woocommerce-pagination { text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; font-size: 13px; font-weight: 700;
  border: 1px solid #DDD8C8; color: var(--bmd-dark); text-decoration: none; transition: all .18s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--bmd-gold-pale); border-color: var(--bmd-gold); color: var(--bmd-gold-dark); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bmd-gold); border-color: var(--bmd-gold); color: var(--bmd-dark); }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.bmd-shop-empty { text-align: center; padding: 72px 24px; color: var(--bmd-gray); background: #fff; border-radius: 14px; border: 1px solid #EEE8D8; }
.bmd-shop-empty .bmd-empty-emoji { font-size: 56px; margin-bottom: 16px; display: block; }
.bmd-shop-empty h3 { font-size: 20px; font-weight: 700; color: var(--bmd-dark); margin-bottom: 8px; }
.bmd-shop-empty p  { font-size: 14px; margin-bottom: 20px; }

/* ════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — Professional Layout
   ════════════════════════════════════════════════════════════════ */
.bmd-single-product { background: #F9F6EE; padding: 0 !important; margin: 0 !important; }

/* Product hero banner */
.bmd-product-banner {
  background: var(--bmd-dark);
  border-bottom: 2px solid var(--bmd-gold-dark);
  padding: 12px 0;
  margin: 0;
}
.bmd-product-banner .woocommerce-breadcrumb {
  color: rgba(255,255,255,.45) !important; margin: 0 !important;
  padding: 0 !important; font-size: 12px !important;
}
.bmd-product-banner .woocommerce-breadcrumb a { color: rgba(255,255,255,.45) !important; }
.bmd-product-banner .woocommerce-breadcrumb a:hover { color: var(--bmd-gold) !important; }

/* Product content area */
.bmd-product-content {
  padding: 24px 0 clamp(40px,5vw,72px);
}

/* 2-col layout */
.bmd-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,4vw,60px);
  align-items: start;
}
@media(max-width:768px){ .bmd-product-layout { grid-template-columns: 1fr; } }

/* ── GALLERY ─────────────────────────────────────────────────── */
.bmd-gallery-wrap { position: sticky; top: calc(var(--bmd-header-h) + 16px); }

.bmd-product-gallery__main {
  border-radius: 16px; overflow: hidden; aspect-ratio: 1;
  background: #fff; position: relative;
  border: 2px solid #EEE8D8;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  cursor: zoom-in;
}
.bmd-product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .18s ease, transform .35s ease;
}
.bmd-product-gallery__main:hover img { transform: scale(1.03); }

/* Video tab on main gallery */
.bmd-gallery-video-tab {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  display: flex; gap: 6px;
}
.bmd-gallery-tab-btn {
  background: rgba(0,0,0,.55); color: #fff; border: none;
  padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 700;
  cursor: pointer; backdrop-filter: blur(4px); transition: background .2s;
  display: flex; align-items: center; gap: 5px;
}
.bmd-gallery-tab-btn:hover, .bmd-gallery-tab-btn.active { background: var(--bmd-gold); color: var(--bmd-dark); }
.bmd-gallery-tab-btn svg { width: 12px; height: 12px; }

/* Inline product video in gallery */
.bmd-gallery-video-wrap {
  display: none; position: absolute; inset: 0; background: #000; border-radius: 16px; overflow: hidden; z-index: 3;
}
.bmd-gallery-video-wrap.visible { display: block; }
.bmd-gallery-video-wrap video,
.bmd-gallery-video-wrap iframe { width: 100%; height: 100%; object-fit: cover; border: none; }
.bmd-gallery-video-close {
  position: absolute; top: 10px; left: 10px; z-index: 5;
  background: rgba(0,0,0,.6); color: #fff; border: none; width: 32px; height: 32px;
  border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bmd-gallery-video-close:hover { background: var(--bmd-gold); color: var(--bmd-dark); }

.bmd-gallery-zoom {
  position: absolute; bottom: 10px; right: 10px; z-index: 4;
  background: rgba(0,0,0,.5); color: #fff; border: none;
  width: 34px; height: 34px; border-radius: 8px; font-size: 15px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background .2s;
}
.bmd-gallery-zoom:hover { background: var(--bmd-gold); color: var(--bmd-dark); }

/* Thumbnails */
.bmd-product-gallery__thumbs {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.bmd-thumb-btn {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; padding: 0; background: none; flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}
.bmd-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmd-thumb-btn:hover { border-color: var(--bmd-gold-dark); }
.bmd-thumb-btn.active { border-color: var(--bmd-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.25); }

/* Video thumb button */
.bmd-thumb-video {
  background: var(--bmd-dark); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px;
  color: var(--bmd-gold); font-size: 11px; font-weight: 700; border: 2px solid var(--bmd-gold-dark);
}
.bmd-thumb-video svg { width: 18px; height: 18px; fill: var(--bmd-gold); }
.bmd-thumb-video:hover { border-color: var(--bmd-gold); background: #1C1C1C; }

/* ── PRODUCT INFO RIGHT COLUMN ───────────────────────────────── */
.bmd-product-info-wrap {
  background: #fff; border-radius: 16px; padding: clamp(20px,3vw,36px);
  box-shadow: 0 4px 24px rgba(0,0,0,.07); border: 1px solid #EEE8D8;
}

.bmd-product-info__cats {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px;
}
.bmd-product-info__cat {
  background: var(--bmd-gold-pale); color: var(--bmd-gold-dark);
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 11px; border-radius: 99px;
  border: 1px solid var(--bmd-gold); text-decoration: none;
}
.bmd-product-info__cat:hover { background: var(--bmd-gold); color: var(--bmd-dark); }

.bmd-product-info__title {
  font-family: var(--bmd-font-display);
  font-size: clamp(20px,2.5vw,32px); font-weight: 900; line-height: 1.1;
  color: var(--bmd-dark); margin-bottom: 10px;
}

.bmd-product-info__stars {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.bmd-stars { color: var(--bmd-gold); font-size: 14px; letter-spacing: .05em; }
.bmd-review-count { font-size: 12px; color: var(--bmd-gray); }

.bmd-product-info__price {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  background: var(--bmd-gold-pale); border: 1px solid var(--bmd-gold);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 18px;
}
.bmd-product-info__price .current {
  font-size: clamp(22px,2.8vw,32px); font-weight: 900; color: var(--bmd-gold-dark);
}
.bmd-product-info__price .original {
  font-size: 15px; color: var(--bmd-gray); text-decoration: line-through;
}
.bmd-product-info__price .save-badge {
  background: var(--bmd-gold); color: var(--bmd-dark);
  font-size: 10px; font-weight: 900; padding: 2px 9px; border-radius: 99px;
}

.bmd-product-info__desc {
  font-size: 14px; line-height: 1.85; color: rgba(17,17,17,.68);
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #EEE8D8;
}

/* WooCommerce form inside info box */
.bmd-product-info-wrap .woocommerce div.product form.cart,
.woocommerce div.product form.cart { margin: 14px 0; }

.bmd-product-info-wrap .woocommerce div.product form.cart .qty {
  border: 2px solid #DDD8C8 !important; border-radius: 99px !important;
  padding: 9px 16px !important; font-size: 15px !important; font-weight: 700 !important;
  width: 72px !important; text-align: center !important; font-family: var(--bmd-font-body) !important;
}
.bmd-product-info-wrap .woocommerce div.product form.cart .single_add_to_cart_button,
.bmd-product-info-wrap .woocommerce .single_add_to_cart_button {
  background: linear-gradient(135deg,var(--bmd-gold),var(--bmd-gold-dark)) !important;
  color: var(--bmd-dark) !important; border: none !important;
  border-radius: 99px !important; font-size: 14px !important; font-weight: 900 !important;
  padding: 13px 32px !important; letter-spacing: .05em !important; text-transform: uppercase !important;
  box-shadow: var(--bmd-shadow-gold) !important; transition: transform .2s, box-shadow .2s !important;
  font-family: var(--bmd-font-body) !important;
}
.bmd-product-info-wrap .woocommerce div.product form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px) !important; box-shadow: 0 12px 36px rgba(212,175,55,.5) !important;
}

/* WooPC product options (deposit, date) */
.bmd-product-info-wrap .woocommerce .woopc-product-options,
.bmd-product-info-wrap table.woocommerce-product-attributes { width: 100%; font-size: 13px; }
.bmd-product-info-wrap table.woocommerce-product-attributes th,
.bmd-product-info-wrap table.woocommerce-product-attributes td { padding: 8px 0; border-bottom: 1px solid #EEE8D8; vertical-align: top; }
.bmd-product-info-wrap table.woocommerce-product-attributes th { font-weight: 700; color: var(--bmd-dark); width: 40%; }

/* Product total table (WooCommerce Product Options) */
.woopc-total-table, .woopc-product-total-table {
  width: 100%; margin: 14px 0;
  border: 1px solid #EEE8D8; border-radius: 10px; overflow: hidden;
  font-size: 13px;
}
.woopc-total-table td, .woopc-product-total-table td { padding: 9px 14px; border-bottom: 1px solid #EEE8D8; }
.woopc-total-table tr:last-child td, .woopc-product-total-table tr:last-child td { border-bottom: none; background: var(--bmd-gold-pale); font-weight: 800; }
.woopc-total-table td:last-child, .woopc-product-total-table td:last-child { text-align: right; font-weight: 700; }

/* Trust row */
.bmd-trust-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid #EEE8D8; margin-top: 14px;
}
.bmd-trust-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--bmd-gray);
}
.bmd-trust-item svg { width: 14px; height: 14px; color: var(--bmd-success); flex-shrink: 0; }

/* Share */
.bmd-share-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px;
}
.bmd-share-label { font-size: 12px; font-weight: 700; color: var(--bmd-gray); }
.bmd-share-btn {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px;
  border-radius: 99px; font-size: 11px; font-weight: 800; text-decoration: none;
  transition: opacity .18s;
}
.bmd-share-btn:hover { opacity: .85; text-decoration: none; }
.bmd-share-btn--wa  { background: #25D366; color: #fff !important; }
.bmd-share-btn--fb  { background: #1877F2; color: #fff !important; }

/* Advance payment box */
.bmd-advance-box {
  background: var(--bmd-dark); border-radius: 12px; padding: 16px;
  margin-bottom: 16px; border: 1px solid var(--bmd-gold-dark); display: none;
}
.has-advance-payment .bmd-advance-box { display: block; }
.bmd-advance-box__title { font-size: 13px; font-weight: 700; color: var(--bmd-gold); margin-bottom: 10px; }
.bmd-advance-option {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  border-radius: 9px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 2px solid transparent;
  transition: border-color .2s, background .2s; margin-bottom: 6px;
}
.bmd-advance-option:last-child { margin-bottom: 0; }
.bmd-advance-option.selected { border-color: var(--bmd-gold); background: rgba(212,175,55,.08); }
.bmd-advance-option input[type=radio] { margin-top: 3px; accent-color: var(--bmd-gold); flex-shrink: 0; }
.bmd-advance-option__label { font-size: 12px; font-weight: 700; color: #fff; display: block; margin-bottom: 2px; }
.bmd-advance-option__sub { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.4; }
.bmd-advance-option__price { font-size: 14px; font-weight: 900; color: var(--bmd-gold); margin-top: 4px; }

/* ── PRODUCT TABS ────────────────────────────────────────────── */
.bmd-product-tabs-wrap {
  background: #fff; border-radius: 16px; padding: clamp(20px,3vw,36px);
  box-shadow: 0 4px 24px rgba(0,0,0,.07); border: 1px solid #EEE8D8;
  margin-top: 28px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0; margin: 0 0 22px; list-style: none;
  border-bottom: 2px solid #EEE8D8;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none; border: none; border-radius: 0; margin: 0; padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 10px 20px; font-size: 13px; font-weight: 700;
  color: var(--bmd-gray); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: color .18s, border-color .18s; text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--bmd-gold-dark); border-bottom-color: var(--bmd-gold);
}
.woocommerce div.product .woocommerce-tabs .panel { padding: 0; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { display: none; }

/* ── RELATED PRODUCTS ────────────────────────────────────────── */
.bmd-related-wrap {
  margin-top: 28px;
}
.bmd-related-heading {
  font-family: var(--bmd-font-display);
  font-size: clamp(18px,2.2vw,26px); font-weight: 900; color: var(--bmd-dark);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 3px solid var(--bmd-gold);
  display: flex; align-items: center; gap: 10px;
}
.woocommerce .related > h2,
.woocommerce .up-sells > h2 { display: none; } /* we use our own */

/* IMAGE LIGHTBOX */
.bmd-img-lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.94);
  z-index: 9999; align-items: center; justify-content: center;
}
.bmd-img-lightbox.open { display: flex; }
.bmd-img-lightbox__close {
  position: absolute; top: 14px; right: 18px;
  background: rgba(212,175,55,.2); border: 1px solid var(--bmd-gold);
  color: var(--bmd-gold); width: 38px; height: 38px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bmd-img-lightbox__close:hover { background: var(--bmd-gold); color: var(--bmd-dark); }
.bmd-img-lightbox__img {
  max-width: 90vw; max-height: 88vh; border-radius: 10px; object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.bmd-img-lightbox__prev,
.bmd-img-lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(212,175,55,.15); border: 2px solid var(--bmd-gold);
  color: var(--bmd-gold); width: 44px; height: 44px; border-radius: 50%;
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bmd-img-lightbox__prev:hover, .bmd-img-lightbox__next:hover { background: var(--bmd-gold); color: var(--bmd-dark); }
.bmd-img-lightbox__prev { left: 16px; }
.bmd-img-lightbox__next { right: 16px; }

/* ════════════════════════════════════════════════════════════════
   REELS / VIDEO SECTION ON HOMEPAGE
   ════════════════════════════════════════════════════════════════ */
.bmd-reels-section {
  padding: clamp(52px,6.5vw,96px) 0;
  background: var(--bmd-dark);
  overflow: hidden;
}
.bmd-reels-header {
  text-align: center; margin-bottom: 36px;
}
.bmd-reels-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:900px){ .bmd-reels-track { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:500px){ .bmd-reels-track { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.bmd-reel-card {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 9/16;
  background: #1C1C1C; cursor: pointer;
  border: 1px solid rgba(212,175,55,.2);
  transition: transform .25s, box-shadow .25s;
  display: block; text-decoration: none;
}
.bmd-reel-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.bmd-reel-card video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.bmd-reel-card__thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .5s ease;
  z-index: 1;
}
/* JS sets opacity:0 when video starts playing */
.bmd-reel-card__video-el {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .5s ease;
  z-index: 2;
}
.bmd-reel-card__play { transition: opacity .4s ease; }

/* Gold shimmer overlay */
.bmd-reel-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.85) 0%, rgba(10,10,10,.1) 50%, transparent 100%);
  z-index: 1;
}
.bmd-reel-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(212,175,55,.85); border: 2px solid var(--bmd-gold);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform .2s, background .2s;
  box-shadow: 0 0 0 8px rgba(212,175,55,.15);
}
.bmd-reel-card__play svg { width: 20px; height: 20px; fill: var(--bmd-dark); margin-left: 3px; }
.bmd-reel-card:hover .bmd-reel-card__play { transform: translate(-50%,-50%) scale(1.12); background: var(--bmd-gold); }

.bmd-reel-card__info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 12px;
}
.bmd-reel-card__title {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bmd-reel-card__cta {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bmd-gold); color: var(--bmd-dark) !important;
  font-size: 10px; font-weight: 900; padding: 5px 12px; border-radius: 99px;
  text-decoration: none; transition: box-shadow .2s; text-transform: uppercase; letter-spacing: .06em;
}
.bmd-reel-card__cta:hover { box-shadow: var(--bmd-shadow-gold); text-decoration: none; color: var(--bmd-dark) !important; }
.bmd-reel-card__cta svg { width: 10px; height: 10px; }

/* Reel full-screen player */
.bmd-reel-player {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.96);
  z-index: 10000; align-items: center; justify-content: center;
}
.bmd-reel-player.open { display: flex; }
.bmd-reel-player__close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  background: rgba(212,175,55,.2); border: 1px solid var(--bmd-gold);
  color: var(--bmd-gold); width: 40px; height: 40px; border-radius: 50%; border: none;
  font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bmd-reel-player__close:hover { background: var(--bmd-gold); color: var(--bmd-dark); }
.bmd-reel-player__video {
  max-height: 90vh; max-width: 400px; width: 100%;
  border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.bmd-reel-player__prev,
.bmd-reel-player__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(212,175,55,.15); border: 2px solid var(--bmd-gold);
  color: var(--bmd-gold); width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.bmd-reel-player__prev:hover,.bmd-reel-player__next:hover{background:var(--bmd-gold);color:var(--bmd-dark)}
.bmd-reel-player__prev { left: 20px; }
.bmd-reel-player__next { right: 20px; }


/* ── REMOVE EASY RETURNS FROM SIDEBAR ────────────────────────── */
.bmd-sb-trust-item.bmd-hide { display: none; }

/* ── ZERO TOP PADDING on WooCommerce page wrapper ─────────────── */
.bmd-woo-wrap { padding-top: 0 !important; margin-top: 0 !important; }
.bmd-woo-content { padding-top: 0 !important; margin-top: 0 !important; }
/* WC sometimes adds padding via its own CSS */
.woocommerce-page .bmd-woo-wrap,
.single-product .bmd-woo-wrap { padding-top: 0 !important; }

