.teg-cart-page{
    padding:80px 0;
}

.teg-cart-page .container{
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
}

.teg-cart-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
    align-items:start;
}

.teg-cart-products{
    width:100%;
}

.teg-cart-summary{
    width:100%;
}

@media(max-width:991px){

.teg-cart-layout{
    grid-template-columns:1fr;
}

}.cart-product-card{
    display:flex;
    gap:30px;
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    margin-bottom:30px;
    align-items:flex-start;
}

.cart-product-image{
    width:220px;
    flex-shrink:0;
}

.cart-product-image img{
    width:100%;
    border-radius:16px;
    display:block;
}

.cart-product-info{
    flex:1;
}

.cart-product-title{
    font-size:34px;
    line-height:1.4;
    margin:0 0 20px;
}

.cart-product-title a{
    color:#111;
    text-decoration:none;
}

.cart-product-price{
    font-size:28px;
    color:#d4a017;
    font-weight:700;
    margin-bottom:20px;
}

.cart-product-quantity{
    margin:20px 0;
}

.cart-product-quantity input{
    width:90px;
    height:50px;
    text-align:center;
}

.cart-product-subtotal{
    font-size:22px;
    margin:20px 0;
}

.remove-product{
    color:#e53935;
    text-decoration:none;
    font-weight:600;
}/*====================================
PRODUCT CARD
====================================*/

.cart-product-card{
    display:flex;
    align-items:flex-start;
    gap:35px;
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 12px 40px rgba(0,0,0,.08);
    margin-bottom:30px;
}

.cart-product-image{
    width:260px;
    flex-shrink:0;
}

.cart-product-image img{
    width:100%;
    display:block;
    border-radius:16px;
}

.cart-product-info{
    flex:1;
}

.cart-product-title{
    font-size:24px;
    line-height:1.45;
    font-weight:700;
    margin:0 0 18px;
}

.cart-product-title a{
    color:#111;
    text-decoration:none;
}

.cart-product-title a:hover{
    color:#173f90;
}

.cart-product-price{
    font-size:38px;
    font-weight:700;
    color:#D4A017;
    margin-bottom:20px;
}

.cart-product-quantity{
    margin-bottom:20px;
}

.cart-product-quantity label{
    display:block;
    font-weight:600;
    margin-bottom:10px;
}

.cart-product-quantity input{
    width:90px;
    height:50px;
    text-align:center;
    border-radius:10px;
}

.cart-product-subtotal{
    font-size:24px;
    font-weight:600;
    margin-bottom:18px;
}

.remove-product{
    color:#E53935;
    font-weight:600;
    text-decoration:none;
}

.remove-product:hover{
    text-decoration:underline;
}/*=========================
ORDER SUMMARY
=========================*/

.cart-summary-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    position:sticky;
    top:120px;
}

.cart-summary-card h2{
    font-size:36px;
    margin-bottom:25px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #eee;
    font-size:20px;
}

.summary-row.total{
    font-size:26px;
    font-weight:700;
}

.coupon-box{
    display:flex;
    gap:12px;
    margin:30px 0;
}

.coupon-box input{
    flex:1;
    height:52px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 15px;
}

.coupon-box button{
    background:#173f90;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:0 24px;
    cursor:pointer;
}

.update-cart-btn,
.checkout-btn{
    width:100%;
    display:block;
    text-align:center;
    padding:18px;
    border-radius:12px;
    font-weight:700;
    text-decoration:none;
    margin-top:15px;
}

.update-cart-btn{
    background:#f4f4f4;
    color:#111;
    border:none;
}

.checkout-btn{
    background:#173f90;
    color:#fff;
}

.cart-features{
    margin-top:25px;
}

.cart-features div{
    margin:10px 0;
    font-size:16px;
}.cart-product-bottom{
    display:flex;
    align-items:center;
    gap:40px;
    margin-top:30px;
}

.cart-product-quantity{
    margin:0;
}

.cart-product-subtotal{
    margin:0;
    font-size:20px;
}

