/* =====================================================
   MU HEALTH — MAIN STYLE
===================================================== */

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

:root {
    --primary: #0b7a75;
    --primary-dark: #08645f;
    --text: #182033;
    --muted: #747d8c;
    --background: #f5f6fa;
    --white: #ffffff;
    --border: #e3e6ec;
    --green: #269b59;
    --red: #e96a6a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
    border: none;
}

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

.hidden {
    display: none !important;
}


/* =====================================================
   APP
===================================================== */

#app {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 75px;
}

/* When bottom nav is hidden, remove the reserved padding */
#app:not(.with-bottom-nav) {
    padding-bottom: 0 !important;
}

/* When bottom nav is hidden, page min-height should be full viewport */
#app:not(.with-bottom-nav) .page {
    min-height: 100vh !important;
    padding-bottom: 0 !important;
}
/* Android safe-area inset support - adjust bottom padding for devices with notches/cutouts */
#app {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
/* =======================================================
   BOTTOM NAVIGATION & APP LAYOUT
/* Product details page: ensure action bars use full viewport bottom when nav hidden */
#app:not(.with-bottom-nav) .pro-product-actions,
#app:not(.with-bottom-nav) .pro-checkout-actions {
    bottom: env(safe-area-inset-bottom) !important;
}
/* =======================================================
   PRODUCT DETAILS PAGE FIXED ACTION BARS
   ======================================================= */

 /* Ensure fixed action bars on product details page 
    use the full viewport bottom when nav is hidden */
 #app:not(.with-bottom-nav) .pro-product-actions {
    bottom: env(safe-area-inset-bottom) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
 }


/* Bottom navigation bar */
.bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

/* App container - reserves space for bottom nav when visible */
#app {
    width: 100%;
    min-height: 100vh;
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
}

/* When bottom nav is visible, #app has padding for nav + safe-area */
#app.with-bottom-nav {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
}

/* When bottom nav is hidden, remove the reserved padding + safe-area */
#app:not(.with-bottom-nav) {
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* When bottom nav is hidden, page min-height should be full viewport */
#app:not(.with-bottom-nav) .page {
    min-height: 100vh !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* CRITICAL: On pages where bottom nav is hidden, ensure NO padding-bottom remains on #app's immediate children that could create empty space below fixed action bars */
#app:not(.with-bottom-nav) > * {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
}

/* When bottom nav is visible, #app has padding for nav + safe-area */
#app.with-bottom-nav {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
}

/* When bottom nav is hidden, remove the reserved padding + safe-area */
#app:not(.with-bottom-nav) {
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* When bottom nav is hidden, ensure .page elements use full viewport + safe-area */
#app:not(.with-bottom-nav) .page {
    min-height: 100vh !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* CRITICAL: On pages where bottom nav is hidden, ensure NO padding-bottom remains on #app's immediate children that could create empty space below fixed action bars */
#app:not(.with-bottom-nav) > * {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* =======================================================
   COMPREHENSIVE BOTTOM SPACING FIX
   ======================================================= */

/* 1. #app padding - base 75px for nav, with safe-area support */
#app {
    width: 100%;
    min-height: 100vh;
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
}

/* When bottom nav is visible, #app has padding for nav + safe-area */
#app.with-bottom-nav {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
}

/* 2. When bottom nav is hidden, remove reserved padding + safe-area */
#app:not(.with-bottom-nav) {
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* 3. When bottom nav is hidden, .page elements use full viewport + safe-area */
#app:not(.with-bottom-nav) .page {
    min-height: 100vh !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
}

/* 4. CRITICAL: Remove padding-bottom and margin-bottom from ALL #app 
    children when nav is hidden - this addresses the core issue where 
    child element padding remained even after with-bottom-nav was removed */
#app:not(.with-bottom-nav) > * {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 5. Product details page: ensure action bars use full viewport bottom 
    when nav is hidden - targets the action bar classes */
#app:not(.with-bottom-nav) .pro-product-actions,
#app:not(.with-bottom-nav) .pro-checkout-actions {
    bottom: env(safe-area-inset-bottom) !important;
    left: 0 !important;
    right: 0 !important;
}

/* 6. Ensure no other padding remains on product details content areas */
#app:not(.with-bottom-nav) .pro-product-details {
    padding-bottom: 0 !important;
}

/* Ensure product details page content areas don't have residual padding when nav hidden */
#app:not(.with-bottom-nav) .pro-product-page {
    padding-bottom: 0 !important;
}

/* Ensure product detail card doesn't add residual padding when nav hidden */
#app:not(.with-bottom-nav) .product-detail-card {
    padding-bottom: 0 !important;
}

/* Ensure product detail content doesn't add residual padding when nav hidden */
#app:not(.with-bottom-nav) .product-detail-content {
    padding-bottom: 0 !important;
}

/* 7. Ensure .pro-section elements don't add residual padding */
#app:not(.with-bottom-nav) .pro-section {
    padding-bottom: 0 !important;
}

/* Ensure product details page content areas don't have residual padding when nav hidden */
#app:not(.with-bottom-nav) .pro-product-page {
    padding-bottom: 0 !important;
}

/* Ensure product detail card doesn't add residual padding when nav hidden */
#app:not(.with-bottom-nav) .product-detail-card {
    padding-bottom: 0 !important;
}

/* Ensure product detail content doesn't add residual padding when nav hidden */
#app:not(.with-bottom-nav) .product-detail-content {
    padding-bottom: 0 !important;
}

/* Ensure fixed action bars use full viewport bottom when nav is hidden */
#app:not(.with-bottom-nav) .pro-product-actions,
#app:not(.with-bottom-nav) .pro-checkout-actions {
    bottom: env(safe-area-inset-bottom) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
}


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

.main-header {
    width: 100%;
    background: #ffffff;
    min-height: 145px;
    padding: 28px 28px 20px;

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

    border-bottom: 1px solid #edf0f4;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.logo-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;

    background: var(--primary);

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

    color: #ffffff;
    font-size: 27px;
}

.logo-text h1 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.logo-text p {
    margin-top: 6px;
    color: #7a8391;
    font-size: 14px;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    width: 48px;
    height: 48px;

    background: #f7f8fa;
    color: #273244;

    border-radius: 14px;

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

    font-size: 21px;

    transition: 0.2s;
}

.header-btn:hover {
    background: #eef1f4;
}

.cart-button {
    position: relative;
}

.cart-count {
    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    background: #e94d4d;
    color: white;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

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


/* =====================================================
   SEARCH
===================================================== */

.search-section {
    padding: 25px 26px 5px;
}

.search-box {
    width: 100%;
    height: 64px;

    background: #ffffff;

    border: 1px solid #dfe3e9;
    border-radius: 15px;

    display: flex;
    align-items: center;

    padding: 0 20px;

    box-shadow: 0 2px 8px rgba(20, 30, 50, 0.03);
}

.search-box i {
    color: #98a3b3;
    font-size: 22px;
    margin-right: 15px;
}

.search-box input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #222b3c;
    font-size: 17px;
}

.search-box input::placeholder {
    color: #9299a5;
}


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

.products-section {
    padding: 25px 26px 40px;
}

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

.section-title h2 {
    font-size: 27px;
    font-weight: 800;
    color: #202b3e;
}


/* =====================================================
   PRODUCT GRID — 2 PER ROW
===================================================== */

.product-grid {
    display: grid;

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

    gap: 24px;

    width: 100%;
}


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

.product-card {
    position: relative;

    background: #ffffff;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid #edf0f3;

    box-shadow: 0 4px 14px rgba(22, 30, 45, 0.04);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(22, 30, 45, 0.09);
}


/* =====================================================
   PRODUCT IMAGE
===================================================== */

.product-image-wrap {
    position: relative;

    margin: 20px 20px 0;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eaf5d5;

    border-radius: 0;
}

.product-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =====================================================
   DISCOUNT BADGE
===================================================== */

.discount-badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 3;

    padding: 7px 10px;

    background: #ffe9e9;
    color: #e26464;

    border-radius: 7px;

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


/* =====================================================
   WISHLIST BUTTON
===================================================== */

.wishlist-btn {
    position: absolute;

    z-index: 5;

    top: 10px;
    right: 10px;

    width: 42px;
    height: 42px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #e2e5e9;

    border-radius: 50%;

    color: #657183;

    font-size: 18px;

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

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.05);
}


/* =====================================================
   PRODUCT INFORMATION
===================================================== */

.product-info {
    padding: 25px 20px 22px;
    text-align: center;
}

.product-info h3 { 
    font-size: 15px; /* ഫോണ്ട് സൈസ് കൂട്ടിയിരിക്കുന്നു */
    font-weight: 700; /* ബോൾഡ് ആക്കിയിരിക്കുന്നു */
    margin-top: 10px; 
    color: #222; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    line-clamp: 2; 
    -webkit-box-orient: vertical; 
    height: 40px; 
}

.product-description {
    margin-top: 5px;

    color: #78818f;

    font-size: 14px;
    line-height: 1.55;

    min-height: 44px;
}


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

.product-price {
    margin-top: 15px;

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

    gap: 7px;

    flex-wrap: wrap;
}

.product-price strong {
    color: var(--green);

    font-size: 21px;
    font-weight: 800;
}

.product-price del {
    color: #9da4ae;

    font-size: 14px;
}

