:root {
    --kv-primary: #0f172a;
    --kv-secondary: #3b82f6;
    --kv-accent: #22c55e;
    --kv-bg: #f8fafc;
    --kv-card-bg: #ffffff;
    --kv-text: #334155;
    --kv-heading: #0f172a;
    --kv-border: #e2e8f0;
    --kv-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --kv-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --kv-radius: 16px;
    --kv-font: 'Poppins', system-ui, -apple-system, sans-serif;
}

body.single-klima,
.klima-vitrini-wrapper {
    font-family: var(--kv-font);
    background-color: transparent;
    color: var(--kv-text);
    font-weight: 400;
}

/* Wrapper */
.klima-vitrini-wrapper {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 15px;
}

.klima-vitrini-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--kv-heading);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

/* Filters */
.klima-vitrini-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.klima-filter-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--kv-border);
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--kv-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--kv-font);
    min-width: 90px;
    flex: 1 1 0;
    max-width: 140px;
}

.klima-filter-btn.has-image {
    padding: 10px 16px;
}

.klima-brand-icon {
    width: auto;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border: none;
}

.klima-filter-btn:hover {
    border-color: var(--kv-text);
    color: var(--kv-heading);
}

.klima-filter-btn.mixitup-control-active {
    background: var(--kv-primary);
    border-color: var(--kv-primary);
    color: #fff;
}

/* Grid */
.klima-vitrini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Card */
.klima-vitrini-card {
    background: var(--kv-card-bg);
    border-radius: var(--kv-radius);
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: var(--kv-shadow);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.klima-vitrini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--kv-radius);
}

.klima-vitrini-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--kv-shadow-hover);
}

.klima-vitrini-card-img-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(241, 245, 249, 1) 0%, rgba(255, 255, 255, 0) 70%);
}

.klima-vitrini-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
}

.klima-vitrini-card:hover .klima-vitrini-card-img {
    transform: scale(1.08);
}

.klima-vitrini-card-content {
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.klima-vitrini-kategori {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--kv-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.klima-vitrini-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--kv-heading);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.klima-vitrini-card-features {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--kv-bg);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--kv-text);
}

.feature-badge svg {
    opacity: 0.6;
}

.klima-vitrini-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--kv-border);
}

.klima-vitrini-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--kv-heading);
}

.klima-vitrini-btn-view {
    background: var(--kv-primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    /* modified to be half rounded/pill-like */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.klima-vitrini-btn-view:hover {
    background: #fa7261;
    color: #fff;
    text-decoration: none;
}

/* SINGLE PAGE WOOCOMMERCE STYLE BUT PREMIER */

.kv-single-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media(max-width: 900px) {
    .kv-single-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.kv-single-gallery {
    background: var(--kv-card-bg);
    border-radius: 24px;
    box-shadow: var(--kv-shadow);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 400px;
}

.kv-single-gallery::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.kv-single-gallery img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
    cursor: crosshair;
}

.kv-single-gallery:hover img {
    transform: scale(1.15) !important;
    animation-play-state: paused;
    filter: drop-shadow(0 35px 35px rgba(0, 0, 0, 0.25));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.kv-single-summary {
    display: flex;
    flex-direction: column;
}

.kv-single-breadcrumbs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.kv-single-breadcrumbs a {
    color: var(--kv-text);
    text-decoration: none;
}

.kv-single-title {
    font-size: 38px;
    font-weight: 700;
    /* updated from 800 to 700 */
    color: var(--kv-heading);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.kv-single-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--kv-primary);
    margin-bottom: 30px;
}

.kv-grid-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

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

.kv-spec-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.kv-spec-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--kv-heading);
}

.kv-single-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--kv-text);
    margin-bottom: 40px;
}

.kv-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--kv-accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
}

.kv-whatsapp-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(34, 197, 94, 0.4);
    color: #fff;
    text-decoration: none;
}

.kv-whatsapp-btn svg {
    fill: currentColor;
}

/* INDIRIM (DISCOUNT) PRICING STYLES */
.klima-vitrini-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.klima-vitrini-card-price-old {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: -2px;
}

.klima-vitrini-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    /* Kırmızı renk indirim dikkat çeker */
}

.kv-single-price-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.kv-single-price-old {
    font-size: 22px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
}

.kv-single-price {
    font-size: 32px;
    font-weight: 700;
    color: #ef4444;
}

/* INDIRIMLI KLIMALAR WRAPPER */
.indirimli-klimalar-wrapper .klima-vitrini-card {
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- MARKA BÖLÜMÜ GENEL STİLLERİ --- */
.kv-brand-section {
    font-family: 'Poppins', sans-serif;
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.kv-brand-badge {
    background-color: #f0f7ff;
    color: #1b2331;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.kv-brand-section h2 {
    font-size: 42px;
    color: #1b2331;
    font-weight: 700;
    margin-bottom: 10px;
}

.kv-brand-section h2 span {
    color: #fd7061;
}

.kv-brand-section p {
    color: #666;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* --- LOGO SLIDER (MAKSİMUM YAKINLIK VE TIKLANABİLİR) --- */
.kv-logo-slider {
    display: flex;
    width: 100%;
    position: relative;
    padding: 10px 0;
    background: #fff;
    overflow: hidden;
}

.kv-logo-track {
    display: flex;
    width: max-content;
    animation: kvScrollLogos 15s linear infinite;
    align-items: center;
}

.kv-logo-track:hover {
    animation-play-state: paused;
}

.kv-logo-item {
    width: 260px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

/* Linklerin görseli bozmaması için ayar */
.kv-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.kv-logo-item img {
    width: 180px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(1);
    padding: 0 10px;
}

.kv-logo-item img:hover {
    transform: scale(1.1);
}

/* --- ANİMASYON --- */
@keyframes kvScrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-260px * 7));
        /* Changed to 7 items */
    }
}

/* Mobil Ayarlar */
@media (max-width: 768px) {
    .kv-brand-section {
        padding: 20px 5px 75px 5px;
    }

    .kv-brand-section h2 {
        font-size: 26px;
    }

    .kv-logo-item {
        width: 180px;
        height: 120px;
    }

    .kv-logo-item img {
        width: 170px;
        transform: scale(1);
    }

    @keyframes kvScrollLogos {
        100% {
            transform: translateX(calc(-180px * 7));
            /* Changed to 7 items */
        }
    }
}

/* --- LIGHTBOX (POPUP) --- */
.kv-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kv-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.kv-lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kv-lightbox-overlay.active .kv-lightbox-img {
    transform: scale(1);
}

.kv-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    user-select: none;
}

.kv-lightbox-close:hover {
    color: #fd7061;
    transform: scale(1.1);
}