.cart-product-remove{
    margin-left:auto;
}

.remove-product{
    color:#E53935;
    font-weight:700;
}

.cart-product-title{
    font-size:18px;
}

.cart-product-image{
    width:180px;
}

.cart-product-price{
    font-size:30px;
}/* =====================================
   SECURE CHECKOUT BADGE
===================================== */

.cart-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    background:#eef4ff;
    color:#173f90;

    padding:9px 16px;
    border:1px solid #dbe6ff;
    border-radius:50px;

    font-size:14px;
    font-weight:600;

    margin-bottom:12px;
}


/* =====================================
   APPLIED COUPON
===================================== */

.applied-coupons{
    margin:12px 0 5px;
}

.coupon-item{
    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#eef4ff;
    border:1px solid #d8e4ff;

    padding:10px 14px;
    border-radius:10px;

    color:#173f90;
    font-size:14px;
    font-weight:600;
}

.coupon-item span::before{
    content:"🏷️";
    margin-right:8px;
}

.coupon-item a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:26px;
    height:26px;

    background:#fff;
    border-radius:50%;

    color:#e53935;
    text-decoration:none;
    font-size:15px;
    font-weight:700;

    transition:0.2s ease;
}

.coupon-item a:hover{
    background:#e53935;
    color:#fff;
}.coupon-item{
    background:linear-gradient(135deg,#eef5ff,#f8fbff);
    border:1px solid #cddfff;
    border-radius:14px;
    padding:14px 18px;
    box-shadow:0 8px 20px rgba(23,63,144,.08);
}

.coupon-item span{
    font-size:15px;
    font-weight:700;
}.cart-badge{
    box-shadow:0 10px 25px rgba(23,63,144,.12);
    transition:.3s;
}

.cart-badge:hover{
    transform:translateY(-2px);
}.coupon-item a{

    width:30px;
    height:30px;

    font-size:18px;

    border:2px solid #ffd2d2;

    background:#fff;
}.cart-summary-card{

    transition:.35s;

}

.cart-summary-card:hover{

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}/*====================================
QUANTITY SELECTOR
====================================*/

.cart-product-quantity{
    margin:25px 0;
}

.quantity{
    display:flex;
    align-items:center;
}

.quantity input.qty{
    width:60px;
    height:48px;
    text-align:center;
    border:1px solid #dcdcdc;
    border-left:none;
    border-right:none;
    border-radius:0;
    font-size:18px;
    font-weight:600;
    background:#fff;
}

.qty-btn{
    width:48px;
    height:48px;
    border:1px solid #dcdcdc;
    background:#f8f9fc;
    font-size:22px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.qty-btn.minus{
    border-radius:10px 0 0 10px;
}

.qty-btn.plus{
    border-radius:0 10px 10px 0;
}

.qty-btn:hover{
    background:#173F90;
    color:#fff;
    border-color:#173F90;
}.quantity-wrapper{
    display:flex;
    align-items:center;
    width:max-content;
}

.quantity-wrapper .qty-btn{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d8d8d8;
    background:#f8f9fc;
    cursor:pointer;
    font-size:22px;
    font-weight:700;
    padding:0;
}

.quantity-wrapper .minus{
    border-radius:10px 0 0 10px;
}

.quantity-wrapper .plus{
    border-radius:0 10px 10px 0;
}

.quantity-wrapper .quantity{
    margin:0;
}

.quantity-wrapper .quantity input.qty{
    width:60px;
    height:45px;
    margin:0;
    border-left:0;
    border-right:0;
    border-radius:0;
    text-align:center;
    font-size:18px;
    font-weight:600;
}/* =========================================================
   THE ENGINEERS GROUP - RESPONSIVE CART
   Desktop + Tablet + Mobile
========================================================= */


/* ---------- MAIN CART ---------- */

.teg-cart-form {
    width: 100%;
}

.teg-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    align-items: start;
}

.teg-cart-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ---------- PRODUCT CARD ---------- */

.teg-cart-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;

    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 18px;
    padding: 20px;

    box-shadow: 0 8px 25px rgba(15, 48, 110, 0.06);

    min-width: 0;
}


