/* ==============================================
   RENK PALETİ - Tüm sitede kullanılan ana renkler
   ============================================== */
:root {
    --primary-color: #f47a12;
    --primary-hover: #d66a0f;
    --border-color: #e2e2e2;
    --bg-light: #f8f8f8;
    --bg-lighter: #f5f5f5;
    --text-dark: #000000;
    --text-gray: #686868;
    --text-light: #959595;
    --star-color: #ffcc00;
    --shadow: 0 0 8px 0 rgba(0, 0, 0, 0.24);
}

/* ==============================================
   GENEL MODÜL AYARLARI
   ============================================== */
.p-g-mod {
    background: transparent;
}

.p-g-mod-showcase .p-g-mod-body {
    padding: 0;
}

.p-g-mod-base-content {
    border: none;
}

/* ==============================================
   BANNER VE GÖRSELLER
   ============================================== */
.custom-module-code-16415 .banner-item .img-auto,
.related-products a img {
    border-radius: 10px;
}

.related-products a img {
    border: 1px solid var(--border-color);
}

.related-products a.active img {
    border-radius: 10px;
}

/* ==============================================
   ÜRÜN FİYAT BLOKLARI
   ============================================== */
.pd-price-block .col-lg-6 {
    border-right: 1px solid var(--border-color);
}

.pd-price-block .col-lg-6:last-child {
    border: none;
}

