/* Product detail drag & drop builder runtime */
body.product-detail-builder-mode #productPage>.inline-product-toolbar{display:none!important}
body.product-detail-builder-mode .inline-product-content{max-width:none!important;width:100%!important;padding:0!important}
body.product-detail-builder-mode .product-detail-builder-root{position:relative!important;left:auto!important;top:auto!important;transform:none!important;opacity:1!important;display:block!important;width:min(100%,1500px)!important;max-width:1500px!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;max-height:none!important;box-sizing:border-box!important}
body.product-detail-builder-mode .product-detail-builder-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-rows:var(--pdb-row-height,36px)!important;gap:var(--pdb-gap,10px)!important;min-height:var(--pdb-min-height,900px);padding:var(--pdb-padding-top,18px) var(--pdb-padding-right,0) var(--pdb-padding-bottom,30px) var(--pdb-padding-left,0);border-radius:var(--pdb-radius,0);background:var(--pdb-background,transparent);box-sizing:border-box;align-items:stretch!important}
body.product-detail-builder-mode .product-detail-builder-block{position:relative!important;display:block!important;min-width:0!important;min-height:0!important;max-width:none!important;width:auto!important;height:auto!important;margin:0!important;box-sizing:border-box!important;align-self:stretch!important;overflow:visible}
body.product-detail-builder-mode .product-detail-builder-block>*{box-sizing:border-box}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"]{overflow:hidden}

