:root {
    /* Ana Marka Renkleri */
    --color-brand-primary: #004CAF;
    --color-brand-dark: #003a87;
    --color-brand-light: #e8f0fb;

    /* Arka Planlar */
    --color-page-bg: #f0f4f9;
    --color-card-bg: #ffffff;
    --color-panel-bg: #f4f7fc;

    /* Kenarlık */
    --color-border: #dce6f5;

    /* Metin */
    --color-text-primary: #1a2a3a;
    --color-text-muted: #7a90a8;
    --color-text-on-brand: #ffffff;

    /*No Result*/
    --brand: #12468F;
    --brand-light: #e8eef7;
    --surface: #FFFFFF;
    --bg: #F6F6F6;
    --text-main: #1a1a2e;
    --text-muted: #7a8a9b;
    --border: rgba(18, 70, 143, 0.12);


    /* Boyutlar */
    --radius-card: 16px;
    --radius-img: 10px;
    --radius-badge: 4px;

    /* Padding */
    --padding: .9rem;
}

#compare_site {
    min-height: calc(100vh - 300px) !important;
    padding: var(--padding);
}

#compareDetail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    align-items: center;
    gap: .5rem;

    .product_box {
        position: relative;

        .de_takip {
            right: 10px;
        }
    }
}

.btn_compare, .btn_compare_remove {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    position: absolute;
    top: 50px;
    right: 15px;
    padding: 0;
    background-color: #f8f8f8;
    border: 1px solid #f8f8f8;
    color: #ffff !important;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.3s;
    cursor: pointer;

    i {
        -webkit-text-fill-color: #fff;
        -webkit-text-stroke: 1px #212529
    }

    &:hover {
        background: #12468F;
        border-color: #12468F;

        i {
            -webkit-text-fill-color: #fff;
        }
    }

}

.product_box .bilgiOrtala {
    top: 95px;
    right: 10px;
}


.original-price {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 0.85em;
}

.discounted-price {
    font-weight: bold;
}


.list-group {
    img {
        max-height: 160px;
        object-fit: contain;
    }
}

/* ────────────────────────────────
   KART
──────────────────────────────── */
.card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--color-card-bg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}

/* ────────────────────────────────
   ÜST BÖLÜM — Resim + İsim + Fiyat
──────────────────────────────── */
.product-top {
    padding: 18px 20px 20px;
    background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-dark) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.product-top::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(232, 255, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
}


.product-image-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-img-wrap {
    width: 110px;
    height: 90px;
    flex-shrink: 0;
    position: relative;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-panel-bg);
    border-radius: var(--radius-img);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.4;
    white-space: pre-line;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-img-placeholder.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-on-brand);
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.product-price {
    font-size: 22px;
    letter-spacing: 0.03em;
    color: var(--color-text-on-brand);
    line-height: 1;
    transition: opacity 0.3s ease;
}

.product-price .suffix {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 4px;
    letter-spacing: 0;
}

.text-fade {
    opacity: 0;
}

/* ────────────────────────────────
   ALT BÖLÜM — Sol sabit + Sağ Swiper
──────────────────────────────── */
.product-bottom {
    display: flex;
    height: 280px;
}

.left-labels {
    width: 42%;
    flex-shrink: 0;
    background: var(--color-panel-bg);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.left-labels::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-accent-cyan), transparent);
    opacity: 0.4;
}

.label-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--color-border);
}

.label-item:last-child {
    border-bottom: none;
}

.right-swiper-wrap {
    flex: 1;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spec-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 12px;
    min-height: 35.13px;
    font-weight: 500;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    line-height: 1.35;
}

.spec-item:last-child {
    border-bottom: none;
}

.swiper-pagination {
    bottom: 6px !important;
}

.swiper-pagination-bullet {
    background: var(--color-text-muted);
    opacity: 0.5;
    width: 6px;
    height: 6px;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent-yellow);
    opacity: 1;
    width: 18px;
    border-radius: 3px;
}

.slide-counter {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 10;
    font-size: 10px;
    color: var(--color-text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--color-panel-bg);
    padding: 2px 7px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.swipe-hint {
    position: absolute;
    right: 10px;
    bottom: 28px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--color-accent-cyan);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.4s;
    animation: nudge 2s ease-in-out infinite;
}

.swipe-hint.hidden {
    opacity: 0 !important;
    animation: none;
}

.swipe-hint svg {
    width: 12px;
    height: 12px;
}

/* ── Animasyonlar ── */
@keyframes nudge {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-4px);
        opacity: 1;
    }
}

.layout-sidebar-large.sidebar-mini.inpage_clear {
    background-color: #f6f6f6 !important;
}

select {
    height: 30px;
}

.col-lg-10.pal0.compare_box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.par0 {
    padding-right: 0 !important;
}

.par5 {
    padding-right: 5px;
}

.new-margin {
    margin: 30px auto;
}