.product-price span {
    padding: 4px 7px;

    background: #ffeaea;

    color: #d96969;

    border-radius: 5px;

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


/* =====================================================
   INNER PAGES
===================================================== */

.page {
    min-height: calc(100vh - 75px);
    background: var(--background);
}

.inner-page-header {
    height: 76px;

    background: #ffffff;

    display: flex;
    align-items: center;

    padding: 0 20px;

    gap: 15px;

    border-bottom: 1px solid #e9ebef;

    position: sticky;
    top: 0;
    z-index: 20;
}

.inner-page-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.back-btn {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #f4f6f8;

    color: #283244;

    font-size: 17px;

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


/* =====================================================
   PRODUCT DETAILS
===================================================== */

#productDetails {
    padding: 25px;
}

.product-detail-card {
    max-width: 700px;
    margin: auto;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 5px 20px rgba(20, 30, 50, 0.06);
}

.product-detail-image {
    width: 100%;
    max-height: 430px;

    object-fit: contain;

    background: #eaf5d5;
}

.product-detail-content {
    padding: 25px;
}

.product-detail-content h1 {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.product-detail-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.detail-price {
    margin-top: 20px;

    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-price strong {
    color: var(--green);
    font-size: 28px;
}

.detail-price del {
    color: #9ba2ac;
    font-size: 16px;
}

.detail-discount {
    background: #ffe9e9;
    color: #db6666;

    padding: 6px 9px;

    border-radius: 6px;

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

.detail-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}

.detail-btn {
    height: 53px;

    border-radius: 12px;

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

.add-cart-btn {
    background: #ffffff;

    color: var(--primary);

    border: 2px solid var(--primary);
}

.buy-now-btn {
    background: var(--primary);
    color: #ffffff;
}


/* =====================================================
   CART / WISHLIST
===================================================== */

#cartContent,
#wishlistContent,
#ordersContent {
    padding: 25px;
}

.empty-state {
    background: #ffffff;

    border-radius: 18px;

    padding: 50px 20px;

    text-align: center;

    color: #7b8491;
}

.empty-state i {
    font-size: 45px;

    color: #b4bcc7;

    margin-bottom: 15px;
}

.empty-state h3 {
    color: #273143;
    margin-bottom: 6px;
}


/* =====================================================
   CHECKOUT
===================================================== */

#checkoutContent {
    padding: 25px;
}

.checkout-container {
    max-width: 650px;

    margin: auto;

    background: #ffffff;

    padding: 25px;

    border-radius: 18px;

    box-shadow: 0 4px 18px rgba(20, 30, 50, 0.05);
}

.checkout-container h3 {
    font-size: 20px;

    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;

    color: #3d4757;
}

.form-group input,
.form-group textarea {
    width: 100%;

    min-height: 49px;

    border: 1px solid #dce1e7;

    border-radius: 10px;

    padding: 0 14px;

    outline: none;

    font-size: 14px;

    background: #ffffff;

    color: #202938;
}

.form-group textarea {
    padding-top: 13px;
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(11, 122, 117, 0.08);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* =====================================================
   PRIMARY BUTTON
===================================================== */

.primary-btn {
    width: 100%;

    min-height: 53px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 12px;

    font-size: 15px;

    font-weight: 700;

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

    gap: 10px;

    margin-top: 20px;

    transition: 0.2s;
}

.primary-btn:hover {
    background: var(--primary-dark);
}


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

.payment-container {
    max-width: 600px;

    margin: 25px auto;

    padding: 25px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 4px 18px rgba(20, 30, 50, 0.05);
}

.payment-due-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    color: #626c79;
    font-size: 14px;
    border-bottom: 1px solid #edf0f4;
}

.payment-due-row strong {
    color: #182033;
    font-size: 20px;
}

#orderSuccessPage {
    padding: 24px 16px 100px;
    background: #f5f6fa;
}

.order-success-content {
    width: 100%;
    max-width: 520px;
    margin: 24px auto;
    padding: 28px 22px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e3e6ec;
    border-radius: 12px;
}

.order-success-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    color: #ffffff;
    background: #269b59;
    font-size: 24px;
}

.order-success-eyebrow {
    color: #287447;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.order-success-content h2 {
    margin-top: 6px;
    color: #182033;
    font-size: 22px;
}

.order-success-copy {
    margin-top: 8px;
    color: #747d8c;
    font-size: 13px;
    line-height: 1.5;
}

.order-success-details {
    margin: 22px 0;
    padding: 14px;
    text-align: left;
    background: #f7f9f8;
    border-radius: 8px;
}

.order-success-details div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e7ece9;
}

.order-success-details div:last-child {
    border-bottom: 0;
}

.order-success-details span {
    flex: 0 0 auto;
    color: #747d8c;
    font-size: 12px;
}

.order-success-details strong {
    min-width: 0;
    color: #182033;
    font-size: 12px;
    overflow-wrap: anywhere;
    text-align: right;
}

.order-success-primary,
.order-success-secondary {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.order-success-primary {
    color: #ffffff;
    background: #0b7a75;
}

.order-success-secondary {
    margin-top: 8px;
    color: #0b7a75;
    background: transparent;
}

.account-data-page {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 16px;
}

.account-data-note {
    margin: 0 0 12px;
    color: #747d8c;
    font-size: 13px;
}

.account-data-form,
.support-faq-list,
.saved-address-card,
.support-ticket-card {
    margin-bottom: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e3e6ec;
    border-radius: 10px;
}

.account-data-form h3,
.support-faq-list h3,
.support-ticket-section h3 {
    margin-bottom: 14px;
    color: #182033;
    font-size: 16px;
}

.account-data-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    color: #485260;
    font-size: 12px;
    font-weight: 600;
}

.account-data-form input,
.account-data-form select,
.account-data-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d9dfe5;
    border-radius: 7px;
    color: #182033;
    background: #ffffff;
    font: inherit;
    font-size: 14px;
}

.account-data-form textarea {
    min-height: 120px;
    resize: vertical;
}

.account-data-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.account-data-submit {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 7px;
    color: #ffffff;
    background: #0b7a75;
    font-size: 14px;
    font-weight: 700;
}

.saved-address-card h4,
.support-ticket-card h4 {
    margin-bottom: 6px;
    color: #182033;
    font-size: 14px;
}

.saved-address-card p,
.support-ticket-card p,
.support-faq-list details p {
    color: #626c79;
    font-size: 13px;
    line-height: 1.5;
}

.saved-address-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.saved-address-actions button,
.support-ticket-card button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #d9dfe5;
    border-radius: 6px;
    color: #0b7a75;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.saved-address-actions button:last-child {
    color: #b42318;
}

.support-faq-list details {
    padding: 12px 0;
    border-top: 1px solid #edf0f4;
}

.support-faq-list summary {
    color: #182033;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.support-faq-list details p {
    margin-top: 8px;
}

.support-ticket-section {
    margin-top: 20px;
}

.support-ticket-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #747d8c;
    font-size: 11px;
}

.order-card {
    margin: 12px auto;
    padding: 16px;
    max-width: 680px;
    background: #ffffff;
    border: 1px solid #e3e6ec;
    border-radius: 10px;
}

.order-header,
.order-total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-header h3 {
    color: #182033;
    font-size: 15px;
}

.order-header p {
    margin-top: 4px;
    color: #747d8c;
    font-size: 12px;
}

.order-status-badge {
    padding: 5px 8px;
    border-radius: 20px;
    color: #176b46;
    background: #eaf5ee;
    font-size: 11px;
    font-weight: 700;
}

.order-item,
.order-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f4;
    color: #424b57;
    font-size: 13px;
}

.order-total {
    color: #182033;
    font-weight: 700;
}

.order-tracking-details {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f8f7;
}

.order-tracking-details h4 {
    margin-bottom: 7px;
    color: #182033;
    font-size: 13px;
}

.order-tracking-details p {
    margin-top: 4px;
    color: #626c79;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.order-status-history {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.order-status-history li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #287447;
    font-size: 12px;
}

.order-status-history li span {
    color: #89929e;
    text-align: right;
}

@media (max-width: 420px) {
    .account-data-page {
        padding: 12px;
    }

    .account-data-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.payment-method {
    display: flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 20px;

    border-bottom: 1px solid #edf0f3;
}

.payment-icon {
    width: 52px;
    height: 52px;

    border-radius: 14px;

    background: #e9f7f5;

    color: var(--primary);

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

    font-size: 22px;
}

.payment-method h3 {
    font-size: 17px;
}

.payment-method p {
    margin-top: 3px;

    font-size: 12px;

    color: var(--muted);
}

.upi-box {
    margin: 22px 0;

    padding: 16px;

    background: #f5f7f9;

    border-radius: 12px;
}

.upi-box span {
    display: block;

    color: #8a929d;

    font-size: 12px;

    margin-bottom: 5px;
}

.upi-box strong {
    font-size: 15px;
    color: #202a3a;
}


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

.account-container {
    padding: 25px;

    max-width: 700px;

    margin: auto;
}

.profile-card {
    background: #ffffff;

    border-radius: 18px;

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    box-shadow: 0 4px 15px rgba(20, 30, 50, 0.04);
}

.profile-avatar {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: #e9f7f5;

    color: var(--primary);

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

    font-size: 21px;
}

.profile-card h3 {
    font-size: 16px;
}

.profile-card p {
    color: var(--muted);

    font-size: 12px;

    margin-top: 3px;
}

.account-menu {
    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 4px 15px rgba(20, 30, 50, 0.04);
}

.account-menu button {
    width: 100%;

    min-height: 65px;

    background: #ffffff;

    border-bottom: 1px solid #edf0f3;

    display: flex;

    align-items: center;

    padding: 0 18px;

    gap: 14px;

    color: #273143;

    text-align: left;
}

.account-menu button:last-child {
    border-bottom: none;
}

.account-menu button > i:first-child {
    width: 23px;

    color: var(--primary);

    font-size: 17px;
}

.account-menu button span {
    flex: 1;

    font-size: 14px;

    font-weight: 600;
}

.account-menu button > i:last-child {
    color: #a1a8b2;

    font-size: 12px;
}


/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 70px;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid #e5e8ed;

    display: flex;

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

    z-index: 100;

    box-shadow: 0 -4px 18px rgba(20, 30, 50, 0.05);
}

.nav-item {
    background: transparent;

    color: #929aa7;

    min-width: 80px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    font-size: 11px;
}

.nav-item i {
    font-size: 19px;
}

.nav-item.active {
    color: var(--primary);

    font-weight: 700;
}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 768px) {

    #app {
        max-width: 1100px;

        margin: auto;

        background: var(--background);

        box-shadow:
            0 0 40px rgba(20, 30, 50, 0.08);
    }

    .main-header {
        border-radius: 0;
    }

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

    .bottom-nav {
        max-width: 1100px;

        left: 50%;

        transform: translateX(-50%);
    }
}


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

