/* ReklamX v56 - WooCommerce gerçek galeri uyumlu tek ürün sayfası */
.rx-single-product-page .rx-woocommerce-content,
.rx-single-product-page .rx-woocommerce-content *{
  box-sizing:border-box;
}
.rx-single-product-page .rx-woocommerce-content{
  overflow:visible !important;
}
.rx-single-product-page .rx-wc-single-product,
.rx-single-product-page .rx-wc-custom-single{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  color:#172236;
}
.rx-single-product-page .rx-wc-single-product::before,
.rx-single-product-page .rx-wc-single-product::after,
.rx-single-product-page .rx-wc-product-card::before,
.rx-single-product-page .rx-wc-product-card::after{
  content:none !important;
  display:none !important;
}
.rx-single-product-page .rx-wc-product-card{
  display:grid !important;
  grid-template-columns:minmax(320px,520px) minmax(0,1fr) !important;
  gap:44px !important;
  align-items:flex-start !important;
  width:100% !important;
  margin:0 0 36px !important;
  padding:0 !important;
}
.rx-single-product-page .rx-wc-gallery,
.rx-single-product-page .rx-wc-summary{
  float:none !important;
  clear:none !important;
  min-width:0 !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
}
.rx-single-product-page .rx-wc-gallery{
  max-width:520px !important;
  justify-self:start !important;
}

