.cart-img {
    width: 136px;
    height: 115px;
    object-fit: cover;
}

.cart-empty {
    text-align: center;
    padding: 50px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.cart-empty__image img {
    opacity: 0.9;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.cart-empty__image img:hover {
    transform: scale(1.05);
}

.cart-empty__title {
    font-size: 22px;
    font-weight: 700;
    color: #004650;
    margin-bottom: 10px;
}

.cart-empty__subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
}

.cart__summary {
    position: relative;
}
/* Address Styles */

.address-selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 270px;
    overflow-y: auto;
    padding-right: 6px;
}

.address-radio-item {
    position: relative;
}

.address-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.address-radio-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.address-radio-label:hover {
    border-color: var(--secondary-color-light);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    position: relative;
    z-index: 10;
}

.address-radio-input:checked + .address-radio-label {
    border-color: var(--secondary-color-light);
    background: linear-gradient(135deg, var(--tifany-color) 0%, var(--tifany-color) 100%);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
}

.address-radio-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.address-radio-checkmark i {
    font-size: 20px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.address-radio-input:checked + .address-radio-label .address-radio-checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.address-radio-input:checked + .address-radio-label .address-radio-checkmark i {
    opacity: 1;
    transform: scale(1);
}

.address-radio-content {
    flex: 1;
}

.address-radio-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.address-radio-header i {
    font-size: 2.125rem;
}

.address-radio-title {
    font-weight: 600;
    font-size: 1.75rem;
    color: #1e293b;
}

.address-radio-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-radio-text {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 1.538rem;
}

.address-radio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.address-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 1.213rem;
    color: #64748b;
}

.address-meta-item i {
    font-size: 1.275rem;
    color: #94a3b8;
}

.address-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
}

.address-empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.address-empty-state p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.address-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Focus styles for accessibility */
.address-radio-input:focus + .address-radio-label {
    outline: 2px solid var(--hover-link-color);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .address-radio-label {
        padding: 1rem;
    }

    .address-radio-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .address-meta-item {
        width: 100%;
    }
}


/* ================================
   MODERN WALLET / CHECKOUT UI
   ================================ */

/* Main summary box */
.cart__summary {
    background: #ffffff;
    border: 1px solid #ececec;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    padding: 25px;
    border-radius: 15px;
}

/* Wallet container */
.wallet-box {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e8ef;
}

/* Wallet row */
.wallet-row {
    background: #fff;
    border: 1px solid #e9ecf1;
    padding: 14px 15px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    gap: 12px;
}

.wallet-title,
.wallet-balance,
.wallet-portion {
    font-size: 15px;
    font-weight: 600;
}

.wallet-row:hover {
    background: #f3f7ff;
    border-color: #d6e2ff;
}

/* Strong (portion value) */
.wallet-row strong {
    font-size: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}

.wallet-input-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Input */
.wallet-row input {
    border-radius: 8px !important;
    border: 1px solid #d6d6d6 !important;
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    max-width: 100px;
    text-align: center;
}

.wallet-row input:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.15);
}

/* Buttons inside wallet */
.wallet-row .btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 8px;
}


/* Summary table */
.cart__summary--total__table {
    width: 100%;
}

.cart__summary--total__table td {
    padding: 12px 8px;
    font-size: 16px;
}

.cart__summary--total__table tr:last-child td {
    font-size: 18px;
    font-weight: bold;
    color: var(--hover-link-color);
}

/* Timer */
.red-color {
    font-size: 16px;
    font-weight: 700;
    color: #dd2c2c;
}

/* Footer buttons */
.cart__summary--footer ul {
    padding: 0;
    margin: 0;
    gap: 15px;
}

.cart__summary--footer ul li {
    list-style: none;
}

.cart__summary--footer .btn-primary-gradient {
    background: linear-gradient(135deg, #004650 0%, #007a88 100%);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.25s ease;
}

.cart__summary--footer .btn-primary-gradient:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

/* Empty-wallet behavior */
.wallet-box.no-wallet {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .wallet-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        text-align: center;
    }

    .wallet-title {
        grid-column: span 2;
        font-size: 16px;
        margin-bottom: 2px;
    }

    .wallet-balance {
        grid-column: span 2;
        margin-bottom: 2px;
    }

    .wallet-portion {
        grid-column: span 2;
        margin-bottom: 5px;
    }

    .wallet-input-box {
        grid-column: span 2;
        justify-content: center;
    }

    .wallet-input-box input {
        width: 90px !important;
    }

    .cart__summary {
        padding: 18px;
    }
}


/* ATTRIBUTES WRAPPER */
.cart-item-attrs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

/* EACH INVENTORY ROW */
.cart-attr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #f9fafc;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    padding: 4px 8px;

    transition: 0.25s ease;
}

.cart-attr-row:hover {
    background: #f3f6ff;
    border-color: #cfd8ff;
}

/* VALUES */
.cart-attr-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #444;
}

.cart-attr-values strong {
    font-weight: 700;
}

/* COLOR DOT */
.cart-color {
    display: flex;
    align-items: center;
    gap: 4px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

/* REMOVE BUTTON */
.cart-attr-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    margin-right: 15px;

    border-radius: 50%;
    border: 1px solid #ffd6d6;
    background: #fff;

    color: #d12c2c;
    transition: 0.25s ease;
}

.cart-attr-remove:hover {
    background: #ffecec;
    color: #b10000;
    transform: scale(1.08);
}

