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

body {
    background: #f5f8fa;
    color: #222;
}


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

header {
    width: 100%;
    min-height: 70px;
    padding: 0 6%;

    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);

    position: relative;
    z-index: 100;
}

.logo {
    color: #0f766e;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;

}
.logo-img{
    height: 100px;
}
/* RIGHT SIDE HEADER */

.header-right {
    display: flex !important;
    align-items: center !important;

    flex-direction: row !important;

    gap: 25px !important;

    margin-left: auto;
}
#accountArea {
    display: flex !important;
    align-items: center;
}


/* HEADER LINKS */

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 10px 18px;
    background: #ffffff;
    color: #1769aa;

    border: 2px solid #1769aa;
    border-radius: 8px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

/* Mouse hover */
.login-link:hover {
    background: #024e8d;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

/* Jab click kare */
.login-link:active {
    transform: scale(0.94);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Keyboard se select hone par */
.login-link:focus {
    outline: 3px solid rgba(23, 105, 170, 0.3);
    outline-offset: 2px;
}

/* CART */

.cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    gap: 5px;

    background: #0f766e;
    color: #fff;

    padding: 10px 16px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.25s;
}

.cart:hover {
    background: #115e59;
}


/* CART NUMBER */

#cartCount {
    min-width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ef4444;
    color: #fff;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 600px) {

    header {
        padding: 0 15px;
    }

    .logo {
        font-size: 15px;
    }

    .header-right {
        gap: 15px !important;
    }

    .login-link,
    .cart {
        padding: 8px 10px;
        font-size: 12px;
    }

}

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

.hero {
    background: white;

    text-align: center;

    padding: 45px 20px;
}

.hero h1 {
    font-size: 36px;

    margin-bottom: 10px;

    color: #087443;
}

.hero p {
    color: #666;

    margin-bottom: 25px;
}


/* SEARCH */

#search {
    width: 90%;
    max-width: 600px;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 16px;

    outline: none;
}

#search:focus {
    border-color: #0b8f55;
}


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

main {
    width: 90%;
    max-width: 1200px;

    margin: 35px auto;
}

main h1 {
    margin-bottom: 25px;
}

main h2 {
    margin-bottom: 20px;
}

main h3 {
    margin-bottom: 10px;
}


/* =========================
   PRODUCTS
========================= */

.products {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

@media (max-width: 900px) {

    .products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

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

}


.product {
    background: white;

    border-radius: 12px;

    padding: 20px;

    box-shadow:
        0 3px 12px rgba(0,0,0,0.08);
}


/* ==== IMAGE + DISCOUNT BADGE ==== */

.product-image-wrap {
    position: relative;

    margin-bottom: 15px;
}


.product img {
    width: 100%;

    height: 170px;

    object-fit: contain;
}


.discount-badge {
    position: absolute;

    top: 6px;

    left: 6px;

    background: #e02452;

    color: white;

    font-size: 12px;

    font-weight: bold;

    padding: 4px 9px;

    border-radius: 20px;

    z-index: 2;
}


.product h3 {
    margin-bottom: 4px;
}


.product-category {
    color: #6b7280;

    font-size: 13px;

    margin-bottom: 8px;
}


/* ==== PRICE / SAVE TAG ==== */

.price-row {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin: 10px 0;
}


.price {
    font-size: 19px;

    font-weight: bold;

    color: #0b8f55;
}


.old-price {
    font-size: 14px;

    color: #9ca3af;

    text-decoration: line-through;
}


.save-tag {
    background: #e6f7ed;

    color: #0b8f55;

    font-size: 12px;

    font-weight: 600;

    padding: 3px 8px;

    border-radius: 20px;
}


/* PRODUCT BUTTON */

.product button {
    width: 100%;

    padding: 12px;

    border: none;

    background: #0b8f55;

    color: white;

    border-radius: 7px;

    cursor: pointer;

    font-size: 15px;
    transition: background 0.25s ease, transform 0.15s ease;
}


/* ==== HOVER ====
   Sirf un devices pe hover color dikhega
   jinme asli mouse/hover support ho (laptop/PC).
   Mobile/touch pe tap karte hi hover "chipak"
   jaata hai jab tak dusri jagah tap na karo -
   isliye hover ko sirf real hover-capable
   devices tak limit kar diya.
*/

@media (hover: hover) and (pointer: fine) {

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

}


/* Mobile/touch pe tap ke time halka feedback,
   turant chhodte hi normal color wapas aa jayega */

.product button:active {
    background: #042215;
}


/* ==== TOAST MESSAGE ====
   Add to Cart pe khud aata h aur khud
   kuch second baad gayab ho jata h,
   koi close button ki zaroorat nahi.
*/

#appToast {
    position: fixed;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%) translateY(20px);

    background: #042215;

    color: white;

    padding: 12px 22px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

    box-shadow: 0 4px 16px rgba(0,0,0,0.25);

    opacity: 0;

    pointer-events: none;

    z-index: 9999;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

