.brand-logo {
    display: block;
    margin: 0 auto;
    height: 25px;
    object-fit: contain;
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
}

.product-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.product-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dots .dot.active {
    background: var(--b2c-primary, #1d4ed8);
    width: 18px;
    border-radius: 10px;
    border-color: transparent;
}

.product-video-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 7;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    pointer-events: none;
}

.stock-badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.oem-text {
    font-size: 0.85rem;
    color: var(--b2c-steel, #6c757d);
    margin-top: 8px !important;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 20px;
    max-height: 40px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
}

.product-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--b2c-steel, #6c757d);
}

.product-price .garage-status-wrapper {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
    pointer-events: none;
}

.garage-status-wrapper-detail .garage-icon {
    pointer-events: auto;
}

.garage-icon {
    pointer-events: auto;
    cursor: help;
}

.garage-icon.active-fit i {
    color: var(--b2c-success, #28a745);
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.garage-icon.other-fit i {
    color: #fd7e14;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.btn-favorite {
    cursor: pointer;
}

.btn-favorite i {
    transition: transform .15s ease;
}

.btn-favorite:active i {
    transform: scale(0.8);
}

.list-row.product-out > *:not(.lr-cart) {
    opacity: 0.5;
    filter: grayscale(70%);
}

.cart-control {
    position: relative;
}

.cart-control.added .qty-pill,
.cart-control.added .cart-add-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

.cart-control.added::after {
    content: "✔ Eklendi";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--b2c-success, #198754);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--b2c-radius-sm, 8px);
    animation: cartSuccessPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartSuccessPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.list-view-head {
    display: grid;
    grid-template-columns: 64px 1.6fr 1fr 90px 44px 190px 230px;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem .6rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--b2c-ink, #171a1f);
}

.list-row {
    display: grid;
    grid-template-columns: 64px 1.6fr 1fr 90px 44px 190px 230px;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 0;
    padding: .85rem 1rem;
    overflow: visible;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--b2c-line, #e6e8ec);
    box-shadow: none;
    cursor: pointer;
}

.list-row:last-child {
    border-bottom: none;
}

.list-row > :not(.lr-media) { align-self: center; }
.list-row > .lr-oem,
.list-row > .lr-stock { align-self: auto; }


.list-row .lr-cart {
    cursor: default;
}

.list-row .lr-media {
    position: relative;
    align-self: stretch;
    width: 64px;
    height: auto;

    margin: -.85rem 0 -.85rem -1rem;
    border-radius: 0;
    background: var(--b2c-surface-muted, #f7f7f5);
    overflow: hidden;
    flex-shrink: 0;
}

.list-row .lr-media .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.list-row .lr-media .placeholder-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7c9c4;
    font-size: 1.3rem;
}

.list-row .featured-pill-list {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    top: 2px;
    right: 2px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: #ffc107;
    font-size: .85rem;
    box-shadow: none;
    filter: drop-shadow(0 1px 3px rgba(15, 18, 15, .4));
}

.list-row .lr-discount {
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    margin: -.85rem 0;
}

.list-row .discount-tag-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-height: 64px;
    background: var(--b2c-accent, #e31e24);
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .02em;
    padding: .4rem .3rem .75rem;
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    box-shadow: 0 2px 6px rgba(15, 18, 15, .2);
}

.list-row .lr-info { min-width: 0; }
.list-row .lr-info small {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-row .product-name-link { display: block; max-width: 100%; }
.list-row .product-name-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    font-size: .9rem;
}

.list-row .lr-oem { font-size: .85rem; min-width: 0; }

.list-row .lr-stock { text-align: center; }
.list-view-head .lr-col-stock { text-align: center; }

.list-row .lr-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .1rem;
    text-align: right;
}
.list-row .lr-old-price {
    font-size: .75rem;
    color: var(--b2c-steel, #6b7280);
}
.list-row .lr-price .fw-bold { color: var(--product-price-color, #1d4ed8); font-size: 1rem; }
.list-row .lr-price-row { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: nowrap; gap: 0 .4rem; white-space: nowrap; }
.list-row .lr-price .price-saving { justify-content: flex-end; }
.list-row .lr-saving-mobile { display: none; }

.list-row .lr-cart { display: flex; justify-content: flex-end; }
.list-row .lr-cart .cart-control { width: 100%; max-width: 230px; }

@media (min-width: 1200px) {
    .list-row { grid-template-rows: auto auto auto; row-gap: .1rem; }
    .list-row .lr-media { grid-column: 1; grid-row: 1 / 4; }
    .list-row .lr-info { display: contents; }
    .list-row .product-name-link { grid-column: 2; grid-row: 1; align-self: end; }
    .list-row .lr-info > small { grid-column: 2; grid-row: 2; align-self: start; }
    .list-row .lr-campaigns { grid-column: 2 / 6; grid-row: 3; margin-top: .3rem; }
    .list-row .lr-oem { grid-column: 3; grid-row: 1 / 3; }
    .list-row .lr-stock { grid-column: 4; grid-row: 1 / 3; }
    .list-row .lr-discount { grid-column: 5; grid-row: 1 / 3; margin-bottom: 0; }
    .list-row .lr-price { grid-column: 6; grid-row: 1 / 4; }
    .list-row .lr-cart { grid-column: 7; grid-row: 1 / 4; }
}

@media (max-width: 1199.98px) {
    .list-view-head { display: none !important; }

    .list-row {
        grid-template-columns: 50px 1fr auto;
        grid-template-rows: auto auto auto auto auto;
        gap: .22rem .6rem;
        padding: .65rem;
        background: var(--card-bg, var(--b2c-surface, #fff));
        border: 1px solid var(--b2c-line, #e6e8ec);
        border-radius: 10px;
    }

    .list-row .lr-media { grid-column: 1; grid-row: 1 / 5; align-self: start; width: 50px; height: 50px; }
    .list-row .lr-info { grid-column: 2 / 4; grid-row: 1; }
    .list-row .product-name-clamp { font-size: .85rem; }
    .list-row .lr-oem { grid-column: 2; grid-row: 2; text-align: left; }
    .list-row .lr-stock { grid-column: 3; grid-row: 2; text-align: right; }

    .list-row .lr-discount {
        grid-column: 1;
        grid-row: 1 / 5;
        align-items: stretch;
        justify-content: center;
        align-self: stretch;
        margin-top: 44px;
        min-height: 0;
    }
    .list-row .discount-tag-list {
        width: 24px;
        min-height: 28px;
        font-size: .78rem;
        font-weight: 800;
        padding: .3rem .2rem;
    }

    .list-row .lr-price { grid-column: 2 / 4; grid-row: 4; flex-direction: row-reverse; align-items: baseline; justify-content: flex-end; text-align: left; margin-top: .1rem; }
    .list-row .lr-cart { grid-column: 1 / 4; grid-row: 5; margin-top: .3rem; }
    .list-row .lr-cart .cart-control { max-width: none; }

    .list-row .cart-control {
        flex-direction: row;
        gap: .4rem;
    }
    .list-row .cart-control .qty-pill {
        width: auto;
        flex-shrink: 0;
        justify-content: flex-start;
    }
    .list-row .cart-control .cart-decrease,
    .list-row .cart-control .cart-increase {
        flex-grow: 0;
        width: 32px;
        height: 40px;
        font-size: .9rem;
    }
    .list-row .cart-control .cart-qty {
        flex-grow: 0;
        width: 34px;
        height: 40px;
        font-size: .78rem;
    }
    .list-row .cart-control .cart-add-btn,
    .list-row .cart-control .stock-alert-btn {
        flex-grow: 1;
        height: 32px;
        font-size: .68rem;
    }
}

@media (max-width: 1199.98px) {
    .list-row {
        grid-template-columns: 84px 1fr auto;
        grid-template-rows: auto auto auto auto;
        column-gap: .65rem;
        row-gap: .2rem;
        padding: .65rem;
        margin-bottom: .5rem;
    }

    .list-row .lr-media {
        grid-column: 1;
        grid-row: 1 / 4;
        align-self: start;
        width: 84px;
        height: 84px;
        margin: -.65rem 0 0 -.65rem;
        border-radius: 10px 0 0 0;
    }

    .list-row .lr-info { display: contents; }
    .list-row .lr-info small {
        grid-column: 2;
        grid-row: 1;
        font-size: .68rem;
    }

    .list-row .lr-oem {
        grid-column: 2;
        grid-row: 2 / 4;
        align-self: start;
        font-size: .7rem;
    }

    .list-row .lr-stock { display: none; }

    .list-row .lr-discount {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        margin: 0;
    }
    .list-row .discount-tag-list {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        clip-path: none;
        width: auto;
        min-height: 0;
        padding: 2px 6px;
        font-size: .6rem;
        border-radius: 4px;
    }

    .list-row .lr-price {
        grid-column: 3;
        grid-row: 2;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-self: end;
        text-align: right;
        gap: 0;
    }
    .list-row .lr-price .lr-saving { display: none; }
    .list-row .lr-saving-mobile { display: inline-flex; flex-basis: auto; font-size: .64rem; }
    .list-row .lr-discount { align-items: center; gap: .35rem; }

    .list-row .lr-campaigns {
        grid-column: 1 / 4;
        grid-row: 5;
        justify-self: stretch;
        margin-top: .35rem;
    }
    .list-row .lr-old-price { font-size: .68rem; }
    .list-row .lr-price .fw-bold { font-size: .92rem; }

    .list-row .lr-cart {
        grid-column: 3;
        grid-row: 4;
        justify-self: end;
        align-self: end;
    }
    .list-row .cart-control { width: auto; max-width: none; }
    .list-row .cart-control .qty-pill { display: none; }
    .list-row .cart-control .cart-add-btn {
        width: auto;
        height: 32px;
        flex-grow: 0;
        padding: 0 .65rem;
        border-radius: 8px;
        font-size: .68rem;
        gap: .3rem;
    }

    .list-row .product-name-link {
        grid-column: 1 / 4;
        grid-row: 4;
        margin-top: .5rem;
    }
    .list-row .product-name-clamp {
        -webkit-line-clamp: 2;
        font-size: .82rem;
        line-height: 1.3;
        padding-right: 7.5rem;
    }
}

@media (max-width: 480px) {
    .list-row { grid-template-columns: 68px 1fr auto; padding: .55rem; column-gap: .5rem; }
    .list-row .lr-media { width: 68px; height: 68px; margin: -.55rem 0 0 -.55rem; }
    .list-row .product-name-clamp { font-size: .90rem; }
}
