/* B23 - Product detail layout authority. Loaded last for public product pages. */
.bafleh-page-product .product-detail-live-section{padding:18px 0 42px;background:#fff}
.bafleh-page-product .product-detail-live-section>.container,
.bafleh-page-product .live-product-tabs-section>.container,
.bafleh-page-product .live-related-products-section>.container{width:min(100% - 48px,1440px);max-width:1440px;margin:0 auto;padding-left:0;padding-right:0}
.bafleh-page-product .detail-breadcrumb{margin:2px 0 22px;font-size:12px;line-height:1.4;color:#777}
.bafleh-page-product .product-detail-live-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr);gap:clamp(38px,5vw,82px);align-items:start}
.bafleh-page-product .product-gallery-live{min-width:0}
.bafleh-page-product .product-main-image-box{display:flex;align-items:center;justify-content:center;min-height:520px;max-height:760px;aspect-ratio:1/1;background:#f8f8f6;overflow:hidden}
.bafleh-page-product .product-main-image-box .primary-product-image{display:block;width:100%;height:100%;max-height:760px;object-fit:contain;object-position:center;padding:22px}
.bafleh-page-product .live-gallery-zoom{right:16px;bottom:16px;width:42px;height:42px;border:1px solid #d8d8d8;background:rgba(255,255,255,.95);border-radius:50%;font-size:20px}
.bafleh-page-product .live-thumb-row{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;padding:12px 0 3px;scrollbar-width:thin}
.bafleh-page-product .live-thumb-row img{width:78px;height:78px;flex:0 0 78px;object-fit:contain;background:#fafafa;border:1px solid #e6e6e6;padding:4px;cursor:pointer}
.bafleh-page-product .product-summary-live{min-width:0;max-width:560px;padding:12px 0 0}
.bafleh-page-product .product-summary-live h1{margin:0 0 14px;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:clamp(32px,2.75vw,44px)!important;font-weight:500!important;line-height:1.08!important;letter-spacing:-.012em;color:#181818}
.bafleh-page-product .live-detail-price{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-family:"Montserrat",Arial,sans-serif;font-size:21px!important;font-weight:600!important;color:#1d1d1d}
.bafleh-page-product .live-detail-price .old-price{display:none!important}
.bafleh-page-product .detail-sale-badge{display:none!important}
.bafleh-page-product .live-delivery-message{margin:0 0 16px;padding:12px 14px;border:1px solid #ece6dd;border-left:3px solid #a88034;background:#fbfaf7;font-size:12px;line-height:1.65;color:#555}
.bafleh-page-product .product-short-description{margin:0 0 14px;font-size:13px;line-height:1.75;color:#555}
.bafleh-page-product .live-stock-line{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.02em;color:#3f6542}
.bafleh-page-product .live-stock-line.is-out{color:#a14646}
.bafleh-page-product .live-cart-form{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:stretch;margin:0 0 14px}
.bafleh-page-product .live-quantity-control{height:48px;border:1px solid #d9d9d9;display:grid;grid-template-columns:38px 1fr 38px;background:#fff}
.bafleh-page-product .live-quantity-control button{border:0;background:#fff;font-size:18px;color:#333}
.bafleh-page-product .live-quantity-control input{width:100%;min-width:0;border:0;border-left:1px solid #eee;border-right:1px solid #eee;text-align:center;font-size:14px;appearance:textfield}
.bafleh-page-product .live-product-add-button{min-height:48px!important;border:1px solid #111!important;background:#111!important;color:#fff!important;font-family:"Montserrat",Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase!important}
.bafleh-page-product .live-product-add-button:hover{background:#a88034!important;border-color:#a88034!important}
.bafleh-page-product .live-product-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px}
.bafleh-page-product .live-product-secondary-actions>a,
.bafleh-page-product .live-product-secondary-actions form button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:42px;padding:9px 12px!important;border:1px solid #d8d8d8!important;background:#fff!important;color:#222!important;font-size:11px!important;font-weight:500!important;letter-spacing:.03em;text-decoration:none!important}
.bafleh-page-product .live-product-secondary-actions>a:last-child{grid-column:1/-1;background:#fafafa!important}
.bafleh-page-product .live-product-meta-lines{margin-top:4px;padding-top:17px;border-top:1px solid #ececec;font-size:11.5px;line-height:1.65;color:#666}
.bafleh-page-product .live-product-meta-lines p{margin:0 0 6px}
.bafleh-page-product .live-product-meta-lines strong{color:#333;font-weight:600}
.bafleh-page-product .live-product-tabs-section{padding-top:8px}
.bafleh-page-product .live-product-tab-nav{border-bottom:1px solid #e5e5e5;overflow-x:auto;white-space:nowrap}
.bafleh-page-product .live-product-tab-nav button{padding:15px 18px;font-size:12px}
.bafleh-page-product .live-product-tab-panel{max-width:none;padding:24px 0 30px;font-size:13px;line-height:1.75}
.bafleh-page-product .live-product-attributes{width:100%;max-width:920px}

/* Hide historical/previous prices across product cards and quick view. OldPriceAed is pricing history, not a public promotion. */
.bafleh-public-body .live-price-row .old-price,
.bafleh-public-body .live-product-price-large del,
.bafleh-public-body .live-badge-sale{display:none!important}

@media (max-width: 980px){
  .bafleh-page-product .product-detail-live-section>.container,
  .bafleh-page-product .live-product-tabs-section>.container,
  .bafleh-page-product .live-related-products-section>.container{width:min(100% - 32px,900px)}
  .bafleh-page-product .product-detail-live-grid{grid-template-columns:minmax(0,1fr) minmax(330px,.85fr);gap:30px}
  .bafleh-page-product .product-main-image-box{min-height:430px}
  .bafleh-page-product .product-summary-live h1{font-size:32px!important}
}
@media (max-width: 767px){
  .bafleh-page-product .product-detail-live-section{padding:8px 0 24px}
  .bafleh-page-product .product-detail-live-section>.container,
  .bafleh-page-product .live-product-tabs-section>.container,
  .bafleh-page-product .live-related-products-section>.container{width:100%;padding-left:15px;padding-right:15px}
  .bafleh-page-product .detail-breadcrumb{margin:2px 0 10px;font-size:10px}
  .bafleh-page-product .product-detail-live-grid{display:block}
  .bafleh-page-product .product-main-image-box{min-height:0;max-height:none;aspect-ratio:1/1;background:#f8f8f6}
  .bafleh-page-product .product-main-image-box .primary-product-image{height:auto;max-height:76vh;padding:10px;aspect-ratio:1/1;object-fit:contain}
  .bafleh-page-product .live-thumb-row{padding-top:8px}
  .bafleh-page-product .live-thumb-row img{width:64px;height:64px;flex-basis:64px}
  .bafleh-page-product .product-summary-live{max-width:none;padding:18px 2px 0}
  .bafleh-page-product .product-summary-live h1{margin-bottom:10px;font-size:28px!important;line-height:1.1!important}
  .bafleh-page-product .live-detail-price{margin-bottom:12px;font-size:18px!important}
  .bafleh-page-product .live-delivery-message{margin-bottom:12px;padding:10px 12px}
  .bafleh-page-product .live-cart-form{grid-template-columns:108px 1fr;gap:8px}
  .bafleh-page-product .live-quantity-control,.bafleh-page-product .live-product-add-button{min-height:46px!important;height:46px}
  .bafleh-page-product .live-product-secondary-actions{grid-template-columns:1fr;margin-bottom:14px}
  .bafleh-page-product .live-product-secondary-actions>a:last-child{grid-column:auto}
  .bafleh-page-product .live-product-tab-nav button{padding:13px 12px;font-size:11px}
  .bafleh-page-product .live-product-tab-panel{padding:18px 0 24px}
}
@media (max-width: 380px){
  .bafleh-page-product .product-summary-live h1{font-size:25px!important}
  .bafleh-page-product .live-cart-form{grid-template-columns:1fr}
  .bafleh-page-product .live-quantity-control{max-width:132px}
}