.product-price-group {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

/* ==============================================
   ÜRÜN DETAY VE PROFİL BİLGİLERİ
   ============================================== */
.product-profile-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.product-profile-info li {
    margin: 0;
}

.product-profile-info li .brand-value {
    color: var(--primary-color);
}

/* Favori Butonu */
.product-favourite {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.product-favourite i {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-favourite i:hover {
    background: var(--primary-color);
    color: white;
}

/* Ürün Değerlendirme */
.product-rate .icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==============================================
   YILDIZ DEĞERLENDİRMELERİ
   ============================================== */
.product-comment-stars .star:hover i,
.product-comment-stars .star.active i,
.product-comment-list-v2 .comments .item .customer .stars i.fill,
.product-comment-list-v2 .score .stars .star.fill,
.product-reviews .stars .star.fill {
    color: var(--star-color);
}

/* ==============================================
   ÖZELLİKLER VE VARYANTlAR
   ============================================== */
.attiributies .value {
    font-size: 16px;
}

.attiributies .related-products {
    margin-top: 10px;
}

.variant-box ul li .options a.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ==============================================
   ÜRÜN UYARI MESAJI
   ============================================== */
.product-alert {
    border: 3px solid var(--primary-color);
    background-color: #fff4e3;
    border-radius: 10px;
    overflow: hidden;
}

.product-alert .top {
    background: var(--primary-color);
    padding: 15px;
    text-align: center;
    font-size: 20px;
    color: white;
    font-weight: 500;
}

.product-alert .bottom {
    padding: 15px;
}

.product-alert .bottom p,
.product-alert .bottom span {
    font-size: 17px;
    line-height: 1.6;
}

.product-alert .bottom span {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==============================================
   BUTONLAR
   ============================================== */
/* Ana Buton (Turuncu) */
.btn-success {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: white;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    outline: none;
    box-shadow: none;
    transform: translateY(-2px);
}

/* İkincil Buton (Çerçeveli) */
.btn-primary {
    color: white;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: white;
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    outline: none;
    box-shadow: none;
    transform: translateY(-2px);
}

/* SweetAlert Buton */
.swal-button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.swal-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* ==============================================
   SOSYAL MEDYA İKONLARI
   ============================================== */
.social-media i {
    transition: transform 0.3s ease;
}

.social-media i:hover {
    transform: scale(1.1);
}

.social-media i.fab.fa-facebook-f {
    color: #1877f2;
}

.social-media i.fab.fa-twitter {
    color: #1da1f2;
}

.social-media i.fab.fa-instagram {
    color: #e4405f;
}

.social-media i.fab.fa-youtube {
    color: #ff0000;
}

/* ==============================================
   ANA SAYFA HİKAYE BÖLÜMÜ
   ============================================== */
.index-story-section .ban-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.index-story-section .ban-type .img-auto {
    max-width: 200px;
    width: 100%;
}

.index-story-section .ban-type-content {
    justify-content: center;
    padding: 0;
    align-items: center;
}

.index-story-section .ban-type-content .ban-type-title {
    padding: 0;
}

/* ==============================================
   VARSAYILAN BAŞLIK BLOĞU
   ============================================== */
.default-title-block {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.default-title-block .left img {
    width: 50px;
}

.default-title-block h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.default-title-block span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

/* ==============================================
   FİLAMENT ÖĞELERİ
   ============================================== */
.ifilament-item .write {
    background: var(--bg-lighter);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2px;
}

.ifilament-item .write h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ifilament-item .write span {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 300;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    margin-bottom: 15px;
    line-height: 1.5;
}

.ifilament-item .write .btn {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 6px 20px;
    transition: all 0.3s ease;
}

.ifilament-item .write .btn:hover {
    background: var(--primary-color);
    color: white;
}

/* ==============================================
   OWL CAROUSEL KONTROLLERI
   ============================================== */
.ifilament-owl .owl-dots {
    display: none;
}

.ifilament-owl .owl-prev,
.ifilament-owl .owl-next {
    position: absolute;
    top: 45%;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    transition: all 0.3s ease;
}

.ifilament-owl .owl-prev:hover,
.ifilament-owl .owl-next:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.3);
}

.ifilament-owl .owl-nav button.owl-prev {
    left: -18px;
    padding: 0 2px 0 0;
}

.ifilament-owl .owl-nav button.owl-next {
    right: -18px;
    padding: 0 0 0 2px;
}

.ifilament-owl .owl-prev span,
.ifilament-owl .owl-next span {
    display: none;
}

.ifilament-owl .owl-prev::before,
.ifilament-owl .owl-next::before {
    content: "";
    width: 20px;
    height: 20px;
}

.ifilament-owl .owl-prev::before {
    background: url('icons/owl-left.svg') center no-repeat;
    background-size: cover;
}

.ifilament-owl .owl-next::before {
    background: url('icons/owl-right.svg') center no-repeat;
    background-size: cover;
}

/* ==============================================
   SEO METİN BÖLÜMÜ
   ============================================== */
.index-seotext {
    height: 150px;
    overflow: auto;
}

.index-seotext h1 { font-size: 1.5rem; }
.index-seotext h2 { font-size: 1.2rem; }
.index-seotext h3 { font-size: 1rem; }
.index-seotext h4 { font-size: 0.9rem; }
.index-seotext h5 { font-size: 0.8rem; }
.index-seotext h6 { font-size: 0.7rem; }

/* ==============================================
   KATEGORİ BANNER
   ============================================== */
.age-space-block {
    margin-bottom: 20px;
}

.category-banner-section {
    margin-top: -19px;
}

.category-banner-section .col-list {
    padding: 0;
}

.category-banner-section .col-list .col-list-p-v-1 {
    padding: 0;
}

.category-banner-mobil {
    display: none;
}

/* ==============================================
   KARGO BİLGİSİ
   ============================================== */
.cargo-count {
    display: flex;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    width: fit-content;
    background: var(--text-dark);
    color: white;
    gap: 8px;
    border-radius: 8px;
    align-items: center;
}

/* ==============================================
   TABLET EKRANLAR (768px - 991px)
   ============================================== */
@media (max-width: 991px) and (min-width: 768px) {
    .default-title-block h4 {
        font-size: 17px;
    }
    
    .ifilament-item .write h4 {
        font-size: 19px;
    }
    
    .product-alert .top {
        font-size: 18px;
    }
}

/* ==============================================
   KÜÇÜK MASAÜSTÜ (1440px)
   ============================================== */
@media (max-width: 1440px) {
    .ifilament-item .write .btn {
        font-size: 11px;
        padding: 5px 15px;
    }
    
    .ifilament-item .write span {
        font-size: 13px;
        margin-bottom: 13px;
    }
    
    .ifilament-item .write h4 {
        font-size: 18px;
        margin-bottom: 9px;
    }
    
    .index-story-section .ban-type .ban-type-title {
        font-size: 14px;
    }
    
    .index-story-section .ban-type .img-auto {
        max-width: 175px;
    }
}

/* ==============================================
   MOBİL EKRANLAR (991px ve altı)
   ============================================== */
@media (max-width: 991px) {
    /* Kargo Bilgisi */
    .cargo-count {
        margin-bottom: 10px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .cargo-count img {
        width: 20px;
    }
    
    /* Kategori Banner */
    .category-banner-section {
        margin-top: -20px;
    }
    
    .category-banner-section .col-list {
        padding: 0 10px;
    }
    
    .category-banner-desktop {
        display: none;
    }
    
    .category-banner-mobil {
        display: block;
    }
    
    /* Ürün Bilgileri */
    .product-profile-info {
        font-size: 13px;
    }
    
    .pd-price-block .col-lg-6 {
        border-right: none;
    }
    
    /* Carousel Kontrolları */
    .ifilament-owl .owl-prev::before,
    .ifilament-owl .owl-next::before {
        width: 16px;
        height: 16px;
    }
    
    .ifilament-owl .owl-nav button.owl-prev {
        left: 0;
    }
    
    .ifilament-owl .owl-nav button.owl-next {
        right: 0;
    }
    
    .ifilament-owl .owl-prev,
    .ifilament-owl .owl-next {
        width: 35px;
        height: 35px;
    }
    
    /* Genel Boşluklar */
    .age-space-block {
        margin-bottom: 10px;
    }
    
    /* Hikaye Bölümü */
    .index-story-section .ban-type .img-auto {
        max-width: 100%;
    }
    
    .custom-module-code-17143 .ban-type .ban-type-title {
        text-align: center;
    }
    
    /* Ürün Görselleri */
    .product-profile-1 .carousel .carousel-indicators {
        height: 66px;
        overflow: auto;
    }
    
    /* Değerlendirme İkonları */
    .product-rate .icon {
        width: 40px;
        height: 40px;
    }
    
    .product-rate .icon img {
        width: 22px;
        height: 22px;
    }
    
    /* Widget Konumları */
    .product-body .qk-app-dropdown-products,
    .product-body .qk-app-campaign-bell {
        bottom: 93px;
    }
    
    .product-body .addons-whatsapp-widget {
        margin-bottom: 84px;
    }
    
    /* Uyarı Mesajları */
    .product-alert .top {
        font-size: 17px;
        padding: 12px;
    }
    
    .product-alert .bottom p,
    .product-alert .bottom span {
        font-size: 14px;
    }
  /* ==============================================
   ÜCRETSİZ KARGO PROGRESS BAR
   ============================================== */
.kargo-progress-kutu {
    background: var(--bg-light);
    border: 1.5px dashed var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.kargo-progress-tamamlandi {
    background: #f0faf4;
    border: 1.5px solid #34c471;
}

.kargo-progress-ust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.kargo-progress-icon {
    font-size: 18px;
    line-height: 1;
}

.kargo-progress-mesaj {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.kargo-progress-mesaj strong {
    color: var(--text-dark);
}

.kargo-progress-tamamlandi .kargo-progress-mesaj strong {
    color: #1a9e52;
}

.kargo-progress-bar-bg {
    background: var(--border-color);
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 6px;
}

.kargo-progress-bar-dolu {
    height: 100%;
    border-radius: 99px;
    background: var(--primary-color);
    transition: width 0.6s ease;
    min-width: 4px;
}

.kargo-progress-tamamlandi .kargo-progress-bar-dolu {
    background: #34c471;
}

.kargo-progress-alt {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-light);
}
/* ==============================================
   KARGO PROGRESS BAR - MASAÜSTÜ DÜZELTMESİ
   ============================================== */
@media (min-width: 992px) {
    .kargo-progress-kutu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .kargo-progress-mesaj {
        font-size: 12px;
    }

    .kargo-progress-alt {
        font-size: 10px;
    }
/* ==============================================
   VARYANT RENK KUTUSU - KAYDIRILABİLİR ALAN
   ============================================== */
.product-profile-1 .variant-box ul li.variant .options {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.product-profile-1 .variant-box ul li.variant .options::-webkit-scrollbar {
    width: 4px;
}

.product-profile-1 .variant-box ul li.variant .options::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 99px;
}

.product-profile-1 .variant-box ul li.variant .options::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 99px;
}

.product-profile-1 .variant-box ul li.variant .options::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

@media (max-width: 991px) {
    .product-profile-1 .variant-box ul li.variant .options {
        max-height: 260px;
    }
    /* ==============================================
   SEPET BİRİM FİYAT
   ============================================== */
.sepet-birim-fiyat {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 4px;
}

.sepet-birim-eski {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 4px;
}

.sepet-birim-guncel {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==============================================
   MÜŞTERİ DENEYİMİ (UX) VE MOBİL GÜNCELLEMELERİ
   ============================================== */

/* Modern Havale / EFT indirim alanı kartı */
.product-profile-1 .product-transfer-discount {
    display: inline-flex;
    align-items: center;
    background: #fff8f2 !important; /* Soft orange tint matching brand color */
    border: 1px dashed #ffd8be !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: var(--text-gray) !important;
    margin: 8px 0 !important;
    transition: all 0.2s ease !important;
    width: fit-content !important;
}
.product-profile-1 .product-transfer-discount:hover {
    background: #ffeede !important;
    border-color: var(--primary-color) !important;
}
.product-profile-1 .product-transfer-discount strong.sale-eft-price {
    color: var(--primary-color) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
}

/* Varyant Seçeneklerinin Çip (Chip) Tasarımına Dönüştürülmesi */
.variant-box .options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 8px !important;
}
.variant-box .options a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 20px !important; /* Pill style */
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-gray) !important;
    background: #fff !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}
.variant-box .options a:hover:not(.sold-out) {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: #fff8f2 !important;
}
.variant-box .options a.active {
    border-color: var(--primary-color) !important;
    color: #fff !important;
    background: var(--primary-color) !important; /* Brand orange filled */
    box-shadow: 0 2px 8px rgba(244, 122, 18, 0.25) !important;
}
.variant-box .options a img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important; /* Circle avatar style for thumbnails */
    margin-right: 6px !important;
    object-fit: cover !important;
    border: 1px solid #e5e7eb !important;
}
.variant-box .options a.sold-out {
    background: var(--bg-light) !important;
    border-color: #e5e7eb !important;
    color: var(--text-light) !important;
    opacity: 0.6 !important;
    text-decoration: line-through !important;
}

/* Adet Seçici (Quantity Selector) Modernizasyonu */
.product-quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 24px !important;
    padding: 2px !important;
    background: #fff !important;
    height: 48px !important;
    box-sizing: border-box !important;
}
.product-quantity .btn-minus,
.product-quantity .btn-plus {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-gray) !important;
    border-radius: 50% !important;
    transition: background 0.2s !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
}
.product-quantity .btn-minus:hover,
.product-quantity .btn-plus:hover {
    background: #f3f4f6 !important;
    color: var(--text-dark) !important;
}
.product-quantity input[name="quantity"] {
    width: 40px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
    padding: 0 !important;
}

/* Satın Alma Butonları (Pill Tasarımı & Gölgeler) */
.product-buttons .btn-cart {
    height: 48px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 24px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.product-buttons .btn-cart:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(244, 122, 18, 0.25) !important;
}
.product-buttons .btn-fast-buy {
    height: 48px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 24px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    background-color: var(--text-dark) !important;
    color: #fff !important;
}
.product-buttons .btn-fast-buy:hover {
    background-color: #222 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}