#appToast.show {
    opacity: 1;

    transform: translateX(-50%) translateY(0);
}


/* =========================
   CART MODAL
========================= */

.cart-modal {
    display: none;

    position: fixed;

    z-index: 1000;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.5);

    justify-content: center;
    align-items: center;

    padding: 20px;
}


.cart-box {
    background: white;

    width: 90%;

    max-width: 550px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    border-radius: 15px;
}


/* CLOSE BUTTON */

.close-btn {
    float: right;

    border: none;

    background: none;

    font-size: 30px;

    cursor: pointer;

    color: #333;
}


/* CART ITEM */

.cart-item {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #ddd;
}


.cart-item button {
    padding: 5px 10px;

    border: none;

    background: #0b8f55;

    color: white;

    border-radius: 5px;

    cursor: pointer;
}


/* CART INPUTS */

.cart-box input,
.cart-box textarea {

    width: 100%;

    padding: 12px;

    margin: 8px 0;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-size: 15px;

    outline: none;
}


.cart-box input:focus,
.cart-box textarea:focus {
    border-color: #0b8f55;
}


.cart-box textarea {
    height: 90px;

    resize: none;
}


/* ORDER BUTTON */

.order-btn {
    width: 100%;

    padding: 14px;

    margin-top: 15px;

    border: none;

    border-radius: 8px;

    background: #0b8f55;

    color: white;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;
}

.order-btn:hover {
    background: #087443;
}


/* =========================
   COUPON BOX
========================= */

.coupon-box {
    display: flex;

    gap: 8px;

    margin: 15px 0;
}

.coupon-box input {
    flex: 1;

    margin: 0;
}

.coupon-box button {
    padding: 0 16px;

    border: none;

    border-radius: 7px;

    background: #0b8f55;

    color: white;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;
}

.coupon-box button:hover {
    background: #087443;
}


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

.order-summary {
    background: #f7f9f8;

    border: 1px solid #e0e0e0;

    border-radius: 10px;

    padding: 18px;

    margin: 15px 0;
}

.order-summary h3 {
    margin-bottom: 10px;
}

.order-summary p {
    display: flex;

    justify-content: space-between;

    margin: 8px 0;

    font-size: 15px;
}

#summaryProducts {
    margin-bottom: 12px;

    padding-bottom: 12px;

    border-bottom: 1px dashed #ddd;
}

.summary-item {
    display: flex;

    justify-content: space-between;

    font-size: 14px;

    color: #555;

    padding: 4px 0;
}


/* =========================
   PAYMENT SECTION
========================= */

.payment-section h2 {
    margin-bottom: 15px;
}

.payment-option {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    margin-bottom: 12px;

    border: 1px solid #ddd;

    border-radius: 10px;

    cursor: pointer;

    transition: border-color 0.2s, background 0.2s;
}