@media (max-width: 600px) {

    .main-header {
        min-height: 130px;

        padding:
            22px 18px
            18px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;

        border-radius: 14px;

        font-size: 23px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-btn {
        width: 40px;
        height: 40px;

        font-size: 17px;

        border-radius: 12px;
    }

    .search-section {
        padding:
            20px 18px 5px;
    }

    .search-box {
        height: 58px;

        padding: 0 16px;
    }

    .search-box input {
        font-size: 15px;
    }

    .products-section {
        padding:
            22px 18px 35px;
    }

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

    .section-title h2 {
        font-size: 23px;
    }

    /*
       IMPORTANT:
       MOBILE = EXACTLY 2 PRODUCTS PER ROW
    */

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

        gap: 14px;
    }

    .product-image-wrap {
        margin: 12px 12px 0;
    }

    .product-info {
        padding:
            17px 11px 17px;
    }

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

        min-height: 45px;
    }

    .product-description {
        font-size: 12px;

        min-height: 39px;
    }

    .product-price {
        margin-top: 11px;

        gap: 4px;
    }

    .product-price strong {
        font-size: 17px;
    }

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

    .product-price span {
        font-size: 9px;

        padding: 3px 5px;
    }

    .discount-badge {
        top: 7px;
        left: 7px;

        padding: 5px 6px;

        font-size: 8px;
    }

    .wishlist-btn {
        top: 7px;
        right: 7px;

        width: 34px;
        height: 34px;

        font-size: 15px;
    }

    #productDetails,
    #cartContent,
    #wishlistContent,
    #ordersContent,
    #checkoutContent {
        padding: 18px;
    }

    .product-detail-content {
        padding: 20px;
    }

    .product-detail-content h1 {
        font-size: 22px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }

    .account-container {
        padding: 18px;
    }

    .payment-container {
        margin: 18px;

        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 380px) {

    .logo-text h1 {
        font-size: 19px;
    }

    .logo-text p {
        font-size: 9px;
    }

    .header-btn {
        width: 36px;
        height: 36px;
    }

    .product-grid {
        gap: 10px;
    }

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

    .product-description {
        font-size: 11px;
    }

    .product-price strong {
        font-size: 15px;
    }
}
/* =====================================================
   MU HEALTH — PRODUCT GRID FIX
   2 PRODUCTS PER ROW
===================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-card {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Product image area */
.product-image-wrap {
    width: 100%;
    height: 185px;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product information */
.product-info {
    padding: 14px 14px 16px;
}

.product-info h3 {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.35;
}

.product-description {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
}

/* Price */
.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.product-price strong {
    font-size: 20px;
}

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

.product-price span {
    font-size: 11px;
    padding: 5px 7px;
}

/* Section spacing */
.section {
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 12px;
}

#productsSection {
    margin-top: 0;
    padding-top: 8px;
}

/* All Products heading */
#productsSection .section-header {
    margin-top: 0;
    margin-bottom: 12px;
}

#productsSection .section-header h2 {
    margin: 0;
}

/* Remove unnecessary top space */
main,
#homePage {
    margin-top: 0;
    padding-top: 0;
}

/* Mobile */
@media (max-width: 600px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image-wrap {
        height: 170px;
    }

    .product-info {
        padding: 12px;
    }

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

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

    .product-price strong {
        font-size: 19px;
    }
}
/* =====================================================
   PROFESSIONAL PRODUCT PAGE
===================================================== */

.pro-product-page,
.pro-checkout-page {
    background:#f7f8fa;
    min-height:100vh;
    padding-bottom:100px;
}

.pro-product-header,
.pro-checkout-header {
    height:64px;
    background:#fff;
    display:flex;
    align-items:center;
    gap:16px;
    padding:0 18px;
    position:sticky;
    top:0;
    z-index:50;
    border-bottom:1px solid #eee;
}

.pro-product-header strong,
.pro-checkout-header span {
    font-size:18px;
    font-weight:700;
}

.pro-back-btn {
    width:40px;
    height:40px;
    border:0;
    background:#fff;
    border-radius:50%;
    font-size:19px;
}

.pro-header-actions {
    margin-left:auto;
    display:flex;
    gap:8px;
}

.pro-header-actions button {
    width:38px;
    height:38px;
    border:0;
    background:#f5f6f7;
    border-radius:50%;
    font-size:17px;
}


/* IMAGE */

.pro-product-image-section {
    background:#fff;
    height:340px;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    border-bottom:1px solid #eee;
}

.pro-product-image-section img {
    width:85%;
    height:85%;
    object-fit:contain;
}

.pro-discount {
    position:absolute;
    left:18px;
    top:18px;
    background:#188b50;
    color:white;
    padding:7px 11px;
    border-radius:7px;
    font-size:12px;
    font-weight:700;
}


/* PRODUCT INFO */

.pro-product-info {
    background:#fff;
    padding:20px;
}

.pro-brand {
    color:#087a72;
    font-size:12px;
    font-weight:800;
    margin-bottom:7px;
}

.pro-product-info h1 {
    font-size:20px;
    line-height:1.4;
    margin:0;
}

.pro-subtitle {
    color:#68707d;
    font-size:14px;
    margin-top:7px;
    line-height:1.5;
}

.pro-rating-row {
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:13px;
    font-size:12px;
    color:#68707d;
}

.pro-rating {
    background:#218b50;
    color:#fff;
    padding:5px 8px;
    border-radius:5px;
    font-weight:700;
}

.pro-rating i {
    font-size:9px;
}

.pro-assured {
    color:#155dcc;
    font-weight:700;
    margin-left:auto;
}

.pro-price-row {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:14px;
}

.pro-price {
    font-size:27px;
    font-weight:800;
}

.pro-price-row del {
    color:#777;
    font-size:15px;
}

.pro-off {
    color:#188b50;
    font-weight:800;
    font-size:14px;
}

.pro-price-note {
    display:inline-block;
    margin-top:10px;
    background:#168b50;
    color:#fff;
    padding:6px 10px;
    border-radius:6px;
    font-size:11px;
    font-weight:700;
}


/* QUANTITY */

.pro-section {
    background:#fff;
    margin-top:8px;
    padding:20px;
}

.pro-section h3 {
    font-size:16px;
}

.quantity-options {
    display:flex;
    gap:12px;
    margin-top:15px;
}

.quantity-options button {
    min-width:85px;
    height:52px;
    border:1px solid #d4d7da;
    background:#fff;
    border-radius:12px;
    font-size:16px;
}

.quantity-options button.active {
    background:#202020;
    color:#fff;
    border-color:#202020;
}


/* BENEFITS */

.pro-benefit-box {
    background:#fff;
    margin-top:8px;
    padding:17px 20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}

.pro-benefit-box > div {
    text-align:center;
}

.pro-benefit-box i {
    font-size:20px;
    color:#087a72;
    margin-bottom:8px;
}

.pro-benefit-box strong,
.pro-benefit-box small {
    display:block;
}

.pro-benefit-box strong {
    font-size:11px;
}

.pro-benefit-box small {
    color:#888;
    font-size:9px;
    margin-top:3px;
}


/* DETAILS */

.pro-details-section,
.pro-delivery-section,
.pro-similar-section {
    background:#fff;
    margin-top:8px;
    padding:20px;
}

.pro-section-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.pro-section-title h2,
.pro-delivery-section h2 {
    font-size:18px;
    margin:0;
}

.pro-point {
    display:flex;
    gap:10px;
    margin-top:15px;
    line-height:1.55;
    font-size:13px;
    color:#4c5360;
}

.pro-point i {
    color:#188b50;
    margin-top:3px;
}


/* DELIVERY */

.pro-delivery-card {
    border:1px solid #ddd;
    border-radius:15px;
    margin-top:15px;
    overflow:hidden;
}

.pro-delivery-row {
    display:flex;
    align-items:center;
    gap:13px;
    padding:16px;
    border-bottom:1px solid #eee;
    font-size:13px;
}

.pro-delivery-row:last-child {
    border-bottom:0;
}

.pro-delivery-row i:first-child {
    color:#555;
    width:22px;
}


/* SIMILAR */

.pro-similar-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:15px;
}

.pro-similar-card {
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
    padding-bottom:12px;
}

.pro-similar-card img {
    width:100%;
    height:130px;
    object-fit:contain;
    background:#f5f5f5;
}

.pro-similar-card h3 {
    font-size:11px;
    padding:8px 9px 3px;
    line-height:1.4;
}

.pro-similar-card strong {
    padding:0 9px;
}


/* BOTTOM BUTTON */

.pro-bottom-bar,
.pro-checkout-bottom {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:100;
    background:#fff;
    padding:12px 16px;
    border-top:1px solid #ddd;
    display:flex;
    gap:10px;
    box-shadow:0 -4px 18px rgba(0,0,0,.08);
}

.pro-bottom-bar button,
.pro-checkout-bottom button {
    flex:1;
    height:54px;
    border-radius:14px;
    font-size:16px;
    font-weight:800;
}

.pro-add-cart {
    background:#fff;
    border:1px solid #087a72;
    color:#087a72;
}

.pro-buy-now,
.pro-checkout-bottom button {
    background:#ffd814;
    border:0;
    color:#222;
}


/* =====================================================
   PROFESSIONAL CHECKOUT
===================================================== */

.checkout-steps {
    height:90px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 25px;
}

.checkout-step {
    text-align:center;
    color:#aaa;
}

.checkout-step span {
    width:36px;
    height:36px;
    border-radius:50%;
    border:2px solid #ddd;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:auto;
}

.checkout-step small {
    display:block;
    margin-top:7px;
    font-size:11px;
}

.checkout-step.done,
.checkout-step.active {
    color:#222;
    font-weight:700;
}

.checkout-step.done span,
.checkout-step.active span {
    background:#1769d5;
    color:#fff;
    border-color:#1769d5;
}

.step-line {
    height:2px;
    width:70px;
    background:#ddd;
    margin-bottom:22px;
}

.step-line.active {
    background:#1769d5;
}


/* CHECKOUT ADDRESS */

.pro-checkout-section {
    background:#fff;
    margin-top:8px;
    padding:20px;
}

.pro-checkout-section h2 {
    font-size:19px;
}

.pro-address-card {
    background:#f7f7f7;
    border-radius:18px;
    padding:18px;
    margin-top:14px;
}

.address-top {
    display:flex;
    justify-content:space-between;
    gap:10px;
}

.address-top strong {
    font-size:17px;
}

.address-top button {
    border:0;
    background:transparent;
    color:#1769d5;
    font-weight:800;
}

.pro-address-card p {
    line-height:1.55;
    margin-top:12px;
    color:#444;
}

.address-phone {
    margin-top:12px;
    color:#555;
}


