* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #30343d;
}


/* ================= HEADER ================= */

.cart-header {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12%;
    border-bottom: 1px solid #e5e5e5;
    background: white;
}

.header-logo img {
    width: 165px;
    height: auto;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-menu a {
    text-decoration: none;
    color: #111;
    font-size: 16px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-right a {
    color: #111;
    text-decoration: none;
    font-size: 16px;
}

.header-right i {
    font-size: 22px;
}

.search-box {
    width: 280px;
    height: 45px;
    background: #eeeeee;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    border-radius: 6px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
}

.bag-icon {
    position: relative;
}

.bag-icon span {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ffd500;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
}


/* ================= CART CONTAINER ================= */

.cart-container {
    width: 92%;
    max-width: 1550px;
    margin: 0 auto;
    padding-top: 20px;
}

.cart-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 38px;
}

.cart-title span {
    font-weight: bold;
}


/* ================= MAIN LAYOUT ================= */

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 26px;
    align-items: start;
}

.cart-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* ================= SAVING BANNER ================= */

.saving-banner {
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border: 1px solid #a8d4a6;
    background: #f3ffe9;
    border-radius: 8px;
    color: #187a31;
    font-size: 17px;
}

.saving-banner i {
    font-size: 20px;
}


/* ================= OFFER CARD ================= */

.offer-card {
    width: 100%;
    background: #f2f8fc;
    border-radius: 10px;
    padding: 18px;
}

.offer-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.offer-heading > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.offer-heading i {
    font-size: 20px;
    color: #0874ca;
}

.offer-heading p {
    font-size: 16px;
    margin-bottom: 6px;
}

.offer-heading small {
    color: #218b27;
    font-size: 14px;
}

.offer-heading a {
    text-decoration: none;
    color: #0874ca;
    font-size: 15px;
}


/* ================= PRODUCT CARD ================= */

.product-card {
    display: flex;
    gap: 15px;
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 9px;
    padding: 16px;
    min-height: 205px;
}

.product-img {
    width: 135px;
    height: 170px;
    object-fit: cover;
    border-radius: 5px;
}

.product-info {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-info h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-name {
    color: #7889a0;
    font-size: 14px;
    line-height: 1.5;
    padding-right: 15px;
}

.offer-text {
    color: #0874ca;
    font-size: 14px;
    margin-top: 8px;
}

.shipping {
    font-size: 14px;
    margin-top: 12px;
    color: #566273;
}

.shipping i {
    color: #168c36;
}

.remove-btn {
    position: absolute;
    top: -5px;
    right: 0;
    background: transparent;
    border: none;
    color: #8290a3;
    font-size: 20px;
    cursor: pointer;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    padding-top: 10px;
}

.product-select {
    display: flex;
    gap: 10px;
}

.product-select select {
    background: #f3f8fb;
    color: #0874ca;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.product-price {
    text-align: right;
    white-space: nowrap;
}

.product-price h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
}

.product-price del {
    color: #8995a5;
    font-size: 13px;
    font-weight: 400;
}

.product-price p {
    color: #15932a;
    font-size: 14px;
    margin-top: 5px;
}


/* ================= PINCODE ================= */

.pincode-box {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: #fffbea;
    border: 1px solid #eee5b9;
    border-radius: 9px;
}

.pincode-box i {
    font-size: 18px;
}

.pincode-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
}


/* ================= PREPAID CARD ================= */

.prepaid-card {
    position: relative;
    margin-top: 15px;
    background: #f1e6f8;
    border: 1px solid #dfc5f0;
    border-radius: 9px;
    padding: 7px;
}

.best-offer {
    position: absolute;
    top: -15px;
    left: 10px;
    background: white;
    color: #7b31a8;
    border: 1px solid #dfc5f0;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 13px;
}

.prepaid-content {
    background: white;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.prepaid-content p {
    font-size: 15px;
    line-height: 1.6;
}

.prepaid-content p b {
    color: #7b31a8;
}

.prepaid-content strong {
    color: #7b31a8;
}

.prepaid-content button {
    border: 1px solid #dfc5f0;
    color: #7b31a8;
    background: white;
    padding: 8px 13px;
    border-radius: 6px;
    cursor: pointer;
}

.coupon-link {
    text-align: center;
    padding: 10px 0 3px;
    font-size: 14px;
}

.coupon-link i {
    margin-left: 5px;
}


/* ================= PRICE SUMMARY ================= */

.price-summary {
    width: 100%;
    border: 1px solid #d2d8e0;
    border-radius: 10px;
    padding: 15px;
}

.summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.summary-heading h3 {
    font-size: 19px;
    font-weight: 500;
}

.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding: 8px 0 20px;
}

.total-price b {
    font-size: 17px;
}

.free-delivery {
    background: #efffe9;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin: 0 -15px 18px;
}

.free-delivery b {
    color: green;
}

.proceed-btn {
    width: 100%;
    height: 45px;
    background: #ffd500;
    border: none;
    border-radius: 7px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
}

.proceed-btn:hover {
    background: #f0c400;
}


/* ================= TRUST SECTION ================= */

.trust-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.trust-item {
    text-align: center;
    color: #8b98a9;
}

.trust-item i {
    font-size: 28px;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 11px;
    line-height: 1.5;
    font-weight: bold;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

    .cart-header {
        padding: 0 4%;
    }

    .cart-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 15px;
    }

    .search-box {
        width: 190px;
    }

}

@media (max-width: 768px) {

    .cart-header {
        height: auto;
        padding: 15px 4%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-logo img {
        width: 130px;
    }

    .header-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .header-right {
        gap: 12px;
    }

    .search-box {
        display: none;
    }

    .cart-container {
        width: 94%;
    }

    .cart-title {
        margin-bottom: 20px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-right {
        order: 2;
    }

    .product-card {
        padding: 10px;
        gap: 10px;
    }

    .product-img {
        width: 105px;
        height: 145px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-bottom {
        flex-wrap: wrap;
    }

    .product-price h3 {
        font-size: 16px;
    }

    .product-price del {
        font-size: 11px;
    }

    .product-price p {
        font-size: 12px;
    }

    .product-select select {
        font-size: 12px;
        padding: 6px;
    }

}

@media (max-width: 400px) {

    .product-img {
        width: 85px;
        height: 125px;
    }

    .product-select {
        gap: 4px;
    }

    .product-select select {
        font-size: 11px;
        padding: 5px;
    }

    .product-price h3 {
        font-size: 14px;
    }

    .offer-heading p {
        font-size: 13px;
    }

}