/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}




/* ==========================================
   CONTAINER
========================================== */


.container{
    width:95%;
    max-width:1300px;
    margin:auto;
    padding:30px 0;
    overflow:visible;
}

/* ==========================================
   HEADER
========================================== */


.topbar{

    background:#25D366;

    color:white;

    padding:20px;

    border-radius:15px;

    margin-bottom:30px;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:20px;

}

.topbar h1{

    font-size:34px;

    margin:0;

    text-align:center;

}



.topbar nav{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

}


.topbar nav a{

    text-decoration:none;

    background:white;

    color:#25D366;

    padding:12px 22px;

    border-radius:8px;

    font-weight:bold;

    transition:.3s;

}



.topbar nav a:hover,
.topbar nav a.active{

    background:#1faa55;

    color:white;

}



/* ==========================================
   CARD
========================================== */


.card{

    background:white;

    padding:30px;

    border-radius:15px;

    margin-bottom:30px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}



.card h2{

    margin-bottom:25px;

    color:#222;

}



/* ==========================================
   PRODUCT FORM
========================================== */


.product-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:20px;

}



.form-group{

    display:flex;

    flex-direction:column;

    margin-bottom:20px;

}



.form-group label{

    font-weight:600;

    margin-bottom:10px;

    color:#444;

}



.form-group input,
.form-group select,
.form-group textarea{


    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

    background:white;

    transition:.3s;


}



.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{


    outline:none;

    border-color:#25D366;

    box-shadow:0 0 8px rgba(37,211,102,.25);


}



.form-group textarea{

    resize:vertical;

    min-height:140px;

}



.full{

    grid-column:1/-1;

}



/* Checkbox */


.checkbox-label{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:bold;

}



.checkbox-label input{

    width:18px;

    height:18px;

}



/* Publish Button */
.product-homepage-sections{min-width:0;padding:16px;border:1px solid rgba(57,231,95,.25);border-radius:10px;}
.product-grid .form-group{min-width:0;}
.product-homepage-sections legend{padding:0 6px;font-weight:700;color:inherit;}
.product-section-checkboxes{display:flex;flex-wrap:wrap;gap:16px 28px;}
.product-homepage-sections .checkbox-label{margin:0;color:inherit;cursor:pointer;}
.product-homepage-sections input[type="checkbox"]{flex:0 0 18px;padding:0;accent-color:#25d366;}


.publish-btn{

    width:100%;

    padding:16px;

    background:#25D366;

    color:white;

    border:none;

    border-radius:10px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}



.publish-btn:hover{

    background:#1fa851;

}/* ==========================================
   PRODUCTS TABLE
========================================== */


.table-wrapper{

    overflow-x:auto;

}


table{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}


table th{

    background:#25D366;

    color:white;

    padding:15px;

    text-align:center;

}


table td{

    padding:15px;

    border-bottom:1px solid #e5e5e5;

    text-align:center;

}


table tr:hover{

    background:#f9f9f9;

}


table img{

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:8px;

}



/* ==========================================
   ACTION BUTTONS
========================================== */


.edit-btn{

    background:#2196F3;

    color:white;

    border:none;

    padding:8px 14px;

    border-radius:6px;

    cursor:pointer;

    margin-right:5px;

}



.edit-btn:hover{

    background:#1976D2;

}



.delete-btn{

    background:#F44336;

    color:white;

    border:none;

    padding:8px 14px;

    border-radius:6px;

    cursor:pointer;

}



.delete-btn:hover{

    background:#D32F2F;

}

/* =========================
   MOBILE HEADER
========================= */

.mobile-header{
    position: sticky;
    top: 0;
    z-index: 9999;

    background: #fff;
    padding: 7px 12px;

    box-shadow: 0 4px 15px rgba(0,0,0,.12);
}

/* =========================
   HEADER TOP
========================= */

.header-top{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

/* =========================
   MENU BUTTON
========================= */

.menu-btn{

    width:36px;
    height:36px;

    background:transparent;
    border:none;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:6px;

    cursor:pointer;
}


.menu-btn span{

    width:25px;
    height:3px;

    background:#222;

    border-radius:50px;

    transition:.3s;

}


/* OPEN হলে X হবে */

.menu-btn.active span:nth-child(1){

    transform:translateY(9px) rotate(45deg);

}


.menu-btn.active span:nth-child(2){

    opacity:0;

}


.menu-btn.active span:nth-child(3){

    transform:translateY(-9px) rotate(-45deg);

}
/* X Animation */

.menu-btn.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2){
    opacity: 0;
}

.menu-btn.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   BRAND
========================= */

.brand{

    display: flex;
    align-items: center;

    flex: 1;
}

.brand img{

    width: 124px;
    height: auto;

    display: block;
    object-fit: contain;
}

.brand span{
    display: none;
}

/* =========================
   SIDE MENU ITEM
========================= */

.menu-item{

    padding: 18px 20px;

    border-bottom: 1px solid #eee;

    font-size: 16px;
    font-weight: 600;

    background: #fff;

    cursor: pointer;

    transition: .25s;
}

.menu-item:hover{

    background: #22c55e;
    color: #fff;
}/* =========================
   PREMIUM SEARCH BAR
========================= */

.search-container{

    width:95%;
    max-width:1300px;

    margin:20px auto;

    display:flex;

    position:sticky;

    top:85px;

    z-index:999;

    transition:.35s ease;

}


.search-container input{

    flex:1;

    height:55px;

    padding:0 60px 0 20px;

    border-radius:30px;

    border:1px solid #ddd;

    outline:none;

    font-size:18px;

    box-shadow:0 4px 15px rgba(0,0,0,.10);

}



.search-container button{

    position:absolute;

    right:10px;

    top:50%;

    transform:translateY(-50%);

    width:45px;

    height:45px;

    border:none;

    background:transparent;

    font-size:25px;

    cursor:pointer;

}



.search-container button:hover{

    transform:translateY(-50%) scale(1.1);

}



.search-hide{

    transform:translateY(-120px);

    opacity:0;

}
/* =========================
   HEADER
========================= */


.header-container{

    width:95%;

    max-width:1300px;

    display:flex;

    align-items:center;

}



/* Brand Logo */

.brand{

    display:flex;

    align-items:center;

    gap:10px;

}



.brand img{

    width:170px;
    height:auto;

    object-fit:contain;

    display:block;

}



.brand img:hover{

    transform:scale(1.08);

}


.brand span{

    display:none;

}

/* Hide Old Title */

.header-title{

    display:none;

}




/* =========================
   PRODUCTS GRID
========================= */


.products{

    width:95%;

    max-width:1300px;

    margin:30px auto;

    padding-bottom:76px;

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));

    gap:25px;

}

.products-status{
    grid-column:1 / -1;
    margin:24px 0;
    color:#516057;
    text-align:center;
}

.products-status.error{
    color:#b42318;
}

.products-retry{
    display:block;
    margin:12px auto 0;
    padding:10px 18px;
    border:0;
    border-radius:8px;
    background:#168a44;
    color:#fff;
    font:inherit;
    cursor:pointer;
}

.products-retry:focus-visible{
    outline:2px solid #168a44;
    outline-offset:3px;
}




/* =========================
   PRODUCT CARD
========================= */


.product-card{

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.1);

    transition:.3s;

    display:flex;

    flex-direction:column;

}



.product-card h2{

    flex:0 0 auto;

}

.product-pricing{

    flex:0 0 auto;

}

.product-card a{

    margin-top:auto;

    text-decoration:none;

}



.product-card:hover{

    transform:translateY(-5px);

}




.product-card img{

    width:100%;

    height:260px;

    object-fit:contain;
    object-position:center;
    box-sizing:border-box;
    padding:8px;

}




.product-card h2{

    padding:15px;

    font-size:20px;

}




.product-card .price{

    color:#25D366;

    font-size:22px;

    font-weight:bold;

    padding:0 15px 15px;

}




.product-card a{

    text-decoration:none;

}




.product-card button{

    width:calc(100% - 30px);

    margin:0 15px 20px;

    padding:14px;

    background:#25D366;

    color:white;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

}



.product-card button:hover{

    background:#1ea851;

}



/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .brand span{

        font-size:22px;

    }


    .brand img{

        width:118px;

    }


    .products{

        width:95%;

        grid-template-columns:repeat(2,1fr);

        gap:12px;

    }


    .product-card img{

        height:160px;

    }


    .product-card h2{

        font-size:16px;

        padding:10px;

    }


    .product-card button{

        padding:10px;

        font-size:14px;

    }

}

@media(max-width:480px){


    .brand span{

        font-size:20px;

    }


}
/* ==========================================
   MOBILE BASIC
========================================== */


@media(max-width:768px){


    .product-grid{

        grid-template-columns:minmax(0,1fr);

    }


    .topbar h1{

        font-size:28px;

    }




}/* ==========================================
   PRODUCT DETAILS
========================================== */


.product-details{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:15px;

}


/* Reduce space between product sections */

.product-details h2,
.product-details h3{

    margin-top:10px;

    margin-bottom:8px;

}


.product-details p{

    margin-top:5px;

    margin-bottom:8px;

}


/* ==========================================
   PRODUCT IMAGE
========================================== */


.product-images{

    width:100%;

}



.main-image{

    width:100%;

    max-height:500px;

    object-fit:cover;

    border-radius:15px;

    border:1px solid #ddd;

}



/* Gallery */


.gallery-container{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:15px;

}



.thumb{

    width:70px;

    height:70px;

    object-fit:cover;

    border-radius:8px;

    cursor:pointer;

    border:2px solid #ddd;

    transition:.3s;

}



.thumb:hover{

    border-color:#25D366;

    transform:scale(1.05);

}




/* ==========================================
   PRODUCT INFO
========================================== */


.product-info{

    width:100%;

}



.product-info h1{

    font-size:30px;

    margin-bottom:10px;

}



.product-info h2{

    margin:10px 0;

}



.product-info hr{

    margin:20px 0;

    border:none;

    border-top:1px solid #ddd;

}




/* Tags */

.tag{

    display:inline-block;

    padding:6px 12px;

    margin:5px;

    background:#f2f2f2;

    border-radius:20px;

    font-size:14px;

}/* ==========================================
   SIZE & COLOR OPTION
========================================== */


.option-area{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:10px;

}



.option-btn{

    padding:6px 12px;

    background:white;

    border:2px solid #ddd;

    border-radius:18px;

    cursor:pointer;

    font-size:13px;

    font-weight:600;

    transition:.3s;

}



.option-btn:hover{

    border-color:#25D366;

}



.option-btn.active{

    transform:scale(1.08);

    font-weight:bold;

}


/* Black Selected */

.option-btn.active.black-active{

    border:3px solid white;

    box-shadow:0 0 10px white;

}


/* Green Selected */

.option-btn.active.green-active{

    border:3px solid #004d00;

    box-shadow:0 0 10px #004d00;

}


/* Other Colors */

.option-btn.active.default-active{

    border:3px solid #25D366;

    box-shadow:0 0 10px #25D366;

}



/* ==========================================
   QUANTITY BOX
========================================== */


.qty-box{

    display:flex;

    align-items:center;

    gap:15px;

    margin-top:10px;

}



.qty-box button{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#25D366;

    color:white;

    font-size:25px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}



.qty-box button:hover{

    background:#1ea851;

    transform:scale(1.1);

}



.qty-box input{

    width:70px;

    height:45px;

    text-align:center;

    font-size:20px;

    font-weight:bold;

    border:2px solid #25D366;

    border-radius:10px;

}




/* ==========================================
   OLD PRICE
========================================== */


.old-price-text{

    text-decoration:line-through;

    color:#999;

    font-size:14px;

    font-weight:600;

    display:inline-block;

    margin-top:5px;

}




/* ==========================================
   DISCOUNT BADGE
========================================== */


.discount-badge{

    display:inline-block;

    background:#ff3b30;

    color:white;

    padding:6px 14px;

    border-radius:20px;

    font-size:13px;

    font-weight:bold;

    margin-top:5px;

}/* ==========================================
   IMAGE MOBILE FIX
========================================== */


.main-image{

    width:100%;

    height:auto;

    max-height:450px;

    object-fit:contain;

    background:#fff;

}




/* ==========================================
   CUSTOMER INFORMATION
========================================== */


.customer-box{

    background:#fff;

    padding:20px;

    border-radius:15px;

    margin-top:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.customer-box h3{

    margin-bottom:15px;

    font-size:22px;

}



.customer-box input,
.customer-box textarea{


    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;

}



.customer-box input:focus,
.customer-box textarea:focus{


    outline:none;

    border-color:#25D366;

    box-shadow:0 0 8px rgba(37,211,102,.2);


}



.customer-box textarea{

    height:120px;

    resize:none;

}



/* ==========================================
   MOBILE PRODUCT PAGE
========================================== */


@media(max-width:768px){




.main-image{

    height:300px;
    max-height:350px;
    object-fit:cover;

}


.product-info h1{

    font-size:24px;

}


.product-info h2{

    font-size:22px;

}


.thumb{

    width:55px;
    height:55px;

}


.qty-box button{

    width:40px;
    height:40px;
    font-size:22px;

}


.qty-box input{

    width:60px;
    height:40px;
    font-size:18px;

}


.customer-box{

    padding:15px;

}


}/* =========================
   CUSTOMER BOX FINAL DESIGN
========================= */

.customer-box input,
.customer-box textarea{

    background:#fff;

    border:1px solid #ddd;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

    transition:.3s;

}


.customer-box input:focus,
.customer-box textarea:focus{

    outline:none;

    border-color:#25D366;

    box-shadow:0 0 10px rgba(37,211,102,.25);

}


@media(max-width:768px){

.customer-box textarea{

    height:120px;

}

}/* Customer Box Compact */

.customer-box{

    padding:5px;

}


.customer-box input,
.customer-box textarea{

    margin-bottom:10px;

}/* =========================
   IMAGE ZOOM EFFECT
========================= */

.product-images{

    overflow:hidden;

}


.main-image{

    cursor:zoom-in;

    transition:.4s ease;

}


.main-image:hover{

    transform:scale(1.15);

}/* =========================
   IMAGE ZOOM POPUP
========================= */


.image-modal{

    display:none;

    position:fixed;

    z-index:9999;

    left:0;

    top:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.85);

    justify-content:center;

    align-items:center;

}