/* CHECKOUT PRODUCT */

.checkout-product {
    display:flex;
    gap:15px;
}

.checkout-product-image {
    width:125px;
    height:125px;
    border-radius:14px;
    background:#f4f4f4;
    display:flex;
    align-items:center;
    justify-content:center;
}

.checkout-product-image img {
    width:100%;
    height:100%;
    object-fit:contain;
}

.checkout-product-info {
    flex:1;
}

.checkout-product-info small {
    color:#188b50;
    font-weight:700;
}

.checkout-product-info h3 {
    font-size:15px;
    line-height:1.4;
    margin-top:4px;
}

.checkout-product-info p {
    font-size:11px;
    color:#777;
    margin-top:4px;
}

.checkout-rating {
    display:inline-block;
    background:#f0f2f4;
    padding:5px 7px;
    border-radius:6px;
    font-size:11px;
    margin-top:8px;
}

.checkout-rating i {
    color:#188b50;
}

.checkout-price {
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:9px;
}

.checkout-price del {
    color:#777;
}

.checkout-price strong {
    font-size:19px;
}

.checkout-price span {
    color:#188b50;
    font-weight:700;
}


/* DELIVERY */

.delivery-box,
.cancel-box {
    margin-top:15px;
    padding:13px;
    border-radius:10px;
    font-size:12px;
}

.delivery-box {
    background:#f5f5f5;
}

.cancel-box {
    background:#fff9e5;
    color:#555;
}


/* SAVINGS */

.savings-box {
    background:#eaf6ff;
    margin-top:8px;
    padding:20px;
}

.savings-title {
    font-size:17px;
    font-weight:800;
}

.savings-title span {
    background:#222;
    color:#fff;
    padding:2px 5px;
    border-radius:4px;
    margin-right:8px;
}

.savings-box button {
    width:100%;
    margin-top:15px;
    height:55px;
    border:1px solid #ddd;
    background:#fff;
    border-radius:14px;
    text-align:left;
    padding:0 16px;
    font-weight:700;
    display:flex;
    justify-content:space-between;
    align-items:center;
}


/* PRICE */

.price-details-card {
    margin-top:14px;
    background:#f7f7f7;
    border-radius:17px;
    padding:20px;
}

.price-details-card > div {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
}

.discount-row span:last-child {
    color:#188b50;
}

.total-row {
    font-size:17px;
}

.saving-row {
    margin:15px -20px -20px;
    padding:14px 20px;
    background:#e1f8ed;
    color:#188b50;
    border-radius:0 0 17px 17px;
    display:block !important;
    text-align:center;
}

.pro-secure-text {
    background:#fff;
    padding:20px;
    display:flex;
    justify-content:center;
    gap:12px;
    color:#777;
    font-size:12px;
}

.pro-secure-text i {
    color:#999;
    font-size:28px;
}
/* ===============================
   PRODUCT ORDER BUTTON FIX
================================ */

.product-detail-card {
    padding-bottom: 120px !important;
}

.detail-actions {
    display: flex !important;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.detail-actions .detail-btn {
    flex: 1;
    min-height: 52px;
    border-radius: 14px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.add-cart-btn {
    background: #ffffff !important;
    color: #0b7a75 !important;
    border: 2px solid #0b7a75 !important;
}

.buy-now-btn {
    background: #0b7a75 !important;
    color: #ffffff !important;
}

.product-detail-content {
    padding-bottom: 40px !important;
}

/* Mobile */
@media (max-width: 600px) {

    .detail-actions {
        position: sticky;
        bottom: 70px;
        z-index: 50;
        background: #ffffff;
        padding: 12px 0;
    }

    .detail-actions .detail-btn {
        min-height: 54px;
        font-size: 14px;
    }

}
/* =====================================================
   PRODUCT PAGE — BOTTOM PURCHASE BAR
===================================================== */

.pro-product-page {
    padding-bottom: 110px !important;
}

.pro-bottom-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 64px !important;

    height: 72px;

    background: #ffffff;

    display: flex !important;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border-top: 1px solid #e8ebef;

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

    z-index: 9998 !important;
}

.pro-bottom-bar button {
    flex: 1;

    height: 50px;

    border: none;
    border-radius: 12px;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.pro-add-cart {
    background: #ffffff !important;
    color: #087f5b !important;

    border: 1.5px solid #087f5b !important;
}

.pro-buy-now {
    background: #087f5b !important;
    color: #ffffff !important;
}

.pro-bottom-bar button:active {
    transform: scale(0.98);
}
/* =====================================================
   PROFESSIONAL CART DESIGN
===================================================== */

.pro-cart-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 16px 120px;
}


/* CART ITEM */

.pro-cart-item {
    background: #ffffff;
    border: 1px solid #edf0f2;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 18px rgba(20, 35, 50, 0.05);
}


/* IMAGE */

.pro-cart-image {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #edf7dc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.pro-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* DETAILS */

.pro-cart-details {
    flex: 1;
    min-width: 0;
}


.pro-cart-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}


.pro-cart-top h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: #182033;
    font-weight: 700;
}


.pro-cart-top p {
    margin: 5px 0 0;
    color: #7b8491;
    font-size: 11px;
    line-height: 1.4;
}


/* DELETE */

.pro-cart-delete {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #fff3f3;
    color: #d95353;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}


/* PRICE */

.pro-cart-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}


.pro-cart-price-row strong {
    color: #182033;
    font-size: 18px;
    font-weight: 800;
}


.pro-cart-price-row del {
    color: #9ca3ad;
    font-size: 12px;
}


.pro-cart-price-row span {
    background: #e8f7ed;
    color: #218b52;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}


/* BOTTOM */

.pro-cart-bottom {
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.pro-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e1e5e9;
    border-radius: 9px;
    padding: 3px;
    background: #fff;
}


.pro-quantity button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 7px;
    background: #f1f4f6;
    color: #263142;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.pro-quantity strong {
    min-width: 16px;
    text-align: center;
    font-size: 13px;
}


.pro-item-total {
    color: #182033;
    font-size: 16px;
    font-weight: 800;
}


/* PRICE SUMMARY */

.pro-cart-summary {
    background: #ffffff;
    border: 1px solid #edf0f2;
    border-radius: 18px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 18px rgba(20, 35, 50, 0.05);
}


.pro-cart-summary h2 {
    margin: 0 0 18px;
    font-size: 17px;
    color: #182033;
}


.pro-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
    font-size: 13px;
    color: #667080;
}


.pro-summary-row strong {
    color: #182033;
}


.pro-free {
    color: #219653;
    font-weight: 700;
}


.pro-summary-line {
    height: 1px;
    background: #edf0f2;
    margin: 16px 0;
}


.pro-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #182033;
}


.pro-total-row strong {
    font-size: 20px;
    color: #168b73;
}


/* SAVINGS */

.pro-savings {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #effaf3;
    color: #238b52;
    font-size: 11px;
    font-weight: 600;
}


.pro-savings i {
    margin-right: 5px;
}


/* CHECKOUT */

.pro-checkout-btn {
    width: 100%;
    height: 54px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    background: #078b78;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(7, 139, 120, 0.20);
}


.pro-checkout-btn:active {
    transform: scale(.98);
}


/* SECURITY */

.pro-cart-security {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 16px;
    color: #89919c;
    font-size: 10px;
}


.pro-cart-security div {
    display: flex;
    align-items: center;
    gap: 5px;
}


.pro-cart-security i {
    color: #168b73;
}


/* EMPTY CART */

.pro-cart-empty {
    background: #ffffff;
    border-radius: 20px;
    padding: 55px 25px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #edf0f2;
}


.pro-cart-empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf8f5;
    color: #168b73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


.pro-cart-empty h2 {
    margin: 0;
    color: #182033;
    font-size: 20px;
}


.pro-cart-empty p {
    color: #7d8692;
    font-size: 12px;
    line-height: 1.6;
    margin: 8px auto 22px;
    max-width: 280px;
}


.pro-cart-shop-btn {
    border: 0;
    background: #078b78;
    color: white;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 480px) {

    .pro-cart-wrapper {
        padding: 14px 12px 115px;
    }

    .pro-cart-item {
        padding: 11px;
        gap: 11px;
    }

    .pro-cart-image {
        width: 88px;
        height: 88px;
    }

    .pro-cart-top h3 {
        font-size: 13px;
    }

    .pro-cart-top p {
        font-size: 10px;
    }

    .pro-cart-price-row strong {
        font-size: 16px;
    }

    .pro-item-total {
        font-size: 14px;
    }

}
/* =====================================================
   PRODUCT QUANTITY CONTROL
===================================================== */

.selected-quantity-title {
    display: flex;
    align-items: center;
    gap: 5px;
}


.selected-quantity-title span {
    color: #078b78;
    font-weight: 800;
}


.product-quantity-control {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 15px;
    background: #ffffff;
    border: 1px solid #dfe5e8;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}


.product-quantity-control button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 9px;
    background: #eef7f4;
    color: #078b78;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease;
}


.product-quantity-control button:active {
    transform: scale(0.92);
    background: #d9eee8;
}


.product-quantity-number {
    min-width: 48px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #182033;
}
/* =====================================================
   PRODUCT QUANTITY CONTROL
===================================================== */

.selected-quantity-title {
    display: flex;
    align-items: center;
    gap: 5px;
}


.selected-quantity-title span {
    color: #078b78;
    font-weight: 800;
}


.product-quantity-control {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 15px;
    background: #ffffff;
    border: 1px solid #dfe5e8;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}


.product-quantity-control button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 9px;
    background: #eef7f4;
    color: #078b78;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease;
}


.product-quantity-control button:active {
    transform: scale(0.92);
    background: #d9eee8;
}


.product-quantity-number {
    min-width: 48px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #182033;
}
/* =====================================================
   PROFESSIONAL CART DESIGN
===================================================== */

.pro-cart-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 16px 120px;
}


/* CART ITEM */

.pro-cart-item {
    background: #ffffff;
    border: 1px solid #edf0f2;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 18px rgba(20, 35, 50, 0.05);
}


/* IMAGE */

.pro-cart-image {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #edf7dc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.pro-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* DETAILS */

.pro-cart-details {
    flex: 1;
    min-width: 0;
}


.pro-cart-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}


.pro-cart-top h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: #182033;
    font-weight: 700;
}


