/* =========================
   GENERAL RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#252525;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

button{
    font:inherit;
}


/* =========================
   NAVIGATION BAR
========================= */

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#ffffff;
    box-shadow:0 2px 14px rgba(0,0,0,0.08);
}

.navbar{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.logo{
    display:flex;
    flex-direction:column;
}

.logo h2{
    color:#e91e63;
    font-size:27px;
    line-height:1.2;
}

.logo span{
    margin-top:3px;
    color:#777777;
    font-size:13px;
}

nav{
    display:flex;
    align-items:center;
    gap:28px;
}

nav a{
    color:#333333;
    font-weight:600;
    transition:color 0.3s ease;
}

nav a:hover,
nav .active{
    color:#e91e63;
}

.cart-link{
    position:relative;
    display:flex;
    align-items:center;
    gap:7px;
    padding:11px 17px;
    color:#ffffff;
    background:#e91e63;
    border-radius:9px;
}

.cart-link:hover{
    color:#ffffff;
    background:#c2185b;
}

.cart-count{
    min-width:21px;
    height:21px;
    padding:0 5px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e91e63;
    background:#ffffff;
    border-radius:50%;
    font-size:12px;
}


/* =========================
   CART HERO
========================= */

.cart-hero{
    padding:90px 20px;
    text-align:center;
    background:linear-gradient(to right,#ffd6e7,#fff2e0);
}

.hero-label{
    margin-bottom:10px;
    color:#e91e63;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
}

.cart-hero h1{
    margin-bottom:14px;
    color:#111111;
    font-size:50px;
    line-height:1.2;
}

.cart-hero p:last-child{
    max-width:650px;
    margin:0 auto;
    color:#555555;
    font-size:18px;
}


/* =========================
   BREADCRUMB
========================= */

.breadcrumb-section{
    background:#ffffff;
    border-bottom:1px solid #eeeeee;
}

.breadcrumb{
    min-height:62px;
    display:flex;
    align-items:center;
    gap:11px;
    color:#777777;
    font-size:14px;
}

.breadcrumb a:hover{
    color:#e91e63;
}

.breadcrumb i{
    font-size:10px;
}

.breadcrumb span{
    color:#e91e63;
    font-weight:700;
}


/* =========================
   CART SECTION
========================= */

.cart-section{
    min-height:500px;
    padding:80px 0;
    background:#f8f8f8;
}

.cart-layout{
    display:grid;
    grid-template-columns:minmax(0,1.7fr) minmax(300px,0.8fr);
    gap:35px;
    align-items:start;
}


/* =========================
   CART PRODUCTS AREA
========================= */

.cart-products{
    padding:30px;
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(0,0,0,0.07);
}

.cart-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:28px;
    padding-bottom:20px;
    border-bottom:1px solid #eeeeee;
}

.section-label{
    color:#e91e63;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1.5px;
}

.cart-heading h2{
    margin-top:4px;
    font-size:32px;
}

.clear-cart-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:11px 16px;
    color:#c62828;
    background:#fff5f5;
    border:1px solid #f3c7c7;
    border-radius:9px;
    cursor:pointer;
    font-weight:700;
    transition:0.3s ease;
}

.clear-cart-button:hover{
    color:#ffffff;
    background:#c62828;
    border-color:#c62828;
}


/* =========================
   CART PRODUCT ROW
========================= */

.cart-product{
    display:grid;
    grid-template-columns:125px minmax(0,1fr) auto auto;
    gap:20px;
    align-items:center;
    padding:22px 0;
    border-bottom:1px solid #eeeeee;
}

.cart-product:last-child{
    border-bottom:none;
}

.cart-product-image{
    overflow:hidden;
    width:125px;
    height:125px;
    background:#f1f1f1;
    border-radius:14px;
}

.cart-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.cart-product-details{
    min-width:0;
}

.product-category{
    margin-bottom:4px;
    color:#e91e63;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.7px;
}

.cart-product-details h3{
    margin-bottom:7px;
    color:#222222;
    font-size:19px;
    line-height:1.3;
}

.product-option,
.unit-price{
    color:#666666;
    font-size:14px;
}

.product-option{
    margin-bottom:3px;
}

.remove-button{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:11px;
    padding:0;
    color:#b3261e;
    background:none;
    border:none;
    cursor:pointer;
    font-size:13px;
    font-weight:700;
}

.remove-button:hover{
    color:#e91e63;
}


/* =========================
   CART QUANTITY
========================= */

.cart-quantity{
    text-align:center;
}

.cart-quantity > p,
.product-subtotal > p{
    margin-bottom:8px;
    color:#777777;
    font-size:13px;
}

.quantity-control{
    display:flex;
    align-items:center;
    overflow:hidden;
    border:1px solid #dddddd;
    border-radius:9px;
    background:#ffffff;
}

.quantity-control button{
    width:38px;
    height:38px;
    border:none;
    background:#f4f4f4;
    cursor:pointer;
    font-size:20px;
    transition:0.3s ease;
}

.quantity-control button:hover{
    color:#ffffff;
    background:#e91e63;
}

.quantity-control span{
    min-width:42px;
    text-align:center;
    font-weight:700;
}


/* =========================
   PRODUCT SUBTOTAL
========================= */

.product-subtotal{
    min-width:110px;
    text-align:right;
}

.product-subtotal strong{
    color:#e91e63;
    font-size:18px;
}


/* =========================
   CONTINUE SHOPPING
========================= */

.continue-shopping{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid #eeeeee;
}