.payment-option:hover {
    border-color: #0b8f55;

    background: #f4fbf7;
}

.payment-option input[type="radio"] {
    width: 18px;

    height: 18px;

    accent-color: #0b8f55;

    flex-shrink: 0;

    margin: 0;
}

.payment-option > div {
    display: flex;

    align-items: center;

    justify-content: space-between;

    flex: 1;

    gap: 10px;
}

.payment-option strong {
    font-size: 15px;
}

.payment-option small {
    display: block;

    margin-top: 3px;

    color: #777;

    font-weight: normal;

    font-size: 12px;
}

/* COMING SOON OPTIONS */

.coming-payment {
    opacity: 0.6;
}

.coming-payment:hover {
    border-color: #ddd;

    background: none;
}

.soon-badge {
    background: #f0ad4e;

    color: white;

    font-size: 11px;

    font-weight: bold;

    padding: 3px 9px;

    border-radius: 20px;

    white-space: nowrap;
}

.final-order-btn {
    margin-top: 10px;
}


/* =========================
   CANCEL ORDER (My Orders page)
========================= */

.cancel-box {
    margin: 15px 0;
}

.cancel-btn {
    padding: 10px 18px;

    border: 1px solid #d32f2f;

    border-radius: 7px;

    background: white;

    color: #d32f2f;

    font-weight: bold;

    cursor: pointer;
}

.cancel-btn:hover {
    background: #fdecea;
}

.cancel-form {
    margin-top: 12px;

    padding: 14px;

    border: 1px solid #eee;

    border-radius: 8px;

    background: #fafafa;
}

.cancel-form textarea {
    width: 100%;

    min-height: 70px;

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 7px;

    resize: none;

    font-size: 14px;

    outline: none;
}

.cancel-form textarea:focus {
    border-color: #d32f2f;
}

.confirm-cancel-btn {
    margin-top: 10px;

    padding: 10px 18px;

    border: none;

    border-radius: 7px;

    background: #d32f2f;

    color: white;

    font-weight: bold;

    cursor: pointer;
}

.confirm-cancel-btn:hover {
    background: #b71c1c;
}

.cancel-disabled-msg {
    margin: 15px 0;

    padding: 12px 14px;

    border-radius: 8px;

    background: #fff8e1;

    color: #8a6d00;

    font-size: 14px;
}

.cancel-reason-note {
    margin: 10px 0;

    padding: 10px 12px;

    border-radius: 8px;

    background: #fdecea;

    color: #b71c1c;

    font-size: 14px;
}


/* =========================
   LOGIN / SIGNUP / ADMIN LOGIN
========================= */

.auth-container {

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 25px;

    background: #f5f8fa;
}


.auth-box {

    width: 100%;

    max-width: 420px;

    background: white;

    padding: 40px 35px;

    border-radius: 15px;

    box-shadow:
        0 5px 25px rgba(0,0,0,0.12);

    text-align: center;
}


.auth-box h1 {

    color: #087443;

    margin-bottom: 12px;
}


.auth-box p {

    color: #666;

    margin-bottom: 22px;

    line-height: 1.5;
}


/* AUTH INPUTS */

.auth-box input {

    width: 100%;

    padding: 13px;

    margin: 9px 0;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-size: 15px;

    outline: none;
}


.auth-box input:focus {

    border-color: #0b8f55;
}


/* AUTH BUTTON */

.auth-box button {

    width: 100%;

    padding: 13px;

    margin: 18px 0;

    border: none;

    border-radius: 7px;

    background: #0b8f55;

    color: white;

    font-size: 16px;

    cursor: pointer;
}


.auth-box button:hover {

    background: #087443;
}


.auth-box a {

    color: #0b8f55;

    font-weight: bold;

    text-decoration: none;
}


.auth-box a:hover {

    text-decoration: underline;
}


/* =========================
   ACCOUNT AREA
========================= */

.account-box {

    display: flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;
}


