/**
 * LaNoira — Cart Page Luxury Refinement
 *
 * Overrides cart-page.css aggressive styles.
 * Dark obsidian palette, gold accents, no animations.
 *
 * @package Commerce_Elite
 */

/* ============================================
   KILL ANIMATIONS
   ============================================ */

.custom-cart-wrapper,
.money-back-guarantee::before {
    animation: none !important;
}

/* ============================================
   PAGE BACKGROUND
   ============================================ */

body.woocommerce-cart {
    background: #0D0D0D !important;
}

.custom-cart-wrapper {
    background: transparent !important;
    max-width: 1300px !important;
    padding: 2.5rem 2rem !important;
}

/* ============================================
   CART TABLE
   ============================================ */

.cart-left-column .shop_table {
    background: #141414 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #1F1F1F !important;
    margin-bottom: 1.5rem !important;
    transition: none !important;
}

.cart-left-column .shop_table:hover {
    box-shadow: none !important;
}

.shop_table thead th {
    background: #0D0D0D !important;
    color: #666666 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    border-bottom: 1px solid #1F1F1F !important;
    padding: 1rem !important;
}

.shop_table tbody tr {
    border-bottom: 1px solid #1F1F1F !important;
    transition: background 0.2s ease !important;
}

.shop_table tbody tr:hover {
    background: rgba(255,255,255,0.02) !important;
}

.shop_table td {
    padding: 1.5rem 1rem !important;
}

