/* Custom WooCommerce Cart Styling */

.entry-header{
    display: none;
}

/* Quantity input styling */
.woocommerce .quantity input[type="number"],
.woocommerce-cart-form .quantity input[type="number"] {
    background-color: #0D0C0A !important;
    border: 1px solid rgba(255, 230, 132, 0.3) !important;
    color: white !important;
    padding: 8px !important;
    border-radius: 4px !important;
    width: 80px !important;
    height: auto !important;
    text-align: center !important;
    font-size: 14px !important;
    box-shadow: 0px -1px 4px 0px rgba(255, 230, 132, 0.15) inset !important;
    transition: all 0.3s ease !important;
    font-weight:bold;
}

.woocommerce .quantity input[type="number"]:focus,
.woocommerce-cart-form .quantity input[type="number"]:focus {
    border-color: #FFE684 !important;
    outline: none !important;
    box-shadow: 0px 0px 6px 0px rgba(255, 230, 132, 0.3) !important;
}

/* Hide default spin buttons for number input */
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce-cart-form .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Product thumbnail styling */
.woocommerce-cart-form__contents .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 230, 132, 0.2);
}

/* Table row styling */
.woocommerce-cart-form__cart-item:hover {
    background-color: rgba(21, 20, 18, 0.7);
    transition: background-color 0.3s ease;
}

/* Product name styling */
.woocommerce-cart-form__contents .product-name a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.woocommerce-cart-form__contents .product-name a:hover {
    color: #FFE684;
}

/* Price styling */
.woocommerce-cart-form__contents .product-price .amount,
.woocommerce-cart-form__contents .product-subtotal .amount {
    color: white;
    font-weight: 500;
}

/* Cart table header styling */
.woocommerce-cart-form__contents thead {
    background-color: rgba(21, 20, 18, 0.7);
    border-bottom: 1px solid rgba(255, 230, 132, 0.2);
}

.woocommerce-cart-form__contents th {
    padding: 12px !important;
    font-weight: 600 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-cart-form__contents .product-thumbnail {
        display: none;
    }
    
    .woocommerce-cart-form__contents .product-thumbnail:before {
        display: none;
    }
    
    /* Make data-title labels yellow on mobile */
    .woocommerce table.shop_table_responsive tr td::before, 
    .woocommerce-page table.shop_table_responsive tr td::before {
        color: #FFE684;
        font-weight: 600;
    }
}

/* Shipping calculator styling */
.shipping-calculator-form select,
.shipping-calculator-form input[type="text"] {
    background-color: #151412;
    color: white;
    border: 1px solid rgba(255, 230, 132, 0.3);
    padding: 8px;
    border-radius: 4px;
    width: 100%;
}

/* Cross-sells styling */
.cross-sells h2 {
    color: #FFE684;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 230, 132, 0.2);
}

/* Coupon field responsive styling */
@media (max-width: 768px) {
    .coupon {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .coupon .button {
        margin-left: 0 !important;
        width: 100%;
    }
}

/* Remove button styling */
.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 230, 132, 0.3);
    background-color: #0D0C0A;
}

.product-remove a.remove:hover {
    background-color: rgba(255, 230, 132, 0.1);
}

/* Table cell padding */
.woocommerce-cart-form__contents td {
    padding: 12px !important;
}

/* Cart totals header */
.cart_totals h2 {
    position: relative;
    padding-bottom: 10px;
}

.cart_totals h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #FFE684;
    opacity: 0.7;
}