.pro-cart-top p {
    margin: 5px 0 0;
    color: #7b8491;
    font-size: 11px;
    line-height: 1.4;
}


/* DELETE */

.pro-cart-delete {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #fff3f3;
    color: #d95353;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}


/* PRICE */

.pro-cart-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}


.pro-cart-price-row strong {
    color: #182033;
    font-size: 18px;
    font-weight: 800;
}


.pro-cart-price-row del {
    color: #9ca3ad;
    font-size: 12px;
}


.pro-cart-price-row span {
    background: #e8f7ed;
    color: #218b52;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}


/* BOTTOM */

.pro-cart-bottom {
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.pro-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e1e5e9;
    border-radius: 9px;
    padding: 3px;
    background: #fff;
}


.pro-quantity button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 7px;
    background: #f1f4f6;
    color: #263142;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.pro-quantity strong {
    min-width: 16px;
    text-align: center;
    font-size: 13px;
}


.pro-item-total {
    color: #182033;
    font-size: 16px;
    font-weight: 800;
}


/* PRICE SUMMARY */

.pro-cart-summary {
    background: #ffffff;
    border: 1px solid #edf0f2;
    border-radius: 18px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 4px 18px rgba(20, 35, 50, 0.05);
}


.pro-cart-summary h2 {
    margin: 0 0 18px;
    font-size: 17px;
    color: #182033;
}


.pro-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
    font-size: 13px;
    color: #667080;
}


.pro-summary-row strong {
    color: #182033;
}


.pro-free {
    color: #219653;
    font-weight: 700;
}


.pro-summary-line {
    height: 1px;
    background: #edf0f2;
    margin: 16px 0;
}


.pro-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #182033;
}


.pro-total-row strong {
    font-size: 20px;
    color: #168b73;
}


/* SAVINGS */

.pro-savings {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #effaf3;
    color: #238b52;
    font-size: 11px;
    font-weight: 600;
}


.pro-savings i {
    margin-right: 5px;
}


/* CHECKOUT */

.pro-checkout-btn {
    width: 100%;
    height: 54px;
    margin-top: 18px;
    border: 0;
    border-radius: 13px;
    background: #078b78;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(7, 139, 120, 0.20);
}


.pro-checkout-btn:active {
    transform: scale(.98);
}


/* SECURITY */

.pro-cart-security {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 16px;
    color: #89919c;
    font-size: 10px;
}


.pro-cart-security div {
    display: flex;
    align-items: center;
    gap: 5px;
}


.pro-cart-security i {
    color: #168b73;
}


/* EMPTY CART */

.pro-cart-empty {
    background: #ffffff;
    border-radius: 20px;
    padding: 55px 25px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #edf0f2;
}


.pro-cart-empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf8f5;
    color: #168b73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


.pro-cart-empty h2 {
    margin: 0;
    color: #182033;
    font-size: 20px;
}


.pro-cart-empty p {
    color: #7d8692;
    font-size: 12px;
    line-height: 1.6;
    margin: 8px auto 22px;
    max-width: 280px;
}


.pro-cart-shop-btn {
    border: 0;
    background: #078b78;
    color: white;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 480px) {

    .pro-cart-wrapper {
        padding: 14px 12px 115px;
    }

    .pro-cart-item {
        padding: 11px;
        gap: 11px;
    }

    .pro-cart-image {
        width: 88px;
        height: 88px;
    }

    .pro-cart-top h3 {
        font-size: 13px;
    }

    .pro-cart-top p {
        font-size: 10px;
    }

    .pro-cart-price-row strong {
        font-size: 16px;
    }

    .pro-item-total {
        font-size: 14px;
    }

}
/* =====================================================
   PRODUCT PAGE — BOTTOM PURCHASE BAR
===================================================== */

.pro-product-page {
    padding-bottom: 110px !important;
}

.pro-bottom-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 64px !important;

    height: 72px;

    background: #ffffff;

    display: flex !important;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border-top: 1px solid #e8ebef;

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

    z-index: 9998 !important;
}

