/* ============================================
   CART PAGE STYLES - ULTRA PREMIUM MONOCHROME (NO COLORS)
   ============================================ */

:root {
    --bg-color: #fcfcfc;
    --card-bg: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --gray-dark: #333333;
}

body {
    background-color: var(--bg-color);
}

.cart-page-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    min-height: 60vh;
}

.cart-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--black);
    letter-spacing: -0.5px;
}

.cart-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* --- Left Column: Cart Items --- */
.cart-items-section {
    flex: 1;
}

/* Shipping Banner - TOTAL GREYSCALE */
.shipping-info-banner {
    background: var(--gray-light);
    border: 1px solid #ddd;
    color: var(--text-primary);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    /* Square edges */
}

.shipping-info-banner i {
    color: var(--black);
    font-size: 14px;
}

/* Cart Item Card */
.cart-item-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    margin-bottom: 16px;
    border-radius: 0;
    /* Square edges */
}

/* Checkbox - Custom Black */
.item-checkbox {
    cursor: pointer;
    color: var(--black);
    /* Black Check */
    font-size: 18px;
    margin-top: 35px;
    display: flex;
    align-items: center;
}

.item-checkbox i {
    color: var(--black) !important;
    /* Force Black */
}

/* Image */
.item-img {
    width: 80px;
    height: 100px;
    background: var(--gray-light);
    flex-shrink: 0;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Optional: Make images grayscale too? Let's keep images colored but UI monochrome */
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    color: var(--black);
}

.item-title a {
    text-decoration: none;
    color: inherit;
}

.item-meta {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Badge - GREYSCALE */
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gray-light);
    color: var(--text-primary);
    /* Black text */
    border: 1px solid #ddd;
    padding: 3px 8px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.meta-badge i {
    color: var(--black);
}

.item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 110px;
}

/* Quantity Control - BLACK & WHITE */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--black);
    /* Black border */
    height: 32px;
}

.quantity-control button {
    background: var(--white);
    border: none;
    width: 28px;
    height: 100%;
    cursor: pointer;
    color: var(--black);
    font-size: 14px;
    transition: background 0.2s;
}

.quantity-control button:hover {
    background: var(--black);
    color: var(--white);
}

.quantity-control input {
    width: 34px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

/* Price */
.item-price-desktop {
    text-align: right;
}

.price-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.item-price-mobile {
    display: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-top: 8px;
}

/* Remove Button */
.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: var(--black);
}

.remove-btn i {
    margin-right: 4px;
}


/* --- Right Column: Summary --- */
.cart-summary-section {
    width: 340px;
    flex-shrink: 0;
}

.summary-card {
    background: var(--gray-light);
    /* Light gray background for summary */
    padding: 24px;
    border: 1px solid #ddd;
    position: sticky;
    top: 20px;
}

.summary-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 12px;
}

.summary-rows {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

.summary-row span:last-child {
    color: var(--black);
    font-weight: 500;
}

/* Discount Text - BLACK now (was green) */
.summary-row.discount span:last-child {
    color: var(--black);
    font-weight: 600;
}

.text-success {
    color: var(--black) !important;
}

/* Force Override Bootstrap/Global styles */

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.summary-total span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-checkout:hover {
    background: var(--white);
    color: var(--black);
}

.security-badges {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.badge-item {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-item i {
    color: var(--black);
}

/* Responsive */
@media (max-width: 900px) {
    .cart-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .cart-summary-section {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cart-item-card {
        flex-wrap: wrap;
    }

    .item-checkbox {
        display: none;
    }

    .item-img {
        width: 70px;
        height: 90px;
    }

    .item-actions {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .item-price-desktop {
        display: none;
    }

    .item-price-mobile {
        display: block;
    }
}

.hidden {
    display: none !important;
}

/* Empty State */
.empty-cart-state {
    text-align: center;
    padding: 80px 0;
}

.empty-icon-cart {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart-state h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--black);
}

.empty-cart-state p {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.start-shopping-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
}