/* product.css - Alt�nay Kurumsal �r�n Detay Sayfas� Stilleri */

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-gray); margin: 20px 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a { text-decoration: none; color: var(--text-gray); transition: 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 10px; }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* RN DETAY ANA YAPI */
.product-detail-wrapper { display: grid; grid-template-columns: 50fr 50fr; gap: 60px; background-color: var(--surface); padding: 40px 0 60px; margin-bottom: 50px; border-bottom: 1px solid var(--border); align-items: start; }

/* Galeri */
.product-gallery { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 620px; }
.gallery-main { width: 100%; aspect-ratio: 1/1; height: auto; background-color: #fff; border: 1px solid #f1f1f1; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; flex-shrink: 0; touch-action: pan-y; }
.gallery-main img { border-radius: 16px; height: 100%; width: 100%; object-fit: cover; mix-blend-mode: multiply; transition: var(--transition); cursor: crosshair; user-select: none; -webkit-user-drag: none; }
.gallery-badge { position: absolute; top: 20px; left: 20px; background-color: var(--primary); color: white; padding: 6px 14px; font-family: 'Cinzel', serif; font-weight: 700; font-size: 13px; z-index: 2; letter-spacing: 1px; }
.gallery-thumbs { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.thumb-item { width: 120px; height: 120px; flex-shrink: 0; background-color: #fff; border: 1px solid #f1f1f1; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; overflow: hidden; }
.thumb-item img { height: 100%; width: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb-item.active { border-color: #d4af37; box-shadow: 0 0 0 1px #d4af37; }
.thumb-item:hover { border-color: var(--primary); }

/* ===== E-TCARET ZOOM SSTEM ===== */
.zoom-wrapper { position: relative; display: flex; gap: 0; align-items: flex-start; }
.zoom-lens { position: absolute; display: none; width: auto; height: auto; border: 1px solid var(--primary); background: rgba(12, 35, 128, 0.05); pointer-events: none; z-index: 10; box-shadow: 0 0 0 1px rgba(212,175,55,0.3); backdrop-filter: brightness(1.02); }
.zoom-result { display: none; position: absolute; left: calc(100% + 20px); top: 0; background-repeat: no-repeat; background-color: white; border: 1px solid #eaeaea; box-shadow: 0 10px 40px rgba(0,0,0,0.08); z-index: 999; opacity: 0; transition: opacity 0.15s ease; overflow: hidden; pointer-events: none; }
.zoom-icon-hint { position: absolute; bottom: 15px; right: 15px; width: 40px; height: 40px; background: rgba(0,0,0,0.6); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; pointer-events: none; opacity: 0.8; transition: opacity 0.3s ease; z-index: 5; }

/* rn Bilgileri */
.product-info { display: flex; flex-direction: column; width: 100%; min-width: 0; box-sizing: border-box; }
.pdp-brand { color: #d4af37; font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.pdp-title { font-family: 'Cinzel', serif; font-size: 32px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; color: var(--primary); }
.pdp-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 30px; font-size: 13px; border-bottom: 1px solid #f1f1f1; padding-bottom: 20px; flex-wrap: wrap; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); flex-wrap: wrap; }
.rating-stars { display: flex; gap: 3px; color: #d4af37; font-size: 13px; }
.rating-text { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-dark); }
.pdp-rating span span { color: var(--text-gray); font-weight: 500; text-decoration: underline; cursor: pointer; }
.pdp-sku { color: var(--text-gray); font-weight: 500; font-size: 12px; letter-spacing: 0.5px; }

.pdp-price-box { margin-bottom: 35px; }
.pdp-old-price { font-size: 18px; color: #999; text-decoration: line-through; margin-bottom: 5px; display: block; }
.pdp-current-price { font-size: 36px; font-family: 'Cinzel', serif; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.pdp-discount-tag { font-family: 'Montserrat', sans-serif; font-size: 12px; color: #fff; background: var(--primary); padding: 5px 12px; font-weight: 600; letter-spacing: 0.5px; }

/* Varyasyonlar */
.variant-section { margin-bottom: 30px; }
.variant-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; color: var(--text-dark); }
.variant-title span { color: var(--text-gray); font-weight: 500; }
.color-options { display: flex; gap: 15px; }
.color-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #eaeaea; padding: 3px; cursor: pointer; transition: 0.3s; }
.color-btn .inner { width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,0.05); }
.color-btn.active { border-color: #d4af37; transform: scale(1.05); }

/* Miktar ve Sepet */
.action-row { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; background-color: #fff; border: 1px solid var(--primary); height: 54px; }
.qty-btn { width: 45px; height: 100%; font-size: 18px; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: 0.3s; background: none; border: none; }
.qty-btn:hover { background-color: rgba(12,35,128,0.05); }
.qty-input { width: 40px; height: 100%; border: none; background: transparent; text-align: center; font-size: 16px; font-weight: 600; color: var(--text-dark); outline: none; }

.btn-add-cart { flex: 1; min-width: 200px; height: 54px; background-color: var(--primary); color: white; font-family: 'Cinzel', serif; font-size: 16px; font-weight: 600; letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 12px; transition: 0.3s; border: none; }
.btn-add-cart:hover { background-color: #d4af37; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.3); }

.btn-fav-large { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); font-size: 20px; color: var(--text-gray); transition: 0.3s; background: white; }
.btn-fav-large:hover { color: var(--primary); border-color: var(--primary); background-color: rgba(12,35,128,0.05); }

/* G�ven Kutular� */
.trust-badges { display: flex; justify-content: space-between; border-top: 1px solid #f1f1f1; padding-top: 25px; margin-top: 20px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; flex: 1; }
.trust-item i { font-size: 24px; color: #d4af37; }
.trust-item div h4 { font-family: 'Cinzel', serif; font-size: 13px; font-weight: 600; color: var(--primary); margin: 0; }
.trust-item div p { display: none; } /* Gizle, minimal yap� */

/* --- TAB (SEKME) YAPISI --- */
.product-tabs { margin-bottom: 80px; }
.tabs-header { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid #eaeaea; margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs-header::-webkit-scrollbar { display: none; }
.tab-btn { padding: 0 0 15px 0; font-family: 'Cinzel', serif; font-size: 18px; font-weight: 600; color: #999; border-bottom: 2px solid transparent; white-space: nowrap; transition: 0.3s; background: none; border-left: none; border-right: none; border-top: none; }
.tab-btn:hover { color: var(--text-dark); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-content { display: none; max-width: 900px; margin: 0 auto; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.tab-content h3 { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--primary); }
.tab-content p { color: var(--text-dark); margin-bottom: 15px; font-size: 15px; line-height: 1.8; }
.tab-content ul { list-style: square; padding-left: 20px; color: var(--text-dark); font-size: 15px; margin-bottom: 15px; line-height: 1.8; }
.tab-content ul li { margin-bottom: 8px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 991px) {
    .product-detail-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 30px 0; }
    .gallery-main { height: 450px; }
}

@media (max-width: 1024px) {
    .zoom-lens, .zoom-result, .zoom-icon-hint { display: none !important; }
}

@media (max-width: 768px) {
    .product-detail-wrapper { gap: 30px; margin-bottom: 30px; }
    .gallery-main { height: 380px; }
    .thumb-item { width: 80px; height: 80px; }
    .pdp-title { font-size: 20px; margin-bottom: 12px; line-height: 1.3; }
    .pdp-meta { padding-bottom: 15px; margin-bottom: 20px; }
    .pdp-price-box { margin-bottom: 25px; }
    .pdp-current-price { font-size: 30px; }
    .action-row { gap: 10px; }
    .btn-add-cart { min-width: unset; flex: 2; font-size: 14px; }
    .btn-fav-large { flex: 0.5; }
    .trust-badges { gap: 10px; }
    .trust-item i { font-size: 20px; }
    .trust-item div h4 { font-size: 11px; }
    .tabs-header { gap: 20px; justify-content: flex-start; }
    .tab-btn { font-size: 15px; }
    
    .pdp-dual-prices { gap: 10px; }
    .price-box { padding: 12px 10px; min-width: 0; }
    .price-box-title { font-size: 10px; margin-bottom: 4px; }
    .price-box-value { font-size: 17px; }
    .price-box-badge { font-size: 9px; right: 5px; top: -8px; }
}

@media (max-width: 480px) {
    .pdp-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
    .action-row { flex-direction: row; flex-wrap: nowrap; gap: 10px; align-items: stretch; }
    .qty-selector { width: 100px; flex: 0 0 auto; height: 50px; }
    .btn-add-cart { order: 2; flex: 1; min-width: 0; font-size: 12px; padding: 0 5px; height: 50px; }
    .btn-fav-large { order: 3; width: 50px; height: 50px; flex: 0 0 auto; }
    .qty-btn { width: 30px; }
    .qty-input { width: 30px; font-size: 14px; }
    
    .gallery-main { height: 320px; }
    .pdp-title { font-size: 18px; }
}

/* --- YORUM S�STEM� ST�LLER� --- */
.reviews-container { display: flex; flex-direction: column; gap: 40px; }
.reviews-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid #eaeaea; gap: 20px; flex-wrap: wrap; }
.add-review-btn-box .btn-primary { 
    padding: 12px 25px; 
    background-color: transparent; 
    color: var(--primary); 
    border: 1px solid var(--primary); 
    font-family: 'Cinzel', serif;
    font-weight: 700; 
    transition: 0.3s; 
    font-size: 14px;
    cursor: pointer;
}
.add-review-btn-box .btn-primary:hover { 
    background-color: var(--primary); 
    color: white; 
}
.avg-box { display: flex; flex-direction: column; align-items: center; padding: 20px; border: 1px solid #eaeaea; min-width: 160px; }
.avg-val { font-family: 'Cinzel', serif; font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.avg-stars { color: #d4af37; margin-bottom: 5px; }
.total-reviews { font-size: 13px; color: var(--text-gray); font-weight: 500; }

.review-form-card { background: #fafafa; padding: 30px; border: 1px solid #eaeaea; margin-bottom: 40px; }
.review-form-card h4 { font-family: 'Cinzel', serif; margin-bottom: 20px; font-weight: 700; color: var(--primary); }
.rating-input-box { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.star-rating-input { display: flex; flex-direction: row-reverse; gap: 5px; }
.star-rating-input label { cursor: pointer; color: #ddd; transition: 0.2s; font-size: 26px; padding: 0 2px; }
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #d4af37; }
.star-rating-input input { display: none; }

.form-file-input { margin: 20px 0; }
.file-label { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: white; border: 1px dashed #ccc; cursor: pointer; color: var(--text-gray); font-weight: 500; font-size: 13px; transition: 0.3s; }
.file-label:hover { border-color: var(--primary); color: var(--primary); }
input[type="file"] { display: none; }

.review-item { padding: 30px 0; border-bottom: 1px solid #eaeaea; }
.review-user { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.user-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; }
.user-name { font-weight: 600; color: var(--primary); font-family: 'Cinzel', serif; }
.review-date { font-size: 12px; color: #999; margin-top: 4px; }
.review-stars { margin-left: auto; color: #d4af37; font-size: 14px; }
.review-body p { color: var(--text-dark); margin-bottom: 15px; line-height: 1.7; font-size: 14px; }
.review-img img { width: 100px; height: 100px; object-fit: cover; cursor: pointer; border: 1px solid #eaeaea; transition: transform 0.3s ease; }
.review-img img:hover { transform: scale(1.05); }

.alert { padding: 15px; margin-bottom: 25px; font-weight: 500; font-size: 14px; border-left: 4px solid; }
.alert-success { background: #f0fdf4; color: #166534; border-color: #22c55e; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #ef4444; }
.no-reviews { text-align: center; padding: 60px 0; color: var(--text-gray); }
.no-reviews i { font-size: 40px; margin-bottom: 15px; opacity: 0.3; }

.form-textarea { width: 100%; min-height: 120px; padding: 20px; border: 1px solid #ddd; margin-bottom: 20px; outline: none; transition: 0.3s; font-family: 'Montserrat', sans-serif; }
.form-textarea:focus { border-color: var(--primary); }
.form-actions { display: flex; gap: 15px; margin-top: 10px; }
.form-actions .btn-primary { flex: 1; height: 50px; background-color: var(--primary); color: white; border: none; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.form-actions .btn-primary:hover { background-color: #d4af37; }
.form-actions .btn-outline { flex: 1; height: 50px; background-color: transparent; color: var(--text-gray); border: 1px solid #ddd; font-family: 'Cinzel', serif; font-weight: 600; cursor: pointer; transition: 0.3s; }
.form-actions .btn-outline:hover { background-color: #f9f9f9; color: var(--primary); border-color: var(--primary); }


.size-btn { padding:10px 20px; border:1px solid #eaeaea; background:white; border-radius:4px; font-family:'Montserrat', sans-serif; font-weight:600; font-size:13px; color:var(--text-dark); cursor:pointer; transition:0.3s; }
.size-btn:hover { border-color:var(--primary); }
.size-btn.active { border-color:var(--primary); background-color:rgba(12,35,128,0.05); color:var(--primary); }


/* Dual Pricing Boxes */
.pdp-dual-prices { display: flex; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.price-box { flex: 1; min-width: 150px; padding: 15px; border: 1px solid var(--border); border-radius: 6px; background-color: var(--surface); display: flex; flex-direction: column; justify-content: center; position: relative; transition: all 0.3s ease; }
.price-box:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.price-box.havale-box { border-color: var(--primary); background-color: rgba(12, 35, 128, 0.03); }
.price-box-title { font-size: 11px; font-weight: 700; color: var(--text-gray); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.price-box.havale-box .price-box-title { color: var(--primary); }
.price-box-value { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700; color: var(--text-dark); }
.price-box.havale-box .price-box-value { color: var(--primary); }
.price-box-badge { position: absolute; top: -10px; right: 10px; background-color: var(--primary); color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 700; letter-spacing: 0.5px; box-shadow: 0 2px 5px rgba(12, 35, 128, 0.2); }