.image-modal img{

    max-width:95%;

    max-height:90%;

    border-radius:10px;

}


#closeImage{

    position:absolute;

    top:20px;

    right:25px;

    color:white;

    font-size:40px;

    cursor:pointer;

}/* =========================
   DELIVERY BOX DESIGN
========================= */


.delivery-box{

    margin-top:20px;

    padding:15px;

    background:#fff;

    border-radius:12px;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}


.delivery-box h3{

    margin-bottom:12px;

    font-size:18px;

}


.delivery-box select{

    width:100%;

    padding:14px;

    border:2px solid #ddd;

    border-radius:10px;

    font-size:16px;

    cursor:pointer;

    background:white;

}


.delivery-box select:focus{

    outline:none;

    border-color:#25D366;

    box-shadow:0 0 8px rgba(37,211,102,.25);

}/* =========================
   DESCRIPTION SEE MORE
========================= */


.description-box p{

    display:-webkit-box;

    line-clamp:3;
    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

    line-height:1.6;

}


#seeMoreBtn{

    margin-top:10px;

    border:none;

    background:none;

    color:#25D366;

    font-weight:bold;

    cursor:pointer;

    font-size:15px;

}/* =========================
   Order Summary
========================= */

.summary-box{

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:12px;

    padding:18px;

    margin:20px 0;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

.summary-box h3{

    margin-bottom:15px;

}

.summary-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px 0;

    border-bottom:1px dashed #ddd;

    font-size:16px;

}

.summary-row:last-child{

    border-bottom:none;

}

.summary-row.total{

    font-size:20px;

    font-weight:bold;

    color:#25D366;

}/* =========================
   ORDER SUMMARY PAGE
========================= */


.thank-you{

    text-align:center;

    color:#25D366;

    margin-bottom:15px;

}


.thank-text{

    text-align:center;

    font-size:16px;

    color:#555;

    margin-bottom:25px;

}



.order-details,
.customer-details{

    background:#fff;

    padding:20px;

    border-radius:15px;

    margin-top:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}



.order-image{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:12px;

    display:block;

    margin:15px auto;

}

.product-rating{display:flex;align-items:center;gap:5px;padding:0 15px 13px;color:#647067;font-size:13px}.product-rating span{color:#f5a623;font-size:17px;line-height:1}.product-rating strong{color:#26362d;font-size:14px}.product-rating small{font-size:12px;color:#78857d}.product-card-actions{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:7px;align-items:center;padding:0 12px 18px;margin-top:auto;min-width:0}.product-card .product-card-actions button,.product-card .product-card-actions a{width:auto;min-width:0;margin:0;text-decoration:none}.card-order-button{height:44px!important;padding:0 6px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:linear-gradient(135deg,#168a42,#25c866)!important;box-shadow:0 7px 15px rgba(22,138,66,.22);font-weight:800!important;font-size:14px!important}.card-icon-button{height:42px;display:grid;place-items:center;border:1px solid #d9e8dd!important;border-radius:12px!important;background:#f8fcf9!important;color:#168a42!important;box-shadow:none!important}.card-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.card-icon-button:hover{background:#eaf7ed!important;border-color:#a9d7b7!important}.cart-success-toast{position:fixed;z-index:10000;left:50%;bottom:92px;transform:translate(-50%,18px);max-width:calc(100vw - 32px);padding:12px 16px;border-radius:12px;background:#173c25;color:#fff;font:700 14px Arial,sans-serif;box-shadow:0 12px 30px #10291645;opacity:0;pointer-events:none;transition:.25s}.cart-success-toast.show{opacity:1;transform:translate(-50%,0)}

/* The multi-item order summary hides the legacy single-product image. */
.order-image[hidden],
.order-items-list[hidden]{
    display:none !important;
}



.order-details p,
.customer-details p{

    font-size:16px;

    margin:10px 0;

}



.order-details h2{

    color:#25D366;

}
/* ==========================================
   ADMIN LAYOUT
========================================== */

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#333;
}



/* ==========================================
   ADMIN HEADER
========================================== */

