/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

.product-detail-container {
    /* Sayfa zemini kart yüzeylerinden bir ton koyu: her şey beyaz olduğunda kartlar
       zeminden ayrışmıyor ve sayfa göz yoruyordu. */
    background: #f9f9f9;
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

/* Hero Section */
.product-hero {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    height: 120px;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.05'%3e%3ccircle cx='30' cy='30' r='2'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.breadcrumb-custom {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-custom li {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-custom li:not(:last-child)::after {
    content: "/";
    margin: 0 12px;
    opacity: 0.7;
}

.breadcrumb-custom a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumb-custom a:hover {
    opacity: 1;
}

.breadcrumb-custom .active {
    opacity: 1;
    font-weight: 600;
}

/* Product Gallery */
.product-gallery {
    /* Sağ sütun (başlık, fiyat, özellikler, satın alma) galeriden çok daha uzun; galeri
       sayfa kaydıkça ekranda kalır. Üst boşluk site başlığının altına denk gelir. */
    position: sticky;
    top: calc(var(--header-height, 90px) + 16px);
    align-self: flex-start;   /* stretch olan sütunda kendi yüksekliğinde kalsın */
}

.main-image-container {
    position: relative;
    margin-bottom: 24px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    aspect-ratio: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: zoom-in;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* Üzerine gelince büyütme YOK: büyütme tıklamayla açılır (bkz. urun-detay.blade
   içindeki zoom betiği). Buradaki scale(1.02) ile betiğin scale'i birbiriyle
   yarışıyor ve fare değince görsel kendiliğinden oynuyordu. */
.main-image-container.zoomed .main-product-image {
    cursor: zoom-out;
}
.main-image-container.zoomed {
    cursor: zoom-out;
}

.image-zoom-indicator {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ff8c00;
}

.main-image-container:hover .image-zoom-indicator {
    opacity: 1;
}

.image-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(8px);
}

.image-badge.bestseller {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.image-badge.discount {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-gallery::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    min-width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.thumbnail-item.active {
    border-color: #ff8c00;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-header {
    margin-bottom: 24px;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff8c00;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-brand i {
    color: #fbbf24;
}

/* Rating */
.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.stars-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars-container i {
    color: #e2e8f0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.stars-container i.active {
    color: #fbbf24;
}

.rating-score {
    background: #ff8c00;
    color: white;
    padding: 4px 8px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.85rem;
}

.review-count {
    color: #64748b;
    font-size: 0.9rem;
}

/* Price Section */
.price-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid #fed7aa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF8C00;
    display: inline-flex; /* Değiştirildi: inline-flex olarak güncelledim */
    align-items: baseline; /* Değiştirildi: baseline olarak güncelledim */
    gap: 2px; /* Değiştirildi: azaltıldı */
    letter-spacing: -0.02em;
}

.currency {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-left: 2px; /* Para birimi ile rakam arası mesafe */
    vertical-align: baseline; /* Dikey hizalama düzeltildi */
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 500;
    display: inline-flex; /* Değiştirildi */
    align-items: baseline; /* Değiştirildi */
}

.savings-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #ff8c00;
}

.section-label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

/* Features */
.features-grid {
    display: grid;
    /* Kompakt: kısa özellikler hızlı taransın, sayfayı gereksiz uzatmasın (design dili korunur). */
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border-left: 4px solid #ff8c00;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
}

.feature-item i {
    color: #ff8c00;
    font-size: 1rem;
}

.feature-item span {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.stock-status.out-of-stock {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 0; /* Önceki margin-bottom'u kaldır */
}

.qty-btn {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: linear-gradient(135deg, #ea7c00 0%, #e55600 100%);
}

.qty-input {
    width: 70px;
    height: 44px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: white;
    color: #1e293b;
    font-size: 1rem;
    padding: 0; /* Padding'i sıfırla */
    margin: 0; /* Margin'i sıfırla */
    -moz-appearance: textfield; /* Firefox için sayı okları kaldır */
}

/* Sayı input okları kaldır */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Action Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ea7c00 0%, #e55600 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.btn-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Action Links */
.action-links {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.action-link {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.action-link:hover {
    color: #ff8c00;
}

/* Service Features */
.service-features {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.service-content h6 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.service-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Tabs Section */
.product-tabs-section {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.tab-navigation {
    display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #ff8c00;
    background: white;
    border-bottom-color: #ff8c00;
}

.tab-btn:hover:not(.active) {
    color: #475569;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 32px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Bölüm başlıkları. :not(.product-title) ŞART: "Öne Çıkan Ürünler / Benzer Ürünler"
   şeridindeki kartların başlığı da h3 ve bu sarmalayıcının içinde; kural onlara da
   uyunca her kart başlığının altında turuncu çizgi çıkıyordu. */
.content-wrapper h3:not(.product-title) {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid #ff8c00;
    letter-spacing: -0.02em;
}

.description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
    color: #ff8c00;
}

/* Features Detailed */
.features-detailed h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    margin-top: 30px;
}

.features-list {
    display: grid;
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row i {
    color: #ff8c00;
    font-size: 1rem;
}

.feature-row span {
    font-size: 1rem;
    color: #475569;
}

/* Specifications Grid */
.specifications-grid {
    display: grid;
    gap: 1px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.spec-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: white;
}

.spec-label {
    padding: 16px 20px;
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    border-right: 1px solid #e2e8f0; /* Sağ kenar çizgisi eklendi */
}

.spec-value {
    padding: 16px 20px;
    color: #1e293b;
    font-size: 0.9rem;
}

/* Reviews Section */
.review-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.rating-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ff8c00;
    letter-spacing: -0.02em;
}

.stars-large {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.stars-large i {
    font-size: 1.5rem;
    color: #e2e8f0;
}

.stars-large i.active {
    color: #fbbf24;
}

.review-item {
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-rating .stars {
    display: flex;
    gap: 2px;
}

.review-rating .stars i {
    font-size: 1rem;
    color: #e2e8f0;
}

.review-rating .stars i.active {
    color: #fbbf24;
}

/* FAQ Section */
.faq-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 24px;
    border-left: 4px solid #ff8c00;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-item h4 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.faq-item p {
    color: #475569;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Related Products */
.related-products-section {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-product-item {
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.related-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.15);
    border-color: #ff8c00;
}

.related-product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.related-product-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.related-product-item .price {
    color: #ff8c00;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex; /* Eklendi */
    align-items: baseline; /* Eklendi */
}

/* İndirim Badge'i - sağ üst köşe */
.discount-badge-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Yeni satın alma düzeni - Adet seçimi ve sepete ekle butonu yan yana */
.purchase-buttons-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-controls-wrapper {
    flex: 0 0 150px; /* geniş stepper alanı */
}
/* Ürün detayda stepper, Sepete Ekle butonuyla aynı yükseklikte (geniş) */
.quantity-controls-wrapper .qty-stepper {
    height: 44px;
    width: 100%;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 0; /* Önceki margin-bottom'u kaldır */
}

.qty-input {
    width: 70px;
    height: 44px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: white;
    color: #1e293b;
    font-size: 1rem;
    padding: 0; /* Padding'i sıfırla */
    margin: 0; /* Margin'i sıfırla */
    -moz-appearance: textfield; /* Firefox için sayı okları kaldır */
}

/* Sayı input okları kaldır */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart {
    flex: 1;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
    height: 44px;
}

.btn-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #ea7c00 0%, #e55600 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

.btn-add-to-cart:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Daha belirgin paylaş butonu */
.share-container {
    margin-bottom: 24px;
}

/* Paylaş - sade ikincil buton (gri) */
.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 24px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.share-button:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

.share-button i {
    color: #ff8c00;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .product-info-wrapper {
        margin-top: 24px;
    }

    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .product-hero {
        height: 100px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .thumbnail-item {
        min-width: 60px;
        height: 60px;
    }

    .tab-btn span {
        display: none;
    }

    .tab-pane {
        padding: 20px;
    }

    .price-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .spec-item {
        grid-template-columns: 1fr;
    }

    .spec-label {
        border-bottom: 1px solid #e2e8f0;
    }

    .product-info-wrapper {
        padding: 24px;
        border-radius: 20px;
    }

    .main-image-container {
        border-radius: 20px;
    }

    .product-tabs-section {
        border-radius: 20px;
    }

    .purchase-buttons-container {
        flex-direction: column;
        gap: 10px;
    }

    .quantity-controls-wrapper {
        width: 100%;
    }

    .quantity-controls {
        width: 100%; /* Mobilde tam genişlik */
    }

    .qty-input {
        flex: 1; /* Mobilde genişleme oranı */
    }

    .btn-add-to-cart {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .current-price {
        font-size: 1.8rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-info-wrapper {
        padding: 20px;
        margin-top: 10px;
    }

    .tab-pane {
        padding: 16px;
    }

    .tab-navigation {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 12px;
        font-size: 0.85rem;
    }

    .tab-btn i {
        margin-right: 4px;
    }

    .service-features {
        padding: 20px;
    }

    .review-summary {
        padding: 24px;
    }

    .feature-item {
        padding: 12px;
    }

    .price-wrapper {
        padding: 16px;
    }

    /* Responsive specs grid */
    .specifications-grid {
        display: flex;
        flex-direction: column;
    }

    .spec-item {
        display: flex;
        flex-direction: column;
    }

    .spec-label {
        border-bottom: 1px solid #e2e8f0;
        font-weight: 700;
        background: #f8fafc;
        padding: 12px 16px;
    }

    .spec-value {
        padding: 12px 16px;
    }

    /* Better gallery display on mobile */
    .main-image-container {
        border-radius: 16px;
        margin-bottom: 16px;
        /* Kare (aspect-ratio:1) mobilde ürün adı/fiyatı çok aşağı itiyordu → daha kısa oran.
           object-fit:cover korunur; yalnız mobil (<=576px), desktop değişmez. */
        aspect-ratio: 4 / 3;
    }

    .thumbnail-gallery {
        gap: 8px;
    }

    .thumbnail-item {
        min-width: 60px;
        height: 60px;
        border-radius: 8px;
    }
}

/* Extra small devices (phones, 375px and down) */
@media (max-width: 375px) {
    .tab-btn span {
        display: none; /* Hide text, show only icons on very small screens */
    }

    .tab-btn i {
        margin-right: 0;
        font-size: 1.1rem;
    }

    .price-wrapper {
        padding: 12px;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .savings-badge {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .feature-item {
        padding: 10px;
    }

    .feature-item span {
        font-size: 0.85rem;
    }
}

/* Make touchscreen zoom better */
@media (hover: none) {
    .main-product-image {
        cursor: default;
    }

    .image-zoom-indicator {
        display: none; /* Hide zoom indicator on touch devices */
    }
}

/* Related Products - Updated Slider Style */
.related-products-section {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.related-products-slider-container {
    position: relative;
    margin: 20px 0;
    padding: 0 40px; /* Space for navigation buttons */
}

.related-products-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 20px;
    padding: 10px 5px;
}

.related-products-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Navigation buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #64748b;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: #ff8c00;
    color: white;
    border-color: #ff8c00;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Product card styles from magaza.css */
.related-products-slider .product-card {
    min-width: 230px;
    max-width: 280px;
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #d1d5db;
    position: relative;
}

.related-products-slider .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #ff8c00;
}

.related-products-slider .product-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.related-products-slider .product-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
}

.related-products-slider .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-products-slider .product-card:hover .product-image {
    transform: scale(1.05);
}

.related-products-slider .product-content {
    padding: 15px;
}

.related-products-slider .product-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
}

.related-products-slider .price-wrapper-modern {
    margin: 10px 0 5px;
    padding: 5px 0;
    border-top: 1px solid #f1f1f1;
}

/* Benzer ürünler fiyatları: küçük + turuncu (ana ürünün kocaman siyah fiyatını ez) */
.related-products-slider .price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.related-products-slider .current-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FF8C00;
    letter-spacing: normal;
}
.related-products-slider .old-price {
    font-size: 0.85rem;
    font-weight: 500;
}

.related-products-slider .bestseller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.related-products-slider .discount-badge-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-products-slider-container {
        padding: 0 30px;
    }

    .related-products-slider .product-card {
        min-width: 200px;
    }

    .related-products-slider .product-image-wrapper {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .related-products-slider-container {
        padding: 0 25px;
    }

    .related-products-slider .product-card {
        min-width: 160px;
    }

    .related-products-slider .product-image-wrapper {
        height: 120px;
    }

    .related-products-slider .product-title {
        font-size: 0.9rem;
        height: 36px;
    }

    .slider-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ── Pazar yeri: satıcı kutusu + marka + ilk yorum (ürün detay) ── */
.pd-satici-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.pd-satici {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px 6px 6px;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.pd-satici:hover {
    background: #fff9f3;
    border-color: #ffd6a8;
    box-shadow: 0 2px 10px rgba(255, 140, 0, .08);
}
.pd-satici img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef0f3;
    padding: 2px;
    flex: 0 0 auto;
}
.pd-satici-ph {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef0f3;
    color: #9aa1ad;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 15px;
}
.pd-satici-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.pd-satici-txt small {
    font-size: 11px;
    color: #9aa1ad;
    font-weight: 500;
}
.pd-satici-txt strong {
    font-size: 14px;
    color: #1f2937;
    font-weight: 700;
}
.pd-satici-ok {
    font-size: 11px;
    color: #c3c8d0;
    margin-left: 2px;
}
.pd-satici:hover .pd-satici-ok {
    color: #ff8c00;
}
/* Marka: başlığın önünde kalın, tıklanınca markaya filtreli mağaza */
.pd-title-marka {
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}
.pd-title-marka:hover {
    color: #ff8c00;
}
.pd-ilk-yorum {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ff8c00;
    text-decoration: none;
}
.pd-ilk-yorum:hover {
    text-decoration: underline;
}
.review-count {
    cursor: pointer;
    text-decoration: none;
    color: #64748b;
}
.review-count:hover {
    color: #ff8c00;
}

/* ── Pazar yeri: değerlendirme özeti, yorum yazma, yorum kartı, soru-cevap ── */
.review-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    padding: 18px 20px;
    background: #fafbfc;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    margin-bottom: 20px;
}
.overall-rating { text-align: center; min-width: 120px; }
.overall-rating .rating-number { font-size: 42px; font-weight: 800; color: #1f2937; line-height: 1; }
.overall-rating .stars-large i { color: #e2e8f0; font-size: 15px; }
.overall-rating .stars-large i.active { color: #fbbf24; }
.overall-rating p { margin: 6px 0 0; font-size: 13px; color: #64748b; }
.rating-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; }
.rb-label { font-size: 12px; color: #64748b; width: 34px; white-space: nowrap; }
.rb-label i { color: #fbbf24; font-size: 10px; }
.rb-track { flex: 1; height: 8px; background: #eef0f3; border-radius: 4px; overflow: hidden; }
.rb-fill { height: 100%; background: #fbbf24; border-radius: 4px; }
.rb-count { font-size: 12px; color: #94a3b8; width: 24px; text-align: right; }

.review-write-box {
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 22px;
    background: #fff;
}
.review-write-box h4 { font-size: 15px; font-weight: 700; color: #1f2937; margin: 0 0 12px; }
.review-write-box h4 i { color: #ff8c00; }
.rw-stars { display: flex; gap: 5px; margin-bottom: 12px; }
.rw-stars i { font-size: 24px; color: #e2e8f0; transition: color .1s; }
.rw-stars i.active { color: #fbbf24; }
.rw-input, .rw-textarea, .qa-input {
    width: 100%; border: 1px solid #e2e6ea; border-radius: 10px;
    padding: 10px 12px; font-size: 14px; margin-bottom: 10px; font-family: inherit; resize: vertical;
}
.rw-input:focus, .rw-textarea:focus, .qa-input:focus { outline: none; border-color: #ffb066; box-shadow: 0 0 0 3px rgba(255,140,0,.08); }
.rw-submit, .qa-submit {
    background: #ff8c00; color: #fff; border: none; border-radius: 10px;
    padding: 10px 22px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s;
}
.rw-submit:hover, .qa-submit:hover { background: #e67e00; }
.rw-submit:disabled, .qa-submit:disabled { opacity: .6; cursor: default; }
.rw-note { font-size: 12px; color: #94a3b8; margin: 10px 0 0; }
.rw-error { display: block; color: #dc2626; font-size: 12.5px; margin: -4px 0 10px; }
.rw-info { padding: 12px 16px; border-radius: 10px; background: #f0fdf4; color: #16a34a; font-size: 13.5px; font-weight: 600; }
.rw-info.rw-muted { background: #f6f7f9; color: #64748b; }
.rw-info a { color: #ff8c00; font-weight: 700; }

.review-item { border-bottom: 1px solid #eef0f3; padding: 16px 0; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.rv-author { display: flex; flex-direction: column; gap: 3px; }
.rv-author strong { font-size: 14.5px; color: #1f2937; }
.rv-verified { font-size: 11.5px; color: #16a34a; font-weight: 600; }
.rv-verified i { font-size: 11px; }
.review-rating .stars i { color: #e2e8f0; font-size: 13px; }
.review-rating .stars i.active { color: #fbbf24; }
.rv-title { font-weight: 700; color: #1f2937; margin: 8px 0 2px; font-size: 14px; }
.review-item p { color: #4b5563; font-size: 14px; line-height: 1.6; margin: 6px 0; }
.rv-footer { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.rv-date { font-size: 12px; color: #9aa1ad; }
.rv-helpful { background: none; border: 1px solid #e2e6ea; border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: #64748b; cursor: pointer; transition: all .15s; }
.rv-helpful:hover { border-color: #ffb066; color: #ff8c00; }
.rv-seller-reply { margin-top: 10px; background: #fff9f3; border-left: 3px solid #ff8c00; border-radius: 0 8px 8px 0; padding: 10px 14px; }
.rv-seller-reply strong { font-size: 13px; color: #b45309; }
.rv-seller-reply p { font-size: 13.5px; color: #78350f; margin: 4px 0 0; }

.qa-ask-box { border: 1px solid #eef0f3; border-radius: 14px; padding: 18px 20px; margin-bottom: 22px; background: #fff; }
.qa-ask-box h3, .qa-ask-box h4 { font-size: 15px; font-weight: 700; color: #1f2937; margin: 0 0 12px; }
.qa-ask-box h3 i, .qa-ask-box h4 i { color: #ff8c00; }

/* ── Soru & Cevap listesi ──────────────────────────────────────────────
   Soru ile cevap AYNI biçimdeydi; kimin sorduğu kimin cevapladığı
   karışıyordu. Artık müşteri satırı düz, satıcı cevabı girintili + turuncu
   şeritli + etiketli: rol bir bakışta belli. */
.qa-item { border: 1px solid #eef0f3; border-radius: 14px; padding: 16px; margin-bottom: 14px; background: #fff; }
.qa-satir { display: flex; gap: 12px; align-items: flex-start; }
.qa-govde { min-width: 0; flex: 1; }

.qa-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: #eef1f7; color: #5b6472; font-weight: 800; font-size: 14px; }
.qa-avatar-satici { background: linear-gradient(135deg, #ff8c00, #ff5e00); color: #fff; font-size: 13px; }

.qa-ust { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.qa-ust b { font-size: 14px; color: #1f2937; font-weight: 700; }
.qa-onay { color: #0f9d58; font-size: 12px; }
.qa-rol { font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 5px; background: #eef1f7; color: #6b7280; }
.qa-rol-satici { background: #fff2e5; color: #d15b00; }
.qa-tarih { font-size: 12px; color: #9aa1ad; margin-left: auto; }
.qa-metin { margin: 0; font-size: 14px; line-height: 1.65; color: #374151; white-space: pre-line; }

/* Cevap: sorudan görsel olarak ayrılsın */
.qa-cevap { margin-top: 12px; margin-left: 22px; padding: 12px 14px; border-radius: 12px;
    background: #fffaf4; border: 1px solid #ffe6cc; border-left: 3px solid #ff8c00; }
.qa-cevap .qa-metin { color: #4b5563; }

@media (max-width: 575px) {
    .qa-cevap { margin-left: 0; }
    .qa-tarih { margin-left: 0; width: 100%; }
}

/* ── Adetli fiyat + varyant seçici (ürün detay) ── */
.tier-box { border: 1px solid #eef0f3; border-radius: 12px; padding: 12px 14px; background: #fbfcfd; }
.tier-title { font-size: 13px; font-weight: 700; color: #b45309; margin-bottom: 8px; }
.tier-title i { color: #ff8c00; }
.tier-rows { display: flex; flex-wrap: wrap; gap: 8px; }
.tier-row { display: flex; flex-direction: column; align-items: center; border: 1px solid #e6e9ee; border-radius: 9px; padding: 7px 14px; background: #fff; min-width: 92px; }
.tier-row span { font-size: 12px; color: #64748b; }
.tier-row strong { font-size: 15px; color: #1f2937; }
.tier-row strong small { font-size: 11px; color: #9aa1ad; font-weight: 500; }
.tier-row.active { border-color: #ff8c00; box-shadow: 0 0 0 2px rgba(255,140,0,.12); }
.tier-row.active strong { color: #ff8c00; }
/* Kademe kartlari tiklanabilir: adet kutusuna o kademenin alt sinirini yazar */
.tier-row { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tier-row:hover { border-color: #ff8c00; box-shadow: 0 2px 8px rgba(255,140,0,.15); transform: translateY(-1px); }
.tier-row:focus-visible { outline: 2px solid #ff8c00; outline-offset: 2px; }

.variant-box { }
.variant-label { font-size: 14px; color: #374151; margin-bottom: 8px; }
.variant-label strong { color: #1f2937; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip {
    border: 1.5px solid #e2e6ea; background: #fff; border-radius: 10px;
    padding: 9px 16px; font-size: 14px; font-weight: 600; color: #374151; cursor: pointer; transition: all .15s;
}
.variant-chip:hover { border-color: #ffb066; }
.variant-chip.selected { border-color: #ff8c00; background: #fff7ef; color: #b45309; box-shadow: 0 0 0 2px rgba(255,140,0,.12); }
.variant-chip.disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.variant-chip small { font-weight: 500; color: #9aa1ad; margin-left: 3px; }

/* ───────── Parça 2: AI SEO gösterimi (Ürün Hakkında / Etiketler / SSS) ───────── */
.pd-hakkinda { background:#f8fafc; border:1px solid #eef0f3; border-left:3px solid #ff8c00; border-radius:10px; padding:16px 18px; margin-bottom:22px; }
.pd-hakkinda h3 { font-size:1.05rem; margin:0 0 8px; color:#1f2733; display:flex; align-items:center; gap:8px; }
.pd-hakkinda h3 i { color:#ff8c00; }
.pd-hakkinda p { margin:0; color:#48505c; line-height:1.7; }
.pd-etiketler { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:22px; padding-top:16px; border-top:1px solid #eef0f3; }
.pd-etiket-label { color:#6b7280; font-weight:600; font-size:.9rem; display:inline-flex; align-items:center; gap:6px; }
.pd-etiket-label i { color:#ff8c00; }
.pd-etiket { background:#fff7ef; color:#b45309; border:1px solid #ffe4c7; border-radius:999px; padding:4px 12px; font-size:.85rem; }
.pd-faq-section { }
.pd-faq-section h3 { font-size:1.25rem; margin:0 0 16px; color:#1f2733; display:flex; align-items:center; gap:10px; }
.pd-faq-section h3 i { color:#ff8c00; }
.pd-faq-list { display:flex; flex-direction:column; gap:10px; }
.pd-faq-item { border:1px solid #eef0f3; border-radius:10px; background:#fff; padding:0; overflow:hidden; }
.pd-faq-q { cursor:pointer; list-style:none; padding:14px 18px; font-weight:600; color:#1f2733; display:flex; justify-content:space-between; align-items:center; }
.pd-faq-q::-webkit-details-marker { display:none; }
.pd-faq-q::after { content:'\002B'; color:#ff8c00; font-size:1.2rem; line-height:1; margin-left:12px; }
.pd-faq-item[open] .pd-faq-q::after { content:'\2212'; }
.pd-faq-a { padding:0 18px 16px; color:#48505c; line-height:1.7; }

/* Ürün detay görünür breadcrumb (BATCH 2) — düz nav/ol, microdata yok. */
.pd-breadcrumb-nav { font-size: .85rem; }
.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    align-items: center;
}
.pd-breadcrumb li { display: inline-flex; align-items: center; color: #94a3b8; }
.pd-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: #cbd5e1;
}
.pd-breadcrumb a { color: #FF6A00; text-decoration: none; }
.pd-breadcrumb a:hover { text-decoration: underline; }
.pd-breadcrumb li.active { color: #475569; font-weight: 500; }

/* ── Birim fiyat + Toplam özeti (adet × birim; canlı) ─────────────────────── */
.fiyat-ozet {
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: .5rem .95rem;
    background: #fafbfc;
}
.fiyat-ozet .fo-satir {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem 0;
}
.fiyat-ozet .fo-etiket { color: #6b7280; font-size: .9rem; }
.fiyat-ozet .fo-etiket .fo-adet { color: #9aa1ab; font-weight: 400; font-size: .82em; }
.fiyat-ozet .fo-deger { font-variant-numeric: tabular-nums; }
/* adet=1 → birim vurgulu, toplam sönük (birim=toplam, tekrar hissi verme) */
.fiyat-ozet.tekli .fo-birim .fo-deger { font-size: 1.05rem; font-weight: 600; color: #1f2937; }
.fiyat-ozet.tekli .fo-toplam { opacity: .55; }
.fiyat-ozet.tekli .fo-toplam .fo-deger { font-size: .95rem; font-weight: 500; color: #6b7280; }
/* adet>1 → toplam vurgulu (asıl ödenecek), birim ikincil */
.fiyat-ozet.coklu .fo-birim { opacity: .8; }
.fiyat-ozet.coklu .fo-birim .fo-deger { font-size: .95rem; font-weight: 500; color: #4b5563; }
.fiyat-ozet.coklu .fo-toplam { border-top: 1px dashed #e5e7eb; margin-top: .1rem; padding-top: .5rem; }
.fiyat-ozet.coklu .fo-toplam .fo-etiket { color: #1f2937; font-weight: 600; }
.fiyat-ozet.coklu .fo-toplam .fo-deger { font-size: 1.35rem; font-weight: 700; color: #FF6A00; }

/* ===================================================================
   MOBİL BOŞLUK STANDARDI (mağaza baz alındı)
   Sayfa Bootstrap py-5 / row g-5 / mt-5 kullanıyor → mobilde her yerde
   48px. Kart arası boşluk --yg-kart-gap, yan boşluk --yg-sayfa-px
   token'larına çekiliyor. Masaüstü ferahlığı AYNEN korunuyor.
   =================================================================== */
@media (max-width: 767.98px) {
    /* Navbar ile ilk kart arası: 48px üst padding → 14px */
    .product-detail-container > .container.py-5 {
        padding-top: 14px !important;
        padding-bottom: 20px !important;
        padding-left: var(--yg-sayfa-px, 12px);
        padding-right: var(--yg-sayfa-px, 12px);
    }

    /* Breadcrumb mb-4 (24px) → 10px */
    .product-detail-container .pd-breadcrumb-nav {
        margin-bottom: 10px !important;
    }

    /* row g-5: sütunlar dikey dizilince ikinci sütun 48px üst padding alıyordu */
    .product-detail-container .row.g-5 {
        --bs-gutter-y: var(--yg-kart-gap, 20px);
        --bs-gutter-x: var(--yg-kart-gap, 20px);
    }

    /* Ana görsel ↔ küçük görsel şeridi */
    .main-image-container {
        margin-bottom: var(--yg-kart-gap, 20px);
    }
    .thumbnail-gallery {
        padding: 0;
        gap: 8px;
    }

    /* Alt bölümlerin mt-5'i (48px) → tek standart kart boşluğu */
    .product-detail-container .product-tabs-section.mt-5,
    .product-detail-container .pd-faq-section.mt-5,
    .product-detail-container .related-products-section.mt-5 {
        margin-top: var(--yg-kart-gap, 20px) !important;
    }
    /* padding-top 0 idi → "Öne Çıkan Ürünler" başlığı kartın üst kenarına
       sıfır oturuyordu. Yan boşlukla aynı 16px verilir. */
    .product-detail-container .related-products-section {
        padding-top: 16px;
        margin-bottom: var(--yg-kart-gap, 20px);
    }
}

/* Küçük görsel şeridi yoksa (tek görselli ürün) ana görselin alt boşluğu gereksiz */
.product-gallery > .main-image-container:last-child { margin-bottom: 0; }

/* Sütun boşluğu (row gutter) zaten kart aralığını veriyor; ek üst margin çift boşluk yapıyordu */
@media (max-width: 767.98px) {
    .product-detail-container .product-info-wrapper { margin-top: 0; }
}

/* ===================================================================
   MOBİL: YATAY KAYMA (sağa-sola kaydırma) GİDERİLDİ
   "Benzer Ürünler" bölümü overflow-x:auto bir slider'dı; 393px ekranda
   içine tek kart sığıyor + ok butonları için 25-40px yan padding
   ayrılıyordu. O bant üzerinde yatay kaydırma sayfayı kaydırıyor gibi
   hissettiriyordu. Mobilde mağaza ile aynı 2 kolonlu ızgaraya çevrildi.
   =================================================================== */
@media (max-width: 767.98px) {
    .related-products-slider-container {
        padding: 0 !important;
        margin: var(--yg-kart-gap, 20px) 0 0;
    }

    .related-products-slider {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--yg-kart-gap, 20px);
        overflow-x: visible;
        padding: 0;
    }

    .related-products-slider .product-card {
        min-width: 0;
        max-width: none;
        width: auto;
    }

    /* Izgarada ok butonlarının işlevi yok */
    .slider-nav-btn {
        display: none !important;
    }

    /* Güvenlik ağı: uzun açıklama/tablo/görsel sayfayı yatayda taşıramaz */
    .product-detail-container {
        overflow-x: clip;
    }
    .product-detail-container .tab-pane img,
    .product-detail-container .tab-pane table,
    .product-detail-container .tab-pane iframe,
    .product-detail-container .tab-pane pre {
        max-width: 100%;
    }
    .product-detail-container .tab-pane {
        overflow-wrap: break-word;
    }
}

/* Mobilde kart iç boşluğu diğer kartlarla aynı (32px çok yer yiyordu) */
@media (max-width: 767.98px) {
    .related-products-section { padding: 16px; }
}

/* ── BREADCRUMB: HER ZAMAN TEK SATIR ────────────────────────────────────────
   flex-wrap: wrap yüzünden uzun kategori/ürün adında ikinci satıra taşıyor,
   sayfanın üstünde değişken bir boşluk bırakıyordu. Artık tek satır: sabit
   kısımlar ("Ana Sayfa / Mağaza") daralmaz, kategori ve ürün adı ekrana göre
   kısalır (…). Yazı boyutu da ekran genişliğiyle ölçeklenir. */
.pd-breadcrumb-nav {
    font-size: clamp(.72rem, 2.9vw, .85rem);
    min-width: 0;
}

.pd-breadcrumb {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: hidden;
}

/* Sabit halkalar kısalmaz */
.pd-breadcrumb li {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 0;
}

/* Kategori halkası: KISALMAZ (kısa zaten), yalnız aşırı uzunsa %40'ta kırpılır.
   Böylece daralma yükünü ürün adı taşır — "Somunlar" → "Som…" olmaz.
   Ayırıcı "/" görünür kalsın diye kırpma iç <a>'da yapılır. */
.pd-breadcrumb li:nth-last-child(2) {
    flex: 0 0 auto;
    max-width: 40%;
    overflow: hidden;
}
.pd-breadcrumb li:nth-last-child(2) > a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Son halka (ürün adı): kalan alanı alır ve taşarsa … ile kısalır */
.pd-breadcrumb li.active {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
