﻿/* ================================
   SEPET SAYFASI – MODERN & SOFT
================================ */

.cart-shell {
    padding: 18px 0 64px;
}

.cart-head h2 {
    font-weight: 850;
    letter-spacing: -.2px;
    color: #111827;
}

.cart-muted {
    color: rgba(17,24,39,.60);
}

/* Card */
.card-soft {
    border: 1px solid rgba(17,24,39,.10) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    background: #fff;
}

/* Table */
.cart-table thead th {
    font-size: .78rem;
    letter-spacing: .35px;
    text-transform: uppercase;
    color: rgba(17,24,39,.65);
    border-bottom: 1px solid rgba(17,24,39,.10);
    background: rgba(17,24,39,.03);
    padding: 14px;
}

.cart-table tbody td {
    padding: 14px;
    border-top: 1px solid rgba(17,24,39,.08);
    vertical-align: middle;
}

/* Item */
.cart-item {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 240px;
}

.cart-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid rgba(17,24,39,.10);
    background: #f3f4f6;
}

.cart-name {
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 2px;
}

.cart-link {
    font-size: .82rem;
    color: rgba(17,24,39,.55);
    text-decoration: none;
    font-weight: 650;
}

    .cart-link:hover {
        text-decoration: underline;
        color: #111827;
    }

/* Price */
.price {
    font-weight: 750;
    color: #111827;
    white-space: nowrap;
}

.total {
    font-weight: 850;
    color: #111827;
    white-space: nowrap;
}

/* Qty */
.qty-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.qty-input {
    max-width: 96px;
    border-radius: 0;
    border: 1px solid rgba(17,24,39,.18);
    box-shadow: none;
    font-weight: 700;
    padding: 9px 10px;
    color: #111827;
}

.qty-help {
    font-size: .8rem;
    color: rgba(17,24,39,.55);
    margin-top: 6px;
}

/* ================================
   SHINE BUTTON (FIXED)
================================ */

.btn-shine {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
    font-weight: 750;
    letter-spacing: .2px;
    transform: translateZ(0);
    isolation: isolate;
}

    /* Shine layer */
    .btn-shine::before {
        content: "";
        position: absolute;
        inset: -60%;
        background: radial-gradient( circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 55% );
        opacity: .9;
        transform: translate3d(-18%, -10%, 0) rotate(12deg);
        transition: transform .5s ease, opacity .5s ease;
        pointer-events: none;
        z-index: 0;
    }

    .btn-shine:hover::before {
        transform: translate3d(6%, 6%, 0) rotate(12deg);
        opacity: 1;
    }

    /* 👇 YAZI VE ICONLAR HER ZAMAN SİYAH */
    .btn-shine,
    .btn-shine:hover,
    .btn-shine:focus,
    .btn-shine:active {
        color: #111827 !important;
    }

        /* iç elementler */
        .btn-shine i,
        .btn-shine span,
        .btn-shine svg {
            color: #111827 !important;
            fill: #111827 !important;
            position: relative;
            z-index: 1;
        }

/* btn-dark olsa bile */
.btn-dark.btn-shine {
    background: #fff;
    border: 1px solid rgba(17,24,39,.18);
}

/* outline butonlar */
.btn-outline-dark.btn-shine,
.btn-outline-danger.btn-shine {
    background: #fff;
    border-color: rgba(17,24,39,.18);
}

/* Active */
.btn-shine:active {
    transform: translateY(1px);
}

/* ================================
   SUMMARY
================================ */

.summary-title {
    font-weight: 850;
    letter-spacing: -.2px;
    color: #111827;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(17,24,39,.08);
    font-weight: 700;
    color: #111827;
}

    .summary-row:last-child {
        border-bottom: 0;
    }

.checkout-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 576px) {
    .cart-item {
        min-width: 180px;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody td {
        display: block;
        padding: 12px;
    }

    .cart-table tbody tr {
        display: block;
        border-top: 1px solid rgba(17,24,39,.10);
    }

    .cart-table tbody td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .3px;
        color: rgba(17,24,39,.55);
        margin-bottom: 6px;
        font-weight: 800;
    }

    .cart-table tbody td.actions-cell {
        text-align: left !important;
    }
}