body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"]{background:var(--product-slider-bg,#f5f7f9)}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="specs"],
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="options"],
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="quantity"],
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="description"],
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="reviews"],
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="related"]{background:var(--product-detail-panel,#fff)}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="price"]{color:var(--product-detail-accent,#e30613)}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="brand"]{color:var(--product-detail-accent,#e30613)}
body.product-detail-builder-mode .product-detail-builder-block .detail-gallery-section,
body.product-detail-builder-mode .product-detail-builder-block.detail-gallery-section{width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-gallery-shell{height:100%!important;min-height:0!important;margin:0!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-gallery-stage{min-height:0!important;height:100%!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-main-media{height:100%!important;min-height:220px!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-main-media img{max-height:100%!important;object-fit:contain!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-product-heading{margin:0!important;padding:0!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-product-heading h1,
body.product-detail-builder-mode .product-detail-builder-block .detail-product-heading small,
body.product-detail-builder-mode .product-detail-builder-block .detail-price,
body.product-detail-builder-mode .product-detail-builder-block .detail-code,
body.product-detail-builder-mode .product-detail-builder-block .detail-short-description{margin:0!important;color:inherit!important;text-align:inherit!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="price"] .detail-price{font-size:inherit!important;font-weight:inherit!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="title"] h1{font-size:inherit!important;font-weight:inherit!important;line-height:1.08!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="brand"] small{font-size:inherit!important;font-weight:inherit!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="short_description"] .detail-short-description{font-size:inherit!important;font-weight:inherit!important;line-height:1.55!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-rating-summary{margin:0!important;justify-content:var(--pdb-flex-align,flex-start)!important;flex-wrap:wrap}
body.product-detail-builder-mode .product-detail-builder-block .detail-specs{margin:0!important;height:100%!important;align-content:center}
body.product-detail-builder-mode .product-detail-builder-block .product-option-selector,
body.product-detail-builder-mode .product-detail-builder-block .detail-option-groups,
body.product-detail-builder-mode .product-detail-builder-block .detail-options{margin:0!important;width:100%!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-quantity-row{display:block!important;margin:0!important;height:100%!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-quantity-row label{display:grid!important;height:100%!important;align-content:center!important;margin:0!important}
body.product-detail-builder-mode .product-detail-builder-block #detailAddBtn,
body.product-detail-builder-mode .product-detail-builder-block .detail-favorite-button,
body.product-detail-builder-mode .product-detail-builder-block .detail-whatsapp-button,
body.product-detail-builder-mode .product-detail-builder-back{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:40px!important;margin:0!important;text-align:center!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-description-section,
body.product-detail-builder-mode .product-detail-builder-block .detail-reviews-section,
body.product-detail-builder-mode .product-detail-builder-block .detail-related-section{width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
body.product-detail-builder-mode .product-detail-builder-block .detail-description-body{max-height:100%;overflow:auto}
body.product-detail-builder-mode .product-detail-builder-block .review-experience-layout{height:calc(100% - 58px);min-height:0;overflow:auto}
body.product-detail-builder-mode .product-detail-builder-block .related-products{min-height:0}
body.product-detail-builder-mode .product-detail-builder-breadcrumb{display:flex!important;align-items:center!important;gap:7px!important;min-height:100%!important;margin:0!important;padding:0!important;color:inherit!important;white-space:normal!important;flex-wrap:wrap!important;justify-content:var(--pdb-flex-align,flex-start)!important}
body.product-detail-builder-mode .product-detail-builder-divider{width:100%;height:100%;display:flex;align-items:center}
body.product-detail-builder-mode .product-detail-builder-divider:before{content:"";display:block;width:100%;border-top:var(--pdb-divider-thickness,1px) solid currentColor;opacity:.35}
body.product-detail-builder-mode .product-detail-builder-custom-text{width:100%;height:100%;display:flex;align-items:center;justify-content:inherit;white-space:pre-wrap;line-height:1.5}
body.product-detail-builder-mode .product-detail-builder-spacer{width:100%;height:100%}
body.product-detail-builder-mode .product-detail-builder-support{position:relative;z-index:999}
body.product-detail-builder-mode .product-detail-builder-support .review-modal,
body.product-detail-builder-mode .product-detail-builder-support .detail-lightbox{font-size:initial;text-align:left}
@media(max-width:900px){
 body.product-detail-builder-mode .product-detail-builder-grid{display:flex!important;flex-direction:column!important;min-height:0!important;padding:18px 12px 28px!important;gap:14px!important}
 body.product-detail-builder-mode .product-detail-builder-block{width:100%!important;min-height:auto!important;height:auto!important;padding-left:var(--pdb-mobile-padding-left,0)!important;padding-right:var(--pdb-mobile-padding-right,0)!important}
 body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"]{min-height:420px!important}
 body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="description"],
 body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="reviews"],
 body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="related"]{min-height:auto!important}
 body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="spacer"]{display:none!important}
 body.product-detail-builder-mode .product-detail-builder-block .review-experience-layout{height:auto!important}
}
@media(max-width:560px){body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"]{min-height:340px!important}}

/* Builder selections must override theme/preset cosmetics when the user explicitly chose them. */
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-custom-color="1"] :is(
  h1,h2,h3,h4,h5,h6,p,small,strong,b,span,i,label,a,button,.detail-price,.detail-code,.detail-short-description,
  .detail-rating-summary,.detail-rating-stars,.detail-specs,.detail-section-heading,.review-section-head,.review-score-card,
  .review-card,.review-card *, .related-products a
){color:inherit!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-custom-background="1"]{
  background-color:inherit;
}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-custom-background="1"] :is(
  .detail-description-section,.detail-reviews-section,.detail-related-section,.detail-specs,.detail-options,.product-option-selector
){background:transparent!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="add_to_cart"][data-pdb-custom-background="1"] #detailAddBtn,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="favorite"][data-pdb-custom-background="1"] .detail-favorite-button,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="whatsapp"][data-pdb-custom-background="1"] .detail-whatsapp-button,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="back"][data-pdb-custom-background="1"] .product-detail-builder-back{
  background:inherit!important;
  border-color:currentColor!important;
}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-main-media img{object-fit:var(--pdb-gallery-fit,contain)!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-gallery-stage{background:var(--pdb-gallery-stage-bg,var(--product-slider-bg,#f5f7f9))!important}


/* V31.4.0 — Ürün detay galerisi / slider güvenli görünürlük katmanı */
body.product-detail-builder-mode .unified-product-detail .pdb-gallery-hidden{display:none!important}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
}
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-gallery-section,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-gallery-shell,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-gallery-stage,
body.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-main-media{
  visibility:visible!important;
  opacity:1!important;
}
body.theme-redline-moto.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-gallery-stage{
  position:relative!important;
  display:block!important;
  min-height:320px!important;
  overflow:hidden!important;
}
body.theme-redline-moto.product-detail-builder-mode .product-detail-builder-block[data-pdb-type="gallery"] .detail-main-media{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-height:320px!important;
}