.account-name {

    color: white;

    font-weight: bold;

    cursor: pointer;
}


.logout-btn {

    padding: 7px 12px;

    border: none;

    border-radius: 6px;

    cursor: pointer;

    background: white;

    color: #0b8f55;

    font-weight: bold;
}


.logout-btn:hover {

    background: #f0f0f0;
}


/* =========================
   ADMIN PANEL
========================= */

.admin-menu {

    display: flex;

    gap: 15px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}


.admin-menu button {

    padding: 12px 22px;

    border: none;

    border-radius: 8px;

    background: #0b8f55;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}


.admin-menu button:hover {

    background: #087443;
}


/* ADMIN PRODUCT INPUTS */

#products input {

    width: 100%;

    padding: 12px;

    margin: 8px 0;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-size: 15px;

    outline: none;
}


#products input:focus {

    border-color: #0b8f55;
}


/* =========================
   ORDERS
========================= */

.order-card {

    margin-bottom: 20px;
}


.order-card hr {

    margin: 15px 0;

    border: none;

    border-top: 1px solid #ddd;
}


.order-card ul {

    padding-left: 20px;

    margin: 10px 0;
}


.order-card li {

    margin: 8px 0;
}


.order-card p {

    margin: 8px 0;

    line-height: 1.5;
}


/* =========================
   ADMIN PRODUCT LIST
========================= */

#adminProducts {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-top: 20px;
}


#adminProducts .product {

    margin-bottom: 0 !important;
}


#adminProducts img {

    width: 100% !important;

    height: 150px !important;

    object-fit: contain;
}


/* DELETE BUTTON */

#adminProducts button {

    width: 100%;

    padding: 10px;

    border: none;

    border-radius: 7px;

    background: #d32f2f;

    color: white;

    font-weight: bold;

    cursor: pointer;
}


#adminProducts button:hover {

    background: #b71c1c;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    header {

        padding: 15px 4%;

        flex-direction: column;

        align-items: center;

    }


    .header-right {

        justify-content: center;

        gap: 10px;

        width: 100%;

    }


    .logo {

        font-size: 20px;

    }


    .hero h1 {

        font-size: 27px;

    }


    main {

        width: 92%;

    }


    .auth-box {

        padding: 30px 20px;

    }


    .cart-box {

        width: 95%;

        padding: 22px;

    }


    .cart-item {

        align-items: flex-start;

    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 450px) {

    .header-right {

        flex-direction: column;

        gap: 8px;

    }


    .cart {

        width: 100%;

        text-align: center;

    }


    .login-link {

        padding: 5px;

    }


    .admin-menu {

        flex-direction: column;

    }


    .admin-menu button {

        width: 100%;

    }

}

/* =========================
   ADMIN ORDER MANAGEMENT
   (cards shown in admin.html
   orders panel, with status
   dropdown + delete button)
========================= */

.admin-order-card {

    background: white;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 20px;

    box-shadow:
        0 3px 12px rgba(0,0,0,0.08);
}


.order-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 10px;
}


.order-header h3 {

    margin-bottom: 0;

    color: #087443;
}


.order-status {

    display: inline-block;

    padding: 5px 12px;

    border-radius: 20px;

    background: #e8f1ff;

    color: #0d6efd;

    font-weight: bold;

    font-size: 13px;

    white-space: nowrap;
}


.order-products {

    margin: 10px 0;

    padding: 10px 0;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;
}


.order-products div {

    padding: 4px 0;
}


.order-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 15px;
}


.order-actions label {

    font-size: 14px;
}


.status-select {

    padding: 9px 12px;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-size: 14px;

    outline: none;

    cursor: pointer;
}


.status-select:focus {

    border-color: #0b8f55;
}


.delete-order-btn {

    padding: 9px 16px;

    border: none;

    border-radius: 7px;

    background: #d32f2f;

    color: white;

    font-weight: bold;

    cursor: pointer;
}