@media (min-width: 1024px) {
    .special-lg-2 {
        flex: 0 0 20.666667%;
        max-width: 20.666667%;
    }

    .special-lg-10 {
        flex: 0 0 78.333333%;
        max-width: 78.333333%;
    }

    .prodct_w20 {
        width: 25%;
    }

    .ortak-area {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.list_view_selected {
    color: #ff3c20 !important;
}

.applied-filter-container {
    padding: 0 20px 10px;
    line-height: 1;
    border: 1px solid #ccc;
    background-color: #fff;
}

.applied-filter-container ul li {
    border-radius: 16px;
    -moz-border-radius: 16px;
    -o-border-radius: 16px;
    -webkit-border-radius: 16px;
    -ms-webkit-radius: 16px;
    zoom: 1;
    display: inline-block;
    margin-right: 10px;
    padding: 4px;
    background-color: #eee;
    margin-top: 10px;
    margin-right: 10px;
    float: left;
}

.applied-filter-container ul li a {
    border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
    -webkit-border-radius: 100%;
    -ms-webkit-radius: 100%;
    zoom: 1;
    width: 24px;
    height: 24px;
    background-color: #fff;
    text-align: center;
    position: relative;
    float: left;
    display: inline-block;
    margin-right: 5px;
    margin-top: 0;
    transition: 1s;
}

.applied-filter-container ul li a:before {
    display: inline-block;
    color: #484848;
    font-size: 8px;
    position: absolute;
    left: 8px;
    top: 8px;
    zoom: 1;
    transition: 1s;
}

.applied-filter-container ul li .filter-content {
    display: inline-block;
    width: auto;
    font-family: Helvetica, Roboto, Arial, sans-serif;
    float: left;
}

.filter-content {
    min-height: 1px;
}

.applied-filter-container ul li .filter-content span.brand {
    font-size: 11px;
    color: #999;
}

.applied-filter-container ul li .filter-content span {
    font-size: 12px;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: auto;
    color: #484848;
    line-height: 1;
    margin-right: 20px;
}

.applied-filter-container ul li.removeAllFilters {
    background-color: transparent;
    height: 33px;
}

.applied-filter-container ul li {
    border-radius: 16px;
    -moz-border-radius: 16px;
    -o-border-radius: 16px;
    -webkit-border-radius: 16px;
    -ms-webkit-radius: 16px;
    zoom: 1;
    display: inline-block;
    margin-right: 10px;
    padding: 4px;
    background-color: #eee;
    margin-top: 10px;
    margin-right: 10px;
    float: left;
}

.applied-filter-container ul li.removeAllFilters button {
    background-color: transparent;
    color: #ff6000;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.applied-filter-container ul::after {
    clear: both;
    content: "";
    display: table;
}

.applied-filter-container ul li a:before {
    content: "\f00d";
    font-family: 'FontAwesome';
}

.applied-filter-container ul li a:hover {
    background-color: #919191;
    transition: 1s;
}

.applied-filter-container ul li a:hover:before {
    transition: 1s;
    color: white;
}

td.feature_name {
    width: 275px;
}

td.feature_value {
    width: 267px;
}

div.compare-search-wrapper {
    width: 100%;
    display: table;
    background: #E3E6EA;
    border-radius: 6px;
    padding: 20px 10px;
}

.ozellik_baslik {
    background: #e9ecef;
}

.special-bg-row {
    /*background-color: #eee;*/
    background-color: #F4F5F7;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-icon {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%       { opacity: 0.8; transform: scale(1.04); }
}

/* TABS */
.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.tab {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    border: 0.5px solid transparent;
    color: var(--text-muted);
    transition: all 0.15s;
}

.tab.active {
    background: var(--brand);
    color: #fff;
}

.tab:not(.active):hover {
    background: var(--brand-light);
    color: var(--brand);
}

/* NO RESULT PANEL */
.no-result {
    background: var(--surface);
    border-radius: 16px;
    border: 1px dashed rgba(18, 70, 143, 0.22);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeUp 0.5s ease both;
    position: relative;
    overflow: hidden;




    /* İKON */

    .icon-wrap {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        background: var(--brand-light);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        animation: pulse-icon 2.5s ease-in-out infinite;

        svg {
            width: 26px;
            height: 26px;
            fill: none;
            stroke: var(--brand);
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        h3 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin: 0 0 6px;
        }
        p {
            font-size: 13px;
            color: var(--text-muted);
            margin: 0 0 1.25rem;
            line-height: 1.6;
            max-width: 280px;
        }
    }


    &::before {
        content: '';
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(18,70,143,0.06) 0%, transparent 70%);
        pointer-events: none;
    }
}



/*Media Queries*/
@media (max-width: 768px) {
    .ortak-area {
        display: flex;
        flex-direction: column;
        align-content: stretch;
        flex-wrap: wrap;
    }

    .product_box.urun-kutusu {
        padding: 10px !important;
    }
}

@media (max-width: 1025px) {
    .card-wrapper {
        max-width: 100%;
    }
}

