/* ==============================================
   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;
}

.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;
}

.product-profile-info li {
    margin: 0;
}

.product-profile-info li .brand-value {
    color: var(--main-color);
}


.etiketler {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.etiketler:empty {
    display: none;
}

.etiketler .product-label img {
    max-width: 80px;
}

/* Favori Butonu */
.product-favourite {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.product-favourite i {
    border: 1px solid var(--main-color);
    color: var(--main-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(--main-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(--main-color);
    color: var(--main-color);
}

/* ==============================================
   ÜRÜN UYARI MESAJI
   ============================================== */
.product-alert {
    border: 3px solid var(--main-color);
    background-color: #fff4e3;
    border-radius: 10px;
    overflow: hidden;
}

.product-alert .top {
    background: var(--main-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(--main-color);
    font-weight: 700;
}

/* ==============================================
   BUTONLAR
   ============================================== */
/* Ana Buton (Turuncu) */
.btn-success {
    color: white;
    background-color: var(--main-color);
    border-color: var(--main-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(--main-hover);
    border-color: var(--main-hover);
    outline: none;
    box-shadow: none;
    transform: translateY(-2px);
}

/* İkincil Buton (Çerçeveli) */
.btn-primary {
    color: white;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    outline: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: white;
    background: var(--main-hover);
    border-color: var(--main-hover);
    outline: none;
    box-shadow: none;
    transform: translateY(-2px);
}

/* SweetAlert Buton */
.swal-button {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.swal-button:hover {
    background-color: var(--main-hover);
    border-color: var(--main-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(--main-color);
    font-size: 12px;
    font-weight: 500;
    border: 2px solid var(--main-color);
    border-radius: 10px;
    padding: 6px 20px;
    transition: all 0.3s ease;
}

.ifilament-item .write .btn:hover {
    background: var(--main-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: 350PX;
    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) and (min-width: 768px) {
    .product-profile-info {
        font-size: 13px;
    }
}

/* 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(--main-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(--main-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);
        }
    }
}