/* AyleModa Trendyol tarzı ürün sayfası (2026-11-12) */
:root{--ay-murdum:#6B2D4A;--ay-murdum-koyu:#4A1E33;--ay-murekkep:#2A1F1A;--ay-gri:#7A6E66;--ay-turuncu:#E5602F;--ay-cizgi:#EFE7E2}

/* düzen */
html body .product-detail-layout{grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:40px}
html body .product-gallery{top:150px}
html body .product-gallery:has(.gallery-thumbnails > img + img){display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:start}
html body .product-gallery:has(.gallery-thumbnails > img + img) .gallery-thumbnails{grid-row:1;grid-column:1;flex-direction:column;overflow:visible;max-height:560px;overflow-y:auto}
html body .product-gallery:has(.gallery-thumbnails > img + img) .product-main-image-wrap{grid-column:2}
html body .gallery-thumbnails:not(:has(> img + img)){display:none}
html body .product-main-image-wrap{border:1px solid var(--ay-cizgi);border-radius:14px;background:#fff;margin-bottom:0}
html body .product-thumb{width:72px;height:86px;border-radius:8px;border:1px solid var(--ay-cizgi)}
html body .product-thumb.active,html body .product-thumb:hover{border:2px solid var(--ay-murdum)}

/* başlık bloğu */
html body .ay-u-ust{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
html body .ay-u-marka{font-weight:800;color:var(--ay-murdum);text-decoration:none;font-size:.95rem}
html body .ay-u-marka:hover{text-decoration:underline}
html body .ay-u-ust .badge{font-size:.68rem;padding:3px 8px;border-radius:6px}
html body .product-title{font-family:var(--font-sans,Inter,sans-serif)!important;font-size:1.35rem!important;font-weight:500!important;color:var(--ay-murekkep)!important;line-height:1.35!important;margin-bottom:8px!important}
html body .product-rating-row{margin-bottom:10px}
html body .product-stars{color:#F5A623}
html body .product-review-count a{color:var(--ay-murdum)}
html body .product-stock-badge{padding:3px 10px;font-size:.74rem}

/* fiyat */
html body .product-price-row{background:none;padding:6px 0 4px;margin:4px 0 12px;gap:12px;border-top:1px solid var(--ay-cizgi);padding-top:14px;flex-wrap:wrap}
html body .product-price-sale,html body .product-price-main{font-family:var(--font-sans,Inter,sans-serif);font-size:1.9rem;font-weight:800;color:var(--ay-murdum)}
html body .product-price-original{font-size:1rem;color:#A39A92}
html body .product-discount-badge{background:var(--ay-turuncu);border-radius:6px;font-size:.8rem;padding:4px 8px}

/* rozetler + kampanya */
html body .ay-u-rozetler{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
html body .ay-u-rozet{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;color:#3E3530;background:#F6F2EF;border:1px solid var(--ay-cizgi);border-radius:8px;padding:6px 10px}
html body .ay-u-rozet i{color:var(--ay-murdum)}
html body .ay-u-rozet-kargo{background:#EAF7EF;border-color:#CDEBD8;color:#1E7A45}
html body .ay-u-rozet-kargo i{color:#1E7A45}
html body .ay-u-rozet-sicak{background:#FDEBE3;border-color:#F6C9B5;color:#B8452A}
html body .ay-u-rozet-sicak i{color:var(--ay-turuncu)}
html body .ay-u-kampanya{display:flex;align-items:center;gap:12px;border:1.5px dashed rgba(107,45,74,.45);background:#FBF3F6;border-radius:10px;padding:10px 12px;margin:0 0 18px}
html body .ay-u-kampanya-ikon{flex:0 0 36px;height:36px;border-radius:50%;background:var(--ay-murdum);color:#fff;display:flex;align-items:center;justify-content:center}
html body .ay-u-kampanya div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
html body .ay-u-kampanya strong{font-size:.88rem;color:var(--ay-murekkep)}
html body .ay-u-kampanya small{font-size:.76rem;color:var(--ay-gri)}
html body .ay-u-kampanya small b{color:var(--ay-murdum);letter-spacing:.08em}
html body .ay-u-kampanya button{flex-shrink:0;border:1px solid var(--ay-murdum);background:#fff;color:var(--ay-murdum);font-weight:700;font-size:.78rem;border-radius:8px;padding:7px 12px;cursor:pointer}
html body .ay-u-kampanya button.ok{background:#2E9D5B;border-color:#2E9D5B;color:#fff}

/* seçenekler */
html body .option-label{font-size:.82rem;text-transform:none;letter-spacing:0;font-weight:700}
html body .option-label span{color:var(--ay-gri)!important}
html body .size-btn{min-width:84px;border:1.5px solid #DCD3CD;border-radius:8px;padding:9px 12px}
html body .size-btn:hover{border-color:var(--ay-murdum)}
html body .size-btn:hover .size-btn-label{color:var(--ay-murdum)}
html body .size-btn.active{border:2px solid var(--ay-murdum);background:#FBF3F6}
html body .size-btn.active .size-btn-label,html body .size-btn.active .size-btn-price{color:var(--ay-murdum)}
html body .size-btn.active::after{border-color:transparent var(--ay-murdum) transparent transparent}
html body .qty-wrapper{border:1.5px solid #DCD3CD;border-radius:8px}
html body .qty-input{border-left:1.5px solid #DCD3CD;border-right:1.5px solid #DCD3CD}

/* CTA */
html body .ay-u-cta{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:10px}
html body .ay-u-cta .add-to-cart-btn{grid-column:1;height:56px;padding:0 18px;border-radius:10px;font-size:1.05rem;
  background:linear-gradient(135deg,#8A3A60,var(--ay-murdum) 55%,var(--ay-murdum-koyu))!important;box-shadow:0 8px 20px rgba(107,45,74,.25)!important;color:#fff!important}
html body .ay-u-cta .add-to-cart-btn:hover{transform:none;filter:brightness(1.08)}
html body .ay-u-cta .add-to-cart-btn:disabled{background:#B9AFA9!important;box-shadow:none!important}
html body .ay-u-cta .btn-wishlist{grid-column:2;grid-row:1;width:56px!important;height:56px!important;padding:0!important;border-radius:10px!important;font-size:0!important;
  border:1.5px solid #DCD3CD!important;background:#fff!important;color:var(--ay-murdum)!important;display:flex;align-items:center;justify-content:center}
html body .ay-u-cta .btn-wishlist i{font-size:1.35rem!important}
html body .ay-u-cta .btn-wishlist.active{border-color:var(--ay-murdum)!important;background:#FBF3F6!important}
html body .ay-u-cta .whatsapp-order-btn{grid-column:1 / -1;background:#fff!important;color:#1E8E4C!important;border:1.5px solid #25D366;box-shadow:none!important;padding:13px;border-radius:10px;font-size:.95rem}
html body .ay-u-cta .whatsapp-order-btn:hover{background:#F0FBF4!important}

/* bilgi kutuları */
html body .ay-u-kutular{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
html body .ay-u-kutu{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--ay-cizgi);border-radius:10px;padding:12px}
html body .ay-u-kutu > i{flex:0 0 32px;height:32px;border-radius:8px;background:#F6F2EF;color:var(--ay-murdum);display:flex;align-items:center;justify-content:center;font-size:.95rem}
html body .ay-u-kutu strong{display:block;font-size:.8rem;color:var(--ay-murekkep);line-height:1.3}
html body .ay-u-kutu small{display:block;font-size:.72rem;color:var(--ay-gri);margin-top:2px;line-height:1.35}
html body .ay-u-kutu-yesil > i{background:#EAF7EF;color:#1E7A45}
html body .ay-u-ozellik{margin-top:14px;border:1px solid var(--ay-cizgi);border-radius:10px;padding:14px 16px}
html body .ay-u-ozellik h3{font-size:.95rem;font-weight:800;margin:0 0 10px;color:var(--ay-murekkep);font-family:var(--font-sans,Inter,sans-serif)}
html body .ay-u-ozellik ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
html body .ay-u-ozellik li{font-size:.82rem;color:#5E5550;display:flex;gap:6px}
html body .ay-u-ozellik li b{color:var(--ay-murekkep);font-weight:600;white-space:nowrap}
html body .ay-u-satici{margin-top:14px;display:flex;align-items:center;gap:12px;border:1px solid var(--ay-cizgi);border-radius:10px;padding:12px 14px}
html body .ay-u-satici-logo{flex:0 0 42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#8A3A60,var(--ay-murdum-koyu));color:#fff;font-family:var(--font-serif,Georgia,serif);font-weight:700;display:flex;align-items:center;justify-content:center}
html body .ay-u-satici div{flex:1;min-width:0}
html body .ay-u-satici strong{display:flex;align-items:center;gap:6px;font-size:.92rem;color:var(--ay-murekkep)}
html body .ay-u-satici strong i{color:#2E9D5B;font-size:.85rem}
html body .ay-u-satici small{display:block;font-size:.74rem;color:var(--ay-gri)}
html body .ay-u-satici a{flex-shrink:0;font-size:.8rem;font-weight:700;color:var(--ay-murdum);border:1px solid var(--ay-murdum);border-radius:8px;padding:7px 12px;text-decoration:none}

/* sekmeler */
html body .product-tabs{margin-top:44px;border:1px solid var(--ay-cizgi);border-radius:14px;background:#fff;padding:0 24px 8px}
html body .tab-buttons{border-bottom:1px solid var(--ay-cizgi);gap:8px;overflow-x:auto;scrollbar-width:none}
html body .tab-btn{padding:16px 6px;margin-right:18px;font-weight:700;color:#5E5550;border-bottom:3px solid transparent;white-space:nowrap;font-size:.92rem}
html body .tab-btn.active{color:var(--ay-murdum)!important;border-color:var(--ay-murdum)!important}
html body .similar-products{display:none}

/* benzer + son gezilenler bantları sayfa altında */
html body .ay-urun-bantlar{padding-bottom:20px}

@media (max-width:900px){
  html body .product-detail-layout{grid-template-columns:1fr;gap:18px}
  html body .product-gallery{position:static}
  html body .ay-u-kutular{grid-template-columns:1fr}
  html body .ay-u-ozellik ul{grid-template-columns:1fr}
  html body .product-tabs{padding:0 14px 6px;margin-top:26px}
  html body .product-title{font-size:1.12rem!important}
  html body .product-price-sale,html body .product-price-main{font-size:1.6rem}
  html body .product-gallery:has(.gallery-thumbnails > img + img){display:flex;flex-direction:column}
  html body .product-gallery:has(.gallery-thumbnails > img + img) .gallery-thumbnails{flex-direction:row;max-height:none;overflow-x:auto;order:2}
}
