/* RCS ürün sayfası */
.single-product .product_title{font-size:30px;margin:0 0 10px}
.single-product .summary .price,.single-product .product-gallery-summary .price{font-size:30px;font-weight:700;color:var(--rcs-primary);margin:0 0 14px}
.single-product .price del{font-size:18px;font-weight:400;color:#94a3b8}
.single-product .price ins{text-decoration:none}
.single-product .woocommerce-product-details__short-description{color:var(--rcs-text);margin-bottom:16px;line-height:1.6}
.single-product p.stock{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:7px 14px;border-radius:999px;font-size:15px;font-weight:700;line-height:1.2;background:#e8f6ec;color:#15803d}
.single-product p.stock::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.single-product p.stock.out-of-stock{background:#fdecec;color:#b91c1c}
.single-product form.cart{display:block;margin:0 0 18px}
/* Adet seçici (solda, kompakt) + Sepete ekle (sağda, kalan genişlik) HER genişlikte aynı satırda.
   KÖK NEDEN (mobil dev oval): düğmedeki 'flex:1 1 220px' satır düzeni için yazılmıştı; Botiga mobilde
   .botiga-single-addtocart-wrapper'ı sütun yapınca 220px taban değer YÜKSEKLİK oldu. Satır düzeni artık zorunlu, taban 0. */
.single-product form.cart .botiga-single-addtocart-wrapper,
.single-product form.cart .woocommerce-variation-add-to-cart{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:stretch;gap:12px;width:100%}
.single-product form.cart .quantity{flex:0 0 120px;width:120px !important;max-width:120px;height:50px;min-height:0;margin:0 !important;display:flex !important;align-items:center}
.single-product form.cart .quantity .minus,.single-product form.cart .quantity .plus,.single-product form.cart .quantity .botiga-quantity-minus,.single-product form.cart .quantity .botiga-quantity-plus{flex:0 0 36px;position:static;width:36px;height:100%;min-height:0;padding:0;margin:0;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}
.single-product form.cart .quantity .qty{flex:1 1 auto;min-width:0;width:auto !important;height:100%;min-height:0;padding:0;margin:0;font-size:16px;text-align:center}
.single-product form.cart .single_add_to_cart_button{flex:1 1 0 !important;min-width:0;width:auto;height:50px;min-height:50px;max-height:50px;margin:0 !important;padding:0 16px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1.2;white-space:nowrap}
.single-product .woocommerce-product-gallery__image img{border-radius:var(--rcs-r)}
.single-product .flex-control-thumbs img{border-radius:10px;border:1.5px solid var(--rcs-line);opacity:.75}
.single-product .flex-control-thumbs img.flex-active,.single-product .flex-control-thumbs img:hover{border-color:var(--rcs-primary);opacity:1}
.single-product .woocommerce-product-gallery__trigger{background:#fff;border-radius:50%;box-shadow:0 2px 10px rgba(15,23,42,.18)}
.single-product .product_meta{font-size:14px;color:var(--rcs-muted)}

/* Güven rozetleri */
.rcs-trust{list-style:none;margin:20px 0 0;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;background:var(--rcs-soft);border:1px solid var(--rcs-line);border-radius:var(--rcs-r)}
.rcs-trust li{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:14px;line-height:1.3}
.rcs-trust .rcs-i{flex:none;width:22px;height:22px;margin-top:1px;color:var(--rcs-primary)}
.rcs-trust strong{display:block;color:var(--rcs-ink);font-size:14.5px}
.rcs-trust em{display:block;font-style:normal;color:var(--rcs-muted);font-size:13px}
@media (max-width:575px){ .rcs-trust{grid-template-columns:1fr} }

/* Sekmeler */
.woocommerce-tabs ul.tabs{border-bottom:1px solid var(--rcs-line);display:flex;gap:4px;flex-wrap:wrap;margin:0 0 22px;padding:0}
.woocommerce-tabs ul.tabs li{margin:0;border:0;background:none}
.woocommerce-tabs ul.tabs li a{display:block;padding:12px 18px;font-weight:600;color:var(--rcs-muted);border-bottom:3px solid transparent}
.woocommerce-tabs ul.tabs li.active a,.woocommerce-tabs ul.tabs li a:hover{color:var(--rcs-ink);border-bottom-color:var(--rcs-primary)}
.rcs-tab h3{font-size:19px;margin:0 0 12px}
.rcs-tab__table{width:100%;max-width:640px;border-collapse:collapse;margin:0 0 18px}
.rcs-tab__table th,.rcs-tab__table td{padding:11px 14px;border-bottom:1px solid var(--rcs-line);text-align:left;vertical-align:top;font-size:15px}
.rcs-tab__table th{width:34%;color:var(--rcs-ink);font-weight:600;background:var(--rcs-soft)}
.rcs-free{display:block;color:#15803d;font-weight:600}
.rcs-tab__rate{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:2px 0}
.rcs-tab__rate>span{min-width:0}
.rcs-tab__rate b,.rcs-tab__rate .amount,.rcs-tab__rate bdi{flex:none;white-space:nowrap;font-weight:600}
.rcs-tab__rate b{color:var(--rcs-ink)}
.rcs-tab__note{color:var(--rcs-muted);font-size:14.5px;margin:0}
.rcs-tab__links a{display:inline-block;margin-right:16px;font-weight:600}

/* Yapışkan sepete ekle çubuğu */
.rcs-sticky{position:fixed;left:0;right:0;bottom:0;z-index:9980;background:#fff;border-top:1px solid var(--rcs-line);box-shadow:0 -8px 28px rgba(15,23,42,.1);transform:translateY(110%);transition:transform .25s ease}
.rcs-sticky.is-on{transform:none}
.rcs-sticky__in{max-width:1200px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:14px}
.rcs-sticky img{width:48px;height:48px;object-fit:contain;background:#f3f4f6;border-radius:8px;flex:none}
.rcs-sticky__t{flex:1;min-width:0;display:flex;flex-direction:column}
.rcs-sticky__t strong{font-size:15px;color:var(--rcs-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcs-sticky__p{font-size:15px;font-weight:700;color:var(--rcs-primary)}
.rcs-sticky__p del{font-weight:400;color:#94a3b8;margin-right:4px}.rcs-sticky__p ins{text-decoration:none}
.rcs-sticky__btn{flex:none;min-width:170px}
.rcs-sticky__btn.loading{opacity:.7}
@media (max-width:991px){
  .rcs-sticky{bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  .rcs-sticky__in{padding:8px 12px;gap:10px}
  .rcs-sticky__btn{min-width:0;padding:11px 18px}
}
body.rcs-drawer-open .rcs-sticky,body.rcs-filters-open .rcs-sticky{display:none}

/* Galeri indirim etiketi: kart etiketiyle aynı yerde — ana görselin sol üstünden 10 px (mobilde 8 px). Botiga satır içi CSS'i
   (.single-product .has-gallery-images … span.onsale{left:107px !important}) küçük resim şeridi yokken de uygulandığı için burada ezilir. */
body.single-product .has-gallery-images .product-gallery-summary span.onsale{left:10px !important;top:10px !important}
@media (min-width:992px){
  /* dikey küçük resim şeridi (85 px) ana görselin solunda: etiket ana görsele göre 10 px içeride */
  body.single-product .has-gallery-images .product-gallery-summary.gallery-vertical span.onsale{left:95px !important}
}
@media (max-width:767px){
  body.single-product .has-gallery-images .product-gallery-summary span.onsale{left:8px !important;top:8px !important}
}
