/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL LUXURY CLEAN V2
   File riêng cho trang chi tiết sản phẩm
   Chỉ load khi template contains 'product'
========================================================= */

/* =========================================================
   01. PAGE BASE
========================================================= */

body.bephong-theme-luxury .product.layout-product {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(8, 8, 8, 0.94)),
    url("bephong-body-marble-bg.png");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: cover;
  color: #f8f1e6;
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  overflow-x: hidden;
}

body.bephong-theme-luxury .product.layout-product *,
body.bephong-theme-luxury .product.layout-product *::before,
body.bephong-theme-luxury .product.layout-product *::after {
  box-sizing: border-box;
}

body.bephong-theme-luxury .product.layout-product > .container {
  width: min(1680px, calc(100% - 72px));
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 34px;
  padding-bottom: 54px;
}

/* =========================================================
   02. MAIN PRODUCT DETAIL GRID
========================================================= */

body.bephong-theme-luxury .bph-product-detail {
  width: 100%;
}

body.bephong-theme-luxury .bph-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 34%) minmax(280px, 24%);
  gap: 28px;
  align-items: start;
}

body.bephong-theme-luxury .bph-product-detail-gallery,
body.bephong-theme-luxury .bph-product-detail-info,
body.bephong-theme-luxury .bph-product-detail-commitments {
  min-width: 0;
}

/* =========================================================
   03. LEFT GALLERY - MAIN IMAGE
========================================================= */

body.bephong-theme-luxury .bph-product-gallery-card {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(214, 173, 92, 0.58);
  border-radius: 22px;
  background: #fcfaf8;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

body.bephong-theme-luxury .bph-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, #ffffff 0%, #fdfbf8 50%, #fcfaf8 100%);
  overflow: hidden;
}

body.bephong-theme-luxury .bph-gallery-main .swiper-wrapper {
  height: 100% !important;
}

body.bephong-theme-luxury .bph-gallery-main .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.bephong-theme-luxury .bph-gallery-main .swiper-slide a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.bephong-theme-luxury .bph-gallery-main img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* No image */
body.bephong-theme-luxury .bph-product-no-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #fcfaf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bephong-theme-luxury .bph-product-no-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* =========================================================
   04. LEFT GALLERY - THUMBNAILS
   Thumbnail tách riêng dưới ảnh chính, không dùng p-100
========================================================= */

body.bephong-theme-luxury .bph-product-gallery-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