/* WooCommerce'in gerçek galeri yapısı */
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery,
.rx-single-product-page .rx-wc-custom-single div.images,
.rx-single-product-page .rx-wc-custom-single .woocommerce-product-gallery{
  float:none !important;
  clear:none !important;
  width:100% !important;
  max-width:520px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper{
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper::before,
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper::after{
  content:none !important;
  display:none !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image{
  float:none !important;
  clear:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  border:1px solid #e3e9f2 !important;
  border-radius:0 !important;
  overflow:hidden !important;
  box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image a{
  width:100% !important;
  min-height:430px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  text-decoration:none !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image img,
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper img,
.rx-single-product-page .rx-wc-gallery .wp-post-image{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:520px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:#fff !important;
  opacity:1 !important;
  visibility:visible !important;
}
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__trigger{
  top:12px !important;
  right:12px !important;
  z-index:5 !important;
}

/* WooCommerce flexslider thumbnail listesi */
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  max-width:520px !important;
  margin:12px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
  overflow:visible !important;
}
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs::before,
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs::after{
  content:none !important;
  display:none !important;
}
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs li{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs img{
  display:block !important;
  width:100% !important;
  height:82px !important;
  object-fit:cover !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #e3e9f2 !important;
  background:#fff !important;
  opacity:.72 !important;
  cursor:pointer !important;
  transition:opacity .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease !important;
}
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs img:hover,
.rx-single-product-page .rx-wc-gallery .flex-control-thumbs img.flex-active{
  opacity:1 !important;
  border-color:#162033 !important;
  transform:translateY(-1px) !important;
  box-shadow:0 8px 18px rgba(15,23,42,.08) !important;
}

/* Ürün bilgi alanı */
.rx-single-product-page .rx-wc-summary,
.rx-single-product-page .rx-wc-custom-single div.summary,
.rx-single-product-page .rx-wc-custom-single .summary{
  float:none !important;
  clear:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  color:#172236;
}
.rx-single-product-page .rx-wc-title{
  margin:0 0 18px !important;
  padding:0 0 18px !important;
  border-bottom:1px solid #e7edf5 !important;
  color:#102039 !important;
  font-size:clamp(28px,3vw,40px) !important;
  line-height:1.15 !important;
  font-weight:600 !important;
  letter-spacing:-.02em !important;
}
.rx-single-product-page .rx-wc-badge{
  display:inline-flex !important;
  margin:0 0 14px !important;
  padding:7px 11px !important;
  border:1px solid #e5eaf2 !important;
  background:#f8fafc !important;
  color:#475569 !important;
  font-size:12px !important;
  font-weight:500 !important;
}
.rx-single-product-page .rx-wc-rating{margin:0 0 12px !important;}
.rx-single-product-page .rx-wc-price,
.rx-single-product-page .rx-wc-price .price{
  margin:0 0 20px !important;
  color:#111827 !important;
  font-size:24px !important;
  line-height:1.25 !important;
  font-weight:600 !important;
}
.rx-single-product-page .rx-wc-price del{color:#94a3b8 !important;font-weight:400 !important;margin-right:8px !important;}
.rx-single-product-page .rx-wc-price ins{text-decoration:none !important;}
.rx-single-product-page .rx-wc-excerpt{
  margin:0 0 22px !important;
  padding:18px 0 !important;
  border-top:1px solid #edf1f6 !important;
  border-bottom:1px solid #edf1f6 !important;
  color:#475569 !important;
  font-size:15px !important;
  line-height:1.75 !important;
}
.rx-single-product-page .rx-wc-excerpt:empty{display:none !important;}
.rx-single-product-page .rx-wc-excerpt p{margin:0 0 10px !important;}
.rx-single-product-page .rx-wc-excerpt p:last-child{margin-bottom:0 !important;}
.rx-single-product-page .rx-wc-cart-box{margin:0 0 20px !important;}
.rx-single-product-page .rx-wc-cart-box form.cart{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  align-items:center !important;
  margin:0 !important;
}
.rx-single-product-page .rx-wc-cart-box .quantity{margin:0 !important;}
.rx-single-product-page .rx-wc-cart-box .qty{
  width:76px !important;
  min-height:44px !important;
  border:1px solid #dfe6ef !important;
  background:#fff !important;
  color:#111827 !important;
  text-align:center !important;
}
.rx-single-product-page .rx-wc-cart-box .button,
.rx-single-product-page .rx-wc-cart-box .single_add_to_cart_button{
  min-height:44px !important;
  border:0 !important;
  border-radius:0 !important;
  padding:12px 22px !important;
  background:#111827 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1 !important;
  text-transform:none !important;
  transition:background .2s ease,transform .2s ease !important;
}
.rx-single-product-page .rx-wc-cart-box .button:hover,
.rx-single-product-page .rx-wc-cart-box .single_add_to_cart_button:hover{
  background:#ef302b !important;
  transform:translateY(-1px) !important;
}
.rx-single-product-page .rx-wc-meta{
  padding-top:16px !important;
  border-top:1px solid #edf1f6 !important;
  color:#64748b !important;
  font-size:13px !important;
  line-height:1.7 !important;
}
.rx-single-product-page .rx-wc-meta a{
  color:#ef302b !important;
  font-weight:500 !important;
  text-decoration:none !important;
}

/* Tablar ve ilgili ürünler */
.rx-single-product-page .rx-wc-details,
.rx-single-product-page .rx-wc-related{
  clear:both !important;
  width:100% !important;
  margin-top:36px !important;
}
.rx-single-product-page .rx-wc-details .woocommerce-tabs ul.tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin:0 0 22px !important;
  padding:0 !important;
  border-bottom:1px solid #e5eaf2 !important;
  list-style:none !important;
}
.rx-single-product-page .rx-wc-details .woocommerce-tabs ul.tabs::before,
.rx-single-product-page .rx-wc-details .woocommerce-tabs ul.tabs::after{
  content:none !important;
  display:none !important;
}
.rx-single-product-page .rx-wc-details .woocommerce-tabs ul.tabs li{
  margin:0 !important;
  padding:0 !important;
  border:1px solid #e5eaf2 !important;
  border-bottom:0 !important;
  border-radius:0 !important;
  background:#fff !important;
  list-style:none !important;
}
.rx-single-product-page .rx-wc-details .woocommerce-tabs ul.tabs li a{
  display:block !important;
  padding:12px 16px !important;
  color:#334155 !important;
  font-size:14px !important;
  font-weight:500 !important;
  text-decoration:none !important;
}
.rx-single-product-page .rx-wc-details .woocommerce-Tabs-panel{
  padding:22px !important;
  border:1px solid #e5eaf2 !important;
  background:#fff !important;
  color:#334155 !important;
  line-height:1.75 !important;
}
.rx-single-product-page .rx-wc-related h2{
  margin:0 0 18px !important;
  color:#162033 !important;
  font-size:24px !important;
  font-weight:600 !important;
}

@media(max-width:1180px){
  .rx-single-product-page .rx-wc-product-card{
    grid-template-columns:minmax(300px,46%) minmax(0,1fr) !important;
    gap:34px !important;
  }
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image a{
    min-height:360px !important;
  }
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image img,
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper img,
  .rx-single-product-page .rx-wc-gallery .wp-post-image{
    max-height:440px !important;
  }
}
@media(max-width:980px){
  .rx-single-product-page .rx-wc-product-card{
    grid-template-columns:1fr !important;
    gap:26px !important;
  }
  .rx-single-product-page .rx-wc-gallery,
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery,
  .rx-single-product-page .rx-wc-custom-single div.images,
  .rx-single-product-page .rx-wc-custom-single .woocommerce-product-gallery{
    max-width:100% !important;
  }
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image a{
    min-height:320px !important;
  }
}
@media(max-width:560px){
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image a{
    min-height:260px !important;
  }
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image img,
  .rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper img,
  .rx-single-product-page .rx-wc-gallery .wp-post-image{
    max-height:320px !important;
  }
  .rx-single-product-page .rx-wc-gallery .flex-control-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .rx-single-product-page .rx-wc-gallery .flex-control-thumbs img{
    height:74px !important;
  }
  .rx-single-product-page .rx-wc-cart-box form.cart{
    display:block !important;
  }
  .rx-single-product-page .rx-wc-cart-box .quantity{
    margin:0 0 10px !important;
  }
  .rx-single-product-page .rx-wc-cart-box .button,
  .rx-single-product-page .rx-wc-cart-box .single_add_to_cart_button{
    width:100% !important;
  }
}

/* v57 - Single ürün resmi kesin görünürlük düzeltmesi */
.rx-single-product-page .rx-wc-gallery-safe,
.rx-single-product-page .rx-product-main-image,
.rx-single-product-page .rx-product-image-link,
.rx-single-product-page .rx-product-image-placeholder{
  display:block !important;
  width:100% !important;
  max-width:520px !important;
  min-height:320px !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
}
.rx-single-product-page .rx-product-main-image{
  background:#fff !important;
  border:1px solid #e3e9f2 !important;
  border-radius:0 !important;
  box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
  overflow:hidden !important;
}
.rx-single-product-page .rx-product-image-link,
.rx-single-product-page .rx-product-image-placeholder{
  min-height:430px !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
}
.rx-single-product-page .rx-product-image-link{
  display:flex !important;
}
.rx-single-product-page .rx-product-image,
.rx-single-product-page .rx-product-main-image img,
.rx-single-product-page .rx-product-image-placeholder img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:520px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
  padding:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}
.rx-single-product-page .rx-product-thumbs{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  max-width:520px !important;
  margin:12px 0 0 !important;
  padding:0 !important;
}
.rx-single-product-page .rx-product-thumb{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:82px !important;
  border:1px solid #e3e9f2 !important;
  background:#fff !important;
  overflow:hidden !important;
  opacity:.78 !important;
}
.rx-single-product-page .rx-product-thumb.is-active,
.rx-single-product-page .rx-product-thumb:hover{
  opacity:1 !important;
  border-color:#162033 !important;
}
.rx-single-product-page .rx-product-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
@media (max-width: 768px){
  .rx-single-product-page .rx-product-image-link,
  .rx-single-product-page .rx-product-image-placeholder{
    min-height:280px !important;
  }
  .rx-single-product-page .rx-product-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .rx-single-product-page .rx-product-thumb{
    height:70px !important;
  }
}


/* v58 - Single ürün görsel boyut düzeltmesi
   Eski sürümde görsel kutusuna sabit/min-height verildiği için yatay ürün
   fotoğrafları uzun boş kutunun ortasında küçük görünüyordu. Bu bölüm ürün
   görselini doğal oranıyla, geniş ve doğru boyutta gösterir. */
.rx-single-product-page .rx-wc-product-card{
  grid-template-columns:minmax(360px,480px) minmax(0,1fr) !important;
  gap:44px !important;
}
.rx-single-product-page .rx-wc-gallery,
.rx-single-product-page .rx-wc-gallery-safe{
  width:100% !important;
  max-width:480px !important;
  min-width:0 !important;
}
.rx-single-product-page .rx-product-main-image,
.rx-single-product-page .rx-product-image-link,
.rx-single-product-page .rx-product-image-placeholder,
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image a{
  width:100% !important;
  max-width:480px !important;
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:auto !important;
}
.rx-single-product-page .rx-product-main-image{
  display:block !important;
  padding:0 !important;
  line-height:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}
.rx-single-product-page .rx-product-image-link{
  display:block !important;
  line-height:0 !important;
}
.rx-single-product-page .rx-product-image,
.rx-single-product-page .rx-product-main-image img,
.rx-single-product-page .rx-product-image-placeholder img,
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__image img,
.rx-single-product-page .rx-wc-gallery .woocommerce-product-gallery__wrapper img,
.rx-single-product-page .rx-wc-gallery .wp-post-image{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 !important;
}
.rx-single-product-page .rx-product-thumbs{
  max-width:480px !important;
}
@media(max-width:1180px){
  .rx-single-product-page .rx-wc-product-card{
    grid-template-columns:minmax(320px,42%) minmax(0,1fr) !important;
    gap:34px !important;
  }
  .rx-single-product-page .rx-wc-gallery,
  .rx-single-product-page .rx-wc-gallery-safe,
  .rx-single-product-page .rx-product-main-image,
  .rx-single-product-page .rx-product-image-link,
  .rx-single-product-page .rx-product-image-placeholder,
  .rx-single-product-page .rx-product-thumbs{
    max-width:100% !important;
  }
}
@media(max-width:980px){
  .rx-single-product-page .rx-wc-product-card{
    grid-template-columns:1fr !important;
  }
}


/* v59 - Single ürün galerisi boyut/JS çakışması kesin düzeltme
   Ana tema main.css içinde bulunan [class*="gallery"] kuralı ürün görsel alanını
   4 kolonlu galeri gibi algılıyordu. Bu yüzden görsel dar bir kolon içinde küçük
   görünüyordu. Single ürün için "gallery" kelimesi taşımayan rx-wc-media yapısı
   ve daha yüksek öncelikli kurallar kullanılır. */
.rx-single-product-page .rx-entry-content .rx-wc-media,
.rx-single-product-page .rx-entry-content .rx-wc-media-safe,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media-safe{
  display:block !important;
  clear:none !important;
  float:none !important;
  width:100% !important;
  max-width:520px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
.rx-single-product-page .rx-entry-content .rx-wc-media > *,
.rx-single-product-page .rx-entry-content .rx-wc-media-safe > *,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media > *,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media-safe > *{
  display:block !important;
  width:100% !important;
  max-width:520px !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
.rx-single-product-page .rx-entry-content .rx-wc-product-card,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-product-card{
  display:grid !important;
  grid-template-columns:minmax(360px,520px) minmax(0,1fr) !important;
  gap:44px !important;
  align-items:start !important;
  width:100% !important;
  max-width:none !important;
  margin:0 0 36px !important;
  padding:0 !important;
}
.rx-single-product-page .rx-entry-content .rx-product-main-image,
.rx-single-product-page .rx-entry-content .rx-product-image-link,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-main-image,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-image-link{
  display:block !important;
  width:100% !important;
  max-width:520px !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
  background:#fff !important;
}
.rx-single-product-page .rx-entry-content .rx-product-main-image,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-main-image{
  border:1px solid #e3e9f2 !important;
  box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
  overflow:hidden !important;
}
.rx-single-product-page .rx-entry-content .rx-product-image,
.rx-single-product-page .rx-entry-content .rx-product-main-image img,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-image,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-main-image img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}
.rx-single-product-page .rx-entry-content .rx-product-thumbs,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-thumbs{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  max-width:520px !important;
  margin:12px 0 0 !important;
  padding:0 !important;
}
.rx-single-product-page .rx-entry-content .rx-product-thumb,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-thumb{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:82px !important;
  border:1px solid #e3e9f2 !important;
  background:#fff !important;
  overflow:hidden !important;
  opacity:.78 !important;
}
.rx-single-product-page .rx-entry-content .rx-product-thumb img,
.rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
@media(max-width:980px){
  .rx-single-product-page .rx-entry-content .rx-wc-product-card,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-product-card{
    grid-template-columns:1fr !important;
    gap:26px !important;
  }
  .rx-single-product-page .rx-entry-content .rx-wc-media,
  .rx-single-product-page .rx-entry-content .rx-wc-media-safe,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-wc-media-safe,
  .rx-single-product-page .rx-entry-content .rx-product-main-image,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-main-image{
    max-width:100% !important;
  }
}
@media(max-width:560px){
  .rx-single-product-page .rx-entry-content .rx-product-thumbs,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-thumbs{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  .rx-single-product-page .rx-entry-content .rx-product-thumb,
  .rx-inner-layout.rx-has-left-sidebar:not(.rx-has-right-sidebar) .rx-entry-content .rx-product-thumb{
    height:70px !important;
  }
}

/* ReklamX v60 - Single ürün ana görsel lightbox */
.rx-lightbox-open{overflow:hidden !important;}
.rx-product-lightbox{
  position:fixed !important;
  inset:0 !important;
  z-index:999999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:32px !important;
  background:rgba(10,10,10,.92) !important;
  cursor:zoom-out !important;
}
.rx-product-lightbox-img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:94vw !important;
  max-height:90vh !important;
  object-fit:contain !important;
  box-shadow:0 20px 70px rgba(0,0,0,.45) !important;
  cursor:default !important;
}
.rx-product-lightbox-close{
  position:fixed !important;
  top:18px !important;
  right:22px !important;
  z-index:1000000 !important;
  width:44px !important;
  height:44px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#fff !important;
  color:#111 !important;
  font-size:32px !important;
  line-height:40px !important;
  text-align:center !important;
  cursor:pointer !important;
}
.rx-product-lightbox-close:hover{background:#ef302b !important;color:#fff !important;}


/* ReklamX v64 - Single ürün ilgili ürünler temiz ve tek sistem
   Önceki v62/v63 tekrar eden grid/flex blokları kaldırıldı.
   Sadece single ürün altındaki .rx-wc-related alanı hedeflenir. */
body.single-product .rx-single-product-page .rx-wc-related{
  display:block !important;
  clear:both !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:38px 0 0 !important;
  padding:0 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
body.single-product .rx-single-product-page .rx-wc-related .related,
body.single-product .rx-single-product-page .rx-wc-related .upsells,
body.single-product .rx-single-product-page .rx-wc-related section.related,
body.single-product .rx-single-product-page .rx-wc-related section.upsells{
  display:block !important;
  clear:both !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 0 36px !important;
  padding:0 !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
body.single-product .rx-single-product-page .rx-wc-related h2{
  display:block !important;
  width:100% !important;
  margin:0 0 18px !important;
  padding:0 !important;
  color:#162033 !important;
  font-size:24px !important;
  font-weight:650 !important;
  line-height:1.25 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  white-space:normal !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products,
body.single-product.woocommerce .rx-single-product-page .rx-wc-related ul.products,
body.single-product.woocommerce-page .rx-single-product-page .rx-wc-related ul.products,
body.single-product .rx-entry-content .rx-wc-related ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  clear:both !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products:before,
body.single-product .rx-single-product-page .rx-wc-related ul.products:after{
  content:none !important;
  display:none !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product,
body.single-product.woocommerce .rx-single-product-page .rx-wc-related ul.products > li.product,
body.single-product.woocommerce-page .rx-single-product-page .rx-wc-related ul.products > li.product,
body.single-product .rx-entry-content .rx-wc-related ul.products > li.product{
  display:flex !important;
  flex-direction:column !important;
  float:none !important;
  clear:none !important;
  grid-column:auto !important;
  grid-row:auto !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  height:100% !important;
  margin:0 !important;
  padding:0 0 16px !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  transform:none !important;
  text-align:left !important;
  background:#fff !important;
  border:1px solid #e7edf5 !important;
  border-radius:0 !important;
  box-shadow:0 14px 34px rgba(15,23,42,.07) !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product:hover{
  box-shadow:0 18px 44px rgba(15,23,42,.11) !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product a.woocommerce-loop-product__link,
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product a.woocommerce-LoopProduct-link{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  color:inherit !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product img,
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product a img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:185px !important;
  aspect-ratio:auto !important;
  object-fit:cover !important;
  object-position:center center !important;
  margin:0 0 13px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product .woocommerce-loop-product__title,
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product h2,
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product h3{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:42px !important;
  margin:0 14px 10px !important;
  padding:0 !important;
  color:#162033 !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  letter-spacing:0 !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  white-space:normal !important;
  text-align:left !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product .price{
  display:block !important;
  min-height:22px !important;
  margin:0 14px 12px !important;
  color:#ef302b !important;
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
}
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product .button,
body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product a.button{
  align-self:flex-start !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  max-width:calc(100% - 28px) !important;
  min-width:0 !important;
  min-height:38px !important;
  margin:auto 14px 0 !important;
  padding:10px 14px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#ef302b !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:650 !important;
  line-height:1.1 !important;
  white-space:normal !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
@media(max-width:980px){
  body.single-product .rx-single-product-page .rx-wc-related ul.products,
  body.single-product .rx-entry-content .rx-wc-related ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }
  body.single-product .rx-single-product-page .rx-wc-related ul.products > li.product img{height:165px !important;}
}
@media(max-width:560px){
  body.single-product .rx-single-product-page .rx-wc-related ul.products,
  body.single-product .rx-entry-content .rx-wc-related ul.products{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
}


/* ReklamX v66 - Single ürün breadcrumb */
body.single-product .rx-product-breadcrumb{
  width:100%;
  margin:0 0 20px;
  padding:0;
  box-sizing:border-box;
}
body.single-product .rx-product-breadcrumb ol{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:0;
  width:100%;
  margin:0;
  padding:12px 16px;
  list-style:none;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  background:#f7f8fb;
  border:1px solid rgba(16,25,39,.08);
  border-radius:0;
  box-sizing:border-box;
}
body.single-product .rx-product-breadcrumb li{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  margin:0;
  padding:0;
  color:#6b7280;
  font-size:13px;
  font-weight:500;
  line-height:1.35;
  white-space:nowrap;
}
body.single-product .rx-product-breadcrumb li:not(:last-child)::after{
  content:'›';
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 9px;
  color:#9ca3af;
  font-size:18px;
  font-weight:400;
  line-height:1;
}
body.single-product .rx-product-breadcrumb a{
  color:#4b5563;
  text-decoration:none;
  transition:color .18s ease;
}
body.single-product .rx-product-breadcrumb a:hover{
  color:var(--rx-primary,#ef2f2f);
}
body.single-product .rx-product-breadcrumb .is-current span{
  max-width:420px;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#111827;
  font-weight:650;
}
@media(max-width:640px){
  body.single-product .rx-product-breadcrumb{
    margin-bottom:14px;
  }
  body.single-product .rx-product-breadcrumb ol{
    padding:10px 12px;
  }
  body.single-product .rx-product-breadcrumb li{
    font-size:12.5px;
  }
  body.single-product .rx-product-breadcrumb .is-current span{
    max-width:230px;
  }
}

/* ReklamX v67 - Mobil ürün breadcrumb düzeltmesi
   Uzun kategori / ürün isimlerinde yatay kaydırma oluşmasını engeller. */
@media(max-width:640px){
  body.single-product .rx-product-breadcrumb{
    margin:0 0 14px !important;
    overflow:visible !important;
  }
  body.single-product .rx-product-breadcrumb ol{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    gap:6px 0 !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    max-width:100% !important;
    padding:10px 12px !important;
    -webkit-overflow-scrolling:auto !important;
  }
  body.single-product .rx-product-breadcrumb li{
    flex:0 1 auto !important;
    max-width:100% !important;
    white-space:normal !important;
    word-break:break-word !important;
    overflow-wrap:anywhere !important;
    line-height:1.35 !important;
  }
  body.single-product .rx-product-breadcrumb li:not(:last-child)::after{
    flex:0 0 auto !important;
    margin:0 7px !important;
  }
  body.single-product .rx-product-breadcrumb a,
  body.single-product .rx-product-breadcrumb span{
    white-space:normal !important;
    word-break:break-word !important;
    overflow-wrap:anywhere !important;
  }
  body.single-product .rx-product-breadcrumb .is-current{
    flex:1 1 100% !important;
    width:100% !important;
    margin-top:2px !important;
  }
  body.single-product .rx-product-breadcrumb .is-current span{
    display:block !important;
    max-width:100% !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }
}

@media(max-width:420px){
  body.single-product .rx-product-breadcrumb ol{
    padding:9px 10px !important;
  }
  body.single-product .rx-product-breadcrumb li{
    font-size:12px !important;
  }
}

/* ReklamX v68 - Mobil ürün yolu tamamen alt alta
   Mobilde uzun kategori / ürün isimleri yatay kaydırma yapmasın diye
   breadcrumb satır satır gösterilir. */
@media (max-width: 640px){
  body.single-product .rx-product-breadcrumb,
  body.woocommerce-page.single-product .rx-product-breadcrumb{
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    margin:0 0 14px !important;
    box-sizing:border-box !important;
  }
  body.single-product .rx-product-breadcrumb ol,
  body.woocommerce-page.single-product .rx-product-breadcrumb ol{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:10px 12px !important;
    overflow-x:hidden !important;
    overflow-y:visible !important;
    white-space:normal !important;
    box-sizing:border-box !important;
  }
  body.single-product .rx-product-breadcrumb li,
  body.woocommerce-page.single-product .rx-product-breadcrumb li{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 0 7px !important;
    padding:0 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    line-height:1.45 !important;
    box-sizing:border-box !important;
  }
  body.single-product .rx-product-breadcrumb li:last-child,
  body.woocommerce-page.single-product .rx-product-breadcrumb li:last-child{
    margin-bottom:0 !important;
  }
  body.single-product .rx-product-breadcrumb li:not(:last-child)::after,
  body.woocommerce-page.single-product .rx-product-breadcrumb li:not(:last-child)::after{
    content:'' !important;
    display:none !important;
  }
  body.single-product .rx-product-breadcrumb a,
  body.single-product .rx-product-breadcrumb span,
  body.woocommerce-page.single-product .rx-product-breadcrumb a,
  body.woocommerce-page.single-product .rx-product-breadcrumb span{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    overflow:visible !important;
    text-overflow:clip !important;
    box-sizing:border-box !important;
  }
  body.single-product .rx-product-breadcrumb li:not(:last-child) a,
  body.single-product .rx-product-breadcrumb li:not(:last-child) span,
  body.woocommerce-page.single-product .rx-product-breadcrumb li:not(:last-child) a,
  body.woocommerce-page.single-product .rx-product-breadcrumb li:not(:last-child) span{
    padding-bottom:7px !important;
    border-bottom:1px solid rgba(16,25,39,.08) !important;
  }
}
