/* ============================================================
   ORVEX SPORTS - PREMIUM CART PAGE STYLES (FULL-WIDTH STRETCH)
   ============================================================ */

/* --- FORCE CONTAINER STRETCH ON CART PAGE (Astra Parent Blackout) --- */
html body.woocommerce-cart,
html body.woocommerce-cart .site,
html body.woocommerce-cart .site-content,
html body.woocommerce-cart .ast-container,
html body.woocommerce-cart #primary,
html body.woocommerce-cart #main,
html body.woocommerce-cart .entry-content,
html body.woocommerce-cart .elementor-widget-container,
html body.woocommerce-cart .elementor-container,
html body.woocommerce-cart .elementor-section,
html body.woocommerce-cart .woocommerce {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    max-width: 1700px !important; /* Forces Astra to stretch up to 1700px */
    width: 95% !important;
}

/* Hide Astra's unstyled default gray "Cart" title on this page */
body.woocommerce-cart .entry-title,
body.woocommerce-cart h1.entry-title,
body.woocommerce-cart .ast-archive-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Base Layout Wrapper */
.orvex-cart-page-wrapper {
    background-color: #000000 !important;
    padding: 80px 0 100px 0 !important;
    font-family: 'Poppins', sans-serif !important;
    width: 100% !important;
}

.orvex-cart-container {
    max-width: 1700px !important; /* Expanded Container */
    margin: 0 auto !important;
    width: 100% !important;
}

.orvex-cart-title {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin-bottom: 50px !important;
    letter-spacing: 1px !important;
}

.orvex-cart-title::after {
    content: '' !important;
    width: 60px !important;
    height: 3px !important;
    background-color: #ff6800 !important;
    display: inline-block !important;
}

/* Empty Cart View Styling */
.orvex-empty-cart-box {
    text-align: center;
    background-color: #050505;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.orvex-empty-cart-box i {
    font-size: 60px;
    color: #ff6800;
    margin-bottom: 25px;
}

.orvex-empty-cart-box h2 {
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 15px !important;
}

.orvex-empty-cart-box p {
    color: #888888;
    font-size: 15px;
    margin-bottom: 35px;
}

