
/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: PANOU FLOTANT COMPACT
   ====================================================================== */

.compare-panel {
    position: fixed;
    z-index: 10000;

    top: 50%;
    right: 0;

    width: 310px;
    max-height: calc(100vh - 70px);

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #e8eef4 0%,
            #f2f5f8 45%,
            #fafbfc 100%
        );

    border: 1px solid rgba(72, 91, 108, .16);
    border-right: 0;

    border-radius: 16px 0 0 16px;

    box-shadow:
        -18px 22px 50px rgba(20, 32, 44, .27),
        -6px 7px 18px rgba(20, 32, 44, .14);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(105%, -50%)
        scale(.97);

    transition:
        transform .38s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease,
        visibility .25s ease;
}


.compare-panel.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translate(0, -50%)
        scale(1);
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: ANTET COMPACT
   ====================================================================== */

.compare-panel-header {
    min-height: 55px;

    padding:
        10px
        11px
        9px
        15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-bottom: 1px solid rgba(70, 88, 104, .13);

    background: rgba(255, 255, 255, .24);

    border-radius: 16px 0 0 0;
}


.compare-panel-title {
    min-width: 0;
}


.compare-panel-title strong {
    display: block;

    color: #1e252b;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .35px;
}


.compare-panel-title span {
    display: block;

    margin-top: 2px;

    color: #77838d;

    font-size: 9px;
    font-weight: 600;
}


.compare-panel-collapse {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(68, 82, 94, .07);
    border-radius: 50%;

    background: rgba(255, 255, 255, .58);
    color: #46515a;

    cursor: pointer;

    box-shadow:
        0 2px 7px rgba(25, 39, 52, .08);

    transition:
        background .18s ease,
        transform .18s ease;
}


.compare-panel-collapse:hover {
    background: #ffffff;

    transform: translateX(2px);
}


.compare-panel-collapse svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: LISTA PRODUSELOR
   ====================================================================== */

.compare-panel-products {
    min-height: 0;

    padding:
        8px
        9px
        5px;

    overflow-y: auto;

    overscroll-behavior: contain;
}


.compare-panel-products::-webkit-scrollbar {
    width: 5px;
}


.compare-panel-products::-webkit-scrollbar-track {
    background: transparent;
}