.delete-order-btn:hover {

    background: #b71c1c;
}


/* MOBILE */

@media (max-width: 600px) {

    .order-actions {

        flex-direction: column;

        align-items: stretch;
    }

    .status-select,
    .delete-order-btn {

        width: 100%;
    }

}


/* =========================
   ORDER TRACKING
========================= */

.order-tracking {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
    margin: 25px 0;
    padding: 15px 5px;
    overflow-x: auto;
}


.tracking-step {
    position: relative;
    min-width: 105px;
    text-align: center;
    flex: 1;
}


.tracking-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ddd;
    color: #555;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;

    font-weight: bold;

    border: 3px solid #ddd;
}


.tracking-label {
    margin-top: 8px;
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}


/* COMPLETED */

.tracking-step.completed
.tracking-circle {

    background: #198754;
    color: white;
    border-color: #198754;

}


.tracking-step.completed
.tracking-label {

    color: #198754;
    font-weight: bold;

}


/* CURRENT STATUS */

.tracking-step.active
.tracking-circle {

    background: #0d6efd;
    color: white;
    border-color: #0d6efd;

    transform: scale(1.12);

}


.tracking-step.active
.tracking-label {

    color: #0d6efd;
    font-weight: bold;

}


/* CURRENT STATUS TEXT */

.current-order-status {

    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    background: #e8f1ff;

    color: #0d6efd;

    font-weight: bold;

}


/* CANCELLED */

.cancelled-order {

    margin: 20px 0;

    padding: 15px;

    border-radius: 8px;

    background: #ffe5e5;

    color: #c00000;

    font-weight: bold;

    text-align: center;

}


/* MOBILE */

@media (max-width: 600px) {

    .order-tracking {

        justify-content: flex-start;

    }

    .tracking-step {

        min-width: 100px;

    }

}

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

.footer {
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 60px;
    padding-top: 50px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 25px 40px;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0;
}

.footer-section > a,
.footer-section .store-link {
    display: block;
    width: fit-content;

    color: #cbd5e1;
    text-decoration: none;

    font-size: 14px;
    margin: 11px 0;

    transition: 0.3s;
}

.footer-section > a:hover,
.footer-section .store-link:hover {
    color: #38bdf8;
    transform: translateX(4px);
}


/* Quick Links Button */

.store-link {
    background: none;
    border: none;
    padding: 0;

    cursor: pointer;
    font-family: inherit;
}


/* =====================================================
   MINI STORE CARDS
===================================================== */

.mini-store {
    background: #1e293b;
    border-radius: 10px;

    padding: 14px;
    margin-bottom: 12px;

    border: 1px solid #334155;
}

.mini-store strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 7px;
}

.mini-store p {
    font-size: 12px;
    margin: 5px 0 0;
}

.open-status {
    display: inline-block;

    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);

    padding: 4px 8px;
    border-radius: 20px;

    font-size: 11px;
    font-weight: bold;
}

.coming-status {
    display: inline-block;

    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);

    padding: 4px 8px;
    border-radius: 20px;

    font-size: 11px;
    font-weight: bold;
}


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

.footer-bottom {
    border-top: 1px solid #334155;

    max-width: 1200px;
    margin: auto;

    padding: 20px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}


/* =====================================================
   STORES POPUP / MODAL
===================================================== */

.stores-modal {
    display: none;

    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.7);

    align-items: center;
    justify-content: center;

    padding: 20px;

    backdrop-filter: blur(5px);
}


/* Popup Box */

.stores-box {
    position: relative;

    width: 100%;
    max-width: 650px;

    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    padding: 35px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);

    animation: storePopup 0.25s ease;
}


@keyframes storePopup {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* Popup Heading */

.stores-box h2 {
    margin: 0;

    color: #0f172a;

    font-size: 28px;
}

.stores-subtitle {
    color: #64748b;
    margin-top: 7px;
    margin-bottom: 25px;
}


/* Close Button */

.close-store-btn {
    position: absolute;

    right: 18px;
    top: 15px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: #f1f5f9;

    color: #334155;

    font-size: 25px;

    cursor: pointer;

    transition: 0.2s;
}

.close-store-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}