body.bephong-theme-luxury .bph-gallery-main {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 1 !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs {
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;

  margin-top: 0 !important;
  padding: 0 34px !important;

  height: 92px !important;
  max-height: 92px !important;

  overflow: hidden !important;
  background: transparent !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .swiper-wrapper {
  height: 92px !important;
  align-items: center !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .swiper-slide {
  height: 86px !important;
  min-height: 86px !important;
  max-height: 86px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(214, 173, 92, 0.46) !important;
  border-radius: 12px !important;
  background: #fcfaf8 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .swiper-slide-thumb-active,
body.bephong-theme-luxury .bph-gallery-thumbs .swiper-slide-active {
  border-color: #d6ad5c !important;
  box-shadow: 0 0 0 2px rgba(214, 173, 92, 0.30) !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .bph-gallery-thumb-frame {
  width: 100% !important;
  height: 100% !important;
  padding: 7px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fcfaf8 !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .bph-gallery-thumb-frame img {
  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  margin: 0 auto !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .swiper-button-next,
body.bephong-theme-luxury .bph-gallery-thumbs .swiper-button-prev {
  width: 26px !important;
  height: 26px !important;
  margin-top: -13px !important;
  color: #d6ad5c !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .swiper-button-next::after,
body.bephong-theme-luxury .bph-gallery-thumbs .swiper-button-prev::after {
  font-size: 17px !important;
  font-weight: 900 !important;
}

/* Mobile thumbnail */
@media (max-width: 767px) {
  body.bephong-theme-luxury .bph-product-gallery-card {
    gap: 10px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs {
    height: 78px !important;
    max-height: 78px !important;
    padding: 0 28px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .swiper-wrapper {
    height: 78px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .swiper-slide {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    border-radius: 10px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .bph-gallery-thumb-frame {
    padding: 6px !important;
  }
}

/* =========================================================
   05. MIDDLE PRODUCT INFO
========================================================= */

body.bephong-theme-luxury .bph-product-detail-info {
  color: #f8f1e6;
}

body.bephong-theme-luxury .bph-product-detail-title {
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: clamp(25px, 1.85vw, 34px) !important;
  line-height: 1.22 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

body.bephong-theme-luxury .bph-product-detail-reviews {
  margin-bottom: 8px;
}

/* Meta */
body.bephong-theme-luxury .bph-product-detail-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 0 !important;
  margin: 0 0 16px !important;
  color: rgba(248, 241, 230, 0.80) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.bephong-theme-luxury .bph-product-detail-meta .stock-brand-title {
  color: rgba(248, 241, 230, 0.66) !important;
  font-weight: 650 !important;
}

body.bephong-theme-luxury .bph-product-detail-meta .a-vendor,
body.bephong-theme-luxury .bph-product-detail-meta .variant-sku {
  color: #d6ad5c !important;
  font-weight: 800 !important;
}

body.bephong-theme-luxury .bph-product-detail-meta .a-stock {
  color: #39d36b !important;
  font-weight: 800 !important;
}

body.bephong-theme-luxury .bph-product-detail-meta .a-stock-out {
  color: #ff5b5b !important;
}

/* =========================================================
   06. PRICE
========================================================= */

body.bephong-theme-luxury .bph-product-detail-price {
  margin: 0 0 14px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(214, 173, 92, 0.22) !important;
}

body.bephong-theme-luxury .bph-product-detail-price .special-price,
body.bephong-theme-luxury .bph-product-detail-price .old-price {
  display: inline-flex !important;
  align-items: baseline !important;
}

body.bephong-theme-luxury .bph-product-detail-price .product-price {
  color: #e01927 !important;
  font-size: clamp(28px, 2vw, 36px) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body.bephong-theme-luxury .bph-product-detail-price .product-price-old {
  margin-left: 14px !important;
  color: rgba(248, 241, 230, 0.48) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
}

/* =========================================================
   07. SUMMARY
========================================================= */

body.bephong-theme-luxury .bph-product-detail-summary {
  margin: 0 0 16px !important;
  color: rgba(248, 241, 230, 0.84) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

body.bephong-theme-luxury .bph-product-detail-summary p {
  margin: 0 0 8px !important;
}

body.bephong-theme-luxury .bph-product-detail-summary em {
  color: rgba(248, 241, 230, 0.62) !important;
}

/* =========================================================
   08. GIFT / PROMOTION IMAGE
   Tag: quatang-...
========================================================= */

body.bephong-theme-luxury .bph-product-detail-gift {
  width: 100% !important;
  margin: 16px 0 18px !important;
  padding: 10px !important;
  border: 1px solid rgba(214, 173, 92, 0.48) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(214, 173, 92, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(252, 250, 248, 0.96) !important;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45) !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-product-detail-gift img {
  display: block !important;
  width: 100% !important;
  height: 128px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  background: transparent !important;
}

/* =========================================================
   09. FORM / VARIANTS
========================================================= */

body.bephong-theme-luxury .bph-product-detail-form,
body.bephong-theme-luxury .bph-product-detail-buybox,
body.bephong-theme-luxury .form-product.bph-product-detail-buybox {
  width: 100% !important;
  margin: 0 !important;
}

body.bephong-theme-luxury .bph-product-detail-buybox .select-swatch,
body.bephong-theme-luxury .bph-product-detail-buybox .box-variant {
  margin-bottom: 12px;
}

/* =========================================================
   10. QUANTITY
========================================================= */

body.bephong-theme-luxury .bph-product-detail-quantity-row {
  display: block !important;
  width: 100% !important;
}

body.bephong-theme-luxury .bph-product-detail-quantity-row .custom-btn-number {
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
}

body.bephong-theme-luxury .bph-product-detail-quantity-row .sl {
  display: block !important;
  margin: 0 0 8px !important;
  color: rgba(248, 241, 230, 0.82) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.bephong-theme-luxury .bph-product-detail-quantity-row .input_number_product {
  width: 120px !important;
  height: 42px !important;
  min-height: 42px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: grid !important;
  grid-template-columns: 34px 1fr 34px !important;
  align-items: center !important;

  border: 1px solid rgba(214, 173, 92, 0.42) !important;
  border-radius: 10px !important;
  background: rgba(8, 8, 8, 0.82) !important;

  overflow: hidden !important;
  box-shadow: none !important;
}

body.bephong-theme-luxury .bph-product-detail-quantity-row .input_number_product .btn_num,
body.bephong-theme-luxury .bph-product-detail-quantity-row .input_number_product .button_qty {
  position: static !important;

  width: 34px !important;
  height: 42px !important;
  min-width: 34px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 0 !important;
  background: transparent !important;
  color: #d6ad5c !important;

  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  outline: none !important;
}

body.bephong-theme-luxury .bph-product-detail-quantity-row .input_number_product input {
  position: static !important;

  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;

  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;

  text-align: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;

  box-shadow: none !important;
  outline: none !important;
}

/* =========================================================
   11. ADD TO CART / BUY NOW BUTTONS
========================================================= */

body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions {
  float: none !important;
  clear: both !important;

  width: 100% !important;
  max-width: 100% !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;

  margin: 14px 0 0 !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn {
  float: none !important;
  clear: none !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  height: 54px !important;
  min-height: 54px !important;

  padding: 0 14px !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 14px !important;

  font-family: "Be Vietnam Pro", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-decoration: none !important;

  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
}

body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn-cart {
  border: 1px solid #c51622 !important;
  background: linear-gradient(180deg, #d51d2a 0%, #a90f19 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(197, 22, 34, 0.26) !important;
}

body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn-buy-now {
  border: 1px solid rgba(214, 173, 92, 0.78) !important;
  background: rgba(8, 8, 8, 0.88) !important;
  color: #f0d48a !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn[disabled] {
  opacity: 0.58 !important;
  cursor: not-allowed !important;
}

@media (hover: hover) and (pointer: fine) {
  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn:hover {
    transform: translateY(-1px) !important;
  }

  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn-cart:hover {
    background: linear-gradient(180deg, #e32634 0%, #b8121d 100%) !important;
  }

  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn-buy-now:hover {
    border-color: #f0d48a !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(214, 173, 92, 0.25) !important;
  }
}

/* =========================================================
   12. RIGHT COMMITMENTS
========================================================= */

body.bephong-theme-luxury .bph-commitment-card {
  padding: 22px;
  border: 1px solid rgba(214, 173, 92, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(214, 173, 92, 0.12), transparent 34%),
    rgba(8, 8, 8, 0.78);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

body.bephong-theme-luxury .bph-commitment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(214, 173, 92, 0.22);
}

body.bephong-theme-luxury .bph-commitment-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 173, 92, 0.62);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d6ad5c;
  font-weight: 900;
}

body.bephong-theme-luxury .bph-commitment-head strong {
  color: #d6ad5c;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

body.bephong-theme-luxury .bph-commitment-list {
  display: grid;
}

body.bephong-theme-luxury .bph-commitment-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(214, 173, 92, 0.16);
}

body.bephong-theme-luxury .bph-commitment-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.bephong-theme-luxury .bph-commitment-item > span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(214, 173, 92, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d6ad5c;
  font-size: 13px;
  font-weight: 900;
}

body.bephong-theme-luxury .bph-commitment-item strong {
  display: block;
  margin-bottom: 4px;
  color: #f8f1e6;
  font-size: 14.5px;
  font-weight: 800;
}

body.bephong-theme-luxury .bph-commitment-item p {
  margin: 0;
  color: rgba(248, 241, 230, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   13. TABLET
========================================================= */

@media (max-width: 1199px) {
  body.bephong-theme-luxury .product.layout-product > .container {
    width: min(100% - 48px, 1680px);
  }

  body.bephong-theme-luxury .bph-product-detail-grid {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    gap: 24px;
  }

  body.bephong-theme-luxury .bph-product-detail-commitments {
    grid-column: 1 / -1;
  }

  body.bephong-theme-luxury .bph-commitment-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }
}

/* =========================================================
   14. MOBILE
========================================================= */

@media (max-width: 767px) {
  body.bephong-theme-luxury .product.layout-product > .container {
    width: min(100% - 24px, 1680px);
    padding-top: 18px;
    padding-bottom: 34px;
  }

  body.bephong-theme-luxury .bph-product-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.bephong-theme-luxury .bph-product-gallery-card {
    padding: 10px;
    border-radius: 18px;
  }

  body.bephong-theme-luxury .bph-gallery-main {
    border-radius: 14px;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs {
    height: 78px !important;
    max-height: 78px !important;
    padding: 0 28px !important;
    margin-top: 10px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .swiper-wrapper {
    height: 78px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .swiper-slide {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    flex: 0 0 78px !important;
    border-radius: 10px !important;
  }

  body.bephong-theme-luxury .bph-gallery-thumbs .p-100 img {
    inset: 6px !important;
    width: calc(100% - 12px) !important;
    height: calc(100% - 12px) !important;
  }

  body.bephong-theme-luxury .bph-product-detail-title {
    font-size: 24px !important;
    line-height: 1.24 !important;
  }

  body.bephong-theme-luxury .bph-product-detail-meta {
    display: grid !important;
    gap: 6px !important;
    font-size: 13.5px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-meta .line {
    display: none !important;
  }

  body.bephong-theme-luxury .bph-product-detail-price .product-price {
    font-size: 30px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-price .product-price-old {
    font-size: 15px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-summary {
    font-size: 14px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-gift {
    margin: 14px 0 16px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-gift img {
    height: 108px !important;
  }

  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
  }

  body.bephong-theme-luxury .bph-commitment-card {
    padding: 18px;
    border-radius: 18px;
  }

  body.bephong-theme-luxury .bph-commitment-list {
    grid-template-columns: 1fr;
  }

  body.bephong-theme-luxury .bph-commitment-item {
    padding: 14px 0;
  }
}

@media (max-width: 420px) {
  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions {
    grid-template-columns: 1fr !important;
  }

  body.bephong-theme-luxury .btn-mua.button_actions.bph-product-detail-actions .bph-product-detail-btn {
    width: 100% !important;
  }
}
/* Thumbnail frame mới - không dùng p-100 của theme */
body.bephong-theme-luxury .bph-gallery-thumbs .bph-gallery-thumb-frame {
  width: 100% !important;
  height: 100% !important;
  padding: 7px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fcfaf8 !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-gallery-thumbs .bph-gallery-thumb-frame img {
  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: center center !important;

  margin: 0 auto !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* =========================================================
   BẾP HỒNG - PC THUMBNAIL NO OVERLAP FIX
   Chỉ sửa desktop: thumbnail nằm tách dưới ảnh chính
========================================================= */

@media (min-width: 768px) {
  body.bephong-theme-luxury .product.layout-product .bph-product-gallery-card {
    display: block !important;
    padding-bottom: 18px !important;
  }

  body.bephong-theme-luxury .product.layout-product .bph-gallery-main {
    position: relative !important;
    display: block !important;
    margin: 0 0 22px 0 !important;
    z-index: 1 !important;
  }

  body.bephong-theme-luxury .product.layout-product .bph-gallery-thumbs {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;

    display: block !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 0 34px !important;

    height: 92px !important;
    max-height: 92px !important;

    overflow: hidden !important;
    z-index: 2 !important;
    background: transparent !important;
  }

  body.bephong-theme-luxury .product.layout-product .bph-gallery-thumbs .swiper-wrapper {
    height: 92px !important;
    align-items: center !important;
  }

  body.bephong-theme-luxury .product.layout-product .bph-gallery-thumbs .swiper-slide {
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Breadcrumb luxury + nối nền sản phẩm
   ========================================================= */

/* Thanh breadcrumb: cùng tông đen, không tạo dải màu xám riêng */
body.bephong-theme-luxury .bread-crumb,
body.bephong-theme-luxury .breadcrumb-shop {
  background: #050505 !important;
  border-top: 1px solid rgba(214, 173, 92, .22) !important;
  border-bottom: 1px solid rgba(214, 173, 92, .28) !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
}

/* Container bên trong breadcrumb: canh chữ nằm giữa khung */
body.bephong-theme-luxury .bread-crumb .container,
body.bephong-theme-luxury .breadcrumb-shop .container {
  width: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 54px !important;
}

/* Nếu breadcrumb dùng ul/ol/div con thì cũng ép về giữa */
body.bephong-theme-luxury .bread-crumb .breadcrumb,
body.bephong-theme-luxury .breadcrumb-shop .breadcrumb,
body.bephong-theme-luxury .bread-crumb ul,
body.bephong-theme-luxury .breadcrumb-shop ul {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* Chữ breadcrumb */
body.bephong-theme-luxury .bread-crumb,
body.bephong-theme-luxury .bread-crumb a,
body.bephong-theme-luxury .bread-crumb span,
body.bephong-theme-luxury .breadcrumb-shop,
body.bephong-theme-luxury .breadcrumb-shop a,
body.bephong-theme-luxury .breadcrumb-shop span {
  color: rgba(255, 250, 240, .88) !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* Dấu phân cách breadcrumb */
body.bephong-theme-luxury .bread-crumb i,
body.bephong-theme-luxury .breadcrumb-shop i,
body.bephong-theme-luxury .bread-crumb .mr_lr,
body.bephong-theme-luxury .breadcrumb-shop .mr_lr {
  color: rgba(214, 173, 92, .78) !important;
}

/* Tên sản phẩm cuối breadcrumb */
body.bephong-theme-luxury .bread-crumb a:last-child,
body.bephong-theme-luxury .breadcrumb-shop a:last-child,
body.bephong-theme-luxury .bread-crumb strong,
body.bephong-theme-luxury .breadcrumb-shop strong {
  color: #fffaf0 !important;
  font-weight: 700 !important;
}

/* Nền product detail kéo sát lên ngay sau breadcrumb */
body.bephong-theme-luxury section.product.layout-product {
  margin-top: 0 !important;
  padding-top: 14px !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .07), transparent 30%),
    linear-gradient(180deg, #050505 0%, #090909 38%, #070707 100%) !important;
}

/* Không để container tạo thêm mảng màu khác */
body.bephong-theme-luxury section.product.layout-product > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
}

/* Cụm 3 cột giữ sát nền trên, không tạo thêm khoảng đệm màu khác */
body.bephong-theme-luxury section.product.layout-product .details-product.bph-product-detail {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
}

/* Mobile: breadcrumb gọn hơn */
@media (max-width: 767px) {
  body.bephong-theme-luxury .bread-crumb,
  body.bephong-theme-luxury .breadcrumb-shop,
  body.bephong-theme-luxury .bread-crumb .container,
  body.bephong-theme-luxury .breadcrumb-shop .container {
    min-height: 48px !important;
  }

  body.bephong-theme-luxury section.product.layout-product {
    padding-top: 10px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Chỉnh khoảng cách thật sau breadcrumb
   HTML thực tế: section.product.layout-product > .container > .details-product
   ========================================================= */

/* Section cha của trang sản phẩm */
body.bephong-theme-luxury section.product.layout-product {
  margin-top: 0 !important;
  padding-top: 12px !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .08), transparent 32%),
    linear-gradient(180deg, #050505 0%, #101010 42%, #070707 100%) !important;
}

/* Container bọc cụm 3 cột */
body.bephong-theme-luxury section.product.layout-product > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Cụm 3 cột thật */
body.bephong-theme-luxury section.product.layout-product .details-product.bph-product-detail {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Không để từng cột tự đẩy xuống */
body.bephong-theme-luxury section.product.layout-product .bph-product-detail-gallery,
body.bephong-theme-luxury section.product.layout-product .bph-product-detail-info,
body.bephong-theme-luxury section.product.layout-product .bph-product-detail-commit,
body.bephong-theme-luxury section.product.layout-product .bph-product-gallery-card {
  margin-top: 0 !important;
}

/* Mobile gọn hơn */
@media (max-width: 767px) {
  body.bephong-theme-luxury section.product.layout-product {
    padding-top: 8px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Khung mô tả sản phẩm tối giản
   ========================================================= */

/* Ẩn thanh tab "Mô tả sản phẩm / Chính sách bảo hành" */
body.bephong-theme-luxury .product-tab .tabs,
body.bephong-theme-luxury .product-tabs .tabs,
body.bephong-theme-luxury .tab-product .tabs,
body.bephong-theme-luxury .product-tab ul.tabs,
body.bephong-theme-luxury .product-tabs ul.tabs,
body.bephong-theme-luxury .tab-product ul.tabs,
body.bephong-theme-luxury .e-tabs .tabs,
body.bephong-theme-luxury .e-tabs ul.tabs {
  display: none !important;
}

/* Khung bao ngoài phần mô tả */
body.bephong-theme-luxury .product-tab,
body.bephong-theme-luxury .product-tabs,
body.bephong-theme-luxury .tab-product,
body.bephong-theme-luxury .details-product-tab,
body.bephong-theme-luxury .e-tabs {
  background: transparent !important;
  margin-top: 36px !important;
}

/* Nội dung mô tả: chỉ giữ viền vàng, không ép bố cục bên trong */
body.bephong-theme-luxury .product-tab .tab-content,
body.bephong-theme-luxury .product-tabs .tab-content,
body.bephong-theme-luxury .tab-product .tab-content,
body.bephong-theme-luxury .details-product-tab .tab-content,
body.bephong-theme-luxury .e-tabs .tab-content,
body.bephong-theme-luxury .product-tab .tab-content.current,
body.bephong-theme-luxury .product-tabs .tab-content.current,
body.bephong-theme-luxury .tab-product .tab-content.current,
body.bephong-theme-luxury .e-tabs .tab-content.current {
  display: block !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)) !important;
  border: 1px solid rgba(214, 173, 92, .55) !important;
  border-radius: 20px !important;
  padding: 26px !important;
  color: #fffaf0 !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.34) !important;
}

/* Không để chữ mô tả bị chìm nếu sản phẩm chưa có CSS riêng */
body.bephong-theme-luxury .product-tab .tab-content,
body.bephong-theme-luxury .product-tabs .tab-content,
body.bephong-theme-luxury .tab-product .tab-content,
body.bephong-theme-luxury .e-tabs .tab-content {
  font-family: "Be Vietnam Pro", sans-serif !important;
  line-height: 1.7 !important;
}

/* Ảnh trong mô tả không phá khung */
body.bephong-theme-luxury .product-tab .tab-content img,
body.bephong-theme-luxury .product-tabs .tab-content img,
body.bephong-theme-luxury .tab-product .tab-content img,
body.bephong-theme-luxury .e-tabs .tab-content img {
  max-width: 100% !important;
  height: auto !important;
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Related products - scoped final
   ========================================================= */

/* Khối bao ngoài: kéo gần mô tả và gần footer hơn */
body.bephong-theme-luxury .bph-related-products {
  margin-top: 26px !important;
  padding: 0 0 24px !important;
  background: transparent !important;
}

/* Tiêu đề */
body.bephong-theme-luxury .bph-related-products-title {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a {
  display: inline-block !important;
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a:after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, #d6ad5c, rgba(214, 173, 92, 0));
}

/* Slider */
body.bephong-theme-luxury .bph-related-products-swiper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 2px 6px !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-wrapper {
  align-items: stretch !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-slide {
  height: auto !important;
  box-sizing: border-box !important;
}

/* Card */
body.bephong-theme-luxury .bph-related-products .bph-related-product-card {
  height: 100% !important;
  min-height: 0 !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(214, 173, 92, .42) !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .10), transparent 34%),
    linear-gradient(180deg, rgba(18, 16, 13, .98), rgba(5, 5, 5, .98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .36) !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-related-products .bph-related-product-card:hover {
  border-color: rgba(214, 173, 92, .68) !important;
  transform: translateY(-2px);
  transition: .22s ease;
}

/* Ép nền con của card về trong suốt để không lộ style cũ */
body.bephong-theme-luxury .bph-related-products .bph-related-product-card,
body.bephong-theme-luxury .bph-related-products .bph-related-product-card *,
body.bephong-theme-luxury .bph-related-products .item_product_main,
body.bephong-theme-luxury .bph-related-products .item_product_main * {
  box-sizing: border-box !important;
}

body.bephong-theme-luxury .bph-related-products .product-info,
body.bephong-theme-luxury .bph-related-products .product-info-action,
body.bephong-theme-luxury .bph-related-products .product-bottom,
body.bephong-theme-luxury .bph-related-products .product-action,
body.bephong-theme-luxury .bph-related-products .action,
body.bephong-theme-luxury .bph-related-products .actions {
  background: transparent !important;
}

/* Khung ảnh */
body.bephong-theme-luxury .bph-related-products .product-thumbnail,
body.bephong-theme-luxury .bph-related-products .image_thumb,
body.bephong-theme-luxury .bph-related-products .product-image,
body.bephong-theme-luxury .bph-related-products .product-img,
body.bephong-theme-luxury .bph-related-products .image {
  display: block !important;
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(214, 173, 92, .34) !important;
  margin-bottom: 10px !important;
}

/* Ảnh: không làm méo ảnh */
body.bephong-theme-luxury .bph-related-products img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  outline: 0 !important;
}

/* Tên sản phẩm */
body.bephong-theme-luxury .bph-related-products .product-name,
body.bephong-theme-luxury .bph-related-products .product-name a,
body.bephong-theme-luxury .bph-related-products h3,
body.bephong-theme-luxury .bph-related-products h3 a {
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  margin: 0 0 8px !important;
}

/* Giá */
body.bephong-theme-luxury .bph-related-products .price,
body.bephong-theme-luxury .bph-related-products .product-price,
body.bephong-theme-luxury .bph-related-products .special-price,
body.bephong-theme-luxury .bph-related-products .price-box .price {
  color: #ff2638 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

body.bephong-theme-luxury .bph-related-products .compare-price,
body.bephong-theme-luxury .bph-related-products .old-price,
body.bephong-theme-luxury .bph-related-products .product-price-old,
body.bephong-theme-luxury .bph-related-products del {
  color: rgba(255, 250, 240, .56) !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
}

/* Ẩn xem nhanh để bố cục sạch */
body.bephong-theme-luxury .bph-related-products .quick-view,
body.bephong-theme-luxury .bph-related-products .quickview,
body.bephong-theme-luxury .bph-related-products .xem-nhanh,
body.bephong-theme-luxury .bph-related-products a.quick-view,
body.bephong-theme-luxury .bph-related-products a.quickview {
  display: none !important;
}

/* Nút mua hàng */
body.bephong-theme-luxury .bph-related-products button,
body.bephong-theme-luxury .bph-related-products .btn,
body.bephong-theme-luxury .bph-related-products .btn-cart,
body.bephong-theme-luxury .bph-related-products .button,
body.bephong-theme-luxury .bph-related-products .action-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 9px 18px !important;
  margin-top: 10px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  border: 1px solid #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(183, 31, 42, .28) !important;
}

/* Nút slider */
body.bephong-theme-luxury .bph-related-products-swiper .swiper-button-prev,
body.bephong-theme-luxury .bph-related-products-swiper .swiper-button-next {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(5, 5, 5, .88) !important;
  border: 1px solid rgba(214, 173, 92, .55) !important;
  color: #d6ad5c !important;
}

/* Giảm khoảng xuống footer */
body.bephong-theme-luxury .bph-related-products + *,
body.bephong-theme-luxury .productRelate + * {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.bephong-theme-luxury .bph-related-products {
    margin-top: 22px !important;
    padding-bottom: 20px !important;
  }

  body.bephong-theme-luxury .bph-related-products-title h2 a {
    font-size: 21px !important;
  }

  body.bephong-theme-luxury .bph-related-products .bph-related-product-card {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.bephong-theme-luxury .bph-related-products .product-name,
  body.bephong-theme-luxury .bph-related-products .product-name a,
  body.bephong-theme-luxury .bph-related-products h3,
  body.bephong-theme-luxury .bph-related-products h3 a {
    font-size: 14px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Related products card cleanup
   Dùng đúng card bph-product-card trong product_grid_office.bwt
   ========================================================= */

/* Kéo sản phẩm cùng loại lên gần khung mô tả hơn */
body.bephong-theme-luxury .bph-related-products {
  margin-top: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}

/* Nếu khung mô tả đang đẩy khoảng cách dưới */
body.bephong-theme-luxury .product-tab,
body.bephong-theme-luxury .product-tabs,
body.bephong-theme-luxury .tab-product,
body.bephong-theme-luxury .details-product-tab,
body.bephong-theme-luxury .e-tabs {
  margin-bottom: 8px !important;
}

/* Tiêu đề gọn lại */
body.bephong-theme-luxury .bph-related-products-title {
  margin-bottom: 12px !important;
}

/* Card thật bên trong product_grid_office */
body.bephong-theme-luxury .bph-related-products .bph-product-card {
  position: relative !important;
  height: 100% !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .08), transparent 34%),
    linear-gradient(180deg, rgba(18, 16, 13, .98), rgba(5, 5, 5, .98)) !important;
  border: 1px solid rgba(214, 173, 92, .42) !important;
  border-radius: 18px !important;
  padding: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34) !important;
}

/* Lớp trên chứa % và logo hãng */
body.bephong-theme-luxury .bph-related-products .bph-product-card__top {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: 18px !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

/* Badge % giảm giá */
body.bephong-theme-luxury .bph-related-products .bph-product-card__discount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 46px !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(183, 31, 42, .28) !important;
}

/* Logo hãng theo tag logo-hang */
body.bephong-theme-luxury .bph-related-products .bph-product-card__brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 96px !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(214, 173, 92, .45) !important;
}

body.bephong-theme-luxury .bph-related-products .bph-product-card__brand img {
  display: block !important;
  max-width: 78px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Vùng ảnh sản phẩm */
body.bephong-theme-luxury .bph-related-products .bph-card-image-zone,
body.bephong-theme-luxury .bph-related-products .bph-product-card__image {
  position: relative !important;
  display: block !important;
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(214, 173, 92, .34) !important;
  margin-bottom: 10px !important;
}

/* Ảnh sản phẩm */
body.bephong-theme-luxury .bph-related-products .bph-card-product-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  outline: 0 !important;
}

/* Tên sản phẩm */
body.bephong-theme-luxury .bph-related-products .bph-product-card__name,
body.bephong-theme-luxury .bph-related-products .bph-product-card__name a {
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  margin: 0 0 6px !important;
  text-decoration: none !important;
}

/* Giá */
body.bephong-theme-luxury .bph-related-products .bph-product-card__price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 8px !important;
}

body.bephong-theme-luxury .bph-related-products .bph-product-card__price-current {
  color: #ff2638 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.bephong-theme-luxury .bph-related-products .bph-product-card__price-old {
  color: rgba(255, 250, 240, .56) !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
}

/* Cụm nút */
body.bephong-theme-luxury .bph-related-products .bph-product-card__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin-top: 6px !important;
  padding: 0 !important;
}

/* Ẩn Xem nhanh chỉ ở sản phẩm cùng loại */
body.bephong-theme-luxury .bph-related-products .bph-product-card__btn--view {
  display: none !important;
}

/* Nút mua hàng */
body.bephong-theme-luxury .bph-related-products .bph-product-card__btn--buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 106px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  border: 1px solid #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(183, 31, 42, .28) !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.bephong-theme-luxury .bph-related-products {
    margin-top: 6px !important;
    padding-bottom: 8px !important;
  }

  body.bephong-theme-luxury .product-tab,
  body.bephong-theme-luxury .product-tabs,
  body.bephong-theme-luxury .tab-product,
  body.bephong-theme-luxury .details-product-tab,
  body.bephong-theme-luxury .e-tabs {
    margin-bottom: 6px !important;
  }

  body.bephong-theme-luxury .bph-related-products .bph-product-card {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.bephong-theme-luxury .bph-related-products .bph-product-card__top {
    top: 15px !important;
    left: 15px !important;
    right: 15px !important;
  }

  body.bephong-theme-luxury .bph-related-products .bph-product-card__name,
  body.bephong-theme-luxury .bph-related-products .bph-product-card__name a {
    font-size: 14px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Related products custom card final
   ========================================================= */

body.bephong-theme-luxury .bph-related-products {
  margin-top: 8px !important;
  padding: 0 0 12px !important;
  background: transparent !important;
}

body.bephong-theme-luxury .bph-related-products-title {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 {
  margin: 0 !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a {
  display: inline-block !important;
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a:after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, #d6ad5c, rgba(214, 173, 92, 0));
}

body.bephong-theme-luxury .bph-related-products-swiper {
  margin: 0 !important;
  padding: 0 2px 4px !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-wrapper {
  align-items: stretch !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-slide {
  height: auto !important;
}

body.bephong-theme-luxury .bph-related-card {
  height: 100% !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(214, 173, 92, .42) !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .08), transparent 34%),
    linear-gradient(180deg, rgba(18, 16, 13, .98), rgba(5, 5, 5, .98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34) !important;
  overflow: hidden !important;
}

body.bephong-theme-luxury .bph-related-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(214, 173, 92, .34) !important;
  margin: 0 0 10px !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-card__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

body.bephong-theme-luxury .bph-related-card__badges {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: 10px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

body.bephong-theme-luxury .bph-related-card__discount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  min-width: 46px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(183, 31, 42, .28) !important;
}

body.bephong-theme-luxury .bph-related-card__brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 96px !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(214, 173, 92, .45) !important;
}

body.bephong-theme-luxury .bph-related-card__brand img {
  display: block !important;
  max-width: 78px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

body.bephong-theme-luxury .bph-related-card__info {
  padding: 0 !important;
  margin: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__name {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__name a {
  display: block !important;
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-card__price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 0 0 10px !important;
}

body.bephong-theme-luxury .bph-related-card__price-current {
  color: #ff2638 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.bephong-theme-luxury .bph-related-card__price-old {
  color: rgba(255, 250, 240, .56) !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
}

body.bephong-theme-luxury .bph-related-card__actions,
body.bephong-theme-luxury .bph-related-card__form {
  margin: 0 !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 106px !important;
  min-height: 36px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  border: 1px solid #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(183, 31, 42, .28) !important;
}

body.bephong-theme-luxury .bph-related-card__btn.is-disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

@media (max-width: 767px) {
  body.bephong-theme-luxury .bph-related-products {
    margin-top: 6px !important;
    padding-bottom: 8px !important;
  }

  body.bephong-theme-luxury .bph-related-products-title h2 a {
    font-size: 21px !important;
  }

  body.bephong-theme-luxury .bph-related-card {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.bephong-theme-luxury .bph-related-card__name a {
    font-size: 14px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Related products FINAL spacing
   ========================================================= */

/* Xóa khoảng cách dưới khung mô tả */
body.bephong-theme-luxury .product-tab,
body.bephong-theme-luxury .product-tabs,
body.bephong-theme-luxury .tab-product,
body.bephong-theme-luxury .details-product-tab,
body.bephong-theme-luxury .e-tabs {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Khối sản phẩm cùng loại */
body.bephong-theme-luxury .productRelate.bph-related-products {
  margin-top: -34px !important;
  padding-top: 0 !important;
  padding-bottom: 10px !important;
  background: transparent !important;
}

/* Tiêu đề */
body.bephong-theme-luxury .bph-related-products-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a {
  display: inline-block !important;
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-products-title h2 a:after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, #d6ad5c, rgba(214, 173, 92, 0));
}

/* Slider không tạo khoảng trống thừa */
body.bephong-theme-luxury .bph-related-products-swiper {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-wrapper {
  height: auto !important;
  align-items: stretch !important;
}

body.bephong-theme-luxury .bph-related-products-swiper .swiper-slide {
  height: auto !important;
}

/* Card */
body.bephong-theme-luxury .bph-related-card {
  height: auto !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(214, 173, 92, .42) !important;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 92, .08), transparent 34%),
    linear-gradient(180deg, rgba(18, 16, 13, .98), rgba(5, 5, 5, .98)) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34) !important;
  overflow: hidden !important;
}

/* Ảnh */
body.bephong-theme-luxury .bph-related-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(214, 173, 92, .34) !important;
  margin: 0 0 10px !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-card__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Badge */
body.bephong-theme-luxury .bph-related-card__badges {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: 10px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  pointer-events: none !important;
}

body.bephong-theme-luxury .bph-related-card__discount {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  min-width: 46px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.bephong-theme-luxury .bph-related-card__brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 96px !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid rgba(214, 173, 92, .45) !important;
}

body.bephong-theme-luxury .bph-related-card__brand img {
  display: block !important;
  max-width: 78px !important;
  max-height: 22px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Info */
body.bephong-theme-luxury .bph-related-card__info {
  padding: 0 !important;
  margin: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__name {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__name a {
  display: block !important;
  color: #fffaf0 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  text-decoration: none !important;
}

body.bephong-theme-luxury .bph-related-card__price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 0 0 10px !important;
}

body.bephong-theme-luxury .bph-related-card__price-current {
  color: #ff2638 !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.bephong-theme-luxury .bph-related-card__price-old {
  color: rgba(255, 250, 240, .56) !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
}

/* Nút */
body.bephong-theme-luxury .bph-related-card__actions,
body.bephong-theme-luxury .bph-related-card__form {
  margin: 0 !important;
  padding: 0 !important;
}

body.bephong-theme-luxury .bph-related-card__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 106px !important;
  min-height: 36px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  background: #b71f2a !important;
  border: 1px solid #b71f2a !important;
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

/* Giảm khoảng trống xuống footer */
body.bephong-theme-luxury section.product.layout-product {
  padding-bottom: 8px !important;
}

body.bephong-theme-luxury section.product.layout-product > .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.bephong-theme-luxury .productRelate.bph-related-products + * {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.bephong-theme-luxury .productRelate.bph-related-products {
    margin-top: -28px !important;
    padding-bottom: 8px !important;
  }

  body.bephong-theme-luxury .bph-related-products-title h2 a {
    font-size: 21px !important;
  }

  body.bephong-theme-luxury .bph-related-card {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  body.bephong-theme-luxury .bph-related-card__name a {
    font-size: 14px !important;
  }

  body.bephong-theme-luxury section.product.layout-product {
    padding-bottom: 8px !important;
  }
}
/* =========================================================
   BẾP HỒNG - PRODUCT DETAIL: Giá + tiết kiệm %
   ========================================================= */

body.bephong-theme-luxury .bph-product-detail-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

body.bephong-theme-luxury .bph-product-detail-save-percent {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(214, 173, 92, .12) !important;
  border: 1px solid rgba(214, 173, 92, .55) !important;
  color: #d6ad5c !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  body.bephong-theme-luxury .bph-product-detail-price {
    gap: 10px !important;
  }

  body.bephong-theme-luxury .bph-product-detail-save-percent {
    font-size: 12px !important;
    min-height: 28px !important;
    padding: 6px 10px !important;
  }
}