.compare-panel-products::-webkit-scrollbar-thumb {
    background: rgba(79, 96, 111, .25);

    border-radius: 10px;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: CARD PRODUS
   ====================================================================== */

.compare-panel-product {
    position: relative;

    min-height: 67px;

    margin-bottom: 7px;

    padding:
        7px
        30px
        7px
        7px;

    display: grid;

    grid-template-columns:
        52px
        minmax(0, 1fr);

    gap: 9px;

    align-items: center;

    background: rgba(255, 255, 255, .76);

    border: 1px solid rgba(71, 89, 104, .11);

    border-radius: 10px;

    box-shadow:
        0 3px 8px rgba(28, 43, 56, .07);

    opacity: 1;

    transform:
        translateX(0)
        scale(1);

    transition:
        opacity .24s ease,
        transform .30s cubic-bezier(.22, 1, .36, 1),
        border-color .18s ease,
        box-shadow .18s ease;
}


.compare-panel-product:last-child {
    margin-bottom: 3px;
}


.compare-panel-product:hover {
    border-color: rgba(54, 79, 101, .19);

    box-shadow:
        0 4px 11px rgba(28, 43, 56, .10);
}


.compare-panel-product.is-entering {
    opacity: 0;

    transform:
        translateX(25px)
        scale(.96);
}


.compare-panel-product.is-removing {
    opacity: 0;

    transform:
        translateX(38px)
        scale(.94);
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: IMAGINE PRODUS
   ====================================================================== */

.compare-panel-product-image {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(76, 91, 104, .10);
    border-radius: 7px;

    background: #ffffff;
}


.compare-panel-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


.compare-panel-product-image-placeholder {
    width: 100%;
    height: 100%;

    padding: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #a0a8ae;

    font-size: 7px;
    line-height: 1.1;
    font-weight: 700;

    text-align: center;
    text-transform: uppercase;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: TITLU PRODUS
   ====================================================================== */

.compare-panel-product-info {
    min-width: 0;
}


.compare-panel-product-title {
    display: -webkit-box;

    overflow: hidden;

    color: #252c32;

    font-size: 11px;
    line-height: 1.1;
    font-weight: 500;

    text-decoration: none;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    transition: color .18s ease;
}


.compare-panel-product-title:hover {
    color: var(--tenka-red, #d71920);
}


/* MODIFICARE TENKA 2026 COMPARATOR: Modelul produsului afisat sub denumire. */
.compare-panel-product-model {
    margin-top: 4px;

    color: #476A9E;

    font-size: 10px;
    line-height: 1.1;
    font-weight: 600;

    letter-spacing: .15px;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: BUTON X ELIMINARE
   ====================================================================== */

.compare-panel-product-remove {
    position: absolute;

    top: 6px;
    right: 6px;

    width: 20px;
    height: 20px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(226, 31, 38, .08);
    color: var(--tenka-red, #d71920);

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}


.compare-panel-product-remove:hover {
    background: var(--tenka-red, #d71920);
    color: #ffffff;

    transform: scale(1.08);
}


.compare-panel-product-remove svg {
    width: 11px;
    height: 11px;

    fill: none;
    stroke: currentColor;
    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: FOOTER
   ====================================================================== */

.compare-panel-footer {
    padding:
        10px
        11px
        11px;

    border-top: 1px solid rgba(70, 88, 104, .13);

    border-radius: 0 0 0 16px;

    background: rgba(255, 255, 255, .38);
}


.compare-panel-button {
    width: 100%;
    min-height: 39px;

    padding:
        0
        12px;

    border: 0;
    border-radius: 8px;

    background: radial-gradient(
        circle at 50% 35%,
        #f12a31 0%,
        #dc1d24 45%,
        #a90f15 100%
    );

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .35px;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 5px 13px rgba(215, 25, 32, .23);

    transition:
        background .18s ease,
        transform .18s ease,
        opacity .18s ease;
}


.compare-panel-button:hover:not(:disabled) {
    background: radial-gradient(
        circle at 50% 35%,
        #e82128 0%,
        #c9161d 45%,
        #8f0b10 100%
    );

    transform: translateY(-1px);
}


.compare-panel-button:disabled {
    opacity: .42;

    cursor: not-allowed;

    box-shadow: none;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: CLAPETA PANOULUI RESTRANS
   ====================================================================== */

.compare-panel-tab {
    position: fixed;

    z-index: 9999;

    top: 50%;
    right: 0;

    min-width: 65px;
    height: 47px;

    padding:
        0
        10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 0;
    border-radius: 12px 0 0 12px;

    background: #26323c;
    color: #ffffff;

    cursor: pointer;

    box-shadow:
        -8px 9px 24px rgba(0, 0, 0, .25);

    opacity: 0;
    visibility: hidden;

    transform:
        translate(100%, -50%);

    transition:
        transform .30s cubic-bezier(.22, 1, .36, 1),
        opacity .20s ease,
        visibility .20s ease;
}


.compare-panel-tab.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translate(0, -50%);
}


.compare-panel-tab:hover {
    background: #172129;
}


.compare-panel-tab-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: block;

    object-fit: contain;
}


.compare-panel-tab-text {
    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
}


.compare-panel-tab-count {
    min-width: 18px;
    height: 18px;

    padding:
        0
        4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--tenka-red, #d71920);
    color: #ffffff;

    font-size: 10px;
    font-weight: 600;
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: TOAST
   ====================================================================== */

.compare-toast {
    position: fixed;

    z-index: 10001;

    right: 20px;
    bottom: 20px;

    max-width: 310px;

    padding:
        11px
        14px;

    border-radius: 9px;

    background: #26323c;
    color: #ffffff;

    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;

    box-shadow:
        0 12px 32px rgba(0, 0, 0, .25);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px)
        scale(.97);

    transition:
        opacity .20s ease,
        transform .25s cubic-bezier(.22, 1, .36, 1),
        visibility .20s ease;
}


.compare-toast.is-visible {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* ======================================================================
   MODIFICARE TENKA 2026 COMPARATOR: MOBIL
   ====================================================================== */

@media (max-width: 820px) {

    .compare-panel {
        top: auto;

        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;

        width: auto;

        max-height: min(55vh, 430px);

        border: 1px solid rgba(72, 91, 108, .16);

        border-radius: 15px;

        transform:
            translateY(calc(100% + 30px))
            scale(.98);
    }


    .compare-panel.is-visible {
        transform:
            translateY(0)
            scale(1);
    }


    .compare-panel-header {
        border-radius:
            15px
            15px
            0
            0;
    }


    .compare-panel-footer {
        border-radius:
            0
            0
            15px
            15px;
    }


    .compare-panel-collapse {
        transform: rotate(90deg);
    }


    .compare-panel-collapse:hover {
        transform: rotate(90deg);
    }


    .compare-panel-tab {
        top: auto;

        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 10px;

        width: auto;
        height: 46px;

        border-radius: 12px;

        transform:
            translateY(calc(100% + 30px));
    }


    .compare-panel-tab.is-visible {
        transform:
            translateY(0);
    }


    .compare-toast {
        right: 12px;
        bottom: calc(68px + env(safe-area-inset-bottom));
        left: 12px;

        max-width: none;

        text-align: center;
    }

}


@media (max-width: 480px) {

    .compare-panel-product {
        min-height: 62px;

        grid-template-columns:
            48px
            minmax(0, 1fr);
    }


    .compare-panel-product-image {
        width: 48px;
        height: 48px;
    }


    .compare-panel-product-title {
        font-size: 11px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .compare-panel,
    .compare-panel-tab,
    .compare-panel-product,
    .compare-toast {
        transition-duration: .01ms !important;
    }

}

 