.pro-bottom-bar button {
    flex: 1;

    height: 50px;

    border: none;
    border-radius: 12px;

    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.pro-add-cart {
    background: #ffffff !important;
    color: #087f5b !important;

    border: 1.5px solid #087f5b !important;
}

.pro-buy-now {
    background: #087f5b !important;
    color: #ffffff !important;
}

.pro-bottom-bar button:active {
    transform: scale(0.98);
}
/* ==========================================
   1. PRODUCT DETAILS PAGE (Image 1 Fix)
   ========================================== */
.product-details-container {
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    margin: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* ഇമേജ് ബോക്സ് വലുപ്പവും അലൈൻമെന്റും ശരിയാക്കാൻ */
.details-image-box {
    background-color: #c5e1a5;
    border-radius: 12px;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}

.details-image-box img {
    max-height: 180px;
    object-fit: contain;
}

/* പ്രോഡക്റ്റ് ടൈറ്റിലും പ്രൈസും */
.details-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a2530;
    margin-bottom: 4px;
}

.details-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.details-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.details-price {
    font-size: 22px;
    font-weight: 800;
    color: #00897b;
}

.details-mrp {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.details-discount {
    background: #ffebee;
    color: #e53935;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* About Section & Bullet Points */
.about-section {
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.about-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2530;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feature-item i, .feature-item svg {
    color: #00897b;
    font-size: 16px;
    margin-top: 2px;
}

/* ==========================================
   2. CHECKOUT & ADDRESS FORM (Image 2 Fix)
   ========================================== */
.checkout-form-container {
    background: #ffffff;
    padding: 20px 16px;
    margin: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ഇൻപുട്ട് ബോക്സുകളുടെ ഭംഗിയുള്ള സ്റ്റൈൽ */
.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background-color: #f8f9fa;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #2d3748;
    outline: none;
    transition: all 0.2s ease-in-out;
}

/* ഇൻപുട്ട് ഫോക്കസ് ചെയ്യുമ്പോൾ */
.form-group input:focus, 
.form-group select:focus {
    background-color: #ffffff;
    border-color: #00897b;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.1);
}

/* Continue to Payment Button */
.btn-continue {
    width: 100%;
    background: #00897b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.25);
    transition: background 0.2s;
}

.btn-continue:active {
    background: #00695c;
    transform: scale(0.99);
}
/* ==========================================
   CHECKOUT PAGE STYLING (Image 2 Layout)
   ========================================== */
#checkout-page {
    padding: 12px;
    background-color: #f4f6f9;
    max-width: 500px;
    margin: 0 auto;
}

/* Stepper Bar */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
}

.stepper-item.active {
    color: #0288d1;
    font-weight: 700;
}

.stepper-item.completed {
    color: #2e7d32;
}

.step-counter {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

.active .step-counter { background: #0288d1; }
.completed .step-counter { background: #2e7d32; }

.stepper-line {
    flex-grow: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 8px;
}

/* Card Box */
.card-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.delivering-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2530;
}

.check-icon {
    background: #2e7d32;
    color: #fff;
    border-radius: 50%;
    padding: 2px 4px;
    font-size: 10px;
}

.change-btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #0288d1;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.user-name { font-weight: 700; font-size: 14px; color: #222; margin-bottom: 2px; }
.user-address { font-size: 12px; color: #666; line-height: 1.4; margin-bottom: 4px; }
.user-phone { font-size: 12px; color: #444; }

/* Product Summary */
.hot-deal-badge {
    background: #2e7d32;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.product-summary-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.summary-img-box {
    width: 60px;
    height: 60px;
    background: #c5e1a5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-img-box img {
    max-height: 50px;
    object-fit: contain;
}

.summary-details h4 { font-size: 13px; font-weight: 700; color: #222; }
.sub-text { font-size: 11px; color: #777; margin: 2px 0 4px; }
.authentic-tag { font-size: 11px; color: #0288d1; font-weight: 600; }

.delivery-time-bar {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #333;
    margin-top: 10px;
}

/* Price Details */
.price-title { font-size: 12px; font-weight: 700; color: #777; margin-bottom: 12px; letter-spacing: 0.5px; }
.price-row-item { display: flex; justify-content: space-between; font-size: 13px; color: #444; margin-bottom: 8px; }
.price-row-item.green { color: #2e7d32; font-weight: 600; }
.price-row-item.total { font-size: 16px; font-weight: 800; color: #1a2530; }
.divider { border: none; border-top: 1px dashed #e0e0e0; margin: 8px 0; }

.savings-banner {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    margin-top: 10px;
}

.btn-continue-payment {
    width: 100%;
    background: #2b7b9b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
/* ==========================================
   ORDER SUMMARY PAGE STYLING (IMAGE 2 DESIGN)
   ========================================== */
#orderSummaryPage {
    background-color: #f4f6f9;
    padding: 12px;
    max-width: 500px;
    margin: 0 auto;
}

/* Stepper Bar */
.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
}

.stepper-item.active {
    color: #0288d1;
    font-weight: 700;
}

.stepper-item.completed {
    color: #1976d2;
}

.step-counter {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #ffffff;
}

.active .step-counter { background: #0288d1; }
.completed .step-counter { background: #1976d2; }

.stepper-line {
    flex-grow: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 6px;
}

/* Summary Card Containers */
.summary-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: relative;
}

.summary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.delivering-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #222;
}

.check-badge {
    background: #2e7d32;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.change-btn {
    background: #ffffff;
    border: 1px solid #d0d7de;
    color: #0288d1;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.summary-address-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.summary-address-body p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 2px;
}

/* Product Section */
.hot-deal-badge {
    background: #2e7d32;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.product-summary-flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

.summary-img-wrap {
    width: 65px;
    height: 65px;
    background: #c5e1a5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-img-wrap img {
    max-height: 55px;
    object-fit: contain;
}

.summary-prod-details h3 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.authentic-tag {
    font-size: 11px;
    color: #0288d1;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.delivery-time-box {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #333;
    margin-top: 12px;
}

/* Price Section */
.price-head {
    font-size: 12px;
    font-weight: 700;
    color: #777;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
}

.green-text {
    color: #2e7d32;
    font-weight: 600;
}

.card-divider {
    border: none;
    border-top: 1px dashed #e0e0e0;
    margin: 10px 0;
}

.total-row {
    font-size: 16px;
    font-weight: 800;
    color: #1a2530;
}

.savings-alert {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 12px;
}

.btn-continue-payment {
    width: 100%;
    background: #2b7b9b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(43, 123, 155, 0.2);
}
.discount-badge-inline, .pro-off {
    background-color: #ffebee;
    color: #e53935;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-left: 4px;
}
/* =====================================================
   CHECKOUT PROGRESS BAR & PAGES STYLE
===================================================== */

.checkout-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 15px;
}

/* Steps Bar */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #8c98a4;
}

.checkout-steps .step.active {
    color: #1976d2;
}

.checkout-steps .step.done {
    color: #1976d2;
}

.checkout-steps .step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.checkout-steps .step.active .step-num {
    background: #1976d2;
}

.checkout-steps .step.done i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.checkout-steps .step-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 8px;
}

.checkout-steps .step-line.active {
    background: #1976d2;
}

/* Checkout Cards */
.checkout-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.checkout-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1c252e;
}

.form-group {
    margin-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.checkout-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.btn-primary {
    width: 100%;
    background: #2b7b9b;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: block;
    text-decoration: none;
}

/* Address Preview */
.address-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-outline-sm {
    border: 1px solid #1976d2;
    background: transparent;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.badge-hot {
    background: #2e7d32;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.summary-product-item {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.summary-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.delivery-info-box {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: #475569;
}

/* Price Details */
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.price-row.total-row {
    font-size: 16px;
    margin-top: 8px;
}

.save-note {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.text-success { color: #2e7d32; }
.text-blue-bold { color: #1976d2; font-size: 12px; font-weight: 600; }

/* Payment Page */
.pay-amount-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1976d2;
}

.pay-amount-card strong {
    font-size: 18px;
    color: #111827;
}

.upi-banner-card {
    background: #e8f5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upi-icons span {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 2px;
    background: #fff;
}

#orderSummaryPage {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 158px;
    background: #f5f6fa;
}

#orderSummaryPage .order-summary-content {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 12px 16px 24px;
}

.order-summary-section {
    background: #ffffff;
    border: 1px solid #e3e6ec;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.summary-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.summary-section-heading h3,
.price-breakdown > h3 {
    color: #182033;
    font-size: 15px;
    font-weight: 700;
}

.summary-section-heading h3 i {
    color: #0b7a75;
    margin-right: 6px;
}

.summary-change-btn {
    color: #0b7a75;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 2px 6px 10px;
}

.summary-address-name {
    color: #182033;
    font-size: 14px;
    font-weight: 700;
}

.summary-address-text,
.summary-address-phone {
    color: #626c79;
    font-size: 13px;
    line-height: 1.55;
    margin-top: 3px;
}

.summary-item-count {
    color: #747d8c;
    font-size: 12px;
}

.summary-product-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #edf0f4;
}

.summary-product-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.summary-product-row:last-child {
    padding-bottom: 0;
}

.summary-product-image {
    width: 72px;
    height: 82px;
    background: #f4f7f5;
    border-radius: 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.summary-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.summary-product-info {
    min-width: 0;
}

.summary-product-info h4 {
    color: #182033;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.summary-product-subtitle,
.summary-product-size {
    color: #747d8c;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 3px;
}

.summary-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: #747d8c;
    font-size: 11px;
}

.summary-rating span:first-child {
    background: #e8f4ec;
    color: #287447;
    border-radius: 4px;
    padding: 2px 5px;
    font-weight: 700;
}

.summary-rating i {
    color: #e2a52e;
    font-size: 10px;
}

.summary-product-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 7px;
}

.summary-product-prices strong {
    color: #0b7a75;
    font-size: 15px;
}

.summary-product-prices del {
    color: #9299a5;
    font-size: 12px;
}

.summary-quantity-control {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-top: 9px;
    border: 1px solid #dfe5e8;
    border-radius: 6px;
    overflow: hidden;
}

.summary-quantity-control button {
    width: 34px;
    height: 30px;
    color: #0b7a75;
    background: #f7faf9;
}

.summary-quantity-control span {
    min-width: 32px;
    text-align: center;
    color: #182033;
    font-size: 13px;
    font-weight: 600;
}

.summary-line-total {
    grid-column: 2;
    justify-self: end;
    color: #182033;
    font-size: 13px;
}

.price-breakdown > h3 {
    margin-bottom: 14px;
}

.summary-price-row,
.summary-price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #626c79;
    font-size: 13px;
    margin-bottom: 10px;
}

.summary-discount-row {
    color: #287447;
}

.summary-price-total {
    color: #182033;
    border-top: 1px dashed #dfe5e8;
    padding-top: 12px;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 700;
}

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

.summary-savings-note {
    color: #287447;
    background: #edf7ef;
    border-radius: 6px;
    padding: 9px 10px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
}

.checkout-sticky-bar {
    position: fixed;
    z-index: 998;
    left: 50%;
    bottom: calc(65px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(100%, 720px);
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    background: #ffffff;
    border-top: 1px solid #e3e6ec;
    box-shadow: 0 -5px 18px rgba(24, 32, 51, 0.08);
}

.checkout-sticky-total {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkout-sticky-total span {
    color: #747d8c;
    font-size: 11px;
}

.checkout-sticky-total strong {
    color: #182033;
    font-size: 18px;
}

.checkout-continue-btn {
    min-width: 154px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 8px;
    color: #ffffff;
    background: #0b7a75;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 420px) {
    #orderSummaryPage .order-summary-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .order-summary-section {
        padding: 14px;
    }

    .checkout-sticky-bar {
        gap: 10px;
        padding: 9px 12px;
    }

    .checkout-continue-btn {
        min-width: 138px;
    }
}

.upi-id-text {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.secure-footer {
    text-align: center;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}
/* Product Grid & Card Styling */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px 0;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:active {
    transform: scale(0.98);
}

/* Image Section */
.product-image-container {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-description {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
}

.product-price {
    font-size: 15px;
    font-weight: 800;
    color: #0d9488;
}

.original-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: 400;
}
/* ==========================================
   ANDROID & LAPTOP RESPONSIVE DESIGN (OVERRIDE)
   ========================================== */

/* Laptop & Desktop Design */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    padding: 16px 0 !important;
}

.product-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: 1px solid #e2e8f0 !important;
}

.product-image-container {
    width: 100% !important;
    height: 180px !important;
    border-radius: 12px !important;
    background-color: #f8fafc !important;
}

#app:not(.with-bottom-nav) .pro-product-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
}
.product-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.product-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.product-description {
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
}

.product-price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0d9488 !important;
}

/* Android Mobile App Style Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 8px 0 !important;
    }

    .product-card {
        padding: 10px !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    }

    .product-image-container {
        height: 130px !important;
        border-radius: 10px !important;
        background-color: #f8fafc !important;
        margin-bottom: 8px !important;
    }

    .product-image {
        max-width: 95% !important;
        max-height: 95% !important;
        object-fit: contain !important;
    }

    .product-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    line-clamp: 2 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

    .product-description {
    font-size: 10px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    line-clamp: 1 !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

    .product-price {
        font-size: 14px !important;
        font-weight: 800 !important;
    }
}
/* ==========================================
   ANDROID APP STYLE & MOBILE OPTIMIZATION
   ========================================== */

/* 1. ഹോം പേജിൽ മാത്രം Install App ബട്ടൺ ഹൈഡ് ചെയ്യുക */
body.home-page .install-btn,
body:not([data-page]) .install-btn,
#install-btn {
    display: none !important;
}

/* 2. മൊബൈൽ സ്ക്രീൻ ലേഔട്ട് (ആൻഡ്രോയിഡ് ആപ്പ് മോഡ്) */
@media (max-width: 768px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 8px !important;
    }

    .product-card {
        padding: 8px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .product-image-container {
        width: 100% !important;
        height: 120px !important; /* അനാവശ്യ നീളം കുറയ്ക്കുന്നു */
        border-radius: 8px !important;
        background-color: #f8fafc !important; /* ലൈറ്റ് ബാക്ക്ഗ്രൗണ്ട് */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 6px !important;
        overflow: hidden !important;
    }

    .product-image {
        max-width: 90% !important;
        max-height: 90% !important;
        object-fit: contain !important;
    }

    .product-title {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        line-clamp: 2 !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .product-description {
        font-size: 10px !important;
        color: #64748b !important;
        margin-bottom: 4px !important;
        display: -webkit-box !important;
        line-clamp: 1 !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .product-price {
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #0d9488 !important;
    }
}
html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
/* ==========================================
   MODERN ANDROID APP DESIGN OVERRIDES
   ========================================== */

/* 1. കാർഡുകളുടെ ഗ്രിഡ് ലേഔട്ട് ശരിയാക്കുന്നു */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    background-color: #f8fafc !important;
}

/* 2. കാർഡുകളുടെ അനാവശ്യ നീളം കുറച്ച് ക്ലീൻ ആക്കുന്നു */
.product-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: auto !important; /* നീളം താനേ ഫിറ്റ് ആകാൻ */
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* 3. പ്രൊഡക്റ്റ് ഇമേജ് ബോക്സ് വലുതാക്കുന്നു */
.product-image-container, 
.product-card > div:first-child {
    width: 100% !important;
    height: 140px !important; /* ഇമേജ് ഏരിയയുടെ ഹൈറ്റ് വർദ്ധിപ്പിച്ചു */
    background-color: #f1f5f9 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

/* 4. ചിത്രം വലുതായി കൃത്യമായി ഫിറ്റ് ആക്കുന്നു */
.product-image-container img, 
.product-card img {
    max-width: 85% !important;
    max-height: 85% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important; /* ബാക്ക്ഗ്രൗണ്ടുമായി ചേരാൻ */
}

/* 5. ഓഫർ ബാഡ്ജ് (OFF Tag) ഡിസൈൻ */
.discount-badge, 
.badge {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    z-index: 2 !important;
}

/* 6. വിഷ്‌ലിസ്റ്റ് ഐക്കൺ (Heart) */
.wishlist-btn, 
.favorite-icon {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* 7. പ്രൊഡക്റ്റ് പേര് (Title) */
.product-title,
.product-card h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 4px 0 2px 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
}

/* 8. സബ്‌ടൈറ്റിൽ (Description) */
.product-description,
.product-card p {
    font-size: 11px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
    text-align: left !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    line-clamp: 1;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 9. വില വിഭാഗം (Price Tag) */
.price-container, 
.product-price {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: auto !important;
}

.current-price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0d9488 !important; /* നല്ല ഗ്രീൻ കളർ */
}

.original-price {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}    
.account-menu-list {
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.account-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    background: #fff;
}

.account-menu-item:last-child {
    border-bottom: none;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: #212121;
    font-weight: 500;
}

.account-menu-item i.fa-chevron-right {
    color: #878787;
    font-size: 14px;
}        
.mu-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #087f78; /* വെബ്‌സൈറ്റിന്റെ തീം കളർ */
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.mu-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mu-toast.hidden {
    display: none;
}
/* =====================================================
   SPLASH SCREEN STYLES
===================================================== */
/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-content {
    text-align: center;
}

.splash-content img {
            width: 175px !important;
            height: 175px !important;
            object-fit: cover !important;
            border-radius: 50% !important;
            margin-bottom: 25px;
        }

.splash-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Cart Page Bottom Spacing & Layout Fix */
#cartPage {
    padding-bottom: 100px; /* താഴത്തെ നാവിഗേഷൻ ബാറിന് മുകളിൽ ഒട്ടിപ്പിടിക്കാതിരിക്കാൻ */
}

.pro-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px;
}

.pro-cart-summary {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.pro-checkout-btn {
    width: 100%;
    background-color: #087f78;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
/* =====================================================
   MU HEALTH — MODERN ACCOUNT PAGE
   SECOND SCREEN STYLE
   ===================================================== */


/* =====================================================
   ACCOUNT PAGE BACKGROUND
   ===================================================== */

#accountPage {

    background: #f5f6f9;

    min-height: 100vh;

    padding-bottom: 95px;

}


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

.modern-account-header {

    height: 78px;

    background: #ffffff;

    border-bottom: 1px solid #e6e7ea;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0 20px;

    box-sizing: border-box;

}


.modern-account-header h2 {

    margin: 0;

    font-size: 25px;

    font-weight: 700;

    color: #171c2b;

}


.modern-account-back {

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 15px;

    background: #f2f4f7;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    color: #172033;

    cursor: pointer;

}


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

.modern-account-container {

    width: 100%;

    max-width: 700px;

    margin: 0 auto;

    padding: 20px;

    box-sizing: border-box;

}


/* =====================================================
   PROFILE CARD
   ===================================================== */

.modern-profile-card {

    width: 100%;

    min-height: 108px;

    background: #ffffff;

    border: 1px solid #e2e3e6;

    border-radius: 16px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    box-sizing: border-box;

    margin-bottom: 20px;

}


.modern-profile-info {

    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;

}


.modern-profile-avatar {

    width: 58px;

    height: 58px;

    min-width: 58px;

    border-radius: 50%;

    background: #eaf7f5;

    color: #168d86;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

}


.modern-profile-text {

    min-width: 0;

}


.modern-profile-text h3 {

    margin: 0 0 5px;

    color: #252525;

    font-size: 20px;

    font-weight: 700;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.modern-profile-text p {

    margin: 0;

    color: #858585;

    font-size: 15px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.modern-edit-btn {

    border: 1px solid #d9d9d9;

    background: #ffffff;

    color: #2875c8;

    border-radius: 25px;

    padding: 9px 18px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

}


/* =====================================================
   ORDERS + WISHLIST
   ===================================================== */

.modern-account-shortcuts {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-bottom: 22px;

}


.modern-shortcut-card {

    min-height: 145px;

    background: #ffffff;

    border: 1px solid #dedfe2;

    border-radius: 16px;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    cursor: pointer;

    font-family: inherit;

}


.modern-shortcut-card span {

    color: #202020;

    font-size: 18px;

    font-weight: 600;

}


.modern-shortcut-icon {

    font-size: 31px;

}


.orders-icon {

    color: #2875d5;

}


.wishlist-icon {

    color: #2875d5;

}


/* =====================================================
   ACCOUNT SECTIONS
   ===================================================== */

.modern-account-section {

    background: #ffffff;

    border: 1px solid #dedfe2;

    border-radius: 16px;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);

    overflow: hidden;

    margin-bottom: 22px;

}


.modern-account-section h3 {

    margin: 0;

    padding: 20px 28px 12px;

    color: #8b8b8b;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.7px;

}


/* =====================================================
   ACCOUNT ITEM
   ===================================================== */

.modern-account-item {

    width: 100%;

    min-height: 70px;

    border: none;

    border-top: 1px solid #eeeeee;

    background: #ffffff;

    padding: 0 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-family: inherit;

    cursor: pointer;

    text-align: left;

}


.modern-account-section h3 + .modern-account-item {

    border-top: none;

}


.modern-item-left {

    display: flex;

    align-items: center;

    gap: 18px;

    color: #292929;

    font-size: 17px;

    font-weight: 500;

}


.modern-item-icon {

    width: 25px;

    color: #2875d5;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

}


.modern-arrow {

    color: #858585;

    font-size: 17px;

}


.modern-language-right {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #858585;

    font-size: 15px;

}


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

.modern-logout-btn {

    width: 100%;

    height: 78px;

    border: 1px solid #dedfe2;

    border-radius: 16px;

    background: #ffffff;

    color: #e56b70;

    font-family: inherit;

    font-size: 18px;

    font-weight: 700;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);

    cursor: pointer;

}


/* =====================================================
   TOUCH EFFECT
   ===================================================== */

.modern-account-item:active,
.modern-shortcut-card:active,
.modern-edit-btn:active,
.modern-logout-btn:active {

    transform: scale(0.99);

}


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

@media (max-width: 600px) {

    .modern-account-container {

        padding: 18px 20px;

    }


    .modern-account-header {

        height: 76px;

        padding: 0 20px;

    }


    .modern-account-header h2 {

        font-size: 24px;

    }


    .modern-profile-card {

        padding: 18px;

    }


    .modern-profile-avatar {

        width: 54px;

        height: 54px;

        min-width: 54px;

    }


    .modern-profile-text h3 {

        font-size: 18px;

    }


    .modern-profile-text p {

        font-size: 14px;

    }


    .modern-shortcut-card {

        min-height: 140px;

    }


    .modern-account-item {

        min-height: 68px;

        padding: 0 24px;

    }


    .modern-item-left {

        font-size: 16px;

        gap: 15px;

    }


    .modern-account-section h3 {

        padding-left: 25px;

    }

}


/* =====================================================
   VERY SMALL DEVICES
   ===================================================== */

@media (max-width: 380px) {

    .modern-account-container {

        padding-left: 14px;

        padding-right: 14px;

    }


    .modern-profile-card {

        padding: 15px;

    }


    .modern-edit-btn {

        padding: 8px 14px;

    }


    .modern-profile-text h3 {

        font-size: 16px;

    }


    .modern-profile-text p {

        font-size: 13px;

    }

}
/* =====================================================
   MU HEALTH — 3 ITEM BOTTOM NAVIGATION
   HOME / ORDERS / ACCOUNT
   ===================================================== */


.bottom-nav {
    position: fixed;
    bottom: env(safe-area-inset-bottom);
    left: 0;
    width: 100%;
    height: 75px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

@media (min-width: 768px) {
    #app, 
    .bottom-nav {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
}


.bottom-nav .nav-item {

    border: none;

    background: transparent;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    color: #9ca3af;

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

}


.bottom-nav .nav-item i {

    font-size: 25px;

}


.bottom-nav .nav-item span {

    font-size: 14px;

    font-weight: 500;

}


/* ACTIVE ITEM */

.bottom-nav .nav-item.active {

    color: #178f87;

}


.bottom-nav .nav-item.active span {

    font-weight: 700;

}


/* MOBILE */

@media (max-width: 600px) {

    .bottom-nav {

        height: 82px;

        padding-left: 35px;

        padding-right: 35px;

    }

    #app.with-bottom-nav {
        padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    }


    .bottom-nav .nav-item i {

        font-size: 24px;

    }


    .bottom-nav .nav-item span {

        font-size: 13px;

    }

}
/* =====================================================
   CHECKOUT STEPS & DUAL ROW STYLES
   ===================================================== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f2f5;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-steps .step-num {
    width: 26px;
    height: 26px;
    background: #999;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.checkout-steps .step.active .step-num {
    background: #007bff;
}

.checkout-steps .step-text {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.checkout-steps .step-line {
    flex: 1;
    height: 2px;
    background: #ccc;
    margin: 0 10px;
}

.form-row-dual {
    display: flex;
    gap: 10px;
}

.form-row-dual .form-group {
    flex: 1;
}

.save-continue-btn {
    width: 100%;
    background-color: #0083b0;
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}
/* =====================================================
   PREMIUM CHECKOUT & MULTI-STEP STYLING
   ===================================================== */
.checkout-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.checkout-steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 13px;
}

.checkout-steps .step.active {
    color: #0b7a75;
    font-weight: 600;
}

.checkout-steps .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.checkout-steps .step.active .step-num {
    background: #0b7a75;
    color: #ffffff;
}

.checkout-steps .step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
}

.address-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 18px;
}

.address-header-title i {
    color: #0b7a75;
}

.form-group {
    margin-bottom: 14px;
}

.form-group input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus {
    background: #ffffff;
    border-color: #0b7a75;
    box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.1);
}

.form-row-dual {
    display: flex;
    gap: 12px;
}

.form-row-dual .form-group {
    flex: 1;
}

.save-continue-btn {
    width: 100%;
    height: 52px;
    background: #0b7a75;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(11, 122, 117, 0.2);
    transition: background 0.2s;
}

.save-continue-btn:hover {
    background: #09635e;
}
.product-card .product-image-wrap, 
.product-card img {
    background-color: #ffffff !important;
}
.product-card .product-image-wrap, 
.product-card img {
    background-color: #ffffff !important;
}
#app.with-bottom-nav .pro-product-page {
    padding-bottom: 100px !important;
}
/* COD payment methods */
.payment-methods { display: grid; gap: 12px; margin: 18px 0; }
.payment-method { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid #e2e8f0; border-radius: 16px; background: #fff; cursor: default; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.payment-method--selected { border-color: #0b7a75; background: #f0fdfa; box-shadow: 0 8px 24px rgba(11,122,117,.08); }
.payment-method--cod .payment-method__icon { background: #0b7a75; color: #fff; }
.payment-method--disabled { opacity: .62; background: #f8fafc; }
.payment-method input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e2e8f0; color: #475569; font-size: 18px; flex-shrink: 0; }
.payment-method__content { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.payment-method__title { font-weight: 700; color: #0f172a; font-size: 15px; }
.payment-method__subtitle { font-size: 12px; color: #64748b; line-height: 1.35; }
.payment-method__badge { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #e2e8f0; color: #475569; white-space: nowrap; }
.payment-method__badge--available { background: #dcfce7; color: #166534; }
.payment-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; margin: 0 0 16px; padding: 12px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; }

/* My Orders premium redesign */
.orders-container { padding: 16px; }
.premium-order-card { background: #fff; border: 1px solid #e6edf2; border-radius: 22px; padding: 18px; margin-bottom: 16px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); }
.order-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.order-card__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #0b7a75; text-transform: uppercase; letter-spacing: 0.08em; }
.order-card__header h3 { margin: 0; font-size: 18px; color: #0f172a; }
.order-card__date { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.order-status-badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #e0f2f1; color: #0b7a75; font-size: 12px; font-weight: 700; white-space: nowrap; }
.order-status-badge.is-cancelled { background: #fee2e2; color: #b91c1c; }
.order-items { display: grid; gap: 10px; margin-bottom: 14px; }
.order-card--clickable { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.order-card--clickable:hover { transform: translateY(-1px); }
.order-card__header-right { display: flex; align-items: center; gap: 10px; }
.order-card__arrow { color: #94a3b8; font-size: 14px; }
.order-item-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #f8fafc; }
.order-item-image { width: 58px; height: 58px; border-radius: 14px; background: #eef2f7; display: grid; place-items: center; overflow: hidden; }
.order-item-image img { width: 100%; height: 100%; object-fit: contain; }
.order-item-image i { color: #94a3b8; font-size: 20px; }
.order-item-info { min-width: 0; }
.order-item-info strong { display: block; font-size: 14px; color: #0f172a; line-height: 1.35; }
.order-item-info span { display: block; margin-top: 4px; font-size: 12px; color: #64748b; }
.order-item-price { font-size: 14px; font-weight: 700; color: #0f172a; }
.order-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid #edf2f7; border-bottom: 1px solid #edf2f7; margin-bottom: 12px; color: #475569; font-size: 14px; }
.order-details { border: 0; }
.order-details__toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #0b7a75; font-weight: 700; font-size: 14px; list-style: none; }
.order-details__toggle::-webkit-details-marker { display: none; }
.order-details__content { margin-top: 14px; display: grid; gap: 12px; }
.order-detail-block { background: #f8fafc; border: 1px solid #e8eef4; border-radius: 16px; padding: 14px; }
.order-detail-block h4 { margin: 0 0 10px; font-size: 14px; color: #0f172a; }
.order-detail-block p { margin: 4px 0; font-size: 13px; color: #475569; line-height: 1.45; }
.order-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    overflow: hidden;
}

.timeline-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.45;
    padding: 0 2px;
}
.timeline-step.is-complete { opacity: 1; }
.timeline-step.is-current .timeline-label { color: #0b7a75; font-weight: 700; }
.timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.timeline-step.is-complete .timeline-dot { background: #0b7a75; }
.timeline-step.is-current .timeline-dot { box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.18); }
.timeline-label { font-size: 13px; color: #334155; }
.timeline-time { font-size: 11px; color: #64748b; }
.order-cancelled-note { margin: 0; color: #b91c1c; font-weight: 600; font-size: 13px; }
.order-tracking-details, .order-delivery-details, .order-price-details { display: grid; gap: 4px; }
.order-price-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #475569; padding: 4px 0; }
.order-price-row strong { color: #0f172a; }
.order-detail-actions { display: flex; justify-content: flex-end; }
.order-support-btn { border: 0; background: #0b7a75; color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.orders-empty, .orders-state { text-align: center; padding: 40px 18px; color: #475569; }
.orders-empty__icon, .orders-state i { font-size: 42px; color: #0b7a75; margin-bottom: 12px; }
.orders-empty h3, .orders-state h3 { margin: 0 0 8px; color: #0f172a; }
.orders-state--error i { color: #dc2626; }
@media (max-width: 640px) {
    .order-card__header { flex-direction: column; }
    .order-item-row { grid-template-columns: 48px 1fr; }
    .order-item-price { grid-column: 2; justify-self: start; }
    .order-details__toggle { width: 100%; justify-content: center; }
}

/* My Orders premium visual upgrade */
.orders-container,
.order-details-page-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px;
}

.premium-order-card {
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.premium-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    border-color: #d7e3ea;
}

.order-card--clickable:focus-visible {
    outline: 3px solid rgba(11, 122, 117, 0.28);
    outline-offset: 3px;
}

.order-card__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.order-card__header h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.order-card__date {
    font-size: 13px;
}

.order-card__header-right {
    flex-shrink: 0;
}

.order-status-badge {
    gap: 6px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 800;
}

.order-status-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.order-status-badge.is-placed { background: #e0f2f1; color: #0b7a75; }
.order-status-badge.is-processing { background: #fff7ed; color: #c2410c; }
.order-status-badge.is-shipped { background: #eff6ff; color: #1d4ed8; }
.order-status-badge.is-out-for-delivery { background: #eef2ff; color: #4338ca; }
.order-status-badge.is-delivered { background: #ecfdf5; color: #047857; }
.order-status-badge.is-cancelled { background: #fef2f2; color: #b91c1c; }

.order-card__arrow {
    transition: transform 0.18s ease, color 0.18s ease;
}

.premium-order-card:hover .order-card__arrow {
    transform: translateX(3px);
    color: #0b7a75;
}

.order-items {
    gap: 12px;
    margin-bottom: 16px;
}

.order-item-row {
    grid-template-columns: 68px 1fr auto;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid #edf2f7;
}

.order-item-image {
    width: 68px;
    height: 68px;
    border-radius: 16px;
}

.order-item-image i {
    font-size: 22px;
}

.order-item-info strong {
    font-size: 15px;
    font-weight: 700;
}

.order-item-info span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
}

.order-item-price {
    font-size: 15px;
    font-weight: 800;
}

.order-summary-row {
    padding: 14px 0 0;
    border-top: 1px solid #edf2f7;
    font-size: 14px;
    font-weight: 600;
}

.order-summary-row strong {
    font-size: 18px;
    font-weight: 800;
}

.order-detail-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.order-detail-block h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.order-detail-block p {
    font-size: 13px;
    line-height: 1.5;
}

.order-price-row {
    font-size: 14px;
    padding: 6px 0;
}

.order-price-row strong {
    font-weight: 800;
}

.timeline-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.42;
    padding: 0 2px;
}

.timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #cbd5e1;
    z-index: 0;
}

.timeline-step.is-complete:not(:last-child)::after {
    background: #0b7a75;
}

.timeline-step.is-complete {
    opacity: 1;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.timeline-dot i {
    font-size: 7px;
    color: #ffffff;
    line-height: 1;
}

.timeline-step.is-complete .timeline-dot {
    background: #0b7a75;
}

.timeline-step.is-current .timeline-dot {
    box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.16);
}

.timeline-label {
    font-size: 11px;
    font-weight: 600;
    display: block;
    margin-top: 8px;
    line-height: 1.2;
}

.timeline-date {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.2;
}

.order-tracking-details,
.order-delivery-details,
.order-price-details {
    gap: 4px;
}

.order-detail-block:empty {
    display: none;
}

.order-detail-actions {
    margin-top: 4px;
}

.order-support-btn {
    border-radius: 14px;
    padding: 11px 16px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(11, 122, 117, 0.22);
}

.orders-empty,
.orders-state {
    padding: 48px 20px;
    border-radius: 24px;
    border: 1px dashed #d9e2e8;
}

.orders-empty__icon,
.orders-state i {
    font-size: 46px;
    margin-bottom: 14px;
}

.orders-empty h3,
.orders-state h3 {
    font-size: 18px;
    font-weight: 800;
}

.orders-empty p,
.orders-state p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.orders-state--loading i {
    color: #0b7a75;
}

.orders-state--loading .fa-spinner {
    animation: orders-spin 0.8s linear infinite;
}

@keyframes orders-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .orders-container,
    .order-details-page-content {
        padding: 12px;
    }

    .premium-order-card {
        padding: 16px;
        border-radius: 20px;
    }

    .order-card__header {
        flex-direction: column;
        gap: 10px;
    }

    .order-card__header-right {
        width: 100%;
        justify-content: space-between;
    }

    .order-item-row {
        grid-template-columns: 56px 1fr;
        gap: 12px;
    }

    .order-item-image {
        width: 56px;
        height: 56px;
    }

    .order-item-price {
        grid-column: 2;
        justify-self: start;
        margin-top: 4px;
    }

    .order-detail-block {
        padding: 14px;
    }

    .order-detail-actions {
        justify-content: stretch;
    }

    .order-support-btn {
        width: 100%;
    }
}

.order-support-btn:hover {
    background: #08645f;
}

/* Compact My Orders cards */
.order-card--clickable.premium-order-card {
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.order-card--clickable.premium-order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.order-card__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.order-card__thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #eef2f7;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.order-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-card__thumb i {
    color: #94a3b8;
    font-size: 18px;
}

.order-card__info {
    min-width: 0;
    flex: 1;
}

.order-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-card__meta {
    margin: 3px 0 0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-card__summary {
    margin: 4px 0 0;
    font-size: 12px;
    color: #334155;
    font-weight: 700;
    line-height: 1.3;
}

.order-card__aside {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.order-status-badge {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 800;
}

.order-status-badge::before {
    width: 6px;
    height: 6px;
}

.order-card__arrow {
    font-size: 12px;
}

@media (max-width: 640px) {
    .order-card--clickable.premium-order-card {
        padding: 10px 12px;
    }

    .order-card__thumb {
        width: 64px;
        height: 64px;
    }

    .order-card__title {
        font-size: 13px;
    }

    .order-card__meta {
        font-size: 10px;
    }

    .order-card__summary {
        font-size: 11px;
    }

    .order-card__aside {
        gap: 6px;
    }

    .order-status-badge {
        padding: 3px 7px;
        font-size: 9px;
    }
}
