/* =========================================
   ECOLAND CUSTOM CART
========================================= */

.ecoland-cart {
    background: #f7f0e3;
    padding: 38px 0 70px;
    min-height: 70vh;
}

.ecoland-cart .container {
    width: min(1230px, calc(100% - 40px));
    margin: 0 auto;
}

.ecoland-cart-title {
    margin: 0 0 30px;
    color: #173d25;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.1;
}


/* =========================================
   MAIN GRID
========================================= */

.ecoland-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(320px, 1fr);
    gap: 32px;
    align-items: start;
}


/* =========================================
   LEFT PRODUCTS
========================================= */

.ecoland-cart-products {
    min-width: 0;
}

.ecoland-cart-item {
    background: #fff;
    border: 1px solid #d8cdbd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.ecoland-cart-item-top {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ecoland-cart-image {
    width: 90px;
    min-width: 90px;
    height: 90px;
    border: 1px solid #ddd1be;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f1e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecoland-cart-image a {
    width: 100%;
    height: 100%;
    display: block;
}

.ecoland-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ecoland-cart-product-info {
    flex: 1;
    min-width: 0;
}

.ecoland-cart-label {
    display: block;
    margin-bottom: 12px;
    color: #cf6235;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ecoland-cart-product-name {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.35;
}

.ecoland-cart-product-name a {
    color: #102f1d;
    text-decoration: none;
}

.ecoland-cart-product-name a:hover {
    text-decoration: underline;
}

.ecoland-cart-meta {
    margin-bottom: 10px;
    color: #5f625a;
    font-size: 13px;
}

.ecoland-cart-meta p {
    margin: 0;
}

.ecoland-cart-clean {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    background: #e8f5e9;
    color: #26853a;
    font-size: 13px;
}


/* =========================================
   PRODUCT BOTTOM
========================================= */

.ecoland-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eadfce;
}

.ecoland-cart-quantity {
    min-width: 130px;
    padding: 12px 16px;
    background: #f4ecdc;
    border: 1px solid #ddd1be;
    border-radius: 8px;
    text-align: center;
    color: #173d25;
    font-weight: 600;
}

.ecoland-cart-price {
    text-align: right;
    color: #173d25;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
}

.ecoland-cart-remove {
    margin-top: 8px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.ecoland-cart-remove a {
    color: #cf6235;
    text-decoration: none;
}

.ecoland-cart-remove a:hover {
    text-decoration: underline;
}


/* =========================================
   CONTINUE SHOPPING
========================================= */

.ecoland-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 2px solid #ddd3c3;
    border-radius: 9px;
    color: #173d25;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
}

.ecoland-continue-shopping:hover {
    background: #fff;
}


/* =========================================
   ORDER SUMMARY
========================================= */

.ecoland-cart-summary {
    position: sticky;
    top: 25px;
    background: #fff;
    border: 1px solid #d8cdbd;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.ecoland-cart-summary h2 {
    margin: 0 0 25px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eadfce;
    color: #173d25;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    letter-spacing: .5px;
}


/* =========================================
   BENEFITS
========================================= */

.ecoland-summary-benefits {
    display: grid;
    gap: 18px;
    padding-bottom: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eadfce;
}

.ecoland-summary-benefits > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ecoland-summary-benefits strong {
    color: #303a2d;
    font-size: 14px;
}

.ecoland-summary-benefits span {
    padding-left: 25px;
    color: #666b62;
    font-size: 13px;
}


/* =========================================
   SUMMARY TOTALS
========================================= */

.ecoland-summary-row,
.ecoland-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    color: #40483c;
    border-bottom: 1px solid #eadfce;
}

.ecoland-summary-row strong {
    color: #253324;
    text-align: right;
}

.ecoland-summary-total {
    margin-top: 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.ecoland-summary-total strong {
    color: #173d25;
    font-size: 22px;
}


/* =========================================
   CHECKOUT BUTTON
========================================= */

.ecoland-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 25px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #214c28;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.12);
    transition: transform .2s ease, background .2s ease;
}

.ecoland-checkout-btn:hover {
    background: #173d25;
    transform: translateY(-1px);
}


/* =========================================
   EMPTY CART
========================================= */

