.cart-page-wrap {
    background: #f8faf7;
}

.cart-page-title {
    font-size: 28px;
    font-weight: 900;
    color: #073b3a;
}

/* =========================
   CART LINE CARD
========================= */

.cart-line-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 148px 112px;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e8eee8;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 12px 34px rgba(7, 59, 58, 0.07);
}

.cart-product-img-box {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    background: #f4f7f3;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
}

.cart-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-line-info {
    min-width: 0;
}

.cart-product-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 900;
    color: #073b3a !important;
    line-height: 1.28;
    margin-bottom: 8px;
    text-decoration: none !important;
}

.cart-product-title:hover {
    color: #1c7c43 !important;
}

.cart-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.cart-product-meta span {
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
}

/* =========================
   QTY STEPPER
========================= */

.cart-page-stepper {
    width: 148px;
    height: 44px;
    display: grid;
    grid-template-columns: 44px 60px 44px;
    background: #f1fff6;
    border: 1.5px solid #1c7c43;
    border-radius: 999px;
    overflow: hidden;
    justify-self: center;
}

.cart-page-qty-btn {
    width: 44px;
    height: 44px;
    color: #1c7c43 !important;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-page-qty-btn:hover {
    background: #1c7c43;
    color: #ffffff !important;
}

.cart-page-qty-number {
    height: 44px;
    color: #073b3a;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(28, 124, 67, 0.18);
    border-right: 1px solid rgba(28, 124, 67, 0.18);
}

.cart-line-total {
    font-size: 20px;
    font-weight: 900;
    color: #111827;
    text-align: right;
    white-space: nowrap;
}

/* =========================
   EMPTY CART STATE
========================= */

.empty-cart-box {
    max-width: 860px;
    margin: 30px auto 10px;
    padding: 52px 30px !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at top right, rgba(28, 124, 67, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(255, 179, 71, 0.12), transparent 30%),
        #ffffff;
    border: 1px solid rgba(20, 52, 50, 0.08);
    box-shadow: 0 18px 40px rgba(20, 52, 50, 0.08);
}

.empty-cart-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c7c43, #146c37);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 14px 28px rgba(28, 124, 67, 0.22);
}

.empty-cart-title {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 900;
    color: #143432;
}

.empty-cart-text {
    max-width: 620px;
    margin: 0 auto 26px;
    font-size: 18px;
    line-height: 1.75;
    color: #556463;
}

.empty-cart-btn {
    min-width: 240px;
    height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1c7c43, #146c37);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(28, 124, 67, 0.18);
    transition: all 0.28s ease;
}

.empty-cart-btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(28, 124, 67, 0.24);
}

/* =========================
   ORDER SUMMARY
========================= */

.order-summary-card {
    position: sticky;
    top: 20px;
}

.order-summary-card h4 {
    font-size: 22px;
    font-weight: 900;
    color: #073b3a;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 14px 0;
    font-size: 15px;
    color: #42513f;
}

.summary-row strong {
    color: #073b3a;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 900;
    color: #073b3a;
}

