/*
Theme Name: Steelthemes Nest Child
Author: Steelthemes
Description: Nest is a Ecommerce wordpress Theme.
Version: 1.0
Template: steelthemes-nest

This is the child theme for Steelthemes Nest theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals 
{
	display: none;
}

.product-subtotal{
	display: none;
}

.product-total{
	display: none;
}

.cart-subtotal{
	display: none;
}

.order-total{
	display: none;
}

.woocommerce-mini-cart__total .total{
		display: none;
} */

.dgwt-wcas-search-wrapp {
    max-width: 1100px;
}

/* Checkout review order table styling with 4 columns */
.woocommerce-checkout-review-order-table .product-name {
    width: 40%;
}

.woocommerce-checkout-review-order-table .product-quantity {
    text-align: center;
    width: 15%;
    color: #333;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .product-weight {
    text-align: center;
    width: 20%;
    color: #666;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    width: 25%;
}

.woocommerce-checkout-review-order-table thead th {
    font-weight: 600;
    color: #333;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .woocommerce-checkout-review-order-table .product-quantity,
    .woocommerce-checkout-review-order-table .product-weight {
        display: block;
        text-align: left;
        width: 100%;
        padding-left: 0;
    }
}

/* Checkout review order table - Fix footer alignment */
.woocommerce-checkout-review-order-table tfoot tr th {
    text-align: left;
    font-weight: 600;
    padding: 12px;
}

.woocommerce-checkout-review-order-table tfoot tr td {
    text-align: right;
    padding: 12px;
}

/* Shipping row specific styling */
.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th {
    vertical-align: top;
}

.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
    text-align: right;
}

.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td ul li {
    text-align: right;
    margin-bottom: 0;
}

.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td ul li label {
    display: inline;
    margin: 0;
}

.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td .woocommerce-Price-amount {
    font-weight: 600;
}

/* Total Weight row */
.woocommerce-checkout-review-order-table tfoot tr.cart-total-weight th,
.woocommerce-checkout-review-order-table tfoot tr.cart-total-weight td {
    padding: 8px 12px;
    font-size: 14px;
    color: #666;
}

/* Subtotal and Total rows - make them stand out */
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

/* Order Total - make it prominent */
.woocommerce-checkout-review-order-table tfoot tr.order-total {
    border-top: 2px solid #ddd;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    padding-top: 16px;
    font-size: 18px;
}

/* Ensure proper spacing between rows */
.woocommerce-checkout-review-order-table tfoot tr {
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child {
    border-bottom: none;
}
/* Checkout page layout - Left column for billing/shipping, Right column for order */
.woocommerce-checkout .col2-set {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.woocommerce-checkout .col2-set .col-1 {
    flex: 1;
    max-width: 55%;
}

.woocommerce-checkout .col2-set .col-2 {
    flex: 1;
    max-width: 45%;
}

/* Billing details styling */
.woocommerce-checkout .col-1 .woocommerce-billing-fields {
    margin-bottom: 30px;
}

/* Shipping section below billing */
.woocommerce-checkout .col-1 .woocommerce-shipping-fields {
    margin-top: 0;
}

.woocommerce-checkout .col-1 .woocommerce-shipping-fields h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Order review box styling */
.woocommerce-checkout .col-2 #order_review {
    position: sticky;
    top: 20px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.woocommerce-checkout .col-2 #order_review h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Payment section should be full width below */
.woocommerce-checkout #payment {
    clear: both;
    margin-top: 30px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        flex-direction: column;
    }
    
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        max-width: 100%;
    }
    
    .woocommerce-checkout .col-2 #order_review {
        position: relative;
        top: auto;
    }
}

/* Ship to different address checkbox styling */
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address {
    margin-top: 20px;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-shipping-fields h3 input[type="checkbox"] {
    margin: 0;
}

/* Styling for the new 3-column Shipping row in Checkout Review Order */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals .shipping-label {
    /* Spans Product Name (40%) and Quantity (15%) columns */
    text-align: left;
    width: 55%; 
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals .shipping-rule-name {
    /* Aligns with the 'Weight' column (20%) */
    text-align: center;
    width: 20%; 
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals .shipping-price {
    /* Aligns with the 'Subtotal' column (25%) */
    text-align: right;
    width: 25%;
}