.ecoland-cart-empty {
    background: #fff;
    border: 1px solid #d8cdbd;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

 .ecoland-cart-layout {
        display: block;
    }

    .ecoland-cart-products {
        margin-bottom: 22px;
    }

    .ecoland-cart-summary {
        position: static;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .ecoland-cart {
        padding: 25px 0 45px;
    }

    .ecoland-cart .container {
        width: min(100% - 24px, 1230px);
    }

    .ecoland-cart-title {
        margin-bottom: 22px;
        font-size: 34px;
    }

    .ecoland-cart-layout {
        gap: 22px;
        display: block;
    }

    .ecoland-cart-item {
        padding: 15px;
    }

    .ecoland-cart-item-top {
        gap: 14px;
    }

    .ecoland-cart-image {
        width: 78px;
        min-width: 78px;
        height: 78px;
    }

    .ecoland-cart-product-name {
        font-size: 16px;
    }

    .ecoland-cart-item-bottom {
        gap: 12px;
    }

    .ecoland-cart-quantity {
        min-width: 110px;
        padding: 10px;
    }

    .ecoland-cart-price {
        font-size: 18px;
    }

    .ecoland-cart-summary {
        padding: 20px;
    }

}


/* =========================================
   CART QUANTITY CONTROL
========================================= */

.ecoland-cart-quantity {
    width: 132px;
    height: 46px;
    min-width: 132px;
    padding: 0;

    display: grid;
    grid-template-columns: 44px 44px 44px;
    align-items: center;

    background: #f4ecdc;
    border: 1px solid #ddd1be;
    border-radius: 8px;
    overflow: hidden;
}


/* Minus / Plus buttons */
.ecoland-qty-btn {
    width: 44px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    border-radius: 0;

    color: #173d25;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    box-shadow: none;
}


/* Quantity number */
.ecoland-qty-input {
    width: 44px !important;
    height: 46px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;

    color: #173d25;
    font-size: 15px;
    font-weight: 700;
    text-align: center;

    box-shadow: none !important;
    appearance: textfield;
}


/* Remove browser number arrows */
.ecoland-qty-input::-webkit-inner-spin-button,
.ecoland-qty-input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}


/* Hover effect */
.ecoland-qty-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    color: #173d25;
}


/* Prevent theme button styles */
.ecoland-cart-quantity button:focus,
.ecoland-cart-quantity button:hover {
    border: 0;
    box-shadow: none;
    outline: none;
}



/* ==========================================
   ECOLAND CART - PROMO CODE
========================================== */

.ecoland-coupon-section {
    padding: 22px 0 24px;
    border-top: 1px solid #eadfca;
    border-bottom: 1px solid #eadfca;
    margin-top: 10px;
}

.ecoland-coupon-title {
    font-size: 14px;
    font-weight: 500;
    color: #263a25;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ecoland-coupon-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.ecoland-coupon-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d9cdb9;
    border-radius: 8px;
    background: #fff;
    color: #263a25;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.ecoland-coupon-form input:focus {
    border-color: #c96a3b;
}

#ecolandApplyCoupon {
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #c9673c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

#ecolandApplyCoupon:hover {
    opacity: 0.9;
}

.ecoland-coupon-message {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 600px) {

    .ecoland-coupon-form {
        gap: 7px;
    }

    .ecoland-coupon-form input {
        height: 46px;
    }

    #ecolandApplyCoupon {
        height: 46px;
        padding: 0 16px;
    }
}



/* ==========================================
   CART PRICE + REMOVE - DESIGNER LAYOUT
   ========================================== */

.ecoland-cart-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
}

.ecoland-line-total {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #163d24;
    line-height: 1.2;
}

.ecoland-remove {
    display: block;
    color: #d45f32 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.ecoland-remove:hover {
    color: #b94a22 !important;
    text-decoration: underline !important;
}




/* ==========================================
   FSSAI / TRUST BOX
   ========================================== */

.ecoland-cart-trust-box {
    border: 1px solid #ddd2c1;
    border-radius: 9px;
    padding: 20px;
    margin: 24px 0;
    background: #fffdf9;
}

.ecoland-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.ecoland-trust-item:last-child {
    margin-bottom: 0;
}

.ecoland-trust-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    border-radius: 50%;
    background: #dda640;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

.ecoland-trust-item strong {
    display: block;
    color: #315333;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ecoland-trust-item p {
    margin: 0;
    color: #596257;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================
   CUSTOMER RATING BOX
   ========================================== */

.ecoland-cart-rating-box {
    margin-top: 24px;
    padding: 20px 15px;
    border: 1px solid #e4a32c;
    border-radius: 9px;
    background: #fff8e8;
    text-align: center;
}

.ecoland-rating-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #e65319;
    font-size: 14px;
    font-weight: 700;
}

.ecoland-rating-star {
    color: #1e2f1d;
    font-size: 20px;
    line-height: 1;
}

.ecoland-cart-rating-box p {
    margin: 10px 0 0;
    color: #e65319;
    font-size: 13px;
    line-height: 1.4;
}



/* ==========================================
   CART / CHECKOUT PROGRESS
   ========================================== */

.ecoland-checkout-progress {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.ecoland-step {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;
}

/* Step 1 completed */
/* Checkout Progress */

.ecoland-checkout-progress{
    display:flex;
    justify-content:center;
    gap:18px;
    margin:25px 0 40px;
}

.ecoland-step{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:18px;
}

.ecoland-step-done{
    background:#2e7d32;
    color:#fff;
}

.ecoland-step-active{
    background:#e65100;
    color:#fff;
}

.ecoland-step-next{
    background:#d9d9d9;
    color:#666;
}



/* Coupon Messages */

.ecoland-coupon-message.success {
    display: block;
    color: #2f6b3b;
    font-weight: 600;
}

.ecoland-coupon-message.error {
    display: block;
    color: #c94f32;
    font-weight: 600;
}

#ecolandApplyCoupon:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}