.continue-shopping a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#e91e63;
    font-weight:700;
}

.continue-shopping a:hover{
    color:#c2185b;
}


/* =========================
   ORDER SUMMARY
========================= */

.order-summary{
    position:sticky;
    top:110px;
    padding:30px;
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(0,0,0,0.07);
}

.order-summary h2{
    margin-bottom:24px;
    font-size:28px;
}

.summary-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
    color:#555555;
}

.summary-row strong{
    color:#222222;
    text-align:right;
}

.summary-divider{
    height:1px;
    margin:22px 0;
    background:#eeeeee;
}

.total-row{
    margin-bottom:20px;
    color:#222222;
    font-size:19px;
    font-weight:700;
}

.total-row strong{
    color:#e91e63;
    font-size:24px;
}

.delivery-note{
    display:flex;
    align-items:flex-start;
    gap:9px;
    margin-bottom:24px;
    padding:14px;
    color:#666666;
    background:#fff7fa;
    border-radius:10px;
    font-size:13px;
}

.delivery-note i{
    margin-top:3px;
    color:#e91e63;
}

.checkout-button{
    width:100%;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 18px;
    color:#ffffff;
    background:#e91e63;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
    transition:0.3s ease;
}

.checkout-button:hover{
    background:#c2185b;
    transform:translateY(-2px);
}

.secure-checkout{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:15px;
    color:#777777;
    font-size:13px;
}

.secure-checkout i{
    color:#2e7d32;
}


/* =========================
   EMPTY CART
========================= */

.empty-cart{
    display:none;
    max-width:650px;
    margin:0 auto;
    padding:70px 30px;
    text-align:center;
    background:#ffffff;
    border-radius:20px;
    box-shadow:0 10px 28px rgba(0,0,0,0.07);
}

.empty-cart-icon{
    width:100px;
    height:100px;
    margin:0 auto 24px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e91e63;
    background:#fff0f5;
    border-radius:50%;
    font-size:42px;
}

.empty-cart h2{
    margin-bottom:10px;
    font-size:30px;
}

.empty-cart p{
    max-width:460px;
    margin:0 auto 27px;
    color:#666666;
}

.shop-button{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:14px 26px;
    color:#ffffff;
    background:#e91e63;
    border-radius:10px;
    font-weight:700;
    transition:0.3s ease;
}

.shop-button:hover{
    background:#c2185b;
    transform:translateY(-2px);
}


/* =========================
   STORE BENEFITS
========================= */

.store-benefits{
    padding:65px 0;
    background:#ffffff;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.benefit-card{
    display:flex;
    align-items:flex-start;
    gap:18px;
    padding:28px;
    background:#fff8fb;
    border-radius:15px;
}

.benefit-card > i{
    min-width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    background:#e91e63;
    border-radius:50%;
    font-size:20px;
}

.benefit-card h3{
    margin-bottom:5px;
    font-size:19px;
}

.benefit-card p{
    color:#666666;
    font-size:14px;
}


/* =========================
   FOOTER
========================= */

footer{
    padding:70px 0 20px;
    color:#ffffff;
    background:#111111;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

.footer-grid h3{
    margin-bottom:17px;
}

.footer-grid p{
    margin-bottom:9px;
    color:#cccccc;
}

.footer-grid a{
    color:#cccccc;
    transition:color 0.3s ease;
}

.footer-grid a:hover{
    color:#ffffff;
}

.copyright{
    width:90%;
    max-width:1200px;
    margin:45px auto 0;
    padding-top:20px;
    color:#999999;
    text-align:center;
    border-top:1px solid #333333;
}


/* =========================
   TABLET RESPONSIVE DESIGN
========================= */

@media(max-width:1000px){

    .navbar{
        padding:17px 0;
        flex-direction:column;
    }

    nav{
        justify-content:center;
        flex-wrap:wrap;
    }

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

    .order-summary{
        position:static;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */

@media(max-width:700px){

    .navbar{
        width:94%;
    }

    .logo{
        text-align:center;
    }

    .logo h2{
        font-size:23px;
    }

    nav{
        gap:14px;
        font-size:14px;
    }

    .cart-link{
        padding:9px 13px;
    }

    .cart-hero{
        padding:65px 18px;
    }

    .cart-hero h1{
        font-size:35px;
    }

    .cart-hero p:last-child{
        font-size:16px;
    }

    .breadcrumb{
        overflow-x:auto;
        white-space:nowrap;
    }

    .cart-section{
        padding:55px 0;
    }

    .cart-products,
    .order-summary{
        padding:22px;
    }

    .cart-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .cart-heading h2{
        font-size:28px;
    }

    .cart-product{
        grid-template-columns:95px 1fr;
        gap:15px;
    }

    .cart-product-image{
        width:95px;
        height:95px;
    }

    .cart-quantity,
    .product-subtotal{
        grid-column:2;
        text-align:left;
    }

    .cart-quantity{
        margin-top:8px;
    }

    .product-subtotal{
        min-width:0;
    }

    .product-subtotal > p{
        margin-bottom:2px;
    }

    .summary-row{
        gap:10px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

}


@media(max-width:430px){

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

    .cart-product-image{
        width:100%;
        height:250px;
    }

    .cart-quantity,
    .product-subtotal{
        grid-column:auto;
    }

    .quantity-control{
        width:max-content;
    }

    .empty-cart{
        padding:50px 20px;
    }

    .empty-cart h2{
        font-size:25px;
    }

}