/* ---------- PRODUCT IMAGE ---------- */

.cart-product-image {
    width: 150px;
    height: 190px;

    overflow: hidden;
    border-radius: 12px;
    background: #f5f7fb;
}

.cart-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.cart-product-image a {
    display: block;
    width: 100%;
    height: 100%;
}


/* ---------- PRODUCT INFO ---------- */

.cart-product-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.cart-product-title {
    margin: 0 0 10px;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;

    color: #102f70;

    overflow-wrap: anywhere;
}

.cart-product-title a {
    color: inherit;
    text-decoration: none;
}


.cart-product-price {
    margin-bottom: 18px;

    font-size: 18px;
    font-weight: 700;
}


/* ---------- QUANTITY ---------- */

.cart-product-quantity {
    margin-bottom: 18px;
}

.cart-product-quantity label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 600;
    color: #68758a;
}


.quantity-wrapper {
    display: inline-flex;
    align-items: center;

    border: 1px solid #dfe5ee;
    border-radius: 9px;

    overflow: hidden;
    background: #ffffff;
}


.quantity-wrapper .qty-btn {
    width: 38px;
    height: 38px;

    border: 0;
    background: #f3f6fa;

    color: #123a82;

    font-size: 20px;
    font-weight: 700;

    cursor: pointer;
}


.quantity-wrapper .qty-btn:hover {
    background: #123a82;
    color: #ffffff;
}


.quantity-wrapper .quantity {
    margin: 0;
}


.quantity-wrapper input.qty {
    width: 48px !important;
    height: 38px !important;

    border: 0 !important;
    border-left: 1px solid #e4e8ef !important;
    border-right: 1px solid #e4e8ef !important;

    text-align: center;

    font-size: 15px;
    font-weight: 600;

    padding: 0 !important;
}


/* ---------- SUBTOTAL ---------- */

.cart-product-subtotal {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;

    font-size: 15px;
}

.cart-product-subtotal span {
    color: #68758a;
}

.cart-product-subtotal strong {
    color: #b48600;
}


/* ---------- REMOVE ---------- */

.cart-product-remove {
    margin-top: auto;
}

.remove-product {
    display: inline-block;

    color: #d33b3b;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.remove-product:hover {
    color: #a90000;
    text-decoration: underline;
}


/* =========================================================
   ORDER SUMMARY
========================================================= */

.teg-cart-summary {
    position: sticky;
    top: 25px;
}


.cart-summary-card {
    background: #ffffff;

    border: 1px solid #e4e9f1;
    border-radius: 18px;

    padding: 25px;

    box-shadow: 0 10px 30px rgba(15, 48, 110, 0.07);
}


.cart-summary-card h2 {
    margin: 0 0 22px;

    color: #102f70;

    font-size: 24px;
}


.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid #edf0f4;
}


.summary-row.total {
    margin-top: 8px;

    border-bottom: 0;

    font-size: 20px;
    font-weight: 700;
}


.summary-row.total strong {
    color: #c08b00;
}


/* ---------- COUPON ---------- */

.coupon-box {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}


.coupon-box input {
    min-width: 0;
    flex: 1;

    height: 45px;

    border: 1px solid #dce2eb;
    border-radius: 8px;

    padding: 0 12px;

    font-size: 14px;
}


.coupon-box button {
    flex-shrink: 0;

    border: 0;
    border-radius: 8px;

    padding: 0 15px;

    background: #123a82;
    color: #ffffff;

    font-weight: 600;

    cursor: pointer;
}


.coupon-box button:hover {
    background: #0d2d66;
}


/* ---------- CART BUTTONS ---------- */

.update-cart-btn,
.checkout-btn {
    width: 100%;

    min-height: 48px;

    border-radius: 9px;

    font-weight: 700;

    text-align: center;

    cursor: pointer;
}