.header{
    background:#25D366;
    color:#fff;
    padding:18px 25px;
    border-radius:15px;
    margin-bottom:25px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.header h1{
    font-size:40px;
    margin:0;
}

.header nav{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.header nav a{
    text-decoration:none;
    background:#fff;
    color:#25D366;
    padding:10px 20px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.header nav a:hover,
.header nav a.active{
    background:#1ea851;
    color:#fff;
}

/* Sticky */
.sticky-top{
    position:sticky;
    top:15px;
    z-index:999;
}
.top-bar{

    display:flex;

    gap:15px;

    margin-bottom:20px;

    flex-wrap:wrap;

}

.top-bar input{

    flex:1;

    padding:12px;

    border-radius:8px;

    border:1px solid #ddd;

    font-size:16px;

}

.top-bar select{

    padding:12px;

    border-radius:8px;

    border:1px solid #ddd;

    font-size:16px;

}

.bulk-bar{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:20px;

}

.bulk-bar button{

    background:#25D366;

    color:white;

    border:none;

    padding:12px 20px;

    border-radius:8px;

    cursor:pointer;

    font-size:15px;

}

.bulk-bar button:hover{

    background:#1da851;

}

.table-wrapper{

    background:white;

    border-radius:12px;

    overflow:auto;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

}

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:#25D366;

    color:white;

    padding:15px;

}

td{

    padding:15px;

    border-bottom:1px solid #eee;

    text-align:center;

}

tr:hover{

    background:#f8f8f8;

}

select{

    padding:8px;

}

/* ==========================
   Status Badge
========================== */

.status-badge{

display:inline-block;

padding:7px 14px;

border-radius:20px;

font-size:14px;

font-weight:bold;

color:#fff;

min-width:120px;

text-align:center;

}

.pending{

background:#f4b400;

}

.approved{

background:#34a853;

}

.ready-to-ship{

background:#1e88e5;

}

.in-transit{

background:#8e24aa;

}

.delivered{

background:#00a152;

}

.cancelled{

background:#e53935;

}

.returned{

background:#6d4c41;

}/* ==========================
Dashboard Cards
========================== */




.card h3{

    font-size:15px;

    margin:0 0 8px 0;

}


.card h1{

    font-size:28px;

    margin:0;

}
.card:hover{

    transform:translateY(-5px);

}

.card h3{

    font-size:18px;

    color:#666;

    margin-bottom:12px;

}

.card h1{

    font-size:34px;

    color:#25D366;

}

.color-option.active{
    border-color:#25D366;
    box-shadow:0 0 0 3px white, 0 0 0 5px #25D366;
}

.size-option.active{
    border-color:#25D366;
    box-shadow:0 0 0 3px white, 0 0 0 5px #25D366;
}

.product-pricing{
    padding:0 15px 15px;
}

.product-card .product-pricing .price{
    padding:0;
    margin:0;
}

.card-old-price{
    display:inline-block;
    margin:6px 8px 0 0;
    color:#888;
    font-size:14px;
    font-weight:600;
    text-decoration:line-through;
}

.card-discount-badge{
    position:absolute;
    top:10px;
    right:10px;
    z-index:2;
    display:inline-block;
    margin:0;
    padding:4px 8px;
    border-radius:999px;
    background:#ff3b30;
    color:#fff;
    font-size:12px;
    font-weight:700;
}

@media(max-width:768px){

.products{

    width:calc(100% - 24px);
    margin:16px auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;

}


    .product-card{
        border-radius:12px;
    }

    .product-card img{
        height:140px;
    }

    .product-card h2{
        padding:10px;
        margin:0;
        font-size:15px;
        line-height:1.3;
    }

    .product-pricing{
        padding:0 10px 10px;
    }

    .product-card .product-pricing .price{
        font-size:19px;
    }

    .card-old-price,
    .card-discount-badge{
        font-size:11px;
    }

    .product-card button{
        width:calc(100% - 20px);
        margin:0 10px 12px;
        padding:10px 6px;
        font-size:13px;
    }
}
/* Dashboard Fix */
/* ==========================
Dashboard Cards
========================== */

.dashboard{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
    width:100%;
    margin-bottom:25px;
}


.dashboard .card{
    margin-bottom:0;
    min-width:0;
}


.sticky-top{
    position:sticky;
    top:0;
    z-index:999;
    background:#f4f6f9;
    padding:10px 0;
}.search-section{
    width:95%;
    max-width:1300px;
    margin:20px auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.search-box{
    flex:1;
    display:flex;
}

.header-icons{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}@media (max-width:768px){

    .search-section{
        flex-direction:column;
        align-items:stretch;
    }

    .header-icons{
        justify-content:center;
    }

}.main-menu{

    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:15px;
    flex-wrap:wrap;

    position:sticky;
    top:0;
    z-index:9999;

    background:#f4f6f9;
    padding:10px 0;

}


.main-menu a{

    text-decoration:none;
    background:white;
    color:#25D366;
    padding:12px 22px;
    border-radius:8px;
    font-weight:bold;

}


.main-menu a.active,
.main-menu a:hover{

    background:#25D366;
    color:white;

}


.topbar{

    background:#25D366;
    color:white;
    padding:25px;
    border-radius:15px;
    margin-bottom:30px;
    text-align:center;

}


.topbar h1{

    margin:0;
    font-size:34px;

}/* =========================
   SMALL MOBILE BOTTOM NAV
========================= */

.bottom-nav{

    position:fixed;

    bottom:0;
    left:0;

    width:100%;

    height:60px;

    background:white;

    display:flex;

    justify-content:space-around;

    align-items:center;

    box-shadow:0 -3px 12px rgba(0,0,0,.12);

    z-index:9999;

}


.nav-item{

    text-decoration:none;

    color:#333;

    text-align:center;

    transition:.3s;

    font-size:11px;

}

.cart-nav-item{
    position:relative;
}

.cart-badge{
    position:absolute;
    top:-5px;
    right:-9px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:999px;
    background:#e53935;
    color:#fff;
    font-size:10px;
    line-height:16px;
    box-sizing:border-box;
}

.nav-item{position:relative}.message-badge{position:absolute;top:-4px;right:15%;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#ef4444;color:#fff;font:700 10px Arial,sans-serif;line-height:1}


.nav-item span{

    display:block;

    font-size:22px;

    line-height:25px;

}


.nav-item p{

    margin:2px 0 0;

    font-size:11px;

    font-weight:bold;

}



/* Active */

.nav-item.active{

    color:#25D366;

    transform:translateY(-8px);

}



.nav-item.active span{

    width:35px;

    height:35px;

    font-size:22px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

}/* ===========================
   PREMIUM SEARCH RESULT
=========================== */

.search-suggestions{

    position:absolute;
    top:60px;
    left:0;
    width:100%;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.12);

    z-index:9999;

    display:none;

    animation:fadeIn .25s ease;

}

.search-item{

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 18px;

    cursor:pointer;

    transition:.25s;

    border-bottom:1px solid #f2f2f2;

}

.search-item:last-child{

    border-bottom:none;

}

.search-item:hover{

    background:#f7fff9;

    transform:translateX(6px);

}

.search-item span{

    font-size:22px;

}

.search-item strong{

    flex:1;

    font-size:15px;

    color:#222;

    font-weight:600;

}

.search-item i{

    color:#999;

    font-size:18px;

}

@keyframes fadeIn{

    from{

        opacity:0;
        transform:translateY(-10px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}/* SIDE MENU */
.side-menu{

    position: fixed;

    top: 65px;

    left: -220px;

    width: 210px;

    background: #fff;

    overflow: hidden;

    transition: .35s ease;

    z-index: 9999;

    box-shadow: 0 5px 20px rgba(0,0,0,.20);

    border-radius: 0 0 12px 0;

}.side-menu.open{

    left:0;

}



/* menu item */

.menu-item{

    padding:12px 20px;

    border-bottom:1px solid #eee;

    font-size:16px;

    font-weight:600;

    color:#333;

}
/* MENU ITEM */

.menu-item{

    padding:12px 18px;

    border-bottom:1px solid #eee;

    font-size:15px;

    font-weight:600;

    color:#333;

}


.menu-item:hover{

    background:#22c55e;

    color:#fff;

}/* =========================
   CATEGORY MENU
========================= */

.category-menu{

    display:none;

    position:fixed;

    top:80px;

    left:0;

    width:100%;

    background:#fff;

    z-index:9998;

    padding:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.15);

}



.category-menu.open{

    display:block;

}


.category-item{

    padding:12px;

    border-bottom:1px solid #eee;

    font-size:17px;

    font-weight:600;

}/* ===========================
   CATEGORY PAGE
=========================== */

.category-page{

    display:none;

flex-direction:row;

    position:fixed;

    top:70px;

    left:0;

    width:100%;

    height:calc(100vh - 70px);

    background:#fff;

    z-index:9999;

    display:flex;

}


/* LEFT SIDE */

.category-left{

    width:35%;

    height:100%;

    overflow-y:auto;

    background:#f8f8f8;

    border-right:1px solid #eee;

}


/* RIGHT SIDE */

.category-right{

    width:65%;

    height:100%;

    overflow-y:auto;

    padding:18px;

}


.category-title{

    font-size:22px;

    font-weight:bold;

    margin-bottom:20px;

}


/* MAIN CATEGORY */

.main-category{

    padding:16px;

    border-bottom:1px solid #ececec;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}


.main-category:hover{

    background:#22c55e;

    color:#fff;

}


/* SUB CATEGORY */

.subcategory-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:18px;

}


.sub-item{

    text-align:center;

    cursor:pointer;

}


.sub-item img{

    width:80px;

    height:80px;

    border-radius:50%;

    object-fit:cover;

    border:1px solid #ddd;

}


.sub-item p{

    margin-top:8px;

    font-size:14px;

    font-weight:600;

}

/* Category page overrides */
.category-page{
    display:none;
    position:fixed;
    top:64px;
    right:0;
    bottom:calc(54px + env(safe-area-inset-bottom));
    left:0;
    width:auto;
    height:auto;
    background:#fff;
    z-index:9999;
}

.category-page.open{
    display:flex;
}

.category-left{
    width:31%;
    height:100%;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#f8f8f8;
    border-right:1px solid #eee;
}

.category-right{
    width:69%;
    height:100%;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:18px 12px 28px;
}

.category-title{
    margin-bottom:18px;
    color:#1e2921;
    font-size:22px;
    font-weight:700;
}

.main-category{
    width:100%;
    padding:16px;
    border:0;
    border-left:3px solid transparent;
    border-bottom:1px solid #ececec;
    background:transparent;
    color:#4e5a50;
    font:inherit;
    font-size:16px;
    font-weight:600;
    line-height:1.25;
    text-align:center;
    cursor:pointer;
}

.main-category-image{
    display:grid;
    width:54px;
    height:54px;
    margin:0 auto 8px;
    overflow:hidden;
    place-items:center;
    border-radius:50%;
    background:#fff;
}

.main-category-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.main-category-image.image-missing::after{
    content:"▦";
    color:#9ca69f;
    font-size:20px;
}

.main-category-label{
    display:block;
}

.main-category.active{
    border-left-color:#22c55e;
    background:#fff;
    color:#168a42;
}

.subcategory-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px 8px;
}

.sub-item{
    min-width:0;
    padding:0;
    border:0;
    background:transparent;
    color:inherit;
    font:inherit;
    text-align:center;
    cursor:pointer;
}

.sub-item-image{
    aspect-ratio:1;
    overflow:hidden;
    border:1px solid #ddd;
    border-radius:50%;
    background:#f1f5f1;
    box-shadow:0 2px 7px rgba(20,58,31,.07);
}

.sub-item-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.sub-item-image.image-missing::after{
    content:"▦";
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
    color:#9ca69f;
    font-size:24px;
}

.sub-item p{
    overflow:hidden;
    margin:8px 0 3px;
    color:#303833;
    font-size:12px;
    font-weight:600;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.sub-item span{
    color:#8b948d;
    font-size:10px;
}

.category-message{
    grid-column:1 / -1;
    margin:20px 2px;
    color:#657066;
    font-size:14px;
    line-height:1.5;
}

/* Customer menu drawer */
.menu-overlay{
    position:fixed;
    z-index:10000;
    inset:0;
    border:0;
    background:rgba(12,20,15,.55);
    backdrop-filter:blur(2px);
}

.side-menu{
    position:fixed;
    z-index:10001;
    top:0;
    bottom:0;
    left:0;
    display:flex;
    flex-direction:column;
    width:min(86%,360px);
    overflow-y:auto;
    border-radius:0;
    background:#fff;
    box-shadow:10px 0 30px rgba(0,0,0,.2);
    clip-path:inset(0 0 100% 0);
    -webkit-clip-path:inset(0 0 100% 0);
    will-change:clip-path;
    transition:clip-path 420ms cubic-bezier(.22,.8,.25,1);
    -webkit-transition:-webkit-clip-path 420ms cubic-bezier(.22,.8,.25,1);
}

.side-menu.open{
    clip-path:inset(0 0 0 0);
    -webkit-clip-path:inset(0 0 0 0);
}

@media (prefers-reduced-motion:reduce){
    .side-menu{
        transition-duration:1ms;
        -webkit-transition-duration:1ms;
    }
}

.menu-drawer-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:132px;
    padding:26px 28px;
    background:linear-gradient(120deg,#073f2b,#175f40);
}

@media(max-width:480px){
    .menu-drawer-header{
        min-height:auto;
        padding:16px 18px;
    }

    .menu-drawer-header img{
        width:120px;
    }

    .menu-close{
        width:34px;
        height:34px;
        font-size:26px;
    }
}

.menu-drawer-header img{
    width:174px;
    max-width:72%;
    filter:brightness(0) invert(1);
}

.menu-close{
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:34px;
    font-weight:200;
    line-height:1;
    cursor:pointer;
}

.account-menu-button{
    display:flex;
    align-items:center;
    gap:12px;
    margin:22px 22px 12px;
    padding:15px 16px;
    border-radius:14px;
    background:#168a42;
    color:#fff;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}

.account-menu-button span:last-child{
    margin-left:auto;
    font-size:24px;
    line-height:.7;
}

.menu-section-title{
    margin:20px 28px 9px;
    color:#b08320;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.menu-categories{
    display:grid;
    gap:12px;
    padding:0 22px 28px;
}

.menu-categories .menu-item{
    display:flex;
    align-items:center;
    width:100%;
    min-height:68px;
    padding:10px 13px;
    border:1px solid #dcebe1;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 13px rgba(22,72,43,.06);
    color:#173220;
    font:700 16px Inter,Arial,sans-serif;
    text-align:left;
    cursor:pointer;
    transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.menu-categories .menu-item:hover{
    border-color:#9adbb0;
    background:#fbfefc;
    box-shadow:0 6px 17px rgba(22,72,43,.1);
}

.menu-categories .menu-item:focus-visible{
    outline:3px solid rgba(22,138,66,.22);
    outline-offset:2px;
}

.menu-category-icon{
    display:grid;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin-right:13px;
    place-items:center;
    border-radius:12px;
    background:#e6f8ec;
    color:#087d39;
}

.menu-category-icon svg{
    width:25px;
    height:25px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.menu-category-label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.menu-category-arrow{
    margin-left:auto;
    color:#087d39;
    font:400 31px/1 Arial,sans-serif;
}

/* Customer account page */
.account-page-body{
    min-height:100vh;
    background:linear-gradient(145deg,#effaf2,#fff 42%);
}

.account-page{
    width:min(100%,520px);
    min-height:100vh;
    margin:auto;
    padding:12px 22px 42px;
}

.account-back{
    display:block;
    margin-bottom:10px;
    color:#168a42;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.account-logo{
    width:170px;
    height:auto;
}

.account-page h1{
    margin:24px 0 8px;
    color:#173220;
    font-size:30px;
}

.account-intro{
    margin:0 0 24px;
    color:#647066;
    line-height:1.5;
}

.account-panel{
    padding:22px;
    border:1px solid #e1ebe3;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 32px rgba(22,64,37,.08);
}

.account-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
    margin-bottom:20px;
    padding:4px;
    border-radius:12px;
    background:#f1f5f2;
}

.account-tab{
    padding:10px 7px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#69756c;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}

.account-tab.active{
    background:#fff;
    color:#168a42;
    box-shadow:0 2px 7px rgba(20,58,31,.09);
}

.account-form{
    display:grid;
    gap:14px;
}

.account-form[hidden],
.dashboard-panel[hidden]{
    display:none;
}

.account-form label{
    display:grid;
    gap:6px;
    color:#344238;
    font-size:13px;
    font-weight:700;
}

.account-form input,
.account-form textarea,
.account-form select{
    width:100%;
    padding:12px;
    border:1px solid #dce5de;
    border-radius:10px;
    color:#1f2d23;
    font:inherit;
    font-weight:400;
}

.account-form textarea{
    min-height:78px;
    resize:vertical;
}

.account-primary-button,
.account-secondary-button{
    padding:13px 16px;
    border:0;
    border-radius:11px;
    background:#168a42;
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.account-secondary-button{
    margin-top:16px;
    background:#eef5ef;
    color:#286139;
}

.account-status{
    margin:0 0 7px;
    color:#168a42;
    font-size:13px;
    font-weight:800;
}

.account-panel h2{
    margin:0 0 8px;
    color:#1f2d23;
}

.account-panel p{
    color:#657066;
    line-height:1.5;
}

.account-message{
    min-height:20px;
    margin:14px 0 0;
    color:#168a42;
    font-size:13px;
    font-weight:700;
}

.account-message.error{
    color:#c13939;
}

.otp-instruction{
    margin:0 0 4px;
    color:#657066;
    line-height:1.5;
}

.account-verified{
    margin-top:18px;
}

.account-shop-link{
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
}

#recaptcha-container{
    min-height:1px;
}

/* ==========================================
   CUSTOMER DASHBOARD
========================================== */

.dashboard-tabs{
    margin-bottom:18px;
}

.dashboard-panel{
    margin-top:0;
}

.account-panel-note{
    color:#657066;
    font-size:14px;
    line-height:1.5;
}

.orders-list{
    display:grid;
    gap:10px;
}

.order-row{
    display:grid;
    grid-template-columns:auto 1fr auto auto;
    align-items:center;
    gap:10px;
    padding:14px;
    border:1px solid #e1ebe3;
    border-radius:12px;
    background:#fff;
    font:inherit;
    text-align:left;
    cursor:pointer;
    transition:.2s;
}

.order-row:hover{
    border-color:#168a42;
    background:#f6fbf7;
}

.order-row-id{
    font-weight:800;
    color:#1f2d23;
}

.order-row-date{
    color:#657066;
    font-size:13px;
}

.order-row-status{
    padding:4px 10px;
    border-radius:20px;
    background:#eef5ef;
    color:#286139;
    font-size:12px;
    font-weight:700;
    text-transform:capitalize;
}

.order-row-status.status-cancelled{
    background:#fdeceb;
    color:#c13939;
}

.order-row-status.status-delivered{
    background:#e7f6ec;
    color:#168a42;
}

.order-row-total{
    font-weight:800;
    color:#168a42;
}

#orderDetailBody p{
    margin-bottom:6px;
}

#orderDetailBody table{
    margin:14px 0;
}

.dashboard-logout{
    margin-top:24px;
    width:100%;
}

@media(max-width:480px){
    .order-row{
        grid-template-columns:1fr 1fr;
    }
}

/* ==========================================
   RELATED PRODUCTS (horizontal slider)
========================================== */

.related-products-section{
    margin-top:24px;
}

.related-products-section h3{
    margin-bottom:12px;
    font-size:17px;
    color:#173220;
}

.related-products-slider{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding-bottom:10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.related-products-slider::-webkit-scrollbar{
    height:6px;
}

.related-products-slider::-webkit-scrollbar-thumb{
    background:#c8d8cc;
    border-radius:10px;
}

.related-product-card{
    flex:0 0 135px;
    scroll-snap-align:start;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    text-decoration:none;
    color:inherit;
    display:flex;
    flex-direction:column;
    transition:.2s;
}

.related-product-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.related-product-card img{
    width:100%;
    height:135px;
    object-fit:cover;
    display:block;
}

.related-product-card-body{
    padding:10px;
}

.related-product-card-body h4{
    font-size:12.5px;
    margin:0 0 4px;
    color:#1f2d23;
    line-height:1.3;
    font-weight:700;
    display:-webkit-box;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.related-product-card-price{
    font-size:14px;
    font-weight:800;
    color:#168a42;
    margin:0;
}

.related-product-card-old{
    font-size:11px;
    color:#9aa39c;
    text-decoration:line-through;
    margin:2px 0 0;
}

@media(max-width:480px){
    .related-product-card{
        flex:0 0 118px;
    }

    .related-product-card img{
        height:118px;
    }
}
/* ==========================================
   PRODUCT PAGE ACTION BAR (Add to Cart / Order Now)
========================================== */

.product-action-bar{
    position:sticky;
    bottom:0;
    left:0;
    width:100%;
    display:flex;
    gap:8px;
    padding:8px 12px;
    background:transparent;
    box-shadow:none;
    z-index:500;
    box-sizing:border-box;
}

.product-action-button{
    flex:1;
    padding:8px 8px;
    border-radius:8px;
    font-size:12px;
    font-weight:800;
    border:2px solid transparent;
    cursor:pointer;
    transition:.2s;
}

.add-cart-action{
    background:#eaf6ee;
    color:#168a42;
    border-color:#168a42;
}

.add-cart-action:hover{
    background:#dcefdf;
}

.order-now-action{
    background:#168a42;
    color:#ffffff;
}

.order-now-action:hover{
    background:#12703a;
}

@media(max-width:480px){
    .product-action-button{
        padding:8px 6px;
        font-size:11.5px;
    }
}


/* ==========================================
   CHECKOUT PAGE (order.html) QUANTITY CONTROLS
========================================== */

.checkout-price-summary p{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:10px 0;
    font-size:15px;
    color:#3a463d;
}

.checkout-quantity-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.checkout-quantity-controls{
    display:inline-flex;
    align-items:center;
    gap:14px;
}

#checkoutMinusBtn,
#checkoutPlusBtn{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#25D366;
    color:#ffffff;
    font-size:20px;
    font-weight:bold;
    line-height:1;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}

#checkoutMinusBtn:hover,
#checkoutPlusBtn:hover{
    background:#1ea851;
    transform:scale(1.08);
}

#checkoutQuantity{
    min-width:22px;
    text-align:center;
    font-size:16px;
    color:#1f2d23;
}

.checkout-total{
    border-top:1px solid #e1ebe3;
    padding-top:12px;
    margin-top:6px !important;
    font-size:17px !important;
    font-weight:800;
    color:#173220;
}

.checkout-total strong{
    color:#168a42;
    font-size:19px;
}

/* ==========================================
   PRODUCT PAGE: missing base styles
========================================== */

.product-page-body{
    background:#f4f8f5;
    padding-bottom:20px;
}

.price-box{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:12px 0;
}

.price-box h2{
    color:#168a42;
    font-size:24px;
    margin:0;
}

.price-box .old-price-text{
    color:#9aa39c;
    text-decoration:line-through;
    font-size:15px;
}

.price-box .discount-badge{
    background:#e6392f;
    color:#fff;
    font-size:12px;
    font-weight:800;
    padding:4px 10px;
    border-radius:20px;
}

.select-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:10px 0;
}

.select-options .option-btn{
    padding:8px 16px;
    border-radius:8px;
    border:2px solid #dce5de;
    background:#fff;
    color:#3a463d;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.select-options .option-btn.active{
    border-color:#168a42;
    background:#eaf6ee;
    color:#168a42;
}

/* ==========================================
   CART PAGE
========================================== */

.cart-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.cart-item{
    display:flex;
    gap:12px;
    background:#fff;
    border-radius:14px;
    padding:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}

.cart-item img{
    width:80px;
    height:80px;
    object-fit:cover;
    border-radius:10px;
    flex-shrink:0;
}

.cart-item-body{
    flex:1;
    min-width:0;
}

.cart-item-body h4{
    margin:0 0 4px;
    font-size:14px;
    color:#173220;
    line-height:1.3;
}

.cart-item-options{
    margin:0 0 4px;
    font-size:12px;
    color:#657066;
}

.cart-item-price{
    margin:0 0 8px;
    font-size:13px;
    color:#657066;
}

.cart-item-controls{
    display:flex;
    align-items:center;
    gap:8px;
}

.cart-qty-btn{
    width:26px;
    height:26px;
    min-width:26px;
    min-height:26px;
    box-sizing:border-box;
    border:none;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    line-height:1;
    padding:0;
    margin:0;
    appearance:none;
    -webkit-appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.cart-qty-value{
    min-width:18px;
    text-align:center;
    font-size:14px;
    font-weight:700;
}

.cart-delete-btn{
    margin-left:auto;
    border:none;
    background:none;
    color:#c62828;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    text-decoration:underline;
}

.cart-item-side{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:space-between;
    flex-shrink:0;
}

.cart-item-line-total{
    font-weight:800;
    color:#168a42;
    margin:0 0 8px;
    font-size:14px;
}

.cart-order-btn{
    padding:8px 14px;
    font-size:12.5px;
    white-space:nowrap;
}

.cart-select-all{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    font-size:14px;
    font-weight:700;
    color:#173220;
    cursor:pointer;
}

.cart-select-all input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#168a42;
    cursor:pointer;
}

.cart-item-checkbox{
    width:18px;
    height:18px;
    accent-color:#168a42;
    cursor:pointer;
    flex-shrink:0;
    align-self:flex-start;
    margin-top:6px;
}

.cart-summary-sticky{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:min(calc(100% - 44px), 476px);
    margin:0;
    background:#fff;
    padding:14px 18px 18px;
    box-shadow:0 -6px 18px rgba(0,0,0,.12);
    border-radius:16px 16px 0 0;
    box-sizing:border-box;
    z-index:600;
}

.review-product-card{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #edf0ee}.review-product-card>img{width:70px;height:70px;object-fit:cover;border-radius:10px;background:#f0f4f1}.review-product-copy{min-width:0}.review-product-copy strong,.review-product-copy small{display:block}.review-product-copy small{margin-top:3px;color:#748077;font-size:12px}.review-stars{display:flex;gap:4px;margin:8px 0}.review-stars button{border:0;background:transparent;padding:0;color:#d9dfda;font-size:26px;line-height:1;cursor:pointer}.review-stars button.selected{color:#f5a623}.review-product-copy textarea{display:block;box-sizing:border-box;width:100%;min-height:65px;padding:9px;border:1px solid #dce5de;border-radius:9px;resize:vertical;font:13px Arial,sans-serif}.review-submit{margin-top:8px;padding:9px 13px;border:0;border-radius:9px;background:#168a42;color:#fff;font-weight:700;cursor:pointer}.review-submit:disabled{opacity:.65}.review-status{margin:7px 0 0;color:#168a42;font-size:12px}.review-status.error{color:#c13939}

.cart-page{
    padding-bottom:180px;
}

.cart-summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:8px 0;
    font-size:14px;
    color:#3a463d;
}

.cart-summary-delivery select{
    padding:6px 10px;
    border:1px solid #dce5de;
    border-radius:8px;
    font-size:13px;
    color:#173220;
}

.cart-summary-total{
    border-top:1px solid #e1ebe3;
    padding-top:10px;
    margin-top:10px;
    font-size:17px;
    font-weight:800;
    color:#173220;
}

.cart-summary-total strong{
    color:#168a42;
    font-size:19px;
}

/* ==========================================
   MULTI-ITEM CHECKOUT / ORDER SUMMARY
========================================== */

.order-items-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:16px 0;
}

.order-item-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px;
    background:#f7faf8;
    border-radius:10px;
}

.order-item-row img{
    width:56px;
    height:56px;
    object-fit:cover;
    border-radius:8px;
    flex-shrink:0;
}

.order-item-row-body{
    flex:1;
    min-width:0;
}

.order-item-row-body h4{
    margin:0 0 2px;
    font-size:13.5px;
    color:#173220;
}

.order-item-row-body p{
    margin:0;
    font-size:12.5px;
    color:#657066;
}

.order-item-row-total{
    font-weight:800;
    color:#168a42;
    font-size:14px;
    margin:0;
    flex-shrink:0;
}

.cart-checkout-all-btn{
    width:100%;
    margin-top:12px;
}

/* Empty-cart content is deliberately separate from the filled-cart controls. */
.cart-tracking-card{ display:none; }
.cart-empty-state{ padding:22px 0 6px; text-align:center; }
.cart-empty-icon{ display:grid; width:154px; height:154px; margin:0 auto 14px; place-items:center; border-radius:50%; background:#e8f9fc; font-size:72px; }
.cart-empty-state h1{ margin:0 0 5px; color:#087d39; font-size:24px; }
.cart-empty-state > p{ margin:0 0 18px; color:#657066; font-size:13px; }
.cart-empty-state > a{ display:block; max-width:360px; margin:auto; background:#11b4d0; text-decoration:none; }
.cart-empty-state h2{ margin:30px 0 12px; color:#20252a; font-size:21px; text-align:left; }
.cart-recent-products{ display:flex; gap:12px; overflow-x:auto; text-align:left; }
.cart-recent-products a{ flex:0 0 142px; overflow:hidden; border:1px solid #e8ece9; border-radius:10px; color:#27352b; font-size:12px; text-decoration:none; }
.cart-recent-products img{ display:block; width:100%; height:120px; object-fit:cover; }
.cart-recent-products span{ display:block; padding:8px; }
.dashboard-order-shortcuts{ margin:0 -14px 16px; padding:18px; background:#fff; border-bottom:8px solid #f5f7f6; }.dashboard-order-shortcuts > div:first-child{ display:flex; justify-content:space-between; align-items:center; }.dashboard-order-shortcuts h2{ margin:0; font-size:21px; }.dashboard-order-shortcuts a{ color:#343a3d; font-size:13px; text-decoration:none; }.dashboard-shortcut-list{ display:flex; justify-content:space-between; margin-top:20px; text-align:center; }.dashboard-shortcut-list span{ display:grid; gap:6px; color:#222; font-size:28px; }.dashboard-shortcut-list small{ font-size:10px; }

/* Compact mobile-first cart */
.cart-page-body{
    background:#f5f7f6;
}

.cart-page{
    width:min(100%,520px);
    padding:12px 14px 162px;
    font-family:"Poppins",Arial,sans-serif;
}

.cart-page *{
    font-family:inherit;
}

.cart-page .account-back{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    margin:0 0 10px;
    padding:6px 10px;
    border-radius:8px;
    background:#16a34a;
    color:#fff;
    font-size:13px;
    font-weight:600;
    line-height:1;
}

.cart-tracking-card{
    height:145px;
    margin:0 0 14px;
    padding:12px;
    overflow:hidden;
    border-radius:14px;
    background:#fff;
    box-shadow:0 3px 12px rgba(21,53,32,.07);
}

.cart-tracking-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.cart-tracking-meta p,
.cart-delivery-estimate{
    margin:0;
    color:#59645c;
    font-size:12px;
    line-height:1.2;
}

.cart-tracking-meta strong{
    color:#24352a;
    font-weight:600;
}

.cart-status-badge{
    padding:4px 8px;
    border-radius:999px;
    background:#e9f8ee;
    color:#16a34a;
    font-size:12px;
    font-weight:600;
}

.cart-delivery-estimate{
    margin-top:7px;
}

.cart-delivery-estimate span{
    color:#16a34a;
    font-size:13px;
    font-weight:700;
}

.card-saved-amount{
    margin:6px 0 0;
    color:#128a42;
    font-size:12px;
    font-weight:700;
    line-height:1.4;
}

.cart-tracking-timeline{
    display:flex;
    justify-content:space-between;
    margin-top:14px;
}

.tracking-step{
    position:relative;
    z-index:1;
    display:grid;
    width:25%;
    justify-items:center;
    color:#8a968e;
    font-size:11px;
    line-height:1.15;
    text-align:center;
}

.tracking-step:not(:last-child)::after{
    position:absolute;
    z-index:-1;
    top:10px;
    left:56%;
    width:88%;
    height:2px;
    content:"";
    background:#dfe8e1;
}

.tracking-step.complete:not(:last-child)::after{
    background:#16a34a;
}

.tracking-step > span{
    display:grid;
    width:20px;
    height:20px;
    margin-bottom:5px;
    place-items:center;
    border-radius:50%;
    background:#e3e9e5;
    color:#718075;
    font-size:11px;
    font-weight:700;
}

.tracking-step.complete,
.tracking-step.current{
    color:#284432;
}

.tracking-step.complete > span,
.tracking-step.current > span{
    background:#16a34a;
    color:#fff;
}

.cart-list{
    gap:10px;
}

.cart-select-all{
    margin-bottom:10px;
    color:#24352a;
    font-size:13px;
}

.cart-select-all input[type="checkbox"],
.cart-item-checkbox{
    width:16px;
    height:16px;
    accent-color:#16a34a;
}

.cart-item{
    height:110px;
    gap:8px;
    padding:10px;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(21,53,32,.06);
}

.cart-item-checkbox{
    margin-top:2px;
}

.cart-item img{
    width:60px;
    height:60px;
    border-radius:8px;
}

.cart-item-body h4{
    display:-webkit-box;
    overflow:hidden;
    margin:0 0 3px;
    color:#1d3024;
    font-size:15px;
    font-weight:700;
    line-height:1.25;
    -webkit-box-orient:vertical;
    line-clamp:2;
    -webkit-line-clamp:2;
}

.cart-item-options{
    overflow:hidden;
    margin:0 0 2px;
    color:#7b877f;
    font-size:11px;
    line-height:1.15;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.cart-item-price{
    margin:0 0 5px;
    color:#16a34a;
    font-size:14px;
    font-weight:600;
    line-height:1.1;
}

.cart-item-controls{
    gap:6px;
}

.cart-qty-btn{
    width:28px;
    height:28px;
    min-width:28px;
    min-height:28px;
    border-radius:8px;
    background:#16a34a;
    font-size:16px;
}

.cart-qty-value{
    min-width:14px;
    font-size:13px;
}

.cart-delete-btn{
    color:#dc2626;
    font-size:11px;
    text-decoration:none;
}

.cart-item-side{
    justify-content:flex-start;
}

.cart-item-line-total{
    margin:0;
    color:#16a34a;
    font-size:12px;
}

.cart-summary-sticky{
    width:min(calc(100% - 28px),492px);
    padding:14px;
    border-radius:14px 14px 0 0;
    box-shadow:0 -4px 14px rgba(21,53,32,.1);
}

.cart-summary-row{
    margin:6px 0;
    font-size:14px;
}

.cart-summary-total{
    margin-top:8px;
    padding-top:8px;
    font-size:15px;
}

.cart-summary-total strong{
    color:#16a34a;
    font-size:22px;
}

.cart-checkout-all-btn{
    display:block;
    width:70%;
    height:42px;
    margin:10px auto 0;
    padding:0;
    border-radius:10px;
    background:#16a34a;
    font-size:14px;
}

/* Compact mobile-first cart page */
.cart-page-body{ background:#F5F7F6; }

.cart-page{
    width:min(100%,430px);
    padding:12px 14px 190px;
    font-family:"Poppins",Arial,sans-serif;
}

.cart-page .account-back{
    display:inline-flex; align-items:center; min-height:32px; margin:0 0 10px;
    padding:6px 11px; border-radius:8px; background:#16A34A; color:transparent;
    font-family:"Poppins",Arial,sans-serif; font-size:0; font-weight:600;
}
.cart-page .account-back::before{ color:#fff; content:"← Back"; font-size:13px; }

.cart-tracking-card{
    height:145px; padding:12px; border:1px solid #dfe5e0; border-radius:14px;
    background:#fff; color:#344038; font-family:"Poppins",Arial,sans-serif;
}
.cart-tracking-meta{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; }
.cart-tracking-meta p, .cart-delivery-estimate{ margin:0; }
.cart-status-badge{ padding:4px 8px; border-radius:999px; background:#e7f7ec; color:#16803a; font-size:11px; font-weight:600; }
.cart-delivery-estimate{ margin-top:8px; color:#68736b; font-size:12px; }
.cart-tracking-timeline{ display:flex; justify-content:space-between; margin-top:13px; }
.tracking-step{ position:relative; z-index:0; width:25%; color:#9ba49e; font-size:11px; text-align:center; line-height:1.2; }
.tracking-step:not(:last-child)::after{
    position:absolute; z-index:-1; top:10px; left:58%; width:84%; height:2px;
    background:#dce4de; content:"";
}
.tracking-step span{
    display:flex; align-items:center; justify-content:center; width:21px; height:21px;
    margin:0 auto 5px; border:1px solid #dce4de; border-radius:50%; background:#fff; font-size:11px;
}
.tracking-step small{ font-size:11px; }
.tracking-step.complete, .tracking-step.current{ color:#16A34A; }
.tracking-step.complete span, .tracking-step.current span{ border-color:#16A34A; background:#16A34A; color:#fff; }
.tracking-step.complete::after{ background:#16A34A; }

.cart-page .cart-list{ gap:10px; }
.cart-page .cart-item{
    gap:9px; min-height:110px; padding:10px; border:1px solid #e4e9e5;
    border-radius:12px; box-shadow:none;
}
.cart-page .cart-item img{ width:60px; height:60px; border-radius:9px; }
.cart-page .cart-item-body h4{
    display:-webkit-box; overflow:hidden; margin:0 0 4px; color:#243329;
    font-size:15px; font-weight:700; line-height:1.25; -webkit-box-orient:vertical; line-clamp:2; -webkit-line-clamp:2;
}
.cart-page .cart-item-price{ margin:0 0 7px; color:#16A34A; font-size:14px; font-weight:600; }
.cart-page .cart-old-price{ color:#8a938c; font-size:12px; text-decoration:line-through; }
.cart-page .cart-item-line-total{ color:#16A34A; font-size:14px; }
.cart-page .cart-qty-btn{ width:28px; height:28px; min-width:28px; min-height:28px; border-radius:8px; background:#16A34A; }
.cart-page .cart-delete-btn{ color:#dc2626; font-size:11px; }
.cart-page .cart-select-all{ margin:14px 2px 10px; color:#243329; font-size:13px; }
.cart-page .cart-select-all input[type="checkbox"], .cart-page .cart-item-checkbox{ accent-color:#16A34A; }

.cart-page .cart-summary-sticky{
    width:min(calc(100% - 28px),402px); padding:14px; border:1px solid #e1e7e2;
    border-radius:14px 14px 0 0; box-shadow:0 -4px 16px rgba(28,54,35,.10);
}
.cart-page .cart-summary-row{ margin:5px 0; font-size:14px; }
.cart-page .cart-summary-total{ margin-top:8px; padding-top:8px; font-size:16px; }
.cart-page .cart-summary-total strong{ color:#16A34A; font-size:22px; }
.cart-page .cart-checkout-all-btn{
    display:block; width:70%; height:42px; margin:10px auto 0; border-radius:10px; background:#16A34A;
}

@media (max-width:359px){
    .cart-page{ padding-inline:10px; }
    .cart-page .cart-summary-sticky{ width:calc(100% - 20px); }
    .tracking-step small{ font-size:10px; }
}

/* Daraz-inspired cart, order confirmation and account surfaces. */
.cart-page-body,
.dashboard-page{
    background:#f5f5f5;
}

.cart-page{
    width:min(100%,520px);
    padding:0 0 190px;
    background:#f5f5f5;
}

.cart-page-header{
    display:grid;
    grid-template-columns:44px 1fr 44px;
    align-items:center;
    min-height:64px;
    padding:0 12px;
    background:#fff;
}

.cart-page-header h1{
    margin:0;
    color:#161616;
    font-size:23px;
    text-align:center;
}

.cart-back-link{
    color:#202020;
    font-size:26px;
    text-decoration:none;
}

.cart-page .cart-empty-state{
    padding:48px 15px 14px;
    background:#fff;
}

.cart-page .cart-empty-icon{
    width:150px;
    height:150px;
    background:#e9f9fb;
    color:#087d39;
    font-size:66px;
}

.cart-page .cart-empty-state h1{ color:#087d39; }
.cart-page .cart-empty-state > a{ max-width:none; border-radius:8px; background:#07863d; }
.cart-page .cart-empty-state h2{ margin-top:34px; font-size:25px; }
.cart-page .cart-recent-products{ gap:10px; margin-right:-15px; }
.cart-page .cart-recent-products a{ flex-basis:145px; border:0; border-radius:0; background:#fff; box-shadow:0 1px 6px rgba(0,0,0,.06); }
.cart-page .cart-recent-products img{ height:135px; object-fit:contain; }

.cart-page > .cart-select-all,
.cart-page > .cart-list,
.cart-page > .cart-delivery-notice{
    margin-left:12px;
    margin-right:12px;
}

.cart-page .cart-select-all{ margin-top:16px; padding:0 2px; color:#202020; font-size:16px; }
.cart-page .cart-select-all input[type="checkbox"],
.cart-page .cart-item-checkbox{ width:21px; height:21px; accent-color:#07863d; }

.cart-page .cart-item{
    min-height:132px;
    gap:10px;
    padding:13px 10px;
    border:0;
    border-radius:0;
    background:#fff;
}

.cart-page .cart-item img{ width:88px; height:88px; border-radius:0; object-fit:contain; }
.cart-page .cart-item-body h4{ color:#202020; font-size:14px; }
.cart-page .cart-item-price,
.cart-page .cart-item-line-total{ color:#087d39; font-weight:800; }
.cart-page .cart-qty-btn{ border:1px solid #d7dce3; border-radius:2px; background:#fff; color:#087d39; }
.cart-page .cart-qty-value{ min-width:30px; height:28px; padding-top:4px; border-block:1px solid #d7dce3; }
.cart-page .cart-delete-btn{ margin-left:8px; color:#737b85; }

.cart-delivery-notice{
    display:grid;
    grid-template-columns:1fr auto;
    gap:3px;
    margin-top:10px;
    padding:12px 14px;
    border-radius:12px;
    background:#edf8f0;
    color:#087d39;
    font-size:14px;
}

.cart-delivery-notice span{ grid-column:1; color:#287346; font-size:12px; }
.cart-delivery-notice strong{ grid-column:2; grid-row:1 / span 2; align-self:center; color:#287346; font-size:18px; }

.cart-page .cart-summary-sticky{
    bottom:60px;
    width:min(100%,520px);
    padding:11px 16px;
    border:0;
    border-radius:0;
    box-shadow:0 -2px 10px rgba(0,0,0,.12);
}

.cart-summary-prices{ display:inline-grid; width:52%; vertical-align:middle; }
.cart-page .cart-summary-row{ margin:2px 0; color:#252525; font-size:13px; }
.cart-page .cart-summary-row strong{ color:#087d39; font-size:17px; }
.cart-page .cart-checkout-all-btn{ width:44%; margin:0; float:right; background:#07863d; font-size:16px; }

.cart-bottom-nav,
.dashboard-bottom-nav{ height:65px; }
.cart-bottom-nav .nav-item,
.dashboard-bottom-nav .nav-item{ min-width:58px; }
.cart-bottom-nav .nav-item.active,
.dashboard-bottom-nav .nav-item.active{ color:#087d39; }

.order-tracking-card{
    margin:0 0 18px;
    padding:15px;
    border-radius:13px;
    background:#f3fbf8;
    border:1px solid #d6eee2;
}
.order-tracking-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; color:#39453d; font-size:13px; }
.order-tracking-top b{ padding:5px 9px; border-radius:999px; background:#dff4e7; color:#168a42; }
.order-tracking-card > p{ margin:10px 0 14px; color:#667269; font-size:13px; }
.order-tracking-steps{ display:grid; grid-template-columns:1.15fr 1.45fr .95fr 1.2fr 1.25fr; }
.order-tracking-steps span{ position:relative; display:grid; min-width:0; padding:0 1px; justify-items:center; color:#9ca8a0; font-size:17px; text-align:center; }
.order-tracking-steps span:not(:last-child)::after{ position:absolute; top:8px; left:62%; width:77%; height:2px; background:#d7e0da; content:""; }
.order-tracking-steps .done,
.order-tracking-steps .current{ color:#168a42; }
.order-tracking-steps .done::after{ background:#168a42; }
.order-tracking-steps small{ display:block; min-height:22px; margin-top:5px; color:inherit; font-size:7.5px; line-height:1.2; white-space:normal; overflow-wrap:normal; word-break:keep-all; }

/* Customer order tracking page */
.tracking-page{ min-height:100vh; padding:0 18px 92px; background:#f5f5f5; }
.tracking-page-header{ padding:22px 0 16px; }
.tracking-back-link{ display:inline-flex; align-items:center; color:#087d39; font-size:14px; font-weight:700; text-decoration:none; }
.tracking-page-header h1{ margin:12px 0 0; color:#16272e; font-size:26px; }
#trackingContent[hidden]{ display:none !important; }
.tracking-order-hero{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:19px; border:1px solid #d6eee2; border-radius:16px; background:linear-gradient(135deg,#f2fbf6,#fff); }
.tracking-order-kicker{ margin:0 0 3px; color:#687b70; font-size:13px; }
.tracking-order-hero h2{ margin:0; color:#173220; font-size:24px; }
.tracking-status-badge{ flex:0 0 auto; padding:7px 12px; border-radius:999px; background:#dff4e7; color:#087d39; font-size:14px; font-weight:800; }
.tracking-section{ margin-top:14px; padding:18px; border-radius:16px; background:#fff; box-shadow:0 2px 12px rgba(20,50,31,.06); }
.tracking-section h2{ margin:0; color:#173220; font-size:19px; }
.tracking-section-intro{ margin:4px 0 17px; color:#6f7d73; font-size:13px; }
.vertical-tracking-timeline{ display:grid; gap:0; margin:0; padding:0; list-style:none; }
.vertical-tracking-timeline li{ position:relative; display:grid; grid-template-columns:28px minmax(0,1fr); gap:11px; min-height:58px; color:#9aa59e; }
.vertical-tracking-timeline li:not(:last-child)::after{ position:absolute; top:24px; left:13px; width:2px; height:34px; background:#dfe8e1; content:""; }
.tracking-step-icon{ display:grid; width:27px; height:27px; place-items:center; border:1px solid #c9d5cd; border-radius:50%; background:#fff; color:#9aa59e; font-size:14px; font-weight:800; }
.vertical-tracking-timeline strong{ display:block; padding-top:3px; color:inherit; font-size:15px; }
.vertical-tracking-timeline small{ display:block; margin-top:3px; color:#718077; font-size:12px; }
.vertical-tracking-timeline .complete,.vertical-tracking-timeline .current{ color:#087d39; }
.vertical-tracking-timeline .complete .tracking-step-icon,.vertical-tracking-timeline .current .tracking-step-icon{ border-color:#087d39; background:#087d39; color:#fff; }
.vertical-tracking-timeline .complete:not(:last-child)::after{ background:#087d39; }
.tracking-information dl{ display:grid; gap:0; margin:12px 0 0; }
.tracking-information dl > div{ display:grid; grid-template-columns:42% 1fr; gap:10px; padding:12px 0; border-bottom:1px solid #edf1ee; }
.tracking-information dl > div:last-child{ border-bottom:0; }
.tracking-information dt{ color:#738078; font-size:13px; }
.tracking-information dd{ margin:0; color:#23342a; font-size:14px; font-weight:700; overflow-wrap:anywhere; }

.dashboard-page{
    width:min(100%,520px);
    padding:0 0 84px;
}
.dashboard-profile-header{
    display:grid;
    grid-template-columns:78px 1fr auto;
    align-items:center;
    gap:12px;
    min-height:172px;
    padding:22px 24px;
    background:linear-gradient(115deg,#057b36,#0d9b4a);
}
.dashboard-avatar{ position:relative; display:grid; width:70px; height:70px; place-items:center; border:2px solid #fff; border-radius:50%; background:#8e98ad; color:#fff; font-size:25px; text-decoration:none; }
.dashboard-avatar i{ position:absolute; right:-3px; bottom:-1px; font-size:16px; font-style:normal; }
.dashboard-profile-header h1{ margin:0 0 3px; color:#16272e; font-size:25px; }
.dashboard-profile-header .account-intro{ margin:0; color:#5b7e83; font-size:15px; }
.dashboard-settings{ border:0; background:transparent; color:#173138; font-size:29px; cursor:pointer; }
.dashboard-page .dashboard-order-shortcuts{ margin:0; padding:18px 22px 20px; border-bottom:8px solid #f5f5f5; box-shadow:none; }
.dashboard-page .dashboard-order-shortcuts h2{ font-size:23px; }
.dashboard-page .dashboard-order-shortcuts a{ font-size:15px; }
.dashboard-shortcut-list button{ display:grid; gap:5px; border:0; background:transparent; color:#1e2324; font:inherit; cursor:pointer; }
.dashboard-shortcut-list button span{ font-size:28px; }
.dashboard-shortcut-list small{ font-size:11px; }
.dashboard-page .dashboard-tabs{ margin:0; padding:10px 12px; border-radius:0; background:#fff; }
.dashboard-support-menu{display:grid;gap:10px}.dashboard-support-menu button,.dashboard-support-menu a{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px;border:1px solid #dcece1;border-radius:12px;background:#fff;color:#1e293b;text-decoration:none;font:inherit;font-weight:700;cursor:pointer;text-align:left}.dashboard-support-menu button:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.dashboard-support-menu small{display:block;font-weight:400;color:#64748b;margin-top:3px}
.dashboard-support-menu button.is-unavailable{background:#f8fafc;color:#64748b}.dashboard-support-menu button.is-unavailable small{color:#b45309}
.dashboard-page .dashboard-panel{ margin:0; padding:18px; border:0; border-radius:0; box-shadow:none; }
.dashboard-page .dashboard-panel h2{ font-size:20px; }
.dashboard-page .order-row{ border-color:#edf0f2; }
.dashboard-page .order-row{ grid-template-columns:auto 1fr auto; }
.dashboard-page .order-row-product{ grid-column:2; overflow:hidden; color:#3c4b41; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-page .order-row-date{ grid-column:2; grid-row:2; }
.dashboard-page .order-row-status{ grid-column:3; grid-row:1; }
.dashboard-page .order-row-total{ grid-column:3; grid-row:2; justify-self:end; }

/* Unified green-and-white mobile navigation and final colour corrections. */
.bottom-nav{
    height:calc(54px + env(safe-area-inset-bottom));
    padding:4px max(10px, env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    box-sizing:border-box;
    background:#fff;
    border-top:1px solid #e7ece8;
    box-shadow:0 -2px 12px rgba(0,80,35,.10);
}
.bottom-nav .nav-item{ position:relative; flex:1; min-width:0; color:#303632; font-size:10px; font-weight:500; }
.bottom-nav .nav-item .nav-icon{ display:grid; width:30px; height:30px; margin:0 auto 1px; place-items:center; border-radius:50%; color:#202522; }
.bottom-nav .nav-icon svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.bottom-nav .nav-item p{ margin:0; font-size:10px; line-height:13px; }
.bottom-nav .nav-item.active{ color:#087d39; font-weight:700; transform:none; }
.bottom-nav .cart-badge,
.bottom-nav .message-badge{ top:0; right:calc(50% - 27px); min-width:14px; height:14px; padding:0 3px; box-sizing:border-box; border:1px solid #fff; font-size:9px; line-height:12px; }
.bottom-nav .nav-item.active .nav-icon{ background:#07863d; color:#fff; box-shadow:0 3px 8px rgba(7,134,61,.25); }
.cart-bottom-nav .nav-item.active,
.dashboard-bottom-nav .nav-item.active{ color:#087d39; }
.cart-bottom-nav .nav-item.active .nav-icon,
.dashboard-bottom-nav .nav-item.active .nav-icon{ background:#07863d; color:#fff; }

.inbox-page{ padding-bottom:86px !important; }

.cart-page .cart-empty-icon{ background:#eaf7ee; color:#087d39; }
.cart-page .cart-empty-state h1{ color:#087d39; }
.cart-page .cart-empty-state > a,
.cart-page .cart-checkout-all-btn{ background:#07863d; }
.cart-page .cart-select-all input[type="checkbox"],
.cart-page .cart-item-checkbox{ accent-color:#07863d; }
.cart-page .cart-item-price,
.cart-page .cart-item-line-total,
.cart-page .cart-summary-row strong{ color:#087d39; }
.cart-page .cart-qty-btn{ color:#087d39; }
.cart-delivery-notice{ background:#edf8f0; color:#087d39; }
.cart-delivery-notice span,.cart-delivery-notice strong{ color:#287346; }

.dashboard-profile-header{ background:linear-gradient(125deg,#057b36,#0d9b4a); }
.dashboard-profile-header h1,.dashboard-settings{ color:#fff; }
.dashboard-profile-header .account-intro{ color:#d8f4e0; }
.dashboard-page .dashboard-order-shortcuts h2,
.dashboard-page .dashboard-order-shortcuts a,
.dashboard-shortcut-list button{ color:#087d39; }
.dashboard-shortcut-list button:focus-visible{ outline:2px solid #087d39; border-radius:8px; }
.dashboard-shortcut-list button[aria-pressed="true"]{background:#eaf7ed;border-radius:8px;box-shadow:0 0 0 5px #eaf7ed;}

/* Compact cart content and real product recommendations. */
.cart-page{ padding-bottom:152px; }
.cart-page-header{ min-height:54px; }
.cart-page-header h1{ font-size:20px; }
.cart-back-link{ font-size:23px; }
.cart-page .cart-empty-state{ padding:28px 14px 14px; }
.cart-page .cart-empty-icon{ width:100px; height:100px; margin-bottom:12px; font-size:43px; }
.cart-page .cart-empty-state h1{ font-size:21px; }
.cart-page .cart-empty-state > p{ max-width:270px; margin:0 auto 16px; font-size:13px; }
.cart-page .cart-empty-state > a{ display:inline-block; min-width:170px; padding:11px 16px; font-size:14px; }
.cart-recommendation-heading{ display:flex; align-items:center; justify-content:space-between; margin:30px 0 12px; }
.cart-page .cart-recommendation-heading h2{ margin:0; font-size:20px; }
.cart-recommendation-heading a{ color:#087d39; font-size:13px; font-weight:700; text-decoration:none; }
.cart-page .cart-recent-products{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; overflow:visible; }
.cart-recommendation-card{ min-width:0; overflow:hidden; padding:7px; border-radius:10px; background:#fff; box-shadow:0 1px 6px rgba(0,0,0,.08); text-align:left; }
.cart-recommendation-card a{ display:block; overflow:hidden; border-radius:7px; }
.cart-recommendation-card img{ display:block; width:100%; height:118px; object-fit:contain; background:#f7f8f7; }
.cart-recommendation-card h3{ display:-webkit-box; overflow:hidden; min-height:33px; margin:7px 1px 3px; color:#202522; font-size:12px; font-weight:600; line-height:1.35; -webkit-box-orient:vertical; line-clamp:2; -webkit-line-clamp:2; }
.cart-recommendation-card p{ margin:0 1px 7px; color:#087d39; font-size:14px; font-weight:700; }
.cart-recommendation-card button{ width:100%; padding:7px 5px; border:1px solid #07863d; border-radius:5px; background:#fff; color:#07863d; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.cart-recommendation-card button:active{ background:#edf8f0; }
.cart-recommendations-empty{ grid-column:1 / -1; margin:5px 0; color:#657066; font-size:13px; text-align:left; }

.cart-page .cart-select-all{ margin-top:10px; margin-bottom:7px; font-size:14px; }
.cart-page .cart-select-all input[type="checkbox"],.cart-page .cart-item-checkbox{ width:18px; height:18px; }
.cart-page .cart-list{ gap:7px; }
.cart-page .cart-item{ min-height:94px; padding:8px; gap:8px; border-radius:9px; }
.cart-page .cart-item img{ width:66px; height:66px; }
.cart-page .cart-item-body h4{ margin-bottom:2px; font-size:13px; line-height:1.2; }
.cart-page .cart-item-options{ margin-bottom:2px; font-size:10px; }
.cart-page .cart-item-price{ margin-bottom:4px; font-size:13px; }
.cart-page .cart-item-controls{ gap:3px; }
.cart-page .cart-qty-btn{ width:25px; height:25px; min-width:25px; min-height:25px; font-size:15px; }
.cart-page .cart-qty-value{ min-width:24px; height:25px; padding-top:3px; font-size:12px; }
.cart-page .cart-delete-btn{ margin-left:4px; padding:3px; font-size:10px; }
.cart-page .cart-item-line-total{ font-size:11px; }
.cart-delivery-notice{ margin-top:7px; padding:9px 11px; font-size:13px; }
.cart-delivery-notice strong{ font-size:16px; }
.cart-page .cart-summary-sticky{ bottom:58px; padding:8px 12px; }
.cart-summary-prices{ width:55%; }
.cart-page .cart-summary-row{ margin:1px 0; font-size:12px; }
.cart-page .cart-summary-row strong{ font-size:15px; }
.cart-page .cart-checkout-all-btn{ width:42%; height:38px; padding:0 4px; border-radius:7px; font-size:13px; }
.cart-bottom-nav{ height:58px; padding-top:4px; padding-bottom:3px; }
.cart-bottom-nav .nav-item{ font-size:10px; }
.cart-bottom-nav .nav-item .nav-icon{ width:30px; height:30px; margin:-3px auto 0; }
.cart-bottom-nav .nav-icon svg{ width:20px; height:20px; }
.cart-bottom-nav .nav-item p{ line-height:13px; }

/* Keep the compact cart usable at narrow phone widths. */
@media (max-width:350px){
    .cart-page .cart-item{ gap:6px; padding:7px; }
    .cart-page .cart-item-checkbox{ width:16px; height:16px; }
    .cart-page .cart-item img{ width:56px; height:56px; }
    .cart-page .cart-item-body h4{ font-size:12px; }
    .cart-page .cart-qty-btn{ width:23px; height:23px; min-width:23px; min-height:23px; }
    .cart-page .cart-qty-value{ min-width:20px; height:23px; padding-top:2px; }
    .cart-page .cart-delete-btn{ margin-left:1px; font-size:9px; }
    .cart-page .cart-item-line-total{ display:none; }
}

@media (max-width:350px){
    .cart-recommendation-card img{ height:102px; }
    .cart-page .cart-item img{ width:56px; height:56px; }
    .cart-page .cart-delete-btn{ font-size:9px; }
}

/* Storefront card actions: icons above, full-width Order Now below. */
.product-card .product-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"view cart" "order order"!important;gap:7px!important;padding:0 12px 18px!important;min-width:0!important}
.product-card{position:relative}.product-wishlist-button{position:absolute;z-index:2;top:10px;left:10px;width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid #dbe9df!important;border-radius:50%!important;background:#fff!important;color:#087d39!important;font-size:22px!important;line-height:1!important;box-shadow:0 2px 7px rgba(0,0,0,.1);cursor:pointer}
.product-card .product-card-actions .card-icon-button{width:38px!important;height:38px!important;min-width:38px!important;padding:0!important}
.product-card .product-card-actions .card-icon-button:first-child{grid-area:view;justify-self:start}.product-card .product-card-actions .card-icon-button:last-child{grid-area:cart;justify-self:end}
.product-card .product-card-actions .card-order-button{grid-area:order;width:100%!important;min-width:0!important;height:42px!important;padding:0 8px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;font-size:14px!important}
.product-card .product-card-actions .card-icon-button svg{width:19px!important;height:19px!important}

.compact-notification{padding:13px 0;border-bottom:1px solid #edf0ee}.compact-notification-title{display:flex;align-items:center;width:100%;padding:0;border:0;background:none;color:#1f3426;font:700 16px/1.35 Arial,sans-serif;text-align:left;cursor:pointer}.compact-notification-title::after{content:"›";margin-left:auto;font-size:23px}.compact-notification.unread .compact-notification-title::before{content:"";width:8px;height:8px;margin-right:8px;border-radius:50%;background:#ef4444;flex:none}.compact-notification>p,.compact-notification>a,.compact-notification>small{display:none}.compact-notification.expanded>p{display:block;margin:9px 0 0;color:#53665a;line-height:1.5}.compact-notification.expanded>a{display:inline-block;margin-top:9px;color:#168a42;font-weight:700;text-decoration:none}.compact-notification.expanded>small{display:block;margin-top:7px;color:#849087;font-size:12px}

/* Homepage commerce modules. Existing catalogue and bottom navigation remain intact. */
.homepage-banner-slide{position:relative;overflow:hidden}.homepage-banner-controls{position:absolute;right:13px;bottom:13px;display:flex;align-items:center;gap:8px}.homepage-banner-controls>button{display:grid;width:29px;height:29px;place-items:center;padding:0;border:0;border-radius:50%;background:#ffffffdf;color:#087d39;font-size:22px;cursor:pointer}.homepage-banner-dots{display:flex;gap:5px}.homepage-banner-dots button{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:#ffffff91;cursor:pointer}.homepage-banner-dots button.active{width:18px;background:#fff}
.homepage-top-actions{display:flex;align-items:center;gap:8px}.homepage-top-actions a{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#087d39;background:#eff9f2;text-decoration:none;font-size:17px}.homepage-category-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 12px;background:#fff;scrollbar-width:none}.homepage-category-strip::-webkit-scrollbar{display:none}.homepage-category-chips{display:contents}.homepage-category-chip{flex:0 0 auto;border:1px solid #d7eadc;border-radius:999px;background:#fff;color:#31523c;padding:8px 14px;font:700 13px Inter,Arial,sans-serif;cursor:pointer}.homepage-category-chip.active,.homepage-category-chip:hover{border-color:#087d39;background:#087d39;color:#fff}.homepage-banners,.homepage-promotions,.homepage-quick-links,.homepage-section{width:min(100% - 28px,1180px);margin:0 auto}.homepage-banner{min-height:185px;margin:4px 0 16px;padding:25px;border-radius:20px;background:linear-gradient(120deg,#075d31,#159552);background-position:center;background-size:cover;box-shadow:0 12px 24px rgba(8,90,44,.17);color:#fff}.homepage-banner-content{max-width:300px}.homepage-banner p{margin:0 0 7px;font-size:13px;opacity:.88}.homepage-banner h1{margin:0 0 18px;font:700 clamp(25px,7vw,38px)/1.08 Poppins,Arial,sans-serif}.homepage-banner button{border:0;border-radius:999px;background:#fff;color:#087d39;padding:10px 15px;font-weight:800;cursor:pointer}.homepage-banner button span{margin-left:7px;font-size:17px}.homepage-promotions{display:flex;gap:10px;overflow-x:auto;padding-bottom:17px;scrollbar-width:none}.homepage-promotion{flex:0 0 170px;min-height:76px;border:1px solid #dcefe1;border-radius:14px;background:#f6fcf7;padding:13px;text-align:left;color:#173220;cursor:pointer}.homepage-promotion strong,.homepage-promotion small{display:block}.homepage-promotion strong{font-size:14px}.homepage-promotion small{margin-top:4px;color:#587060;font-size:11px}.homepage-quick-links{display:flex;gap:10px;overflow-x:auto;padding:0 0 22px;scrollbar-width:none}.homepage-quick-link{display:grid;gap:6px;justify-items:center;min-width:74px;border:0;background:transparent;color:#264331;font:inherit;cursor:pointer}.homepage-quick-link span{display:grid;width:48px;height:48px;place-items:center;border-radius:16px;background:#e7f8ec;color:#087d39;font-size:21px}.homepage-quick-link b{max-width:76px;overflow:hidden;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.homepage-section{margin-bottom:24px}.homepage-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}.homepage-section-heading p{margin:0 0 2px;color:#66806e;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.homepage-section-heading h2{margin:0;color:#173220;font:700 21px Poppins,Arial,sans-serif}.homepage-section-heading a{color:#087d39;font-size:13px;font-weight:800;text-decoration:none}.homepage-product-rail{display:flex;gap:11px;overflow-x:auto;padding:1px 1px 6px;scrollbar-width:none}.homepage-mini-product{flex:0 0 138px;overflow:hidden;border:1px solid #e0ebe3;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(19,62,35,.06);color:#203329;text-decoration:none}.homepage-mini-product img{display:block;width:100%;height:122px;object-fit:cover;background:#f5f8f5}.homepage-mini-product span{display:-webkit-box;min-height:32px;overflow:hidden;margin:8px 9px 4px;font-size:12px;font-weight:700;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}.homepage-mini-product strong{display:block;margin:0 9px 10px;color:#087d39;font-size:14px}.homepage-all-products{scroll-margin-top:120px}.homepage-all-products .products{width:100%;margin:0;padding-bottom:0}@media(min-width:769px){.homepage-top-actions{margin-left:auto}.homepage-category-strip{padding-inline:max(4vw,24px)}.homepage-banner{min-height:260px;padding:42px}.homepage-mini-product{flex-basis:185px}.homepage-mini-product img{height:160px}}
/* Customer home: compact storefront layout. The global Lagve palette and the
   existing bottom navigation deliberately remain untouched. */
body:has(.homepage-category-strip){background:#f5f8f5;}
body:has(.homepage-category-strip) main{padding:0 0 84px;}
body:has(.homepage-category-strip) .mobile-header{position:relative;padding:9px 14px;background:#fff;box-shadow:0 2px 12px rgba(10,60,29,.08);}
body:has(.homepage-category-strip) .header-top{min-height:42px;}
body:has(.homepage-category-strip) .homepage-top-actions a{width:36px;height:36px;border-radius:50%;background:#eff9f2;}
body:has(.homepage-category-strip) .search-container{width:100%;margin:0;padding:12px 14px 8px;position:sticky;top:0;z-index:1000;background:#f5f8f5;}
body:has(.homepage-category-strip) .search-container.search-hide{transform:none;opacity:1;}
body:has(.homepage-category-strip) .search-container input{height:48px;padding:0 56px 0 17px;border-color:#dce9df;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(12,68,32,.08);font-size:15px;}
body:has(.homepage-category-strip) .search-container button{right:5px;width:40px;height:40px;font-size:20px;}
body:has(.homepage-category-strip) .homepage-category-strip{position:sticky;top:68px;z-index:999;gap:9px;padding:8px 14px 12px;background:#f5f8f5;box-shadow:0 7px 12px -12px rgba(10,60,29,.3);}
body:has(.homepage-category-strip) .homepage-category-chip{padding:8px 13px;border:0;border-radius:9px;background:#fff;box-shadow:0 2px 8px rgba(10,60,29,.07);font-size:12px;}
body:has(.homepage-category-strip) .homepage-category-chip.active,
body:has(.homepage-category-strip) .homepage-category-chip:hover{background:#087d39;color:#fff;}
body:has(.homepage-category-strip) .homepage-banners{width:calc(100% - 28px);}
body:has(.homepage-category-strip) .homepage-banner{min-height:190px;margin:0 0 15px;padding:23px 20px;border-radius:16px;box-shadow:0 8px 20px rgba(8,90,44,.19);}
body:has(.homepage-category-strip) .homepage-banner-content{max-width:75%;}
body:has(.homepage-category-strip) .homepage-banner p{font-size:12px;}
body:has(.homepage-category-strip) .homepage-banner h1{margin-bottom:15px;font-size:26px;line-height:1.1;}
body:has(.homepage-category-strip) .homepage-banner button{padding:9px 14px;font-size:12px;}
/* Uploaded campaign images commonly contain their own headline. */
body:has(.homepage-category-strip) .homepage-banner-image-only{display:flex;align-items:flex-end;background-position:center;}
body:has(.homepage-category-strip) .homepage-banner-image-only .homepage-banner-content{display:flex;align-items:flex-end;min-height:144px;max-width:none;}
body:has(.homepage-category-strip) .homepage-banner-image-only p,
body:has(.homepage-category-strip) .homepage-banner-image-only h1{display:none;}
body:has(.homepage-category-strip) .homepage-banner-image-only button{box-shadow:0 5px 14px rgba(0,0,0,.17);}

/* Full-screen campaign popup, managed from Homepage Management. */
.offer-popup[hidden]{display:none!important;}
.offer-popup{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:22px;background:rgba(10,20,14,.72);backdrop-filter:blur(3px);animation:offerFadeIn .22s ease;}
.offer-popup-card{position:relative;width:min(74vw,335px);overflow:visible;border-radius:20px;background:#fff;box-shadow:0 20px 55px rgba(0,0,0,.38);animation:offerCardIn .3s cubic-bezier(.2,.85,.3,1);}
.offer-popup-label{position:absolute;z-index:1;top:14px;left:14px;padding:6px 10px;border-radius:999px;background:#087d39;color:#fff;font:800 11px Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;}
.offer-popup-close{position:absolute;z-index:2;right:50%;top:auto;bottom:-58px;transform:translateX(50%);display:grid;width:46px;height:46px;place-items:center;border:2px solid #fff;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:34px;font-weight:300;line-height:1;cursor:pointer;}
.offer-popup-close:hover{background:rgba(255,255,255,.28);}
.offer-popup-card img{display:block;width:100%;aspect-ratio:1.25 / 1;object-fit:cover;border-radius:20px 20px 0 0;background:#eaf4ed;}
.offer-popup-content{padding:12px 14px 14px;text-align:center;}
.offer-popup-content h2{margin:0;color:#173220;font:800 17px/1.2 Arial,sans-serif;}
.offer-popup-content p{min-height:16px;margin:4px 0 10px;color:#65766b;font:12px/1.35 Arial,sans-serif;}
.offer-popup-content button{min-width:145px;padding:10px 16px;border:0;border-radius:999px;background:#087d39;color:#fff;font:800 14px Arial,sans-serif;cursor:pointer;box-shadow:0 7px 14px rgba(8,125,57,.24);}
.offer-popup-content button span{margin-left:7px;font-size:18px;}
.offer-popup-open{overflow:hidden;}
@keyframes offerFadeIn{from{opacity:0}to{opacity:1}}
@keyframes offerCardIn{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Storefront hero: search and category navigation sit over the live banner. */
body:has(.homepage-hero) .homepage-hero{position:relative;min-height:390px;background:#f5f8f5;isolation:isolate;}
body:has(.homepage-hero) .mobile-header{position:sticky;top:0;z-index:1002;}
body:has(.homepage-hero) .homepage-hero-controls{position:relative;z-index:2;background:transparent;}
body:has(.homepage-hero) .homepage-hero .homepage-banners{position:absolute;z-index:0;inset:0;width:100%;margin:0;}
body:has(.homepage-hero) .homepage-hero .homepage-banners{overflow:hidden;}
body:has(.homepage-hero) .homepage-hero .homepage-banner{height:390px;min-height:390px;margin:0;padding:260px 24px 24px;border-radius:0;background:linear-gradient(135deg,#087d39,#0b9145);background-position:center;background-size:cover;box-shadow:none;}
body:has(.homepage-hero) .homepage-hero .homepage-banner-content{max-width:72%;}
body:has(.homepage-hero) .homepage-hero .homepage-banner h1{font-size:25px;}
body:has(.homepage-hero) .homepage-hero .search-container{position:relative;z-index:2;width:100%;margin:0;padding:8px 12px 4px;background:transparent;}
body:has(.homepage-hero) .homepage-hero .search-container input{height:42px;border-radius:11px;font-size:14px;}
body:has(.homepage-hero) .homepage-hero .search-container button{width:36px;height:36px;font-size:18px;}
body:has(.homepage-hero) .homepage-hero .homepage-category-strip{position:relative;top:auto;z-index:2;gap:17px;padding:5px 12px 8px;background:transparent;box-shadow:none;}
body:has(.homepage-hero) .homepage-hero .homepage-category-chip{padding:5px 0;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent!important;color:#fff!important;box-shadow:none;font-size:13px;white-space:nowrap;}
body:has(.homepage-hero) .homepage-hero .homepage-category-chip.active,
body:has(.homepage-hero) .homepage-hero .homepage-category-chip:hover{border-bottom-color:#fff;background:transparent!important;color:#fff!important;}
body:has(.homepage-hero) .homepage-hero .homepage-banner-image-only{align-items:flex-end;}
body:has(.homepage-hero) .homepage-hero .homepage-banner-image-only .homepage-banner-content{min-height:0;}
body.homepage-controls-stuck:has(.homepage-hero) .homepage-hero-controls{position:fixed;top:var(--lagbe-home-header-height,70px);left:0;z-index:1001;width:100%;background:#fff;box-shadow:0 8px 16px rgba(5,66,30,.14);}
body.homepage-controls-stuck:has(.homepage-hero) .homepage-category-chip{color:#173220!important;}
body.homepage-controls-stuck:has(.homepage-hero) .homepage-category-chip.active,
body.homepage-controls-stuck:has(.homepage-hero) .homepage-category-chip:hover{border-bottom-color:#087d39;background:transparent!important;color:#087d39!important;}
@media (min-width:769px){body:has(.homepage-hero) .homepage-hero{min-height:470px;}body:has(.homepage-hero) .homepage-hero .homepage-banner{height:470px;min-height:470px;padding:320px max(5vw,40px) 36px;}body:has(.homepage-hero) .homepage-hero .search-container{max-width:980px;margin:0 auto;}body:has(.homepage-hero) .homepage-hero .homepage-category-strip{padding-inline:max(5vw,40px);}}

/* Each Firestore banner replacement now enters from the right instead of
   appearing abruptly. The host clips the moving slide cleanly on mobile. */
.homepage-banner-slide{will-change:transform,opacity;animation:lagbeBannerSlideIn .48s cubic-bezier(.22,.75,.26,1) both;}
@keyframes lagbeBannerSlideIn{from{opacity:.5;transform:translateX(32%)}to{opacity:1;transform:translateX(0)}}
body:has(.homepage-category-strip) .homepage-promotions{width:100%;padding:0 14px 16px;gap:10px;}
/* Promotion cards begin after the hero ends, matching the storefront flow:
   search/categories -> full hero banner -> horizontally scrolling offers. */
body:has(.homepage-hero) + main .homepage-promotions{position:relative;z-index:1;margin-top:0;padding-top:14px;}
body:has(.homepage-category-strip) .homepage-promotion{flex-basis:172px;min-height:105px;padding:16px 13px;border:0;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(14,66,33,.09);}
body:has(.homepage-category-strip) .homepage-promotion{overflow:hidden;padding:0;text-align:left;}
.homepage-promotion-image{display:block;width:100%;height:118px;object-fit:cover;background:#eef6f0;}
.homepage-promotion-content{display:block;padding:11px 13px 13px;}
body:has(.homepage-category-strip) .homepage-promotion{border:1px solid #e2ebe4;}
body:has(.homepage-category-strip) .homepage-promotion strong{font-size:15px;line-height:1.25;}
body:has(.homepage-category-strip) .homepage-promotion small{font-size:11px;line-height:1.35;}
body:has(.homepage-category-strip) .homepage-quick-links{width:100%;padding:0 14px 19px;gap:11px;}
body:has(.homepage-category-strip) .homepage-quick-link{min-width:70px;}
body:has(.homepage-category-strip) .homepage-quick-link span{width:50px;height:50px;border-radius:50%;background:#e3f6e9;font-size:19px;}
/* Reference-style shortcut tiles: image on a soft square tile, label below. */
body:has(.homepage-category-strip) .homepage-quick-links{padding:5px 14px 23px;gap:10px;}
body:has(.homepage-category-strip) .homepage-quick-link{min-width:82px;gap:7px;}
body:has(.homepage-category-strip) .homepage-quick-link span{width:74px;height:58px;border-radius:7px;background:#f4f8fb;overflow:hidden;}
body:has(.homepage-category-strip) .homepage-quick-link span img{width:100%;height:100%;object-fit:contain;}
body:has(.homepage-category-strip) .homepage-quick-link b{max-width:82px;color:#1f3025;font-size:11px;}
body:has(.homepage-category-strip) .homepage-section{width:calc(100% - 28px);margin-bottom:25px;}
body:has(.homepage-category-strip) .homepage-section-heading{padding-top:1px;margin-bottom:11px;}
body:has(.homepage-category-strip) .homepage-section-heading p{font-size:10px;}
body:has(.homepage-category-strip) .homepage-section-heading h2{font-size:19px;}
body:has(.homepage-category-strip) .homepage-mini-product{flex-basis:145px;border:0;border-radius:12px;box-shadow:0 4px 12px rgba(14,66,33,.1);}
body:has(.homepage-category-strip) .homepage-mini-product img{height:130px;}
@media (min-width:769px){body:has(.homepage-category-strip) .search-container{max-width:980px;}body:has(.homepage-category-strip) .homepage-promotions,body:has(.homepage-category-strip) .homepage-quick-links{max-width:1180px;padding-inline:0;}body:has(.homepage-category-strip) .homepage-banner{min-height:280px;padding:42px;}body:has(.homepage-category-strip) .homepage-promotion{flex:1;}}

/* Mobile home flow: controls, hero, then content.  Keeping each part in the
   normal flow prevents the banner action area from crossing the category row. */
@media (max-width:768px){
    body:has(.homepage-hero) .homepage-hero{height:auto;min-height:0;overflow:visible;background:transparent;}
    body:has(.homepage-hero) .homepage-hero-controls{position:relative;z-index:2;background:#fff;}
    body:has(.homepage-hero) .homepage-hero .search-container{position:relative;top:auto;z-index:2;margin:0;padding:8px 12px 4px;background:#fff;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-strip{position:relative;top:auto;z-index:2;display:flex;min-height:44px;margin:0;padding:8px 14px 14px;gap:16px;background:#fff;box-shadow:0 7px 12px -12px rgba(10,60,29,.3);}
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip{color:#173220!important;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip.active,
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip:hover{color:#087d39!important;border-bottom-color:#087d39;}
    body:has(.homepage-hero) .homepage-hero .homepage-banners{position:relative;inset:auto;z-index:1;width:calc(100% - 28px);margin:0 auto;overflow:hidden;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner{height:auto;min-height:170px;margin:0 0 16px;padding:100px 20px 18px;border-radius:16px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner-image-only{align-items:flex-end;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner-image-only .homepage-banner-content{min-height:0;}
    .homepage-hero + main{position:relative;z-index:1;margin:0;padding-top:0;}
    .homepage-hero + main .homepage-promotions{margin-top:0;padding-top:0;}
    /* Do not pin these rows over products on mobile; they scroll away in the
       normal page flow instead of becoming a transparent overlay. */
    body.homepage-controls-stuck #homepageHeroControls{position:relative!important;top:auto!important;left:auto!important;width:auto!important;background:#fff!important;box-shadow:none!important;isolation:isolate;}
}

/* Compact mobile storefront: preserve the existing visual system while using
   less vertical space across the home page. */
@media (max-width:768px){
    body:has(.homepage-hero) .mobile-header{padding:5px 12px;}
    body:has(.homepage-hero) .header-top{min-height:38px;}
    body:has(.homepage-hero) .brand img{width:108px;}
    body:has(.homepage-hero) .homepage-hero .search-container{padding:6px 12px 3px;}
    body:has(.homepage-hero) .homepage-hero .search-container input{height:40px;font-size:14px;}
    body:has(.homepage-hero) .homepage-hero .search-container button{width:34px;height:34px;font-size:17px;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-strip{min-height:38px;padding:6px 12px 10px;gap:14px;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip{padding:4px 0;font-size:12px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner{min-height:145px;margin-bottom:12px;padding:78px 16px 14px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner button{padding:7px 12px;font-size:11px;}
    .homepage-hero + main .homepage-promotions{padding-bottom:11px;}
    .homepage-hero + main .homepage-promotion{flex:0 0 132px;min-height:0;border-radius:10px;}
    .homepage-hero + main .homepage-promotion-image{height:76px;}
    .homepage-hero + main .homepage-promotion-content{padding:7px 8px 8px;}
    .homepage-hero + main .homepage-promotion strong{font-size:12px;}
    .homepage-hero + main .homepage-promotion small{margin-top:2px;font-size:9px;}
    body:has(.homepage-hero) .homepage-quick-links{padding:2px 14px 16px;gap:8px;}
    body:has(.homepage-hero) .homepage-quick-link{min-width:70px;gap:5px;}
    body:has(.homepage-hero) .homepage-quick-link span{width:62px;height:50px;}
    body:has(.homepage-hero) .homepage-quick-link b{max-width:70px;font-size:10px;}
    body:has(.homepage-hero) .homepage-section{margin-bottom:18px;}
    body:has(.homepage-hero) .homepage-section-heading{margin-bottom:8px;}
    body:has(.homepage-hero) .homepage-section-heading h2{font-size:18px;}
    body:has(.homepage-hero) .homepage-product-rail{gap:8px;}
    body:has(.homepage-hero) .homepage-mini-product{flex-basis:128px;}
    body:has(.homepage-hero) .homepage-mini-product img{height:112px;}
    body:has(.homepage-hero) .homepage-all-products .products{gap:10px;}
    body:has(.homepage-hero) .homepage-all-products .product-card img{height:122px;}
    body:has(.homepage-hero) .homepage-all-products .product-card h2{padding:8px;font-size:14px;}
    body:has(.homepage-hero) .homepage-all-products .product-pricing{padding:0 8px 8px;}
}

/* Desktop storefront: share one content width and keep the hero in page flow. */
@media (min-width:769px){
    body:has(.homepage-hero){--homepage-content-width:1280px;}
    body:has(.homepage-hero) .mobile-header{padding:12px 0;}
    body:has(.homepage-hero) .header-top{
        width:min(calc(100% - 64px),var(--homepage-content-width));
        min-height:48px;
        margin:0 auto;
    }
    body:has(.homepage-hero) .brand img{width:152px;}
    body:has(.homepage-hero) .homepage-hero{
        min-height:0;
        padding-top:16px;
        background:transparent;
    }
    body:has(.homepage-hero) .homepage-hero-controls,
    body.homepage-controls-stuck:has(.homepage-hero) .homepage-hero-controls{
        position:relative;
        top:auto;
        left:auto;
        width:min(calc(100% - 64px),var(--homepage-content-width));
        margin:0 auto 16px;
        border:1px solid #e2ebe4;
        border-radius:14px;
        background:#fff;
        box-shadow:0 3px 12px rgba(14,66,33,.05);
    }
    body:has(.homepage-hero) .homepage-hero .search-container{
        max-width:760px;
        padding:14px 20px 6px;
    }
    body:has(.homepage-hero) .homepage-hero .search-container input{height:46px;font-size:15px;}
    body:has(.homepage-hero) .homepage-hero .search-container button{right:24px;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-strip{
        justify-content:center;
        gap:22px;
        padding:8px 24px 12px;
    }
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip{color:#173220!important;font-size:14px;}
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip.active,
    body:has(.homepage-hero) .homepage-hero .homepage-category-chip:hover{color:#087d39!important;border-bottom-color:#087d39;}
    body:has(.homepage-hero) .homepage-hero .homepage-banners{
        position:relative;
        inset:auto;
        width:min(calc(100% - 64px),var(--homepage-content-width));
        margin:0 auto;
        border-radius:18px;
    }
    body:has(.homepage-hero) .homepage-hero .homepage-banner{
        height:clamp(260px,24vw,340px);
        min-height:0;
        margin:0;
        padding:32px;
        border-radius:18px;
        display:flex;
        align-items:flex-end;
    }
    body:has(.homepage-hero) .homepage-hero .homepage-banner-content{max-width:65%;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner h1{font-size:34px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner p{font-size:15px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner button{padding:10px 18px;font-size:14px;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner-controls>button{width:34px;height:34px;padding:0;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner-dots button{width:8px;height:8px;padding:0;}
    body:has(.homepage-hero) .homepage-hero .homepage-banner-dots button.active{width:20px;}
    body:has(.homepage-hero) main{
        width:100%;
        max-width:calc(var(--homepage-content-width) + 64px);
        margin:0 auto;
        padding:24px 32px 104px;
    }
    body:has(.homepage-hero) .homepage-promotions,
    body:has(.homepage-hero) .homepage-quick-links,
    body:has(.homepage-hero) .homepage-section{
        width:100%;
        max-width:none;
        margin:0 0 28px;
        padding:0;
    }
    body:has(.homepage-hero) .homepage-promotions{gap:20px;}
    body:has(.homepage-hero) .homepage-promotion{flex:1 0 0;min-width:0;}
    body:has(.homepage-hero) .homepage-promotion-image{height:180px;object-fit:contain;}
    body:has(.homepage-hero) .homepage-promotion-content{padding:14px 18px 16px;}
    body:has(.homepage-hero) .homepage-promotion strong{font-size:18px;}
    body:has(.homepage-hero) .homepage-promotion small{font-size:13px;}
    body:has(.homepage-hero) .homepage-quick-links{gap:22px;}
    body:has(.homepage-hero) .homepage-quick-link{min-width:92px;gap:9px;}
    body:has(.homepage-hero) .homepage-quick-link span{width:86px;height:68px;}
    body:has(.homepage-hero) .homepage-quick-link b{max-width:92px;font-size:12px;}
    body:has(.homepage-hero) .homepage-section-heading{margin-bottom:16px;}
    body:has(.homepage-hero) .homepage-section-heading h2{font-size:24px;}
    body:has(.homepage-hero) .homepage-section-heading p{margin-bottom:5px;font-size:11px;}
    body:has(.homepage-hero) .homepage-section-heading a{font-size:14px;}
    body:has(.homepage-hero) .homepage-product-rail,
    body:has(.homepage-hero) .homepage-all-products .products{
        display:grid;
        grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
        gap:18px;
        overflow:visible;
    }
    body:has(.homepage-hero) .homepage-mini-product{min-width:0;border:1px solid #e2ebe4;}
    body:has(.homepage-hero) .homepage-mini-product img,
    body:has(.homepage-hero) .homepage-all-products .product-card img{
        height:auto;
        aspect-ratio:1;
        object-fit:contain;
    }
    body:has(.homepage-hero) .homepage-mini-product span{
        min-height:42px;
        margin:12px 14px 8px;
        font-size:15px;
        line-height:1.4;
    }
    body:has(.homepage-hero) .homepage-mini-product strong{margin:0 14px 14px;font-size:18px;}
    body:has(.homepage-hero) .homepage-all-products .products{max-width:none;}
    body:has(.homepage-hero) .homepage-all-products .product-card h2{padding:14px;font-size:17px;}
    body:has(.homepage-hero) .homepage-all-products .product-pricing{padding:0 14px 14px;}
    body:has(.homepage-hero) .homepage-all-products{scroll-margin-top:100px;}
    body:has(.homepage-hero) .bottom-nav{padding-inline:max(24px,calc((100% - var(--homepage-content-width)) / 2));}
    body:has(.homepage-hero) .category-page{top:var(--lagbe-home-header-height,72px);bottom:calc(54px + env(safe-area-inset-bottom));}
}

/* Collection tiles and the complete category-grouped catalogue. */
.homepage-quick-link{text-decoration:none;}
body:has(.homepage-hero) .homepage-quick-links{gap:14px;align-items:start;}
body:has(.homepage-hero) .homepage-quick-link{flex:0 0 90px;min-width:0;gap:9px;}
body:has(.homepage-hero) .homepage-quick-link span{width:90px;height:90px;border-radius:10px;background:#f4f8fb;}
body:has(.homepage-hero) .homepage-quick-link b{max-width:90px;white-space:normal;text-overflow:clip;font-size:12px;line-height:1.35;text-align:center;}
body:has(.homepage-hero) .homepage-collection-link span img{padding:6px;}
body:has(.homepage-hero) .homepage-collection-link[aria-pressed="true"] span{box-shadow:inset 0 0 0 2px #087d39;background:#eaf7ed;}
.homepage-quick-link:focus-visible{outline:2px solid #087d39;outline-offset:4px;border-radius:10px;}
.collection-category-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 14px;margin-bottom:8px;scrollbar-width:thin;}
.collection-category-filters[hidden],.collection-back-button[hidden]{display:none;}
.collection-back-button{flex:0 0 auto;border:1px solid #d7eadc;border-radius:999px;padding:8px 12px;background:#fff;color:#087d39;font:700 12px Arial,sans-serif;cursor:pointer;}
.collection-back-button:hover{background:#eaf7ed;}
.product-group-heading{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:0 0 10px;border-bottom:1px solid #dce9df;color:#173220;font-size:18px;}
.product-group-heading span{font-size:12px;font-weight:400;color:#66806e;}
#catalogueHeading:focus{outline:none;}
body.collection-page .homepage-hero{min-height:0;height:auto;background:transparent;}
.collection-home-link{display:grid;place-items:center;width:36px;height:36px;color:#087d39;text-decoration:none;}
.collection-home-link svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.collection-page .collection-back-button{text-decoration:none;}
.collection-page #catalogueHeading{margin:0;color:#173220;font:700 24px/1.25 Arial,sans-serif;}
.collection-page .homepage-section-heading{gap:12px;align-items:center;}
@media(min-width:769px){
    body:has(.homepage-hero) .homepage-quick-links{gap:22px;}
    body:has(.homepage-hero) .homepage-quick-link{flex-basis:132px;gap:12px;}
    body:has(.homepage-hero) .homepage-quick-link span{width:132px;height:132px;border-radius:12px;}
    body:has(.homepage-hero) .homepage-quick-link b{max-width:132px;font-size:16px;}
    .product-group-heading{margin-top:20px;font-size:22px;}
}

/* Product photos keep their full proportions on narrow screens too. */
.homepage-mini-product img{object-fit:contain;object-position:center;box-sizing:border-box;padding:8px;}
body:has(.homepage-hero) .homepage-all-products .product-card img{height:auto;aspect-ratio:1;}
