/* AWP Custom Cart Layout Styles */

.awp-cart-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* Cart Table */
.awp-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
}

.awp-cart-table thead th {
    background: #f5f5f5;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
    font-size: 15px;
}

.awp-cart-table thead th.item-desc {
    width: 45%;
}

.awp-cart-table thead th.quantity {
    width: 20%;
    text-align: center;
}

.awp-cart-table thead th.price {
    width: 20%;
    text-align: center;
}

.awp-cart-table thead th.remove {
    width: 15%;
    text-align: center;
}

.awp-cart-table tbody td {
    padding: 20px 15px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* Product Display */
.awp-product {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.awp-image {
    flex-shrink: 0;
}

.awp-product img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.awp-details {
    flex: 1;
}

.product-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
}

.product-sku {
    font-weight: bold;
}

.product-meta {
    font-size: 13px;
    color: #666;
}

/* Quantity Column */
.quantity-col {
    text-align: center;
}

.awp-qty-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.awp-qty-input {
    width: 70px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

/* Price Column */
.price-col {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Remove Button */
.remove-col {
    text-align: center;
}

.awp-remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.awp-remove-item:hover {
    background: #c82333;
    color: #fff;
}

.awp-remove-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Loaders */
.awp-qty-loader,
.awp-remove-loader {
    font-size: 16px;
}

.awp-cart-item.updating {
    opacity: 0.6;
    pointer-events: none;
}

/* Action Buttons */
.awp-action-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.awp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
/*     border: 1px solid #ddd;
    background: #f5f5f5; 
    color: #333; */
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 400;
}
a.awp-btn.awp-btn-continue, .awp-discount-code .awp-btn{
	border: 1px solid #ddd;
    background: #f5f5f5;
	color: #333;
}

.awp-btn:hover {
    background: #e5e5e5;
    color: #333;
}

.awp-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.awp-btn-update {
    background: #e0e0e0;
}

/* Bottom Section */
.awp-cart-bottom {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.awp-cart-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.awp-cart-right {
    flex: 1;
}

/* Shipping Calculator & Discount Code */
.awp-shipping-calculator,
.awp-discount-code {
    border: 1px solid #ddd;
    padding: 25px;
    background: #fff;
    border-radius: 4px;
}

.awp-shipping-calculator h3,
.awp-discount-code h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awp-shipping-calculator p,
.awp-discount-code p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.awp-shipping-calculator select,
.awp-shipping-calculator input,
.awp-discount-code input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.awp-shipping-calculator label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.awp-shipping-calculator button,
.awp-discount-code button {
    width: 100%;
    margin-bottom: 0;
}

/* Cart Summary */
.awp-cart-summary {
    border: 1px solid #ddd;
    padding: 25px;
    background: #fff;
    border-radius: 4px;
}

.awp-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.awp-summary-row span {
    color: #666;
}

.awp-summary-row strong {
    color: #333;
    font-weight: 600;
}

.awp-summary-row.awp-discount {
    color: #28a745;
}

.awp-summary-row.awp-discount span {
    color: #28a745;
    display: row;
    align-items: center;
    gap: 8px;
}

.awp-summary-row.awp-discount strong {
    color: #28a745;
}

.awp-remove-coupon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    transition: background 0.3s;
    margin-left: 5px;
}

.awp-remove-coupon:hover {
    background: #c82333;
    color: #fff;
}

.awp-summary-row.awp-total {
    border-top: 2px solid #333;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.awp-summary-row.awp-total span,
.awp-summary-row.awp-total strong {
    color: #333;
    font-weight: 700;
}

/* Shipping Methods */
.awp-shipping-methods {
    margin: 15px 0;
}

.awp-shipping-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.awp-shipping-option:hover {
    background: #f9f9f9;
    border-color: #999;
}

.awp-shipping-option input {
    margin: 0;
    cursor: pointer;
}

.awp-shipping-option span {
    font-size: 14px;
    color: #333;
}

/* Checkout Button */
.awp-btn-checkout {
    width: 100%;
    justify-content: center;
    background: #0085ba;
    color: #fff;
    border: none;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
}

.awp-btn-checkout:hover {
    background: #006a95;
    color: #fff;
}

.awp-btn-checkout .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Payment Gateway Buttons */
.wc-proceed-to-checkout {
    margin-top: 20px;
    padding: 0;
}

.wc-proceed-to-checkout .awp-btn-checkout {
    width: 100%;
    justify-content: center;
    background: #0085ba;
    color: #fff;
    border: none;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.wc-proceed-to-checkout .awp-btn-checkout:hover {
    background: #006a95;
    color: #fff;
}

.wc-proceed-to-checkout .awp-btn-checkout .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Hide WooCommerce default checkout button */
.wc-proceed-to-checkout > a.checkout-button,
.wc-proceed-to-checkout a.button.checkout-button {
    display: none !important;
}

.wc-proceed-to-checkout .woocommerce-PaymentButtons,
.wc-proceed-to-checkout .payment_box {
    margin-top: 0;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .awp-cart-bottom {
        flex-direction: column;
    }
    
    .awp-cart-left,
    .awp-cart-right {
        width: 100%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .awp-cart-wrapper {
        padding: 10px;
    }
    
    .awp-action-buttons {
        flex-direction: column;
    }
    
    .awp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .awp-cart-table thead th {
        font-size: 13px;
        padding: 10px 8px;
    }
    
    .awp-cart-table tbody td {
        padding: 15px 8px;
    }
    
    .awp-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .awp-product img {
        width: 80px;
        height: 80px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .price-col {
        font-size: 16px;
    }
    
    .awp-qty-input {
        width: 60px;
    }
    
    .awp-remove-item {
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile Responsive */
@media (max-width: 576px) {
    .awp-cart-table {
        font-size: 13px;
    }
    
    .awp-cart-table thead {
        display: none;
    }
    
    .awp-cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    
    .awp-cart-table tbody td {
        display: block;
        text-align: center;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
    }
    
    .awp-cart-table tbody td:last-child {
        border-bottom: none;
    }
    
    .awp-product {
        flex-direction: row;
        text-align: left;
    }
    
    .quantity-col:before {
        content: "Quantity: ";
        font-weight: 600;
        margin-right: 10px;
    }
    
    .price-col:before {
        content: "Price: ";
        font-weight: 600;
        margin-right: 10px;
    }
    
    .awp-shipping-calculator,
    .awp-discount-code,
    .awp-cart-summary {
        padding: 20px;
    }
}
.cross-sells ul.products {
    margin: 0;
}
.cross-sells ul.products li .woocommerce-loop-product__title {
    text-align: center;
}
.cross-sells ul.products li .price {
    text-align: center;
    display: inline-block;
    width: 100%;
}
.cross-sells ul.products li{
       background: #fff;
    border-radius: 8px;
    padding: 19px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
    overflow: hidden;
}
.cross-sells {
    margin-top: 20px;
}