.update-cart-btn {
    margin-top: 15px;

    border: 1px solid #123a82;

    background: #ffffff;
    color: #123a82;
}


.update-cart-btn:hover {
    background: #123a82;
    color: #ffffff;
}


.checkout-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 12px;

    padding: 13px 15px;

    background: #123a82;
    color: #ffffff;

    text-decoration: none;
}


.checkout-btn:hover {
    background: #0d2d66;
    color: #ffffff;
}


/* ---------- FEATURES ---------- */

.cart-features {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #edf0f4;

    font-size: 13px;
    color: #536176;
}


/* =========================================================
   EMPTY CART
========================================================= */

.continue-shopping-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border-radius: 9px;

    background: #123a82;
    color: #ffffff;

    text-decoration: none;
    font-weight: 700;
}


/* =========================================================
   TABLET
   769px - 1100px
========================================================= */

@media (max-width: 1100px) {

    .teg-cart-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    .teg-cart-item {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 18px;
        padding: 16px;
    }

    .cart-product-image {
        width: 125px;
        height: 165px;
    }

    .cart-product-title {
        font-size: 18px;
    }

    .cart-summary-card {
        padding: 20px;
    }

}


/* =========================================================
   MOBILE
   Up to 768px
========================================================= */

@media (max-width: 768px) {

    .teg-cart-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    .teg-cart-products,
    .teg-cart-summary {
        width: 100%;
    }


    .teg-cart-summary {
        position: static;
    }


    /* PRODUCT CARD */

    .teg-cart-item {
        grid-template-columns: 100px minmax(0, 1fr);

        gap: 15px;

        padding: 14px;

        border-radius: 14px;
    }


    /* IMAGE */

    .cart-product-image {
        width: 100px;
        height: 135px;

        border-radius: 10px;
    }


    /* TITLE */

    .cart-product-title {
        font-size: 16px;
        line-height: 1.4;

        margin-bottom: 7px;
    }


    .cart-product-price {
        font-size: 16px;

        margin-bottom: 12px;
    }


    /* QUANTITY */

    .cart-product-quantity {
        margin-bottom: 12px;
    }


    .quantity-wrapper .qty-btn {
        width: 34px;
        height: 34px;
    }


    .quantity-wrapper input.qty {
        width: 42px !important;
        height: 34px !important;
    }


    /* SUBTOTAL */

    .cart-product-subtotal {
        font-size: 14px;

        gap: 8px;

        margin-bottom: 8px;
    }


    /* REMOVE */

    .remove-product {
        font-size: 13px;
    }


    /* SUMMARY */

    .cart-summary-card {
        padding: 18px;

        border-radius: 14px;
    }


    .cart-summary-card h2 {
        font-size: 21px;
    }


    .coupon-box {
        flex-direction: column;
    }


    .coupon-box input {
        width: 100%;
    }


    .coupon-box button {
        width: 100%;

        min-height: 44px;
    }


    .update-cart-btn,
    .checkout-btn {
        min-height: 46px;
    }

}


/* =========================================================
   SMALL MOBILE
   Up to 480px
========================================================= */

@media (max-width: 480px) {

    .teg-cart-item {
        grid-template-columns: 85px minmax(0, 1fr);

        gap: 12px;

        padding: 12px;
    }


    .cart-product-image {
        width: 85px;
        height: 115px;
    }


    .cart-product-title {
        font-size: 15px;

        line-height: 1.35;
    }


    .cart-product-price {
        font-size: 15px;
    }


    .cart-product-quantity label {
        font-size: 12px;
    }


    .quantity-wrapper .qty-btn {
        width: 30px;
        height: 32px;

        font-size: 17px;
    }


    .quantity-wrapper input.qty {
        width: 38px !important;
        height: 32px !important;
    }


    .cart-product-subtotal {
        flex-direction: column;
        align-items: flex-start;

        gap: 2px;
    }


    .cart-summary-card {
        padding: 15px;
    }


    .summary-row.total {
        font-size: 18px;
    }

}