/* --- WooCommerce Custom Cart Page Styles --- */
.custom-cart-page {
  
    min-height: 100vh;
}

.option-card {
    transition: all 0.2s ease-in-out;
    background: #fff;
    border: 2px solid #dee2e6 !important; /* Fixed 2px to avoid layout shift */
}

.option-card.active {
    border-color: #F9730C !important;
    background-color: rgba(249, 115, 12, 0.02);
}

.option-card input[type="radio"] {
    accent-color: #F9730C;
    width: 18px;
    height: 18px;
}

.shipping-card {
    transition: all 0.2s ease-in-out;
    background: #fff;
    border: 2px solid #dee2e6 !important; /* Fixed 2px to avoid layout shift */
}

.shipping-card.active {
    border-color: #F9730C !important;
    box-shadow: 0 10px 30px rgba(249, 115, 12, 0.08);
}

.shipping-card input[type="radio"] {
    accent-color: #F9730C;
}

.shipping-card .row {
    transition: opacity 0.3s ease-in-out;
    opacity: 0.5; /* Default inactive state */
}

.shipping-card.active .row {
    opacity: 1 !important;
}

.shipping-card .info-box {
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.shipping-card.active .info-box {
    background-color: rgba(249, 115, 12, 0.01);
}

.shipping-card .bi {
    font-size: 1.2rem;
    color: #666;
}

.shipping-card.active .bi {
    color: #F9730C;
}

.cart-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    min-height: 100px;
}

.item-meta {
    line-height: 1.4;
}

.quantity-selector .quantity {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2px;
}

.quantity-selector input[type="number"] {
    width: 30px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.quantity-selector .btn-qty {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6 !important;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.quantity-selector .btn-qty:hover {
    background: #fdfdfd;
    border-color: #ced4da !important;
    color: #F9730C;
}

.quantity-selector .btn-qty:active {
    background: #f8f9fa;
    transform: scale(0.95);
}

.cart-summary-card {
    border: none !important;
    background-color: #FFF8EE !important; /* Base color deeper */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cart-summary-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(213deg, #FFD9B7 0%, rgba(249, 226, 203, 0) 100%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.cart-summary-card > * {
    position: relative;
    z-index: 2;
}

.text-price {
    color: #F9730C !important;
}

.sticky-footer-mobile {
    z-index: 1040;
}

.remove-item-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 5;
}

.remove-item-btn:hover {
    background: #dc3545;
    color: #fff !important;
    transform: scale(1.1);
}

.remove-item-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

.transition-all {
    transition: all 0.2s ease-in-out;
}

.hover-danger:hover {
    color: #dc3545 !important;
}



@media (max-width: 991.98px) {
    .custom-cart-page {
        padding-bottom: 100px !important; /* Space for sticky footer */
    }
}

/* Hide Default Page Title on Cart Page */
.woocommerce-cart .display-4.fw-bold.mb-4 {
    display: none !important;
}

/* FAQ Section Styling */
.faq-section .accordion-button {
    background-color: transparent !important;
    box-shadow: none !important;
    padding-left: 0;
    padding-right: 0;
    color: #333;
    font-weight: 500;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #F9730C;
}

.faq-section .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.2s ease-in-out;
}

.faq-section .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid #eee !important;
}

.faq-section .accordion-body {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.5rem;
}