/* Remove button */
.product-remove a.remove {
    background: transparent !important;
    border: 1px solid #2a2a2a !important;
    color: #666 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}

.product-remove a.remove:hover {
    background: transparent !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Product name */
.product-name {
    color: #F5F5F5 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.product-name a {
    color: #F5F5F5 !important;
    transition: color 0.2s ease !important;
}

.product-name a::after {
    display: none !important;
}

.product-name a:hover {
    color: #C5A059 !important;
}

/* Price */
.product-price {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #BDBDBD !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #BDBDBD !important;
    background-clip: unset !important;
}

/* Subtotal */
.product-subtotal {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #F5F5F5 !important;
    -webkit-text-fill-color: #F5F5F5 !important;
}

/* Quantity */
.product-quantity input[type="number"] {
    background: #0D0D0D !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    color: #F5F5F5 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
}

.product-quantity input[type="number"]:focus {
    border-color: #C5A059 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Thumbnail */
.product-thumbnail img {
    background: #141414 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease !important;
}

.product-thumbnail:hover img {
    transform: scale(1.04) !important;
    box-shadow: none !important;
    rotate: none !important;
}

/* ============================================
   COUPON SECTION
   ============================================ */

.custom-coupon-section {
    display: none !important;
}

.custom-update-cart .update-cart-button {
    height: 48px !important;
    background: transparent !important;
    border: 1px solid #2a2a2a !important;
    color: #A6A6A6 !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}

.custom-update-cart .update-cart-button:hover {
    background: transparent !important;
    border-color: #A6A6A6 !important;
    color: #F5F5F5 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   PAYMENT METHODS — LUXURY CHIPS
   ============================================ */

.cart-trust-section {
    background: #141414 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #1F1F1F !important;
    padding: 1.75rem 2rem !important;
    transition: none !important;
}

.cart-trust-section h3 {
    display: none !important;
}

.cart-trust-section:hover {
    box-shadow: none !important;
}

.cart-trust-eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C5A059;
    margin-bottom: 1.25rem;
}

.payment-methods {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1.75rem !important;
    grid-template-columns: unset !important;
}

.payment-chip {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #0D0D0D;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s ease;
    cursor: default;
}

.payment-chip:hover {
    border-color: rgba(197,160,89,0.3);
    transform: none !important;
    box-shadow: none !important;
}

/* Old payment-method-icon hidden */
.payment-method-icon {
    display: none !important;
}

.payment-chip__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

.payment-chip__mc {
    display: flex;
    align-items: center;
}

.mc-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: block;
}

.mc-red { background: #EB001B; }
.mc-orange { background: #FF5F00; margin-left: -8px; opacity: 0.9; }

/* Trust Strip */
.cart-trust-strip {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid #1F1F1F;
    padding-top: 1.25rem;
    flex-wrap: wrap;
}

.cart-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #A6A6A6;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cart-trust-item svg {
    color: #C5A059;
    flex-shrink: 0;
}

.cart-trust-divider {
    width: 1px;
    height: 14px;
    background: #2a2a2a;
    flex-shrink: 0;
}

/* ============================================
   CART TOTALS
   ============================================ */

.cart_totals {
    background: #141414 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #1F1F1F !important;
    transition: none !important;
}

.cart_totals:hover {
    box-shadow: none !important;
    transform: none !important;
}

.cart_totals h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #F5F5F5 !important;
    color: #F5F5F5 !important;
    background-clip: unset !important;
}

.cart_totals .shop_table {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.cart_totals .shop_table tr {
    border-bottom: 1px solid #1F1F1F !important;
    transition: none !important;
}

.cart_totals .shop_table tr:hover {
    background: transparent !important;
}

.cart_totals .shop_table th {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #666666 !important;
}

.cart_totals .shop_table td {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #F5F5F5 !important;
    -webkit-text-fill-color: #F5F5F5 !important;
}

.cart_totals .order-total {
    background: transparent !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(197,160,89,0.2) !important;
}

.cart_totals .order-total th {
    font-size: 11px !important;
    color: #A6A6A6 !important;
    padding-left: 0 !important;
}

.cart_totals .order-total td {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #C5A059 !important;
    -webkit-text-fill-color: #C5A059 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    padding-right: 0 !important;
}

/* ============================================
   CHECKOUT TRUST BADGES — RIGHT COLUMN
   ============================================ */

.checkout-trust-badges {
    background: #141414 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #1F1F1F !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1rem !important;
    transition: none !important;
}

.checkout-trust-badges:hover {
    box-shadow: none !important;
    transform: none !important;
}

.checkout-trust-badge {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.625rem 0 !important;
    transition: none !important;
}

.checkout-trust-badge:not(:last-child) {
    border-bottom: 1px solid #1F1F1F !important;
}

.checkout-trust-badge:hover {
    transform: none !important;
}

.checkout-trust-badge svg {
    color: #C5A059 !important;
    filter: none !important;
}

.checkout-trust-badge span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    color: #A6A6A6 !important;
}

/* ============================================
   CHECKOUT BUTTON
   ============================================ */

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .button {
    background: transparent !important;
    border: 1px solid #C5A059 !important;
    color: #C5A059 !important;
    -webkit-text-fill-color: #C5A059 !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    height: 52px !important;
    line-height: 52px !important;
    box-shadow: none !important;
    transition: background 0.3s ease, color 0.3s ease !important;
}

.wc-proceed-to-checkout .checkout-button::before,
.wc-proceed-to-checkout a.checkout-button::before {
    display: none !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
    background: #C5A059 !important;
    color: #0D0D0D !important;
    -webkit-text-fill-color: #0D0D0D !important;
    transform: none !important;
    box-shadow: none !important;
}

.wc-proceed-to-checkout .checkout-button:focus,
.wc-proceed-to-checkout a.checkout-button:focus {
    box-shadow: none !important;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
    .shop_table tbody tr {
        background: #141414 !important;
        border-radius: 0 !important;
    }

    /* Wider thumbnail on mobile */
    .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }

    .shop_table tbody tr {
        grid-template-columns: 90px 1fr !important;
    }

    .cart-trust-strip {
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-trust-divider {
        display: none;
    }

    .cart-trust-item {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #1F1F1F;
    }

    .cart-trust-item:last-child {
        border-bottom: none;
    }
}