.checkout-main-btn {
    width: 100%;
    height: 52px;
    margin-top: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1c7c43, #146c37);
    color: #ffffff !important;
    font-weight: 900;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.continue-link,
.clear-cart-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #1c7c43 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.clear-cart-link {
    color: #c1121f !important;
    text-align: left;
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px) {
    .cart-line-card {
        grid-template-columns: 84px minmax(0, 1fr) 136px 98px;
        gap: 12px;
    }

    .cart-product-img-box {
        width: 84px;
        height: 84px;
    }

    .cart-product-title {
        font-size: 16px;
    }

    .cart-product-meta span {
        font-size: 13px;
    }

    .cart-page-stepper {
        width: 136px;
        height: 40px;
        grid-template-columns: 40px 56px 40px;
    }

    .cart-page-qty-btn {
        width: 40px;
        height: 40px;
    }

    .cart-page-qty-number {
        height: 40px;
        font-size: 16px;
    }

    .cart-line-total {
        font-size: 18px;
    }

    .order-summary-card {
        position: static;
        margin-top: 24px;
    }

    .empty-cart-box {
        padding: 42px 24px !important;
        border-radius: 24px !important;
    }

    .empty-cart-title {
        font-size: 32px;
    }

    .empty-cart-text {
        font-size: 16px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .cart-page-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cart-page-title {
        font-size: 22px;
        margin-bottom: 14px !important;
    }

    .cart-line-card {
        grid-template-columns: 62px minmax(0, 1fr) 92px;
        gap: 8px;
        padding: 10px;
        border-radius: 15px;
        margin-bottom: 10px;
        align-items: center;
    }

    .cart-product-img-box {
        width: 62px;
        height: 62px;
        border-radius: 11px;
    }

    .cart-product-img-box img {
        padding: 4px;
    }

    .cart-product-title {
        font-size: 13px;
        line-height: 1.22;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cart-product-meta {
        gap: 3px;
        flex-direction: column;
    }

    .cart-product-meta span {
        font-size: 11px;
        line-height: 1.15;
    }

    .cart-page-stepper {
        width: 88px;
        height: 30px;
        grid-template-columns: 28px 32px 28px;
        justify-self: end;
    }

    .cart-page-qty-btn {
        width: 28px;
        height: 30px;
        font-size: 16px;
    }

    .cart-page-qty-number {
        height: 30px;
        font-size: 13px;
    }

    .cart-line-total {
        grid-column: 3;
        grid-row: 2;
        font-size: 13px;
        text-align: right;
        align-self: start;
    }

    .checkout-card {
        padding: 14px;
        border-radius: 15px;
    }

    .order-summary-card h4 {
        font-size: 19px;
    }

    .summary-row {
        font-size: 13px;
        margin: 11px 0;
    }

    .summary-row.total {
        font-size: 17px;
    }

    .checkout-main-btn {
        height: 46px;
        font-size: 14px;
        border-radius: 12px;
    }

    .continue-link,
    .clear-cart-link {
        font-size: 13px;
    }

    .empty-cart-box {
        margin: 14px auto 6px;
        padding: 28px 16px !important;
        border-radius: 18px !important;
    }

    .empty-cart-icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .empty-cart-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .empty-cart-text {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .empty-cart-btn {
        width: 100%;
        min-width: 100%;
        height: 46px;
        font-size: 14px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 420px) {
    .cart-line-card {
        grid-template-columns: 56px minmax(0, 1fr) 82px;
        gap: 7px;
        padding: 9px;
    }

    .cart-product-img-box {
        width: 56px;
        height: 56px;
    }

    .cart-product-title {
        font-size: 12px;
    }

    .cart-product-meta span {
        font-size: 10.5px;
    }

    .cart-page-stepper {
        width: 80px;
        height: 28px;
        grid-template-columns: 25px 30px 25px;
    }

    .cart-page-qty-btn {
        width: 25px;
        height: 28px;
        font-size: 15px;
    }

    .cart-page-qty-number {
        height: 28px;
        font-size: 12px;
    }

    .cart-line-total {
        font-size: 12px;
    }
}

.cart-coupon-box{margin:18px 0;padding:14px;border:1px dashed #b9cbbd;border-radius:12px;background:#f7fbf8}.cart-coupon-box>label{display:block;margin-bottom:8px;color:#073b3a;font-size:13px;font-weight:900}.coupon-apply-form{display:flex;gap:8px}.coupon-apply-form input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid #ccd9cf;border-radius:9px;text-transform:uppercase;font:inherit;font-size:13px}.coupon-apply-form button,.applied-coupon button{height:42px;padding:0 15px;border:0;border-radius:9px;background:#1c7c43;color:#fff;font-size:12px;font-weight:850;cursor:pointer}.coupon-message{margin-bottom:8px;padding:8px 10px;border-radius:8px;font-size:11px;line-height:1.4}.coupon-message.error{background:#fff0f1;color:#ae2632}.coupon-message.success{background:#eaf7ee;color:#216d40}.applied-coupon{display:flex;align-items:center;justify-content:space-between;gap:10px}.applied-coupon strong,.applied-coupon small{display:block}.applied-coupon strong{color:#12643a}.applied-coupon small{margin-top:2px;color:#63746a;font-size:10px}.applied-coupon button{height:34px;background:#fff0f1;color:#ae2632}.coupon-login-note{display:block;margin-top:7px;color:#7b877f;font-size:10px}.coupon-discount-row,.coupon-discount-row strong{color:#177340!important}