/* =====================================================
   STORE CARDS IN POPUP
===================================================== */

.store-card {
    display: flex;

    gap: 20px;

    padding: 22px;

    margin-top: 18px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    transition: 0.25s;
}

.store-card:hover {
    border-color: #38bdf8;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}


/* Store Icon */

.store-icon {
    width: 130px;
    height: 90px;

    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e0f2fe;

    border-radius: 12px;

    font-size: 27px;
}


/* Store Details */

.store-details {
    flex: 1;
}

.store-details h3 {
    color: #0f172a;

    font-size: 17px;

    margin: 0 0 9px;
}

.store-details p {
    color: #64748b;

    font-size: 14px;

    line-height: 1.6;

    margin: 12px 0;
}


/* =====================================================
   GET DIRECTIONS BUTTON
===================================================== */

.direction-btn {
    display: inline-block;

    background: #0284c7;

    color: white;

    text-decoration: none;

    padding: 10px 16px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: bold;

    transition: 0.25s;
}

.direction-btn:hover {
    background: #0369a1;

    transform: translateY(-1px);
}


/* =====================================================
   COMING SOON STORE
===================================================== */

.coming-store {
    background: #fffbeb;

    border-color: #fde68a;
}

.coming-store .store-icon {
    background: #fef3c7;
}

.coming-store:hover {
    border-color: #fbbf24;
}


/* Disabled Button */

.disabled-store-btn {
    border: none;

    background: #e2e8f0;

    color: #64748b;

    padding: 10px 16px;

    border-radius: 8px;

    font-size: 13px;

    cursor: not-allowed;
}


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

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

}


@media (max-width: 600px) {

    .footer {
        margin-top: 40px;
        padding-top: 35px;
    }

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

        padding-left: 20px;
        padding-right: 20px;

        gap: 28px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;

        padding: 18px 20px;
    }


    /* Store Popup */

    .stores-modal {
        padding: 12px;
    }

    .stores-box {
        padding: 25px 18px;

        border-radius: 15px;

        max-height: 92vh;
    }

    .stores-box h2 {
        font-size: 23px;
    }


    /* Store Card */

    .store-card {
        flex-direction: column;

        gap: 12px;

        padding: 18px;
    }

    .store-icon {
        width: 50px;
        height: 50px;
    }

}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 16px;
    background: #ffffff;
    color: #1769aa;

    border: 2px solid #1769aa;
    border-radius: 8px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.2s ease;
}

.login-link:hover {
    background: #1769aa;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.login-link:active {
    transform: scale(0.94);
}

/* ================= ACCOUNT BUTTON ================= */

.account-wrapper {
    position: relative;
    display: inline-block;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 9px 15px;

    background: #ffffff;
    color: #1769aa;

    border: 2px solid #1769aa;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.account-btn:hover {
    background: #1769aa;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.account-btn:active {
    transform: scale(0.95);
}

.arrow {
    font-size: 10px;
}


/* ================= LOGOUT MENU ================= */

.account-menu {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    min-width: 150px;

    background: #ffffff;

    border: 1px solid #ddd;
    border-radius: 8px;

    box-shadow: 0 5px 18px rgba(0,0,0,0.18);

    padding: 6px;

    display: none;

    z-index: 9999;
}


/* Menu open */

.account-menu.show {
    display: block;
}


/* Logout button */

.account-menu button {
    width: 100%;

    padding: 10px 12px;

    border: none;
    background: transparent;

    color: #d32f2f;

    font-size: 14px;
    font-weight: 600;

    text-align: left;

    border-radius: 6px;

    cursor: pointer;

    transition: 0.2s;
}

.account-menu button:hover {
    background: #ffeaea;
}