.orvex-btn-solid {
    background-color: #ff6800 !important;
    color: #ffffff !important;
    border: 2px solid #ff6800;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}
.orvex-btn-solid:hover {
    background-color: #e55d00 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 104, 0, 0.4);
}

/* Two Column Layout Grid */
.orvex-cart-layout {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

/* Left Column: Cart Items (70%) */
.orvex-cart-items-column {
    flex: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Individual Item Row Layout */
.orvex-cart-item-row {
    background-color: #050505 !important;
    border: 1px solid #151515 !important;
    border-radius: 15px !important;
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    transition: 0.3s ease;
    box-sizing: border-box;
    position: relative;
}

.orvex-cart-item-row:hover {
    border-color: #ff6800 !important;
}

/* Image container (White rounded block) */
.orvex-cart-img-box {
    width: 80px !important;
    height: 80px !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

.orvex-cart-img-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Info Box */
.orvex-cart-info-box {
    flex-grow: 1 !important;
    max-width: 400px;
}

.orvex-cart-item-title, .orvex-cart-item-title a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 0 5px 0 !important;
    text-decoration: none !important;
    transition: 0.3s;
}
.orvex-cart-item-row:hover .orvex-cart-item-title a {
    color: #ff6800 !important;
}

/* Display variations like Size/Color */
.orvex-cart-info-box dl.variation {
    display: flex !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
}

.orvex-cart-info-box dl.variation dt {
    color: #666666 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}
.orvex-cart-info-box dl.variation dd {
    color: #aaaaaa !important;
    margin: 0 !important;
}

/* Row elements pricing/inputs layout */
.orvex-cart-price-box, .orvex-cart-qty-box, .orvex-cart-subtotal-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.orvex-cart-price-box .label, .orvex-cart-qty-box .label, .orvex-cart-subtotal-box .label {
    font-size: 11px;
    color: #555555;
    text-transform: uppercase;
    font-weight: 700;
}

.price-val, .subtotal-val, .subtotal-val .woocommerce-Price-amount {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.subtotal-val, .subtotal-val .woocommerce-Price-amount {
    color: #ff6800 !important; /* Subtotal glows Orange */
    font-weight: 700 !important;
}

/* Custom Qty Selector Capsule */
.orvex-qty-controller {
    display: flex;
    align-items: center;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 50px;
    padding: 2px 5px;
    box-sizing: border-box;
}

.orvex-qty-controller .qty-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 11px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.orvex-qty-controller .qty-btn:hover {
    color: #ff6800;
}

/* Hide default WooCommerce qty inputs */
.orvex-qty-controller .quantity {
    display: block !important;
}
.orvex-qty-controller .quantity input.qty {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    width: 35px !important;
    height: 25px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    outline: none !important;
}
/* Disable default arrows on inputs */
.orvex-qty-controller .quantity input::-webkit-outer-spin-button,
.orvex-qty-controller .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove button styling */
.orvex-cart-remove-box .remove-btn {
    color: #555555 !important;
    font-size: 16px !important;
    transition: 0.3s;
}
.orvex-cart-remove-box .remove-btn:hover {
    color: #ff3333 !important; /* Red highlight on delete hover */
}

/* Right Column: Order Summary (30%) */
.orvex-cart-totals-column {
    flex: 0.55 !important;
}

.orvex-totals-widget-card {
    background-color: #050505 !important;
    border: 1px solid #151515 !important;
    border-radius: 15px !important;
    padding: 30px !important;
    box-sizing: border-box;
}

.orvex-totals-widget-card:hover {
    border-color: #ff6800 !important;
}

.orvex-totals-title {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 25px !important;
    border-left: 3px solid #ff6800;
    padding-left: 12px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #111111;
    font-size: 15px;
    color: #cccccc;
}

.totals-row strong, .totals-row .woocommerce-Price-amount {
    color: #ffffff;
    font-weight: 600;
}

.grand-total-row {
    border-bottom: none !important;
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 700;
}
.grand-total-row span {
    color: #ffffff;
}
.grand-total-val, .grand-total-val .woocommerce-Price-amount {
    color: #ff6800 !important; /* Grand total orange */
    font-size: 20px;
    font-weight: 800 !important;
}

/* Coupons Input field block */
.orvex-coupon-field-wrapper {
    display: flex;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 25px;
    box-sizing: border-box;
    width: 100%;
}

.orvex-coupon-input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0 15px !important;
    outline: none !important;
    font-size: 13px !important;
    flex-grow: 1;
    width: 60%;
}

.orvex-coupon-apply-btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: 0.3s;
}
.orvex-coupon-apply-btn:hover {
    border-color: #ff6800 !important;
    color: #ff6800 !important;
}

/* Proceed to Checkout Pulse Capsule button override */
.orvex-proceed-to-checkout-wrapper .orvex-checkout-btn {
    background-color: #ff6800 !important;
    color: #ffffff !important;
    border: 2px solid #ff6800 !important;
    border-radius: 50px !important;
    padding: 15px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    display: block !important;
    transition: all 0.3s ease !important;
    animation: orvexPulse 2s infinite !important;
    text-decoration: none !important;
    letter-spacing: 1px;
}

.orvex-proceed-to-checkout-wrapper .orvex-checkout-btn:hover {
    background-color: #e55d00 !important;
    border-color: #e55d00 !important;
    transform: translateY(-2px) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .orvex-cart-layout {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .orvex-cart-items-column, .orvex-cart-totals-column {
        width: 100% !important;
    }
    .orvex-cart-item-row {
        flex-direction: column !important;
        text-align: center;
        padding: 30px 20px !important;
    }
    .orvex-cart-info-box {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .orvex-cart-price-box, .orvex-cart-qty-box, .orvex-cart-subtotal-box {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        border-bottom: 1px solid #111;
        padding-bottom: 10px;
    }
    .orvex-cart-remove-box {
        position: absolute;
        top: 20px;
        right: 20px;
    }
}