/* ================= DELIVERY FORM ================= */

.delivery-form {
    display: none;

    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid #ddd;
}

.delivery-form h2 {
    margin-bottom: 15px;
}

.delivery-form input,
.delivery-form textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 11px 12px;
    margin-bottom: 12px;

    border: 1px solid #ccc;
    border-radius: 7px;

    font-size: 14px;
}

.delivery-form textarea {
    min-height: 90px;
    resize: vertical;
}

.delivery-form input:focus,
.delivery-form textarea:focus {
    outline: none;
    border-color: #1769aa;
    box-shadow: 0 0 4px rgba(23,105,170,0.25);
}

.btn-apply{
    width: 75px;
    height: 35px;
    margin-top: 4px;
}
.btn-remove{
    width: 75px;
    height: 35px;
    margin-top: 4px;
}

.admin-store-link {
    color: white;
    text-decoration: none;
    font-size: 29px;

}

.admin-store-link:hover {
    color: #2d5b6f;   /* jo color chahiye wo yaha daal do */
}

/* =========================================================
   MEDICAL STORE - CATEGORY ROW HOMEPAGE
   ========================================================= */

.shop-category-title {
    margin: 0 0 25px !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #172033;
    text-transform: uppercase;
}

.category-section {
    width: 100%;
    margin: 0 0 34px;
}

.category-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.category-heading {
    margin: 55px 0 0 !important;
    font-size: 21px !important;
    font-weight: 800;
    color: #172033;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.category-content {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.category-products {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 3px 3px 10px;
    scrollbar-width: none;
}

.category-products::-webkit-scrollbar {
    display: none;
}

.category-product {
    flex: 0 0 178px;
    width: 178px;
    min-width: 178px;
    padding: 10px !important;
    margin: 0 !important;
    border: 1px solid #e8ecef;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.07) !important;
    background: #fff;
}

.category-product img {
    width: 100% !important;
    height: 145px !important;
    object-fit: contain;
    margin-bottom: 8px !important;
    border-radius: 5px;
}

.category-product h3 {
    font-size: 14px !important;
    line-height: 1.25;
    min-height: 35px;
    margin: 0 0 5px !important;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-product .price {
    font-size: 14px !important;
    margin: 5px 0 9px !important;
    color: #222;
}

.category-product button {
    width: 100%;
    padding: 8px 6px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

.category-product.extra-product {
    display: none !important;
}

.category-section.show-all .category-products {
    flex-wrap: wrap !important;
    overflow-x: visible;
}

.category-section.show-all .category-product.extra-product {
    display: block !important;
}

.category-scroll-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0b8f55;
    box-shadow: 0 3px 12px rgba(0,0,0,.16);
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}

.category-scroll-btn:hover {
    background: #0b8f55;
    color: #fff;
}

.see-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.see-more-btn {
    border: none;
    background: transparent;
    color: #0b8f55;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 12px;
}

.see-more-btn:hover {
    text-decoration: underline;
}

.no-products {
    padding: 20px;
    text-align: center;
    color: #666;
}

@media (max-width: 700px) {

    .shop-category-title {
        font-size: 21px;
        margin-bottom: 20px !important;
    }

    .category-section {
        margin-bottom: 25px;
    }

    .category-heading {
        font-size: 18px !important;
    }

    .category-products {
        gap: 10px;
    }

    .category-product {
        flex: 0 0 145px;
        width: 145px;
        min-width: 145px;
        padding: 8px !important;
    }

    .category-product img {
        height: 120px !important;
    }

    .category-product h3 {
        font-size: 12px !important;
    }

    .category-product .price {
        font-size: 13px !important;
    }

    .category-product button {
        font-size: 12px !important;
        padding: 7px 4px !important;
    }

    .category-scroll-btn {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .category-section.show-all .category-products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: visible;
    }

    .category-section.show-all .category-product {
        width: 100%;
        min-width: 0;
    }
}