:root {
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --primary: #087fb5;
    --primary-dark: #07517b;
    --accent: #f5a623;
    --navy: #122b49;
    --ink: #203241;
    --muted: #71808b;
    --line: #e5edf1;
    --soft: #f5f8fa
}

/* Floating customer-support chatbot */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 1100; font-family: var(--font-body); }
.chatbot-toggle { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border: 0; border-radius: 28px; background: linear-gradient(135deg, #398a49, #256c39); color: #fff; box-shadow: 0 9px 24px rgba(37, 108, 57, .3); cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.chatbot-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 108, 57, .4); }
.chatbot-toggle i { font-size: 21px; }
.chatbot-panel { position: absolute; right: 0; bottom: 67px; display: flex; width: min(360px, calc(100vw - 30px)); height: min(500px, calc(100vh - 110px)); flex-direction: column; overflow: hidden; border: 1px solid #deeadf; border-radius: 17px; background: #fff; box-shadow: 0 16px 45px rgba(21, 61, 43, .22); }
.chatbot-panel[hidden] { display: none; }
.chatbot-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; background: linear-gradient(135deg, #226b3b, #3d8b4c); color: #fff; }
.chatbot-agent { display: flex; align-items: center; gap: 10px; }
.chatbot-agent > span:last-child { display: grid; gap: 2px; }
.chatbot-agent strong { font-size: 15px; }
.chatbot-agent small { color: #d9f0dc; font-size: 11px; }
.chatbot-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #ffffff26; font-size: 17px; }
.chatbot-close { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 16px; }
.chatbot-messages { display: flex; flex: 1; flex-direction: column; gap: 9px; overflow-y: auto; padding: 16px 13px; background: #f6faf5; }
.chat-message { max-width: 84%; padding: 10px 12px; border-radius: 12px; color: #2e4c38; font-size: 13px; line-height: 1.5; }
.chat-message.bot { align-self: flex-start; border-top-left-radius: 3px; background: #e5f3e3; }
.chat-message.user { align-self: flex-end; border-top-right-radius: 3px; background: #398a49; color: #fff; }
.chatbot-quick-replies { display: flex; gap: 6px; overflow-x: auto; padding: 9px 11px 3px; background: #fff; }
.chatbot-quick-replies button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #cfe2d0; border-radius: 20px; background: #fff; color: #28733a; cursor: pointer; font: inherit; font-size: 11px; }
.chatbot-quick-replies button:hover { background: #eff8ee; }
.chatbot-form { display: flex; gap: 7px; padding: 10px 11px 12px; background: #fff; }
.chatbot-form input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid #d8e5d9; border-radius: 22px; outline: 0; font: inherit; font-size: 13px; }
.chatbot-form input:focus { border-color: #5ba867; box-shadow: 0 0 0 3px #5ba8671c; }
.chatbot-form button { width: 38px; border: 0; border-radius: 50%; background: #398a49; color: #fff; cursor: pointer; }
@media (max-width: 520px) { .chatbot { right: 14px; bottom: 14px; } .chatbot-toggle { width: 54px; justify-content: center; padding: 0; } .chatbot-toggle span { display: none; } .chatbot-panel { right: -1px; bottom: 66px; } }

/* Ayurvedic storefront layer: keeps the existing FlipMart layout while giving it a natural wellness identity. */
.brand img {
    display: block;
    max-width: 245px;
}



.category-nav {
    background: linear-gradient(90deg, #226b3b, #3d8b4c);
}

.nav-pill:hover,
.nav-pill.active,
.nav-dropdown.open .nav-pill {
    border-color: #2d7040;
    background: #2d7040;
    box-shadow: 0 5px 13px rgba(45, 112, 64, .28);
}

.ayurvedic-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
    margin-bottom: 22px;
    padding: 28px 48px;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(115deg, #153d2b, #397c47 58%, #76a949);
    box-shadow: 0 14px 28px rgba(24, 67, 40, .16);
}

.ayurvedic-strip span,
.wellness-banner span {
    color: #d9f0c7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.ayurvedic-strip h1 {
    margin: 8px 0 7px;
    font-size: 34px;
    letter-spacing: -1px;
}

.ayurvedic-strip p,
.wellness-banner p {
    margin: 0 0 17px;
    color: #edf7e9;
}

.ayurvedic-strip a,
.wellness-banner a {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 6px;
    background: #fff;
    color: #276c3b;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.ayurvedic-strip-icon {
    margin-right: 7%;
    color: #d4eeae;
    font-size: 135px;
    opacity: .35;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 22px 0 30px;
    padding: 18px 10px;
    border: 1px solid #e2ebdf;
    border-radius: 12px;
    background: #fff;
}



.trust-row div:last-child {
    border-right: 0;
}

.trust-row i {
    grid-row: span 2;
    color: #39844a;
    font-size: 23px;
}

.trust-row b {
    color: #275a35;
    font-size: 12px;
}

.trust-row small {
    color: #819086;
    font-size: 10px;
}

.category-icon {
    color: #39844a;
}

.category:hover .category-icon {
    background: #eef8e9;
    color: #246c39;
}

.product-category i {
    color: #39844a;
}

.buy-now {
    background: linear-gradient(135deg, #398a49, #256c39);
    box-shadow: 0 5px 12px rgba(46, 122, 63, .18);
}

.buy-now:hover {
    background: #205e32;
}

.wellness-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 155px;
    margin: 30px 0 15px;
    padding: 28px 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(110deg, #936b2e, #c59b4a);
}

.wellness-banner h2 {
    margin: 7px 0 5px;
    font-size: 27px;
}

.wellness-banner>i {
    margin-right: 10%;
    color: #fff4cd;
    font-size: 82px;
    opacity: .55;
}

@media(max-width:767px) {
    .brand img {
        width: 112px
    }

    .ayurvedic-strip {
        min-height: 175px;
        padding: 25px 22px
    }

    .ayurvedic-strip h1 {
        font-size: 26px
    }

    .ayurvedic-strip-icon {
        font-size: 80px;
        margin-right: 0
    }

    .trust-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
    }

    .trust-row div {
        padding: 4px 9px;
        border-right: 0
    }

    .wellness-banner {
        padding: 24px 22px
    }

    .wellness-banner h2 {
        font-size: 22px
    }

    .wellness-banner>i {
        font-size: 55px;
        margin-right: 0
    }
}

/* Creative checkout */
.checkout-page {
    min-height: 640px;
    padding: 36px 0 72px;
    background: linear-gradient(135deg, #f5fafb, #eef6f1);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 22px;
    align-items: start;
}

.checkout-main {
    display: grid;
    gap: 20px;
}

.checkout-panel,
.checkout-summary {
    overflow: hidden;
    border: 1px solid #e1eaed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 51, 76, .1);
}

.checkout-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #e7edef;
}

.checkout-panel-head h2,
.checkout-summary h2 {
    margin: 0;
    color: #172b4d;
    font-size: 15px;
}

.checkout-panel-head h2 span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 7px;
    background: #087fb5;
    color: #fff;
    font-size: 12px;
}

.add-address {
    padding: 9px 12px;
    border: 1px solid #087fb5;
    border-radius: 8px;
    background: #fff;
    color: #087fb5;
    cursor: pointer;
    transition: .2s;
}

.add-address:hover {
    background: #087fb5;
    color: #fff;
}

.address-box {
    position: relative;
    margin: 17px 20px 27px;
    padding: 15px 13px 12px;
    border: 1px solid #087fb5;
    border-radius: 10px;
    background: #f1f8fa;
    color: #31515c;
}

.address-box strong {
    margin-right: 8px;
    color: #172b4d;
    font-size: 16px;
}

.address-box p {
    margin: 10px 0 0;
    font-size: 14px;
}

.address-tag,
.default-tag {
    margin-left: 4px;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 8px;
}

.address-tag {
    background: #e9eef1;
    color: #536873;
}

.default-tag {
    background: #dff5e8;
    color: #168b42;
}

.address-actions {
    position: absolute;
    top: 14px;
    right: 12px;
    display: flex;
    gap: 12px;
}

.address-actions button {
    border: 0;
    background: transparent;
    color: #087fb5;
    cursor: pointer;
}

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

.no-addresses {
    margin: 20px;
    color: var(--muted);
    text-align: center;
}

.address-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.address-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.address-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 43, 31, .62);
    opacity: 0;
    transition: opacity .25s;
}

.address-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 530px);
    height: 100%;
    overflow-y: auto;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -8px 0 30px #0002;
}

.address-modal.is-open .address-modal-backdrop {
    opacity: 1;
}

.address-modal.is-open .address-drawer {
    transform: translateX(0);
}

.address-drawer-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px 14px;
}

.address-drawer-head h2 {
    margin: 0;
    color: #172b4d;
    font-size: 20px;
}

.address-drawer-head p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.address-close {
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f2;
    cursor: pointer;
}

.address-location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 0 22px 10px;
}

.location-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border: 1px solid #d8e0d9;
    border-radius: 9px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.location-option.selected {
    border-color: #77bb81;
    background: #f2faf3;
}

.location-option>i {
    color: #168b42;
    font-size: 18px;
}

.location-option span {
    display: grid;
    gap: 3px;
}

.location-option small {
    color: var(--muted);
    font-size: 9px;
}

.map-picker {
    display: none;
    margin: 0 22px 12px;
    padding: 8px;
    border-radius: 8px;
    background: #f1f5f2;
    color: #60727b;
    font-size: 9px;
}

.map-picker.visible {
    display: block;
}

#address-map {
    height: 220px;
    margin: 7px 0 5px;
    border: 1px solid #d6e0da;
    border-radius: 6px;
    overflow: hidden;
}

.map-picker>small {
    display: block;
    text-align: center;
}

.map-picker>small i {
    color: #168b42;
}

.address-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 22px;
}

.address-form-grid label,
.address-form-grid fieldset {
    display: grid;
    gap: 5px;
    border: 0;
    padding: 0;
    color: #31515c;
    font-weight: 600;
}

.address-form-grid .full-width {
    grid-column: 1 / -1;
}

.address-form-grid input,
.address-form-grid textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d6e0da;
    border-radius: 8px;
    outline: 0;
    color: #203241;
    font: inherit;
    font-weight: 500;
    font-size: 13px;
}

.address-form-grid textarea {
    min-height: 52px;
    resize: vertical;
}

.address-form-grid input:focus,
.address-form-grid textarea:focus {
    border-color: #42a553;
    box-shadow: 0 0 0 3px #42a55318;
}

.address-form-grid legend {
    padding: 0;
    margin-bottom: 5px;
}

.address-type-options {
    display: flex;
    gap: 6px;
}

.address-type-options label {
    display: block;
    padding: 9px 8px;
    border: 1px solid #d6e0da;
    border-radius: 7px;
    font-size: 10px;
    cursor: pointer;
}

.address-type-options label:has(input:checked) {
    border-color: #42a553;
    color: #168b42;
    background: #f2faf3;
}

.address-type-options input {
    display: none;
}

.default-address {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 22px 20px;
    color: var(--muted);
    font-size: 10px;
}

.address-drawer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 13px 22px;
    border-top: 1px solid #e6ece8;
}

.address-drawer-actions button {
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
}

.address-cancel {
    border: 1px solid #d6e0da;
    background: #fff;
    color: #31515c;
}

.address-save {
    border: 0;
    background: #2d8537;
    color: #fff;
    font-weight: 700;
}

@media(max-width:520px) {

    .address-location-options,
    .address-form-grid {
        grid-template-columns: 1fr;
    }

    .address-form-grid .full-width {
        grid-column: auto;
    }
}

.payment-options {
    padding: 17px 20px 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 13px;
    border: 1px solid #d8e3e7;
    border-radius: 10px;
    color: #087fb5;
    cursor: pointer;
    transition: .2s;
}

.payment-option.selected {
    border-color: #087fb5;
    background: #f1f8fa;
    box-shadow: 0 4px 12px #087fb51c;
}

.payment-option input {
    display: none;
}

.payment-icon {
    color: #168b42;
    font-size: 22px;
}

.payment-icon.online {
    color: #328de0;
}

.payment-option div {
    display: grid;
    gap: 4px;
}

.payment-option strong {
    font-size: 14px;
    font-weight: 700;
}

.payment-option small {
    color: #53707c;
    font-size: 14px;
}

.payment-check {
    margin-left: auto;
    color: #087fb5;
    font-size: 16px;
}

.place-order {
    width: calc(100% - 40px);
    margin: 5px 20px 17px;
    padding: 13px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #087fb5, #075f89);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 16px #087fb533;
    transition: .2s;
}

.place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px #087fb54a;
}

.place-order i {
    margin-right: 8px;
}

.checkout-summary h2 {
    padding: 18px 20px;
    border-bottom: 1px solid #e7edef;
}

.checkout-summary h2 i {
    margin-right: 7px;
    color: #087fb5;
}

.checkout-item {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    margin: 14px 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid #dce5e8;
}

.checkout-item img {
    width: 42px;
    height: 46px;
    object-fit: contain;
}

.checkout-item div {
    display: grid;
    gap: 4px;
}

.checkout-item strong {
    color: #536873;
}

.checkout-item small {
    color: #71808a;
    font-size: 10px;
}

.checkout-item>b {
    color: #087fb5;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 20px;
    color: #687b85;
    font-size: 12px;
}

.checkout-summary-row strong {
    color: #6d6a7c;
}

.checkout-summary-row b {
    color: #168b42;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
    padding: 15px 0;
    border-top: 1px solid #dce5e8;
    color: #6d6a7c;
    font-size: 17px;
    font-weight: 700;
}

.checkout-total strong {
    color: #087fb5;
}

.secure-note {
    margin: 0;
    padding: 14px 20px 19px;
    border-top: 1px dashed #dce5e8;
    color: #71808a;
    font-size: 9px;
}

@media(max-width:767px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-panel-head {
        gap: 10px;
    }

    .address-actions {
        position: static;
        float: right;
        margin-top: -18px;
    }
}

/* Keep Ayurvedic header colors after all legacy theme rules. */
.category-nav {
    background: linear-gradient(90deg, #226b3b, #3d8b4c) !important;
}

.search button {
    background: linear-gradient(135deg, #398a49, #256c39) !important;
}

.search:focus-within {
    border-color: #78aa79 !important;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .12) !important;
}

.search i {
    color: #75a17a !important;
}

/* Premium MD Arogyam storefront direction */
:root {
    --forest: #173f2b;
    --forest-2: #2d6847;
    --sage: #e8f0e2;
    --cream: #fbfaf5;
    --saffron: #c58b42;
    --text: #21352b;
    --muted: #6e7c72;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.preloader-logo-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(310px, 72vw);
    min-height: 88px;
    padding: 16px 22px;
    border: 1px solid rgba(197, 139, 66, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 38px rgba(23, 63, 43, .12);
    animation: preloader-logo-in .8s ease both;
}

.preloader-logo {
    display: block;
    width: min(245px, 100%);
    height: auto;
    filter: saturate(.78) drop-shadow(0 5px 5px rgba(23, 63, 43, .14));
}

@keyframes preloader-logo-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.96);
    }

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

body {
    background: var(--cream);
    color: var(--text);

}

.site-header {
    background: #fffdf8;
    box-shadow: 0 5px 24px rgba(32, 60, 42, .06);
}

.utility {
    background: var(--forest);
    color: #dce9d9;
    font-size: 10px;
    letter-spacing: .08em;
}

.utility-inner {
    min-height: 34px;
}

.utility-inner>span i {
    color: #e1b568;
    margin-right: 6px;
}

.utility-inner a {
    color: #dce9d9;
    opacity: .88;
}

.mainbar {
    min-height: 82px;
}

.brand img {
    width: 178px;
    max-width: 178px;
    filter: saturate(.7);
}

.search {
    height: 44px;
    border: 1px solid #dbe5d8;
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
}

.search button {
    border-radius: 20px !important;
    margin: 3px;
    height: 36px;
    background: var(--forest) !important;
}

.search input {
    font-size: 12px;
}

.actions a {
    color: var(--forest);
}



.category-nav {
    background: var(--forest) !important;
}

.nav-pill {
    letter-spacing: .03em;
    font-size: 11px;
}

.premium-hero {
    position: relative;
    width: 100vw;
    height: 460px;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    overflow: hidden;
    background: var(--forest);
    box-shadow: 0 18px 40px rgba(24, 61, 41, .18);
}

.premium-hero .hero-slides {
    border-radius: 4px;
}

.premium-hero .hero-slide {
    align-items: center;
    justify-content: space-between;
    padding: 52px max(9%, calc((100vw - 1180px) / 2));
    background: radial-gradient(circle at 78% 35%, #426d4d 0, #234b34 28%, #173f2b 65%);
}

.premium-hero .hero-slide:nth-child(2) {
    background: radial-gradient(circle at 76% 40%, #d3a061 0, #835b35 23%, #402d24 65%);
}

.premium-hero .hero-slide:nth-child(3) {
    background: radial-gradient(circle at 77% 40%, #9da970 0, #47664a 25%, #1d4330 65%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 510px;
    color: #fff;
}

.eyebrow {
    display: block;
    color: #d5b46c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-copy h1 {
    margin: 13px 0 13px;
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hero-copy h1 em {
    color: #e3bd78;
    font-weight: 500;
}

.hero-copy p {
    max-width: 370px;
    margin: 0 0 24px;
    color: #e5ede4;
    font-size: 14px;
    line-height: 1.7;
}

.hero-copy p strong {
    color: #f1d28e;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    color: var(--forest);
    background: #fffdf5;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.hero-cta i {
    color: var(--saffron);
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 245px;
    height: 245px;
    margin-right: 8%;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #f6d998;
}

.hero-art:before,
.hero-art:after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
}

.hero-art:before {
    inset: 18px;
}

.hero-art:after {
    inset: -19px;
}

.hero-art>i {
    font-size: 110px;
    opacity: .9;
}

.hero-art span {
    position: absolute;
    bottom: 23px;
    right: -26px;
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #dfb96e;
    color: var(--forest);
    font: 600 25px var(--font-display);
}

.hero-art small {
    display: block;
    font: 700 8px 'DM Sans', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.slider {
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff22;
    color: #fff;
    border: 1px solid #ffffff55;
}

.trust-row {
    margin: 22px 0 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #dfe8da;
}

.trust-row i {
    color: var(--saffron);
}

.trust-row b {
    color: var(--forest);
}

.trust-row small {
    color: var(--muted);
}

.section-block {
    margin-bottom: 54px;
}

.section-heading h2 {
    color: var(--forest);
    font: 30px var(--font-display);
}

.section-heading h2 span {
    color: var(--saffron);
}

.section-heading-copy p {
    color: var(--muted);
}

.category {
    border: 1px solid #e1e9dc;
    border-radius: 4px;
    background: #fffdf8;
}

.category:hover {
    border-color: #b9ceb2;
    transform: translateY(-4px);
}

.category-icon {
    background: var(--sage);
}

.products {
    row-gap: 18px !important;
}

.product-card {
    border: 1px solid #e3eadf;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    transition: .25s;
}

.product-card:hover {
    box-shadow: 0 16px 30px rgba(41, 75, 51, .1);
    transform: translateY(-4px);
}

.product-image {
    background: #f2f4eb;
}

.product-image em {
    background: var(--forest);
}

.product-info h3 {
    color: var(--forest);
    font-size: 17px;
}

.product-info p {
    color: var(--muted);
}

.product-category {
    color: var(--saffron);
}

.buy-now {
    background: var(--forest) !important;
    border-radius: 2px;
    box-shadow: none;
}

.buy-now:hover {
    background: var(--forest-2) !important;
}

.wellness-banner {
    border-radius: 4px;
    background: linear-gradient(110deg, #b47e38, #d3aa67);
}



.brand-note {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 26px;
    margin: 0 0 54px;
    padding: 28px 0;
    border-top: 1px solid #dfe8da;
    border-bottom: 1px solid #dfe8da;
}

.brand-note p {
    max-width: 630px;
    margin: 0;
    color: var(--forest);
    font: 500 22px/1.4 var(--font-display);
}

.brand-note a {
    color: var(--forest);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.brand-note a i {
    color: var(--saffron);
    margin-left: 8px;
}

.site-footer {
    background: var(--forest);
}

.site-footer h2,
.site-footer h3,
.site-footer .footer-caption,
.site-footer .footer-kicker {
    color: #fff;
}

.site-footer p,
.site-footer a,
.site-footer .footer-links a {
    color: #bfd1c0;
}

.site-footer .footer-intro {
    border-bottom-color: #ffffff25;
}

.footer-subscribe label {
    color: #e2bd78;
}

.subscribe-field {
    background: #fff;
    border: 0;
}

.subscribe-field button {
    background: var(--saffron);
}

@media(max-width:767px) {
    .mainbar {
        min-height: 66px;
    }

    .brand img {
        width: 135px;
    }

    .premium-hero {
        width: 100vw;
        height: 440px;
        margin-top: 0px;
        margin-left: calc(50% - 50vw);
    }

    .premium-hero .hero-slide {
        padding: 35px 24px;
        align-items: flex-start;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-copy p {
        font-size: 12px;
    }

    .hero-art {
        position: absolute;
        right: 20px;
        bottom: 25px;
        width: 145px;
        height: 145px;
        margin: 0;
    }

    .hero-art>i {
        font-size: 65px;
    }

    .hero-art span {
        width: 70px;
        height: 70px;
        right: -12px;
        bottom: -12px;
        font-size: 18px;
    }

    .hero-art small {
        font-size: 6px;
    }

    .trust-row {
        margin-bottom: 32px;
    }

    .brand-note {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .brand-note p {
        font-size: 20px;
    }

    .brand-note a {
        margin-top: 5px;
    }

    .section-heading h2 {
        font-size: 26px;
    }
}

.nav-pill:hover,
.nav-pill.active,
.nav-dropdown.open .nav-pill {
    border-color: transparent !important;
    background: transparent !important;
}

.category-scroll-btn:hover:not(:disabled) {
    background: #398a49 !important;
    color: #fff !important;
}

/* Final typography system: expressive serif headings with a clean, friendly UI face. */
:root {
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}



h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy h1,
.section-heading h2,
.footer-intro-copy h2,
.cart-items-card h1,
.order-summary h2,
.checkout-summary h2,
.address-drawer-head h2,
.wellness-banner h2 {
    letter-spacing: -.025em;
}

.hero-copy h1 {
    font-weight: 600;
    letter-spacing: -.045em;
}

.section-heading h2,
.wellness-banner h2 {
    font-weight: 600;
}

/* Final typography system: expressive serif headings with a clean, friendly UI face. */
:root {
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}



h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy h1,
.section-heading h2,
.footer-intro-copy h2,
.footer h2,
.cart-items-card h1,
.order-summary h2,
.checkout-summary h2,
.address-drawer-head h2,
.wellness-banner h2 {
    letter-spacing: -.025em;
}

.hero-copy h1 {
    font-weight: 600;
    letter-spacing: -.045em;
}

.section-heading h2,
.wellness-banner h2 {
    font-weight: 600;
}



/* Trust promises: a more tactile, premium brand moment */
.trust-row {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 26px 0 52px;
    padding: 14px;
    border: 1px solid #dfe8d7 !important;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffef9, #f4f8f0) !important;
    box-shadow: 0 16px 34px rgba(40, 78, 48, .08) !important;
}

.trust-row::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 48px;
    height: 14px;
    border-radius: 0 0 12px 12px;
    background: var(--saffron);
    content: '';
    transform: translateX(-50%);
}




.trust-row i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e7c98f;
    border-radius: 50%;
    background: #fff8e8 !important;
    color: var(--saffron) !important;
    font-size: 17px;
}

.trust-row b {
    color: var(--forest) !important;
    font-size: 12px;
    letter-spacing: .01em;
}

.trust-row small {
    color: var(--muted) !important;
    font-size: 9px;
    line-height: 1.4;
}

.trust-row>div:nth-child(2) i {
    background: #edf6ee !important;
    border-color: #cce1cc;
    color: #398a49 !important;
}

.trust-row>div:nth-child(3) i {
    background: #eef4f7 !important;
    border-color: #cadde3;
    color: #548292 !important;
}

.trust-row>div:nth-child(4) i {
    background: #f7eef7 !important;
    border-color: #e3cee3;
    color: #95628f !important;
}

@media (max-width: 767px) {
    .trust-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-bottom: 32px;
        padding: 9px;
    }

    .trust-row>div {
        min-height: 92px;
        padding: 12px 10px;
    }

    .trust-row b {
        font-size: 11px;
    }

    .trust-row small {
        font-size: 8px;
    }
}

/* Image-based promotional banners used by the home-page hero carousel. */
.premium-hero {
    height: auto;
    aspect-ratio: 2500 / 600;
    min-height: 0;
    background: #edf3d5;
}

.premium-hero .hero-slide {
    padding: 0;
    background: transparent;
}

.premium-hero .hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.premium-hero .hero-copy,
.premium-hero .hero-art {
    display: none;
}

@media (max-width: 767px) {
    .premium-hero {
        height: 190px;
        aspect-ratio: auto;
    }

    .premium-hero .hero-banner-image {
        object-position: center;
    }
}

/* Restore compact dark marquee trust strip */
.trust-row {
    display: block !important;
    margin: 26px 0 52px;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0;
    background: #2d6125 !important;
    box-shadow: 0 12px 26px rgba(32, 74, 28, .16) !important;
}

.trust-row::before {
    display: none;
}

.trust-panel {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.trust-track>div {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
    height: auto;
    min-height: 44px;
    padding: 0 40px;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left;
    transform: none !important;
}

.trust-track>div::before,
.trust-track>div::after {
    display: none;
}

.trust-track>div>i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin: 0;
    border: 0 !important;
    border-radius: 8px;
    background: #f3c95d !important;
    box-shadow: none;
    color: #2d6125 !important;
    font-size: 20px;
}

.trust-track>div:nth-child(2)>i {
    background: #20bf37 !important;
    color: #fff !important;
}

.trust-track>div:nth-child(3)>i {
    background: #edb548 !important;
    color: #2d6125 !important;
}

.trust-track>div:nth-child(4)>i {
    background: #b8d86a !important;
    color: #2d6125 !important;
}

.trust-track span {
    display: grid;
    gap: 3px;
    z-index: auto;
}

.trust-track b {
    color: #fff !important;
    font-size: 15px;
    white-space: nowrap;
}

.trust-track small {
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, .65) !important;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}

@media (max-width:767px) {
    .trust-row {
        margin: 18px 0 34px;
    }

    .trust-track {
        min-height: 82px;
        animation-duration: 22s;
    }

    .trust-track>div {
        min-width: 245px;
        padding: 0 25px;
    }

    .trust-track b {
        font-size: 13px;
    }

    .trust-track small {
        font-size: 9px;
    }
}

/* Final static trust panel */
.trust-row {
    display: block !important;
    margin: 28px 0 52px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #d9e8cb !important;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at -2% 0%, #b9df88 0 12%, transparent 12.2%),
        radial-gradient(ellipse at 102% 100%, #b9df88 0 12%, transparent 12.2%),
        #fff !important;
    box-shadow: 0 16px 30px rgba(65, 108, 35, .14) !important;
}

.trust-row::before {
    display: none;
}

.trust-panel {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: inherit;
    background: transparent;
    box-shadow: none;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    min-height: 275px;
    animation: none !important;
    transform: none !important;
}

.trust-row:hover .trust-track {
    animation-play-state: running;
}

.trust-track>div,
.trust-track>div[aria-hidden="true"] {
    display: flex;
    min-width: 0;
    height: 275px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 22px 38px;
    border: 0 !important;
    border-right: 1px solid #e4ecdf !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    transform: none !important;
}

.trust-track>div:nth-child(4) {
    border-right: 0 !important;
}

.trust-track>div:nth-child(n+5) {
    display: none !important;
}

.trust-track>div::before {
    display: block;
    top: 26px;
    right: 22px;
    width: 24px;
    height: 24px;
    opacity: .75;
}

.trust-track>div::after {
    display: none;
}

.trust-track>div>i {
    z-index: 1;
    width: 102px;
    height: 102px;
    margin: 0 auto 18px;
    border: 2px solid #dbeacb !important;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #eff8df) !important;
    box-shadow: 0 7px 15px rgba(96, 145, 44, .13), inset 0 0 0 8px rgba(255, 255, 255, .6);
    color: #4f8425 !important;
    font-size: 39px;
}

.trust-track>div:nth-child(2)>i,
.trust-track>div:nth-child(3)>i,
.trust-track>div:nth-child(4)>i {
    background: linear-gradient(145deg, #fff, #eff8df) !important;
    color: #4f8425 !important;
}

.trust-track span {
    z-index: 1;
    display: grid;
    gap: 9px;
}

.trust-track b {
    color: #123e2d !important;
    font-size: 21px;
    letter-spacing: -.035em;
    white-space: nowrap;
}

.trust-track b::after {
    display: block;
    width: 36px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 5px;
    background: #75b831;
    content: '';
}

.trust-track small {
    max-width: 220px;
    margin: 0 auto;
    color: #5d6b68 !important;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
}

@media (max-width:767px) {
    .trust-row {
        margin: 18px 0 34px;
        border-radius: 20px;
    }

    .trust-track {
        grid-template-columns: repeat(2, 1fr);
        min-height: 410px;
    }

    .trust-track>div {
        height: 205px !important;
        padding: 18px 8px 20px !important;
    }

    .trust-track>div:nth-child(2) {
        border-right: 0 !important;
    }

    .trust-track>div>i {
        width: 68px;
        height: 68px;
        margin-bottom: 10px;
        font-size: 27px;
    }

    .trust-track b {
        font-size: 15px;
    }

    .trust-track b::after {
        width: 26px;
        height: 3px;
        margin-top: 8px;
    }

    .trust-track small {
        font-size: 10px;
    }
}

/* Reference-inspired wellness promise cards */
.trust-row {
    display: block !important;
    margin: 28px 0 54px;
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}


.trust-marquee::before,
.trust-marquee::after {
    position: absolute;
    z-index: 3;
    color: rgba(105, 153, 34, .12);
    content: '⌁';
    font-size: 90px;
    line-height: 1;
    pointer-events: none;
}





.trust-track>div {
    position: relative;
    display: flex;
    min-width: 25%;
    height: 340px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 26px 34px 60px;
    overflow: hidden;
    border-right: 1px solid #e1e6d8 !important;
    text-align: center;
}

.trust-track>div::before {
    position: absolute;
    top: 28px;
    right: 20px;
    width: 25px;
    height: 25px;
    background-image: radial-gradient(#98c949 2px, transparent 2px);
    background-size: 8px 8px;
    content: '';
    opacity: .85;
}

.trust-track>div::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 58px;
    border-radius: 50% 50% 0 0 / 50% 50% 0 0;
    background: linear-gradient(180deg, #83b530, #659c1d);
    content: '';
    transform: translateY(28px);
}

.trust-track>div>i {
    z-index: 1;
    width: 112px;
    height: 112px;
    margin: 0 auto 21px;
    border: 2px solid #6d9c26 !important;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #eff7dc) !important;
    box-shadow: 0 10px 16px rgba(101, 145, 39, .18), inset 0 0 0 8px rgba(255, 255, 255, .55);
    color: #4e7f18 !important;
    font-size: 42px;
}

.trust-track>div:nth-child(2)>i,
.trust-track>div:nth-child(3)>i,
.trust-track>div:nth-child(4)>i {
    background: linear-gradient(145deg, #fff, #eff7dc) !important;
    color: #4e7f18 !important;
}

.trust-track span {
    z-index: 1;
    display: grid;
    gap: 12px;
}

.trust-track b {
    color: #193d18 !important;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.trust-track small {
    max-width: 220px;
    margin: auto;
    color: #555 !important;
    font-size: 16px;
    line-height: 1.45;
    white-space: normal;
}

@media (max-width: 767px) {
    .trust-marquee {
        border-radius: 20px;
    }

    .trust-track {
        min-height: 285px;
        animation-duration: 27s;
    }

    .trust-track>div {
        min-width: 82vw;
        height: 285px;
        padding: 22px 24px 48px;
    }

    .trust-track>div>i {
        width: 86px;
        height: 86px;
        margin-bottom: 16px;
        font-size: 31px;
    }

    .trust-track b {
        font-size: 22px;
    }

    .trust-track small {
        font-size: 13px;
    }
}

/* Scrolling wellness promises */
.trust-row {
    display: block !important;
    margin: 26px 0 52px;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0;
    background: #2d6125 !important;
    box-shadow: none !important;
}

.trust-row::before {
    display: none;
}

.trust-track>div {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 270px;
    min-height: 44px;
    padding: 0 40px;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.trust-track>div>i {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0 !important;
    border-radius: 8px;
    background: #f3c95d !important;
    color: #2d6125 !important;
    font-size: 20px;
}

.trust-track>div:nth-child(2)>i {
    background: #20bf37 !important;
    color: #fff !important;
}

.trust-track>div:nth-child(3)>i {
    background: #edb548 !important;
    color: #2d6125 !important;
}

.trust-track>div:nth-child(4)>i {
    background: #b8d86a !important;
    color: #2d6125 !important;
}

.trust-track span {
    display: grid;
    gap: 3px;
}

.trust-track b {
    color: #fff !important;
    font-size: 15px;
    white-space: nowrap;
}

.trust-track small {
    color: rgba(255, 255, 255, .65) !important;
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .trust-row {
        margin: 18px 0 34px;
    }

    .trust-track {
        min-height: 82px;
        animation-duration: 22s;
    }

    .trust-track>div {
        min-width: 245px;
        padding: 0 25px;
    }

    .trust-track b {
        font-size: 13px;
    }

    .trust-track small {
        font-size: 9px;
    }
}

.mobile-drawer,
.drawer-overlay {
    display: none;
}

@media (max-width: 767px) {
    .category-nav.has-scroll-controls {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
        border: 0;
        background: transparent;
        color: var(--brand-dark);
        font-size: 24px;
        line-height: 1;
        padding: 4px;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 340px);
        z-index: 1050;
        overflow-y: auto;
        background: #fff;
        transform: translateX(-100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform .25s ease;
        box-shadow: 8px 0 24px rgba(0, 0, 0, .18);
    }

    .mobile-drawer.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .drawer-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    body.mobile-drawer-open {
        overflow: hidden;
    }

    .drawer-head {
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border-bottom: 1px solid #e5ece8;
        color: var(--brand-dark);
    }

    .drawer-close {
        border: 0;
        background: transparent;
        color: #71808a;
        font-size: 19px;
    }

    .mobile-drawer .nav-scroll {
        display: block;
        height: auto;
        min-height: 0;
        padding: 0 !important;
        overflow: visible !important;
    }

    .mobile-drawer .nav-dropdown,
    .mobile-drawer .nav-all-products {
        display: block;
        border-bottom: 1px solid #edf1ef;
    }

    .mobile-drawer .nav-pill {
        display: flex;
        width: 100%;
        min-height: 54px;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px !important;
        color: var(--text) !important;
        background: #fff !important;
    }

    .mobile-drawer .dropdown-menu {
        position: static !important;
        display: none;
        width: 100%;
        margin: 0 !important;
        padding: 10px 20px 14px !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        background: #f7faf8;
    }

    .mobile-drawer .nav-dropdown.open .dropdown-menu {
        display: block !important;
    }
}

/* Auth pages: final website palette override */
.register-body,
.auth-body {
    background: #f1f4e4 !important;
    color: #24340c !important;
}

.register-card,
.auth-card {
    border-color: #dfe6cf !important;
    box-shadow: 0 20px 46px rgba(41, 58, 14, .15) !important;
}

.register-hero {
    background: linear-gradient(135deg, #24340c, #607d1c 68%, #81952e) !important;
}

.register-icon {
    color: #607d1c !important;
}

.register-hero p {
    color: #e7eacb !important;
}

.register-form label,
.auth-form label {
    color: #34420e !important;
}

.register-input input,
.auth-input input {
    border-color: #dfe6cf !important;
    color: #293a0e !important;
    background: #fbfcf7 !important;
}

.register-input>i,
.register-toggle,
.auth-input>i,
.password-toggle {
    color: #71872b !important;
}

.register-input input:focus,
.auth-input input:focus {
    border-color: #b69a3d !important;
    box-shadow: 0 0 0 3px rgba(182, 154, 61, .14) !important;
}

.register-submit,
.auth-submit {
    background: linear-gradient(135deg, #607d1c, #293a0e) !important;
    box-shadow: 0 9px 20px rgba(96, 125, 28, .25) !important;
}

.register-submit:hover,
.auth-submit:hover {
    background: linear-gradient(135deg, #718d25, #24340c) !important;
}

.register-login a,
.auth-label-row a,
.auth-switch a,
.auth-home {
    color: #607d1c !important;
}

.auth-brand {
    color: #24340c !important;
}

.auth-brand span,
.auth-kicker {
    color: #b69a3d !important;
}

.auth-card h1 {
    color: #24340c !important;
}

.auth-subtitle,
.auth-switch,
.register-login {
    color: #718078 !important;
}

/* Match login and register with the website's exact brand palette. */
.register-body,
.auth-body {
    background: radial-gradient(circle at 12% 8%, rgba(182, 154, 61, .18), transparent 30%), #f1f4e4;
    color: #24340c
}

.register-card,
.auth-card {
    border-color: #dfe6cf;
    box-shadow: 0 20px 46px rgba(41, 58, 14, .15)
}

.register-hero {
    background: linear-gradient(135deg, #24340c, #607d1c 68%, #81952e)
}

.register-icon {
    color: #607d1c
}

.register-hero p {
    color: #e7eacb
}

.register-form label,
.auth-form label {
    color: #34420e
}

.register-input input,
.auth-input input {
    border-color: #dfe6cf;
    color: #293a0e;
    background: #fbfcf7
}

.register-input>i,
.register-toggle,
.auth-input>i,
.password-toggle {
    color: #71872b
}

.register-input input:focus,
.auth-input input:focus {
    border-color: #b69a3d;
    box-shadow: 0 0 0 3px rgba(182, 154, 61, .14)
}

.register-submit,
.auth-submit {
    background: linear-gradient(135deg, #607d1c, #293a0e);
    box-shadow: 0 9px 20px rgba(96, 125, 28, .25)
}

.register-submit:hover,
.auth-submit:hover {
    background: linear-gradient(135deg, #718d25, #24340c)
}

.register-login a,
.auth-label-row a,
.auth-switch a,
.auth-home {
    color: #607d1c
}

.auth-brand {
    color: #24340c
}

.auth-brand span,
.auth-kicker {
    color: #b69a3d
}

.auth-card h1 {
    color: #24340c
}

.auth-subtitle,
.auth-switch,
.register-login {
    color: #718078
}

/* Final auth palette */
.register-body {
    background: radial-gradient(circle at 12% 8%, rgba(240, 217, 137, .28), transparent 30%), #f4f8ed;
    color: #243c2b
}

.register-card {
    border: 1px solid #e1e8d8;
    box-shadow: 0 20px 46px rgba(36, 52, 12, .14)
}

.register-hero {
    background: linear-gradient(135deg, #244b2d, #398a49 68%, #6b8731)
}

.register-icon {
    color: #398a49;
    box-shadow: 0 5px 15px rgba(36, 52, 12, .14)
}

.register-hero p {
    color: #e6edc9
}

.register-form label {
    color: #304b34;
    font-weight: 700
}

.register-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9
}

.register-input>i,
.register-toggle {
    color: #71905e
}

.register-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14)
}

.register-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 9px 20px rgba(57, 138, 73, .25)
}

.register-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040);
    filter: none
}

.register-login {
    color: #718078
}

.register-login a {
    color: #398a49
}

.auth-body {
    background: radial-gradient(circle at 88% 10%, rgba(240, 217, 137, .25), transparent 30%), #f4f8ed
}

.auth-card {
    border-color: #e1e8d8;
    box-shadow: 0 22px 55px rgba(36, 52, 12, .14)
}

.auth-brand {
    color: #244b2d
}

.auth-brand span {
    color: #398a49
}

.auth-kicker {
    color: #718d3b
}

.auth-card h1 {
    color: #243c2b
}

.auth-subtitle,
.auth-switch {
    color: #718078
}

.auth-form label {
    color: #304b34
}

.auth-label-row a,
.auth-switch a,
.auth-home {
    color: #398a49
}

.auth-input>i,
.password-toggle {
    color: #71905e
}

.auth-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9
}

.auth-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14)
}

.auth-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 8px 17px rgba(57, 138, 73, .24)
}

.auth-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040)
}

/* Keep the suggestion panel outside the header search field. */
.search {
    overflow: visible !important;
    position: relative;
    z-index: 20;
}

.search-suggestions {
    z-index: 30;
}

/* Final auth palette overrides */
.register-body {
    background: radial-gradient(circle at 12% 8%, rgba(240, 217, 137, .28), transparent 30%), #f4f8ed;
    color: #243c2b;
}

.register-card {
    border: 1px solid #e1e8d8;
    box-shadow: 0 20px 46px rgba(36, 52, 12, .14);
}

.register-hero {
    background: linear-gradient(135deg, #244b2d, #398a49 68%, #6b8731);
}

.register-icon {
    color: #398a49;
    box-shadow: 0 5px 15px rgba(36, 52, 12, .14);
}

.register-hero p {
    color: #e6edc9;
}

.register-form label {
    color: #304b34;
    font-weight: 700;
}

.register-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9;
}

.register-input>i,
.register-toggle {
    color: #71905e;
}

.register-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14);
}

.register-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 9px 20px rgba(57, 138, 73, .25);
}

.register-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040);
    filter: none;
}

.register-login {
    color: #718078;
}

.register-login a {
    color: #398a49;
}

.auth-body {
    background: radial-gradient(circle at 88% 10%, rgba(240, 217, 137, .25), transparent 30%), #f4f8ed;
}

.auth-card {
    border-color: #e1e8d8;
    box-shadow: 0 22px 55px rgba(36, 52, 12, .14);
}

.auth-brand {
    color: #244b2d;
}

.auth-brand span {
    color: #398a49;
}

.auth-kicker {
    color: #718d3b;
}

.auth-card h1 {
    color: #243c2b;
}

.auth-subtitle,
.auth-switch {
    color: #718078;
}

.auth-form label {
    color: #304b34;
}

.auth-label-row a,
.auth-switch a,
.auth-home {
    color: #398a49;
}

.auth-input>i,
.password-toggle {
    color: #71905e;
}

.auth-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9;
}

.auth-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14);
}

.auth-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 8px 17px rgba(57, 138, 73, .24);
}

.auth-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040);
}

/* Consistent MD Arogyam palette for registration and user login. */
.register-body {
    background: radial-gradient(circle at 12% 8%, rgba(240, 217, 137, .28), transparent 30%), #f4f8ed;
    color: #243c2b;
}

.register-card {
    border: 1px solid #e1e8d8;
    box-shadow: 0 20px 46px rgba(36, 52, 12, .14);
}

.register-hero {
    background: linear-gradient(135deg, #244b2d, #398a49 68%, #6b8731);
}

.register-icon {
    color: #398a49;
    box-shadow: 0 5px 15px rgba(36, 52, 12, .14);
}

.register-hero p {
    color: #e6edc9;
}

.register-form label {
    color: #304b34;
    font-weight: 700;
}

.register-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9;
}

.register-input>i {
    color: #71905e;
}

.register-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14);
}

.register-toggle {
    color: #71905e;
}

.register-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 9px 20px rgba(57, 138, 73, .25);
}

.register-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040);
    filter: none;
}

.register-login {
    color: #718078;
}

.register-login a {
    color: #398a49;
}

.auth-body {
    background: radial-gradient(circle at 88% 10%, rgba(240, 217, 137, .25), transparent 30%), #f4f8ed;
}

.auth-card {
    border-color: #e1e8d8;
    box-shadow: 0 22px 55px rgba(36, 52, 12, .14);
}

.auth-brand {
    color: #244b2d;
}

.auth-brand span {
    color: #398a49;
}

.auth-kicker {
    color: #718d3b;
}

.auth-card h1 {
    color: #243c2b;
}

.auth-subtitle,
.auth-switch {
    color: #718078;
}

.auth-form label {
    color: #304b34;
}

.auth-label-row a,
.auth-switch a,
.auth-home {
    color: #398a49;
}

.auth-input>i {
    color: #71905e;
}

.auth-input input {
    border-color: #d7e2d0;
    color: #243c2b;
    background: #fcfef9;
}

.auth-input input:focus {
    border-color: #78aa79;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .14);
}

.password-toggle {
    color: #71905e;
}

.auth-submit {
    background: linear-gradient(135deg, #398a49, #244b2d);
    box-shadow: 0 8px 17px rgba(57, 138, 73, .24);
}

.auth-submit:hover {
    background: linear-gradient(135deg, #4e9d55, #2d7040);
}

/* Smooth entrance for the product suggestions dropdown. */
.search-suggestions.is-open {
    animation: searchSuggestionsIn .22s ease-out both;
    transform-origin: top center;
}

.search-suggestions.is-open .search-suggestion {
    animation: searchSuggestionItemIn .22s ease-out both;
}

.search-suggestions.is-open .search-suggestion:nth-of-type(2) {
    animation-delay: .025s;
}

.search-suggestions.is-open .search-suggestion:nth-of-type(3) {
    animation-delay: .05s;
}

.search-suggestions.is-open .search-suggestion:nth-of-type(4) {
    animation-delay: .075s;
}

.search-suggestions.is-open .search-suggestion:nth-of-type(5) {
    animation-delay: .1s;
}

.search-suggestions.is-open .search-suggestion:nth-of-type(6) {
    animation-delay: .125s;
}

@keyframes searchSuggestionsIn {
    from {
        opacity: 0;
        transform: translateY(-7px) scale(.98);
    }

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

@keyframes searchSuggestionItemIn {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .search-suggestions.is-open,
    .search-suggestions.is-open .search-suggestion {
        animation: none;
    }
}

.nav-all-products {
    color: #f0d989 !important;
    font-weight: 800;
    white-space: nowrap;
}

.nav-all-products:hover {
    background: rgba(182, 154, 61, .24) !important;
    color: #fff !important;
}

/* Best sellers: spacious editorial product grid */
#products {
    position: relative;
}

#products::before {
    content: "";
    position: absolute;
    top: 42px;
    right: -8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(182, 154, 61, .08);
    pointer-events: none;
}

#products .section-heading {
    position: relative;
    z-index: 1;
    align-items: end;
    margin-bottom: 22px;
}

.section-heading-copy {
    display: grid;
    gap: 4px;
}

.section-kicker {
    color: var(--brand-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.section-kicker i {
    margin-right: 4px;
}

#products .section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.8px;
}

#products .section-heading-copy p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #dfe6cf;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
}

.view-all-link:hover {
    background: var(--brand-pale);
    transform: translateY(-2px);
}

.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px !important;
    margin: 0 !important;
    flex-wrap: initial !important;
}

.products .product-card {
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
    border: 1px solid #e1e7d4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(36, 52, 12, .07) !important;
}

.products .product-card:hover {
    transform: translateY(-8px);
    border-color: #c4d18f;
    box-shadow: 0 18px 32px rgba(96, 125, 28, .16) !important;
}

.product-image {
    height: 190px;
    padding: 18px;
    background: radial-gradient(circle at 50% 20%, #fff, #f0f3e6) !important;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: auto 22% 13px;
    height: 14px;
    border-radius: 50%;
    background: rgba(36, 52, 12, .12);
    filter: blur(7px);
}

.product-image img {
    position: relative;
    z-index: 1;
    transition: transform .3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08) rotate(-2deg);
}

.product-image em {
    top: 13px;
    right: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--brand-gold) !important;
    font-size: 10px;
    letter-spacing: .2px;
    z-index: 2;
}

.product-wish {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(36, 52, 12, .12);
}

.product-wish:hover {
    color: #a44848;
}

.product-image.image-missing::before {
    content: "\\f3a5";
    position: absolute;
    z-index: 1;
    color: var(--brand-green);
    font: 38px/1 "bootstrap-icons";
    opacity: .75;
}

.product-info {
    min-height: 205px;
    padding: 16px;
}

.product-category {
    color: var(--brand-green) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2px;
}

.product-info h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.2;
}

.product-info p {
    min-height: 31px;
    line-height: 1.45;
}

.product-info>small {
    color: var(--brand-gold) !important;
    font-weight: 700;
}

.buy-now {
    width: 100%;
    margin-top: 12px;
    border-radius: 10px;
    padding: 11px 8px;
    font-size: 13px;
    box-shadow: 0 7px 14px rgba(36, 52, 12, .16);
}

@media(max-width:1100px) {
    .products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media(max-width:800px) {
    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px !important;
    }

    .product-image {
        height: 165px;
    }
}

@media(max-width:560px) {
    #products .section-heading {
        align-items: start;
        gap: 12px;
    }

    #products .section-heading-copy p {
        display: none;
    }

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

    .product-image {
        height: 145px;
        padding: 12px;
    }

    .product-info {
        min-height: 190px;
        padding: 12px;
    }

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

    .product-info p {
        font-size: 10px;
    }

    .product-wish {
        width: 27px;
        height: 27px;
    }
}

/* All products page */
.products-page {
    min-height: 80vh;
    padding: 26px 0 70px;
    background: linear-gradient(135deg, #fbfcf7, var(--brand-pale));
}

.products-shell {
    max-width: 1240px;
}

.products-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 11px;
}

.products-breadcrumb a {
    color: var(--brand-green);
    font-weight: 700;
    text-decoration: none;
}

.products-breadcrumb i {
    font-size: 9px;
}

.products-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    margin-bottom: 30px;
    padding: 30px 54px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(115deg, var(--brand-dark), #587418 62%, #81952e);
    box-shadow: 0 17px 34px rgba(36, 52, 12, .18);
}

.products-hero::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: -75px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(240, 217, 137, .34);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(240, 217, 137, .07), 0 0 0 58px rgba(240, 217, 137, .05);
}

.products-hero small {
    color: #e6d388;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.products-hero h1 {
    max-width: 560px;
    margin: 8px 0 6px;
    font-size: clamp(27px, 4vw, 42px);
    letter-spacing: -1.4px;
}

.products-hero h1 em {
    color: #e6d388;
    font-style: normal;
}

.products-hero p {
    margin: 0;
    color: #e4eaca;
    font-size: 13px;
}

.products-hero-icon {
    position: relative;
    z-index: 1;
    margin-right: 8%;
    color: #e6d388;
    font-size: 92px;
    opacity: .65;
    transform: rotate(-18deg);
}

.products-layout {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 28px;
    align-items: start;
}

.products-filters {
    position: sticky;
    top: 20px;
    padding: 20px;
    border: 1px solid #e1e7d4;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 24px rgba(36, 52, 12, .07);
}

.filters-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8ecdf;
}

.filters-heading small {
    color: var(--brand-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.filters-heading h2 {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: 20px;
}

.filters-heading button {
    display: none;
    border: 0;
    background: transparent;
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 17px 0;
    padding: 10px 11px;
    border: 1px solid #dfe6cf;
    border-radius: 9px;
    color: var(--brand-green);
}

.filter-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 11px;
}

.filter-group {
    padding: 15px 0;
    border-top: 1px solid #e8ecdf;
}

.filter-group h3 {
    margin: 0 0 11px;
    color: var(--brand-dark);
    font-size: 12px;
}

.filter-radio {
    display: block;
    margin: 9px 0;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.filter-radio input {
    display: none;
}

.filter-radio span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.filter-radio i {
    width: 16px;
    color: #a1aa8e;
    text-align: center;
}

.filter-radio input:checked+span {
    color: var(--brand-green);
    font-weight: 800;
}

.filter-radio input:checked+span i {
    color: var(--brand-gold);
}

.category-select {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #dfe6cf;
    border-radius: 8px;
    background: #fff;
    color: var(--brand-dark);
    outline: 0;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.category-select:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(182, 154, 61, .12);
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-inputs label {
    color: var(--muted);
    font-size: 10px;
}

.price-inputs input {
    width: 100%;
    margin-top: 5px;
    padding: 8px;
    border: 1px solid #dfe6cf;
    border-radius: 7px;
    outline: 0;
    font: inherit;
    font-size: 11px;
    box-sizing: border-box;
}

.price-inputs input:focus {
    border-color: var(--brand-gold);
}

.apply-filters {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 9px;
    background: var(--brand-dark);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.clear-filters {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-green);
    font: inherit;
    font-size: 11px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

/* Readable typography for the products catalogue */
.products-page {
    font-size: 14px;
}

.products-breadcrumb {
    font-size: 13px;
}

.products-hero small {
    font-size: 12px;
}

.products-hero p {
    font-size: 15px;
}

.filters-heading small {
    font-size: 11px;
}

.filters-heading h2 {
    font-size: 22px;
}

.filter-search input,
.category-select,
.price-inputs input {
    font-size: 13px;
}

.filter-group h3 {
    font-size: 15px;
}

.filter-radio,
.price-inputs label,
.clear-filters {
    font-size: 13px;
}

.apply-filters {
    font-size: 14px;
}

.results-count {
    font-size: 20px;
}

.results-top p,
.sort-form {
    font-size: 13px;
}

.sort-form select {
    font-size: 13px;
}

.all-product-card .product-category {
    font-size: 12px;
}

.all-product-card .product-info h3 {
    min-height: 43px;
    font-size: 18px;
}

.all-product-card .product-info p {
    min-height: 38px;
    font-size: 13px;
}

.all-product-card .product-info>strong {
    font-size: 17px;
}

.all-product-card .product-info del {
    font-size: 12px;
}

.all-product-card .product-info>small {
    font-size: 12px;
}

.all-product-card .buy-now {
    font-size: 14px;
}

@media(max-width:560px) {
    .products-hero p {
        font-size: 13px;
    }

    .results-count {
        font-size: 18px;
    }

    .all-product-card .product-info h3 {
        min-height: 40px;
        font-size: 15px;
    }

    .all-product-card .product-info p {
        min-height: 34px;
        font-size: 11px;
    }

    .all-product-card .product-info>strong {
        font-size: 15px;
    }

    .all-product-card .buy-now {
        font-size: 12px;
    }
}

.results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 47px;
    margin-bottom: 17px;
}

.results-count {
    color: var(--brand-dark);
    font-size: 17px;
    font-weight: 800;
}

.results-top p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
}

.sort-form select {
    padding: 9px 29px 9px 11px;
    border: 1px solid #dfe6cf;
    border-radius: 8px;
    background: #fff;
    color: var(--brand-dark);
    outline: 0;
    font: inherit;
    cursor: pointer;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.all-product-card {
    overflow: hidden;
    border: 1px solid #e1e7d4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(36, 52, 12, .07);
    transition: .25s;
}

.all-product-card:hover {
    transform: translateY(-7px);
    border-color: #c4d18f;
    box-shadow: 0 18px 32px rgba(96, 125, 28, .16);
}

.no-products {
    padding: 75px 20px;
    border: 1px dashed #cbd6a9;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.no-products>i {
    color: var(--brand-gold);
    font-size: 40px;
}

.no-products h2 {
    margin: 12px 0 5px;
    color: var(--brand-dark);
}

.no-products p {
    color: var(--muted);
    font-size: 12px;
}

.no-products a {
    display: inline-block;
    margin-top: 8px;
    color: var(--brand-green);
    font-weight: 700;
    text-decoration: none;
}

.products-toolbar-mobile {
    display: none;
}

@media(max-width:950px) {
    .products-layout {
        grid-template-columns: 205px 1fr;
        gap: 18px;
    }

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

@media(max-width:700px) {
    .products-page {
        padding-top: 16px;
    }

    .products-hero {
        min-height: 155px;
        padding: 24px;
        border-radius: 15px;
    }

    .products-hero-icon {
        margin-right: 0;
        font-size: 60px;
    }

    .products-layout {
        display: block;
    }

    .products-toolbar-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
        color: var(--muted);
        font-size: 11px;
    }

    .products-toolbar-mobile button {
        padding: 9px 13px;
        border: 1px solid #dfe6cf;
        border-radius: 8px;
        background: #fff;
        color: var(--brand-green);
        font-weight: 700;
    }

    .products-filters {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1001;
        width: min(300px, 88vw);
        overflow-y: auto;
        border-radius: 0 16px 16px 0;
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-sizing: border-box;
    }

    .products-filters.is-open {
        transform: translateX(0);
    }

    .filters-heading button {
        display: block;
    }

    .results-top {
        align-items: start;
        flex-direction: column;
    }

    .sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .sort-form select {
        flex: 1;
    }
}

@media(max-width:480px) {
    .products-hero-icon {
        display: none;
    }

    .all-products-grid {
        gap: 12px;
    }

    .all-product-card .product-image {
        height: 150px;
    }

    .all-product-card .product-info {
        min-height: 195px;
        padding: 12px;
    }
}

/* Header product search suggestions */
.search {
    position: relative;
    overflow: visible;
    z-index: 20;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    display: none;
    padding: 9px;
    border: 1px solid #e1e8d8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(36, 52, 12, .16);
}

.search-suggestions.is-open {
    display: block;
}

.search-suggestion-heading {
    padding: 5px 9px 8px;
    color: var(--brand-green, #398a49);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 9px;
    color: inherit;
    border-radius: 8px;
    text-decoration: none;
}

.search-suggestion:hover,
.search-suggestion:focus {
    background: #f1f6e9;
    outline: 0;
}

.search-suggestion img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 7px;
    object-fit: cover;
    background: #f2f5ec;
}

.search-suggestion span {
    min-width: 0;
    flex: 1;
}

.search-suggestion strong,
.search-suggestion small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion strong {
    color: #263b24;
    font-size: 12px;
}

.search-suggestion small {
    margin-top: 2px;
    color: #879183;
    font-size: 10px;
}

.search-suggestion>i {
    color: #8da25b;
    font-size: 12px;
}

.search-no-results {
    padding: 16px 9px;
    color: #879183;
    font-size: 12px;
    text-align: center;
}

.search-no-results[hidden],
.search-suggestion[hidden] {
    display: none;
}

.search-view-all {
    display: block;
    margin-top: 5px;
    padding: 9px;
    border-top: 1px solid #edf1e8;
    color: #398a49;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.search-view-all:hover {
    color: #244b2d;
}

@media(max-width:600px) {
    .search-suggestions {
        left: -8px;
        right: -8px;
    }
}

/* MD Arogyam brand system: colours matched to the supplied logo. */
:root {
    --primary: #607d1c;
    --primary-dark: #293a0e;
    --accent: #b69a3d;
    --navy: #26330f;
    --ink: #34401e;
    --muted: #78806a;
    --line: #e3e7d8;
    --soft: #f6f8ef;
    --brand-green: #607d1c;
    --brand-dark: #24340c;
    --brand-gold: #b69a3d;
    --brand-pale: #f1f4e4;
}

body {
    background: #fbfcf7;
    color: var(--ink);
}

.utility {
    background: var(--brand-dark) !important;
    color: #e7edcf !important;
}

.utility a {
    color: #d6dfb6 !important;
}

.utility a:hover {
    color: #fff !important;
}

.site-header {
    background: #fff;
    box-shadow: 0 4px 18px rgba(36, 52, 12, .08);
}

.mainbar {
    min-height: 86px;
}

.actions a {
    color: var(--brand-dark) !important;
}

.actions a:hover {
    color: var(--brand-green) !important;
}

.actions .cart-count {
    color: #fff !important;
}

.search {
    border-color: #dce3c9 !important;
    background: #fbfcf7 !important;
}

.search i {
    color: var(--brand-green) !important;
}

.search button,
.buy-now,
.place-order,
.checkout-btn {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark)) !important;
}

.search button:hover,
.buy-now:hover,
.place-order:hover,
.checkout-btn:hover {
    background: var(--brand-dark) !important;
}

.search:focus-within {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 3px rgba(182, 154, 61, .16) !important;
}

.category-nav {
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-green)) !important;
}



.mega-menu {
    border-top-color: var(--brand-gold) !important;
}

.mega-menu h4,
.mega-menu a:hover {
    color: var(--brand-green) !important;
}

.main-content {
    padding-top: 24px;
}

.hero {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(36, 52, 12, .12);
}

.section-heading h2 {
    color: var(--brand-dark) !important;
}

.section-heading h2 span {
    color: var(--brand-green) !important;
}

.section-heading a,
.category-arrow {
    color: var(--brand-gold) !important;
}

/* Trust panel: image-inspired responsive layout */
.trust-row {
    position: relative;
    isolation: isolate;
    margin: 42px 0 48px;
    padding: 0 2px;
    border: 1px solid #d9e8cc !important;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(115deg, #fbfdf9 0%, #fff 48%, #fbfdf9 100%) !important;
    box-shadow: 0 14px 30px rgba(83, 130, 45, .14), 0 0 28px rgba(136, 183, 91, .10);
}



.trust-row::before {
    top: 0;
    left: 0;
}

.trust-row::after {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.trust-panel {
    width: 100%;
    overflow: visible;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-height: 238px;
    animation: none !important;
    transform: none !important;
}

.trust-items>.trust-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 238px;
    padding: 32px 20px 28px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 0 !important;
    border-right: 1px solid #e2ebdc !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
}

.trust-items>.trust-item:last-child {
    border-right: 0 !important;
}

.trust-items>.trust-item>i {
    display: grid;
    width: 104px;
    height: 104px;
    margin: 0 0 18px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .9) !important;
    border-radius: 50%;
    outline: 1px solid #dcebcf;
    background: linear-gradient(145deg, #fff 10%, #eff8df) !important;
    box-shadow: 0 8px 16px rgba(92, 143, 47, .13), inset 0 0 0 8px rgba(255, 255, 255, .6);
    color: #39752c !important;
    font-size: 42px;
}

.trust-items>.trust-item>i::before {
    line-height: 1;
}

.trust-items span {
    display: grid;
    gap: 8px;
    z-index: 1;
}

.trust-items b {
    color: #123e2d !important;
    font-size: clamp(17px, 1.55vw, 24px);
    letter-spacing: -.035em;
    white-space: nowrap;
}

.trust-items b::after {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 0;
    border-radius: 5px;
    background: #74b938;
    content: "";
}

.trust-items small {
    max-width: 220px;
    margin: 0 auto;
    color: #5b6c69 !important;
    font-size: clamp(12px, 1.05vw, 16px);
    line-height: 1.45;
    white-space: normal;
}

@media (max-width: 700px) {
    .trust-row {
        margin: 30px 0 38px;
        border-radius: 22px;
    }

    .trust-row::before,
    .trust-row::after {
        width: 105px;
        height: 72px;
    }

    .trust-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 370px;
    }

    .trust-items>.trust-item {
        min-height: 185px;
        padding: 20px 8px 18px;
    }

    .trust-items>.trust-item:nth-child(2) {
        border-right: 0 !important;
    }

    .trust-items>.trust-item:nth-child(-n+2) {
        border-bottom: 1px solid #e2ebdc !important;
    }

    .trust-items>.trust-item>i {
        width: 70px;
        height: 70px;
        margin-bottom: 11px;
        font-size: 28px;
    }

    .trust-items b {
        font-size: 15px;
    }

    .trust-items b::after {
        width: 27px;
        height: 3px;
        margin-top: 8px;
    }

    .trust-items small {
        font-size: 10px;
    }
}

@media (max-width: 390px) {
    .trust-items>.trust-item {
        padding-left: 3px;
        padding-right: 3px;
    }

    .trust-items b {
        font-size: 14px;
    }

    .trust-items small {
        font-size: 9px;
    }
}

.trust-row {
    border-color: #e0e7d0 !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(36, 52, 12, .05);
}

.trust-row i,
.category-icon,
.product-category i {
    color: var(--brand-green) !important;
}

.trust-row b {
    color: var(--brand-dark) !important;
}

.category:hover .category-icon {
    background: var(--brand-pale) !important;
    color: var(--brand-green) !important;
}

.product-card {
    border-color: #e4e8dc !important;
    box-shadow: 0 8px 22px rgba(36, 52, 12, .06) !important;
}

.product-card:hover {
    border-color: #c8d39f !important;
    box-shadow: 0 15px 30px rgba(96, 125, 28, .14) !important;
}

.product-info h3 {
    color: var(--brand-dark) !important;
}

.product-info>strong,
.cart-item>strong,
.summary-total strong {
    color: var(--brand-green) !important;
}

.wellness-banner {
    background: linear-gradient(110deg, var(--brand-dark), var(--brand-green)) !important;
    box-shadow: 0 14px 28px rgba(36, 52, 12, .16);
}

.wellness-banner a {
    color: var(--brand-dark) !important;
}

.cart-page,
.checkout-page,
.dashboard-page,
.about-page {
    background: linear-gradient(135deg, #fbfcf7, var(--brand-pale)) !important;
}

.cart-items-card,
.order-summary,
.checkout-panel,
.checkout-summary,
.dashboard-panel,
.profile-card,
.coming-soon-card {
    border-color: #e1e7d4 !important;
    box-shadow: 0 12px 28px rgba(36, 52, 12, .08) !important;
}

.cart-items-card h1,
.order-summary h2,
.empty-cart h2,
.dashboard-heading h1,
.panel-heading h2 {
    color: var(--brand-dark) !important;
}

.continue-shopping,
.add-address {
    border-color: var(--brand-green) !important;
    color: var(--brand-green) !important;
}

.continue-shopping:hover,
.add-address:hover {
    background: var(--brand-green) !important;
    color: #fff !important;
}

.cart-qty button,
.qty-mini-btn {
    color: var(--brand-green) !important;
    background: var(--brand-pale) !important;
}

.payment-option.selected,
.address-box {
    border-color: var(--brand-gold) !important;
    background: #fbfcf2 !important;
}

.payment-check,
.checkout-summary h2 i,
.checkout-total strong {
    color: var(--brand-green) !important;
}

.site-footer {
    background: var(--brand-dark) !important;
    color: #e8edda;
}

.site-footer h3,
.site-footer h4 {
    color: #f0d989 !important;
}

.site-footer a {
    color: #d2ddb4 !important;
}

.site-footer a:hover {
    color: #fff !important;
}



.footer-bottom {
    border-top-color: rgba(214, 223, 182, .2) !important;
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--brand-dark), var(--brand-green)) !important;
}

.admin-brand-mark {
    border-color: var(--brand-gold) !important;
    color: #f0d989 !important;
}

.admin-brand>span:last-child span,
.admin-topbar h1,
.admin-welcome span,
.admin-section-title h2,
.admin-welcome a,
.admin-section-title a,
.admin-orders th,
.admin-orders td b {
    color: var(--brand-green) !important;
}

.admin-quick-actions a.add {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-gold)) !important;
}

@media(max-width:767px) {
    .brand img {
        width: 155px;
        max-width: 55vw;
    }

    .mainbar {
        min-height: 70px;
    }

    .hero {
        border-radius: 10px;
    }


}

.category-nav .nav-pill:hover,
.category-nav .nav-link-only:hover {
    background: transparent !important;
    color: #fff !important;
}

/* Keep the hover path continuous from the menu button to the mega menu. */
.category-nav .nav-dropdown {
    height: 100% !important;
    display: flex;
    align-items: center;
}

.category-nav .dropdown-menu {
    margin-top: 0 !important;
}

nav.category-nav .nav-dropdown>button.nav-pill {
    border: 0 !important;
    background: transparent !important;
    color: #f7fff5 !important;
    box-shadow: none !important;
    transform: none !important;
}

nav.category-nav .nav-dropdown>button.nav-pill::after {
    display: none !important;
}

.nav-dropdown:has(.nav-link-only) .dropdown-menu {
    display: none !important;
}

.nav-link-only {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Professional wellness navigation */
.category-nav {
    height: 64px !important;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #195d32, #2f8245) !important;
    box-shadow: 0 5px 16px rgba(26, 82, 43, .18);
}

.category-nav .nav-scroll {
    width: 100%;
    min-height: 64px;
    align-items: center;
    gap: 10px !important;
}

.nav-dropdown {
    height: auto !important;
    align-items: center;
}

.nav-pill {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 17px !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #355443 !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .05px;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease !important;
}



.nav-pill i {
    margin-left: 4px;
    color: #347345;
    font-size: 11px;
}

.nav-link-only {
    padding-left: 18px !important;
    padding-right: 18px !important;
}

.nav-dropdown:first-child .nav-pill {
    border-color: transparent !important;
    color: #fff !important;
}

.nav-dropdown:first-child .nav-pill i {
    color: #e8f8df;
}

.dropdown-menu {
    margin-top: 10px;
    border: 1px solid #dcebd9 !important;
    box-shadow: 0 18px 38px rgba(28, 72, 37, .18) !important;
}

.mega-menu {
    margin-top: 10px !important;
}

@media(max-width:900px) {
    .category-nav .nav-scroll {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 18px !important
    }

    .nav-pill {
        padding: 0 14px !important
    }

    .nav-link-only {
        padding: 0 15px !important
    }
}

/* Simple flat menu: no white pills or heavy controls. */
.category-nav {
    height: 56px !important;
    box-shadow: none !important;
}

.category-nav .nav-scroll {
    min-height: 56px;
    gap: 30px !important;
}

.nav-pill,
.nav-link-only {
    min-height: 38px;
    padding: 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    font-size: 14px !important;
    font-weight: 500;
}

.nav-link-only {
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.nav-pill i {
    color: #e6f6d8 !important;
}



@media(max-width:900px) {
    .category-nav .nav-scroll {
        gap: 22px !important
    }

    .nav-pill,
    .nav-link-only {
        padding: 0 2px !important
    }
}

.nav-dropdown:has(.mega-menu) {
    position: relative !important;
}

.nav-dropdown:has(.mega-menu) .mega-menu {
    left: 0 !important;
    right: auto !important;
    transform: translateY(-7px) scale(.98) !important;
}

.nav-dropdown:has(.mega-menu):hover .mega-menu,
.nav-dropdown:has(.mega-menu).open .mega-menu {
    transform: translateY(0) scale(1) !important;
}

.mega-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 20px;
    width: 650px !important;
    padding: 18px 20px !important;
}

.nav-dropdown:has(.mega-menu) {
    position: static;
}

.nav-dropdown:has(.mega-menu) .mega-menu {
    left: 50%;
    transform: translate(-50%, -7px) scale(.98);
}

.nav-dropdown:has(.mega-menu):hover .mega-menu,
.nav-dropdown:has(.mega-menu).open .mega-menu {
    transform: translate(-50%, 0) scale(1);
}

.mega-menu h4 {
    margin: 0 0 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e4eee4;
    color: #2d743d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.mega-menu a {
    padding: 7px 9px !important;
}

@media(max-width:767px) {
    .mega-menu {
        display: block !important;
        width: auto !important
    }

    .mega-menu>div {
        margin-bottom: 14px
    }
}


/* Final Ayurvedic colors for the header controls. */
.category-nav {
    background: linear-gradient(90deg, #226b3b, #3d8b4c) !important;
}

.search {
    border-color: #d7e6d7;
    background: #fbfefb;
}

.search button {
    background: linear-gradient(135deg, #398a49, #256c39) !important;
}

.search:focus-within {
    border-color: #78aa79 !important;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .12) !important;
}

.search i {
    color: #75a17a;
}



.category-scroll-btn {
    color: #398a49 !important;
}

.category-scroll-btn:hover:not(:disabled) {
    background: #398a49 !important;
    color: #fff !important;
}

.orders-table-wrap {
    overflow-x: auto;
}

.user-orders-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.user-orders-table th {
    padding: 11px 10px;
    background: #f7fafb;
    color: #81929a;
    text-align: left;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.user-orders-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #eef3f5;
    color: #60727b;

    vertical-align: middle;
}

.user-orders-table td b {
    display: block;
    color: var(--navy);
}

.user-orders-table td small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.payment-status {
    padding: 5px 9px;
    border-radius: 20px;

    font-weight: 700;
}

.payment-status.paid {
    background: #e7f8ef;
    color: #138449;
}

.payment-status.unpaid {
    background: #fff4da;
    color: #a66a00;
}

.order-actions {
    display: flex;
    gap: 6px;
}

.order-actions a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid #dcebef;
    border-radius: 5px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.order-page-card {
    max-width: 760px;
    min-height: 430px;
    margin: 10px auto;
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 35px #087fb51a;
    text-align: center;
}

.order-page-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 28px auto 20px;
    border-radius: 50%;
    background: #eaf9fd;
    color: var(--primary);
    font-size: 30px;
}

.order-page-card h1 {
    margin: 8px 0;
    color: var(--navy);
    font-size: 34px;
}

.order-page-card h1 span {
    color: #08a1d3;
}

.order-page-card p {
    margin: 0 auto 25px;
    color: var(--muted);
}

.order-page-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 25px 0;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.order-page-info div {
    padding: 16px 10px;
    border-right: 1px solid var(--line);
}

.order-page-info div:last-child {
    border: 0;
}

.order-page-info small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);

}

.order-page-info b {
    color: var(--navy);
    font-size: 13px;
}

.order-page-card>.button {
    padding: 10px 15px;
    border: 0;
    border-radius: 7px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
}

/* Order details view */
.order-view-body {
    background: #f7fbf9;
}

.order-view-body .site-preloader {
    display: none;
}

.order-view-page {
    min-height: 100vh;
    padding: 0 0 34px;
    background: #f5faf8;
    color: #29404a;
}

.order-heading-section {
    padding: 22px 0 25px;
    border-bottom: 1px solid #dceae5;
    background: #fff;
}

.order-content-section {
    padding: 24px 0 0;
}

.order-view-shell {
    max-width: 1120px;
}

.order-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #7c989c;
    font-size: 12px;
}

.order-breadcrumb a {
    color: #6b9b9d;
    text-decoration: none;
}

.order-breadcrumb b {
    color: #087fb5;
    font-weight: 700;
}

.order-view-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.order-view-kicker {
    color: #087fb5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.order-view-heading h1 {
    margin: 6px 0 3px;
    color: #073d42;
    font-size: 34px;
    line-height: 1;
    letter-spacing: .1px;
}

.order-view-heading p {
    margin: 0;
    color: #7b9294;
    font-size: 12px;
}

.order-confirmed {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 16px;
    background: #e9f5ff;
    color: #087fb5;
    font-size: 12px;
    font-weight: 700;
}

.order-view-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(250px, .8fr);
    gap: 15px;
    align-items: start;
}

.order-view-main,
.order-view-sidebar {
    display: grid;
    gap: 15px;
}

.order-card {
    border: 1px solid #dce9e3;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 13px rgba(26, 72, 62, .05);
}

.order-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px 13px;
    border-bottom: 1px solid #e5eee9;
}

.order-card-title>span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #e9f6fb;
    color: #087fb5;
    font-size: 14px;
}

.order-card-title h2 {
    margin: 0;
    color: #173f45;
    font-size: 15px;
    line-height: 1.2;
}

.order-card-title small {
    display: block;
    margin-top: 3px;
    color: #8ba0a0;
    font-size: 10px;
}

.order-info-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 8px 11px;
}

.order-info-fields div {
    padding: 8px 9px;
    border-radius: 5px;
    background: #f6faf8;
}

.order-info-fields small,
.order-info-fields b {
    display: block;
}

.order-info-fields small {
    margin-bottom: 5px;
    color: #789391;
    font-size: 10px;
}

.order-info-fields b {
    color: #087fb5;
    font-size: 12px;
}

.order-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-address-card address {
    padding: 14px 18px 17px;
    color: #587174;
    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
}

.order-products-card {
    overflow: hidden;
}

.order-product-head,
.order-product-row {
    display: grid;
    grid-template-columns: 1fr 80px 100px 100px;
    gap: 8px;
    align-items: center;
    padding: 11px 18px;
    font-size: 11px;
}

.order-product-head {
    color: #8aa09f;
    background: #fbfdfc;
    font-weight: 700;
}

.order-product-row {
    min-height: 57px;
    border-top: 1px solid #eef3f0;
    color: #668080;
}

.order-product-row>span:not(:first-child),
.order-product-row>b {
    text-align: right;
}

.order-product-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-product-name b,
.order-product-name small {
    display: block;
}

.order-product-name b {
    color: #254b50;
    font-size: 13px;
}

.order-product-name small {
    margin-top: 4px;
    color: #8aa09f;
    font-size: 10px;
}

.order-product-thumb {
    display: grid;
    place-items: center;
    width: 48px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(145deg, #d5deda, #788e89);
    color: #f5fffb;
    font-size: 21px;
}

.order-product-row>b {
    color: #087fb5;
    font-size: 12px;
}

.order-timeline-card {
    padding-bottom: 11px;
}

.order-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 15px 11px 8px;
}

.order-timeline:before {
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #d5e5df;
    content: '';
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #9badab;
    text-align: center;
}

.timeline-step span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cadbd5;
    border-radius: 50%;
    background: #f5faf7;
    font-size: 20px;
}

.timeline-step.done span {
    border-color: #168b42;
    background: #168b42;
    color: white;
}

.timeline-step.current span {
    border-color: #087fb5;
    background: white;
    color: #087fb5;
    box-shadow: 0 0 0 3px #e7f4fb;
}

.timeline-step b {
    color: #587875;
    font-size: 10px;
}

.timeline-step.current b {
    color: #087fb5;
}

.timeline-step small {
    font-size: 9px;
}

.timeline-note {
    margin: 0 18px;
    padding: 10px 12px;
    border-radius: 5px;
    background: #f5faf7;
    color: #8aa09f;
    font-size: 10px;
}

.timeline-note i {
    margin-right: 5px;
    color: #087fb5;
}

.order-summary-card dl,
.payment-card dl {
    margin: 0;
    padding: 9px 18px 13px;
}

.order-summary-card dl div,
.payment-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    color: #78908f;
    font-size: 11px;
}

.order-summary-card dd,
.payment-card dd {
    margin: 0;
    color: #31575b;
    font-weight: 700;
}

.order-summary-card .free {
    color: #087fb5;
}

.summary-total {
    margin-top: 5px;
    padding-top: 10px !important;
    border-top: 1px dashed #c9ddd5;
    color: #325b5b !important;
    font-weight: 700;
}

.summary-total dd {
    color: #087fb5;
}

.payment-card .paid {
    color: #168b42;
}

.paid-badge {
    display: block;
    margin: 0 18px 15px;
    padding: 10px;
    border-radius: 5px;
    background: #e9f6fb;
    color: #087fb5;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.paid-badge i {
    margin-right: 5px;
}

.tracking-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 14px 18px 17px;
    padding: 18px 10px;
    border-radius: 6px;
    background: #f5faf7;
    text-align: center;
}

.tracking-empty i {
    color: #9bb4ad;
    font-size: 24px;
}

.tracking-empty b {
    color: #5a7774;
    font-size: 11px;
}

.tracking-empty small {
    color: #9aacab;
    font-size: 9px;
    line-height: 1.5;
}

.download-invoice,
.back-orders-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

.download-invoice {
    padding: 11px;
    background: #087fb5;
    color: #fff;
}

.back-orders-link {
    padding: 11px;
    border: 1px solid #abd0bd;
    background: #fff;
    color: #087fb5;
}

@media (max-width: 700px) {
    .order-heading-section {
        padding: 17px 0 20px;
    }

    .order-content-section {
        padding-top: 18px;
    }

    .order-view-heading {
        align-items: flex-start;
    }

    .order-view-grid {
        grid-template-columns: 1fr;
    }

    .order-view-sidebar {
        grid-row: 2;
    }

    .order-address-grid {
        gap: 9px;
    }

    .order-product-head,
    .order-product-row {
        grid-template-columns: minmax(0, 1fr) 42px 58px 60px;
    }

    .order-timeline {
        overflow-x: auto;
        grid-template-columns: repeat(6, minmax(65px, 1fr));
    }

    .order-timeline:before {
        left: 32px;
        right: 32px;
        width: 358px;
    }
}

@media (max-width: 420px) {

    .order-address-grid,
    .order-info-fields {
        grid-template-columns: 1fr;
    }

    .order-product-head {
        display: none;
    }

    .order-product-row {
        grid-template-columns: 1fr 42px;
    }

    .order-product-row>span:nth-child(3),
    .order-product-row>b {
        grid-column: 2;
    }

    .order-product-row>span:nth-child(3) {
        grid-row: 1;
    }

    .order-product-row>b {
        grid-row: 2;
    }

    .order-confirmed {
        margin-top: 5px;
    }
}

/* Larger, comfortable order-page typography */
.order-view-page .order-breadcrumb {
    font-size: 13px;
}

.order-view-page .order-view-kicker {
    font-size: 13px;
}

.order-view-page .order-view-heading h1 {
    font-size: 40px;
}

.order-view-page .order-view-heading p {
    font-size: 14px;
}

.order-view-page .order-confirmed {
    font-size: 13px;
    padding: 10px 16px;
}

.order-view-page .order-card-title h2 {
    font-size: 18px;
}

.order-view-page .order-card-title small {
    font-size: 12px;
}

.order-view-page .order-info-fields small {
    font-size: 12px;
}

.order-view-page .order-info-fields b {
    font-size: 14px;
}

.order-view-page .order-address-card address {
    font-size: 14px;
}

.order-view-page .order-product-head,
.order-view-page .order-product-row {
    font-size: 13px;
}

.order-view-page .order-product-name b {
    font-size: 15px;
}

.order-view-page .order-product-name small {
    font-size: 12px;
}

.order-view-page .order-product-row>b {
    font-size: 14px;
}

.order-view-page .timeline-step b {
    font-size: 12px;
}

.order-view-page .timeline-step small {
    font-size: 11px;
}

.order-view-page .timeline-note {
    font-size: 12px;
}

.order-view-page .order-summary-card dl div,
.order-view-page .payment-card dl div {
    font-size: 13px;
}

.order-view-page .paid-badge,
.order-view-page .tracking-empty b {
    font-size: 12px;
}

.order-view-page .tracking-empty small {
    font-size: 11px;
}

.order-view-page .download-invoice,
.order-view-page .back-orders-link {
    font-size: 13px;
}

/* Standalone invoice */
.invoice-page {
    min-height: 100vh;
    padding: 30px 0 60px;
    background: #f5fafb;
}

.invoice-shell {
    max-width: 980px;
}

.invoice-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.invoice-toolbar>a {
    color: #087fb5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.invoice-actions {
    display: flex;
    gap: 10px;
}

.invoice-actions button {
    padding: 11px 15px;
    border: 1px solid #087fb5;
    border-radius: 6px;
    background: #fff;
    color: #087fb5;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.invoice-actions button:first-child {
    background: #087fb5;
    color: #fff;
}

.invoice-document {
    padding: 46px 52px 30px;
    background: #fff;
    border: 1px solid #dce9ed;
    box-shadow: 0 14px 35px rgba(18, 51, 76, .1);
    color: #40565c;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.invoice-brand {
    color: #087fb5;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-decoration: none;
}

.invoice-brand span {
    color: #07517b;
}

.invoice-header p {
    margin: 5px 0 0;
    color: #809298;
    font-size: 11px;
}

.invoice-heading {
    text-align: right;
}

.invoice-heading>span {
    color: #087fb5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.invoice-heading h1 {
    margin: 5px 0 3px;
    color: #173f45;
    font-size: 24px;
}

.invoice-heading small {
    color: #809298;
    font-size: 11px;
}

.invoice-rule {
    height: 3px;
    margin: 25px 0 27px;
    background: #087fb5;
}

.invoice-meta {
    display: grid;
    grid-template-columns: 1fr 1fr .85fr;
    gap: 35px;
    margin-bottom: 34px;
}

.invoice-meta h2 {
    margin: 0 0 11px;
    color: #087fb5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.invoice-meta strong {
    color: #173f45;
    font-size: 14px;
}

.invoice-meta p {
    margin: 7px 0 0;
    color: #647a80;
    font-size: 12px;
    line-height: 1.7;
}

.invoice-order-meta {
    padding-left: 23px;
    border-left: 1px solid #e1ecef;
}

.invoice-order-meta p {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 13px;
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #edf3f4;
}

.invoice-order-meta b {
    color: #788c91;
    font-weight: 600;
}

.invoice-paid {
    color: #188648;
    font-weight: 700;
}

.invoice-items table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-items th {
    padding: 12px 10px;
    background: #eaf6fa;
    color: #087fb5;
    font-size: 11px;
    text-align: left;
    text-transform: uppercase;
}

.invoice-items th:first-child {
    width: 45px;
}

.invoice-items th:nth-child(3) {
    width: 60px;
}

.invoice-items th:nth-child(n+3),
.invoice-items td:nth-child(n+3) {
    text-align: right;
}

.invoice-items td {
    padding: 17px 10px;
    border-bottom: 1px solid #e6eef0;
    color: #536a70;
    font-size: 13px;
}

.invoice-items td strong,
.invoice-items td small {
    display: block;
}

.invoice-items td strong {
    color: #173f45;
    font-size: 14px;
}

.invoice-items td small {
    margin-top: 5px;
    color: #819397;
    font-size: 11px;
}

.invoice-total-area {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 27px;
}

.invoice-note {
    align-self: flex-end;
    max-width: 390px;
}

.invoice-note strong {
    color: #173f45;
    font-size: 13px;
}

.invoice-note p {
    margin: 7px 0 0;
    color: #819397;
    font-size: 11px;
    line-height: 1.6;
}

.invoice-totals {
    width: 290px;
}

.invoice-totals p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 7px 0;
    color: #71858a;
    font-size: 12px;
}

.invoice-totals b {
    color: #35545a;
}

.invoice-blue {
    color: #087fb5 !important;
}

.invoice-grand-total {
    margin-top: 8px !important;
    padding: 14px 0 0 !important;
    border-top: 2px solid #087fb5;
    color: #173f45 !important;
    font-size: 15px !important;
    font-weight: 700;
}

.invoice-grand-total b {
    color: #087fb5;
    font-size: 17px;
}

.invoice-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 52px;
    padding-top: 15px;
    border-top: 1px solid #e1ecef;
    color: #8b9da1;
    font-size: 10px;
}

.invoice-footer i {
    color: #087fb5;
    margin-right: 3px;
}

@media print {

    .no-print,
    .order-view-body .site-header,
    .order-view-body .site-footer,
    .invoice-page .site-preloader,
    .invoice-page .toast-message {
        display: none !important;
    }

    .invoice-page {
        padding: 0;
        background: #fff;
    }

    .invoice-shell {
        max-width: none;
    }

    .invoice-document {
        border: 0;
        box-shadow: none;
        padding: 12mm 10mm;
    }

    @page {
        size: A4;
        margin: 0;
    }
}

@media (max-width: 700px) {
    .invoice-page {
        padding: 18px 0 35px;
    }

    .invoice-toolbar,
    .invoice-header,
    .invoice-total-area {
        align-items: flex-start;
        flex-direction: column;
    }

    .invoice-actions {
        width: 100%;
    }

    .invoice-actions button {
        flex: 1;
        padding: 10px 7px;
    }

    .invoice-document {
        padding: 28px 20px;
    }

    .invoice-heading {
        text-align: left;
    }

    .invoice-meta {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .invoice-order-meta {
        grid-column: 1 / -1;
        padding: 12px 0 0;
        border-top: 1px solid #e1ecef;
        border-left: 0;
    }

    .invoice-items {
        overflow-x: auto;
    }

    .invoice-items table {
        min-width: 620px;
    }

    .invoice-footer {
        flex-wrap: wrap;
        margin-top: 35px;
    }
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fbfcfd;
    color: var(--ink);
    font: 13px/1.5 Inter, Arial, sans-serif
}

/* Creative shopping preloader */
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #e9faff 0, #f8fcfd 32%, #fff 72%);
    transition: opacity .55s ease, visibility .55s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-bag {
    position: relative;
    z-index: 2;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background: linear-gradient(145deg, #0aa7d9, #07517b);
    color: #fff;
    font-size: 38px;
    box-shadow: 0 16px 30px #087fb54d, inset 0 1px 0 #ffffff66;
    animation: preloaderFloat 1.8s ease-in-out infinite;
}

.preloader-brand {
    margin-top: 20px;
    color: var(--primary-dark);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.preloader-brand span {
    color: #1a9ed1;
}

.site-preloader p {
    margin: 9px 0 0;
    color: var(--muted);

    letter-spacing: .2px;
}

.preloader-loading {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.preloader-loading span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: preloaderDot 1s ease-in-out infinite;
}

.preloader-loading span:nth-child(2) {
    animation-delay: .15s;
}

.preloader-loading span:nth-child(3) {
    animation-delay: .3s;
}

.preloader-orbit {
    position: absolute;
    border: 1px solid #08a1d333;
    border-radius: 50%;
    transform: rotate(-25deg);
}

.orbit-one {
    width: 210px;
    height: 72px;
    animation: preloaderOrbit 2.6s linear infinite;
}

.orbit-two {
    width: 250px;
    height: 95px;
    opacity: .45;
    transform: rotate(55deg);
    animation: preloaderOrbit 3.4s linear infinite reverse;
}

@keyframes preloaderFloat {
    50% {
        transform: translateY(-7px) rotate(-2deg);
    }
}

@keyframes preloaderDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: .35;
    }

    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes preloaderOrbit {
    to {
        transform: rotate(335deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .site-preloader *,
    .site-preloader {
        animation: none !important;
        transition: none !important;
    }
}

.about-hero {
    background: linear-gradient(120deg, #07517b, #0a9dcc);
    color: #fff;
    padding: 72px 0 78px;
}

.about-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    margin: 12px 0 10px;
    letter-spacing: -2px;
}

.about-hero h1 span,
.about-story h2 span,
.section-heading h2 span {
    color: #08a1d3;
}

.about-hero h1 span {
    color: #b9efff;
}

.about-hero p {
    max-width: 600px;
    font-size: 17px;
    color: #e8f8fd;
    margin: 0;
}

.about-kicker {
    color: #087fb5;

    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-hero .about-kicker {
    color: #b9efff;
}

.about-story {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 70px;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 78px;
}

.about-story h2 {
    color: var(--navy);
    font-size: 34px;
    line-height: 1.15;
    margin: 12px 0 18px;
}

.about-story p {
    color: var(--muted);
    font-size: 15px;
    max-width: 680px;
}

.about-card {
    padding: 35px;
    border-radius: 16px;
    background: #eaf9fd;
    border: 1px solid #c8edf6;
    box-shadow: 0 15px 35px #087fb51a;
}

.about-card i,
.values-grid i {
    color: var(--primary);
    font-size: 38px;
}

.about-card h3 {
    color: var(--navy);
    margin: 20px 0 8px;
}

.about-card p,
.values-grid p {
    color: var(--muted);
    margin: 0;
}

.about-values {
    background: #f2f8fa;
    padding: 58px 0 72px;
}

.about-coming-soon {
    min-height: 570px;
    display: grid;
    place-items: center;
    padding: 55px 0;
    background: linear-gradient(135deg, #f4fbfd, #fff);
}

.coming-soon-card {
    max-width: 680px;
    margin: auto;
    padding: 58px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #d9eef4;
    border-radius: 20px;
    box-shadow: 0 18px 45px #087fb51a;
}

.coming-soon-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #e9f9fd;
    color: var(--primary);
    font-size: 34px;
}

.coming-soon-card h1 {
    color: var(--navy);
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 800;
    letter-spacing: -2px;
    margin: 12px 0;
}

.coming-soon-card h1 span {
    color: #08a1d3;
}

.coming-soon-card p {
    max-width: 510px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 16px;
}

.coming-soon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087fb5;
    font-weight: 700;
    text-decoration: none;
}

.coming-soon-link:hover {
    color: var(--primary-dark);
}

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

.values-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

.values-grid h3 {
    color: var(--navy);
    margin: 18px 0 8px;
}

@media (max-width: 767px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .about-hero {
        padding: 52px 16px 58px;
    }

    .about-hero p {
        font-size: 15px;
    }

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

.container {
    max-width: 1200px;
}

.utility {
    height: 30px;
    background: #f1f5f7;
    color: #71808b;
    font-size: 14px
}

.utility-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.utility a {
    color: inherit;
    text-decoration: none;
    margin-left: 25px
}

.utility a:hover {
    color: var(--primary)
}

.utility i {
    color: var(--primary);
    margin-right: 3px
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 16px #12334c0b;
    position: relative;
    z-index: 8
}

.mainbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 40px
}

.brand {
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--primary);
    text-decoration: none
}

.brand span {
    color: #1a9ed1
}

.search {
    height: 43px;
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
    background: #fbfdfe;
    border: 1px solid #d9e5ea;
    border-radius: 7px;
    color: #98a7b0;
    transition: .2s;
    max-width: 550px;
    margin: auto;

}

.footer-brand p {
    max-width: 295px;
}

.search:focus-within {
    border-color: #6bc2df;
    box-shadow: 0 0 0 4px #08a1d318
}

.search i {
    font-size: 17px;
    padding: 0 13px
}

.search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: 12px Inter
}

.search button {
    height: 100%;
    border: 0;
    background: var(--primary);
    color: #fff;
    padding: 0 23px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer
}

.actions {
    display: flex;
    gap: 24px
}

.actions a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b4c58;
    text-decoration: none;
    font-size: 20px;
    transition: .2s
}

.actions a:hover {
    color: var(--primary)
}

.actions a::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 30;
    padding: 6px 9px;
    border-radius: 5px;
    background: #203746;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -4px);
    transition: opacity .18s ease, transform .18s ease;
}

.actions a:hover::after,
.actions a:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.cart-count {
    position: absolute;
       top: -7px;
    right: -15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef6256 !important;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding-top: 1px;
}

.mobile-menu-btn {
    display: none
}

.category-nav {
    height: 50px;
    background: #087fb5;
    position: sticky;
    top: 0;
    z-index: 20;
}

.category-nav.has-scroll-controls {
    position: sticky;
    top: 0;
    z-index: 9 !important;
}

.site-header.category-stuck {
    padding-bottom: 50px;
}

.category-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: categoryNavDrop .28s ease both;
}

@keyframes categoryNavDrop {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-scroll {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap
}

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center
}

.nav-pill {
    border: 1px solid #dfe8ed;
    border-radius: 18px;
    background: #fff;
    color: #4c606c;
    padding: 8px 15px;
    font: 15px Inter;
    cursor: pointer;
    transition: .2s
}

.nav-pill i {

    margin-left: 3px
}

.nav-pill:hover,
.nav-pill.active,
.nav-dropdown.open .nav-pill {
    border-color: #4e636c;
    background: #4e636c;
    color: #fff;
    box-shadow: 0 5px 13px #087fb52e
}

.dropdown-menu {
    display: block;
    position: absolute;
    z-index: 12;
    top: 100%;
    left: 0;
    width: 185px;
    padding: 7px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 30px #12334c1c;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px) scale(.98);
    transform-origin: top left;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1)
}

.dropdown-menu a {
    display: block;
    padding: 5px 10px;
    color: #566975;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
}

.dropdown-menu a:hover {
    background: #effaff;
    color: var(--primary)
}

.main-content {
    padding: 0
}

.hero {
    aspect-ratio: 2500 / 600;
    height: auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 16px 30px #122b4926
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0px
}

.hero-slide:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(28px)
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0)
}

.hero-slide {
    transition: opacity .55s ease, transform .55s ease, visibility .55s ease
}

.hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-copy p {
    font-size: 15px;
    color: #e4edf5;
    margin: 0 0 8px
}

.hero-copy h1 {
    font-size: 35px;
    line-height: 1;
    margin: 0 0 12px;
    letter-spacing: .5px
}

.hero-copy b {
    font-size: 12px;
    letter-spacing: .4px
}

.hero-dots {
    display: flex;
    gap: 5px;
    margin-top: 35px
}

.hero-dots button {
    width: 20px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #ffffff66
}

.hero-dots button.active {
    background: #fff
}

.hero:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    right: 75px;
    top: -65px;
    border: 1px solid #ffffff13;
    border-radius: 50%;
    box-shadow: 0 0 0 36px #ffffff08, 0 0 0 72px #ffffff05
}

.slide-blue {
    background: linear-gradient(115deg, #132d4c, #1b6281)
}

.slide-green {
    background: linear-gradient(115deg, #123d45, #147d75)
}

.slider {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 29px;
    line-height: 30px;
    box-shadow: 0 5px 15px #122b4933;
    cursor: pointer;
    transform: translateY(-50%);
    transition: .2s
}

.slider:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px #087fb54d
}

.prev {
    left: 20px
}

.next {
    right: 20px
}

/* Responsive hero banners: desktop and mobile can use different artwork. */
.hero-banner-picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Final hero banner overrides (kept after legacy carousel rules). */
.premium-hero {
    height: auto;
    aspect-ratio: 1920 / 650;
    min-height: 0;
    background: #edf3d5;
}

.premium-hero .hero-slide {
    padding: 0;
    background: transparent;
}

.premium-hero .hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.premium-hero .hero-copy,
.premium-hero .hero-art {
    display: none;
}

@media (max-width: 767px) {
    .premium-hero {
        height: 190px;
        aspect-ratio: auto;
    }
}

@media (max-width: 767px) {
    .hero {
        aspect-ratio: 4 / 5;
    }

    .hero-banner-image {
        object-fit: cover;
    }
}

.watch-art {
    position: absolute;
    right: 125px;
    width: 170px;
    height: 220px;
    z-index: 2;
    transform: rotate(12deg)
}

.watch-band {
    position: absolute;
    right: 32px;
    top: 0;
    width: 79px;
    height: 216px;
    border-radius: 46px;
    background: linear-gradient(90deg, #344662, #101b33 68%, #4a5c7a);
    box-shadow: inset 7px 0 10px #ffffff20
}

.watch-face {
    position: absolute;
    right: 17px;
    top: 55px;
    z-index: 2;
    width: 86px;
    height: 104px;
    border: 6px solid #0d172b;
    border-radius: 24px;
    background: #19283b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #51e5d8;
    box-shadow: 0 5px 18px #08101f
}

.watch-face span {
    font-size: 18px;
    font-weight: 700
}

.watch-face small {
    color: #fff;
    font-size: 8px;
    text-align: center;
    margin-top: 7px
}

.phone-hero,
.sale-hero {
    position: absolute;
    right: 145px;
    z-index: 2;
    font-size: 132px;
    color: #3bcee9;
    transform: rotate(12deg)
}

.sale-hero {
    font-size: 76px;
    color: #ffdc72;
    font-weight: 800;
    transform: rotate(-12deg)
}

.section-block {
    margin-top: 42px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
    border-bottom: 1px solid var(--line)
}

.section-heading h2 {
    margin: 0;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--primary);
    font-size: 14px;
    font-weight: 500
}

.section-heading h2 span {
    color: var(--primary);
    font-weight: 500
}

.section-heading a {
    color: #526571;
    text-decoration: none;
    font-size: 13px
}

.section-heading a:hover {
    color: var(--primary)
}

.section-heading i {
    font-size: 13px
}

.products {
    flex-wrap: nowrap
}

.product-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e9ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 15px #12334c0a;
    transition: .25s
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #b8dce9;
    box-shadow: 0 13px 25px #12334c1b
}

.product-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none
}

.product-image {
    height: 174px;
    position: relative;
    padding: 15px;
    background: linear-gradient(145deg, #f8fafb, #f1f5f6);
    display: flex;
    align-items: center;
    justify-content: center
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply
}

.product-image em {
    position: absolute;
    right: 0;
    top: 11px;
    padding: 5px 7px;
    border-radius: 4px 0 0 4px;
    background: #0aa5dd;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 600
}

.product-info {
    min-height: 171px;
    padding: 12px
}

.product-category {
    margin-bottom: 7px;
    color: #74838c;
    font-size: 12px
}

.product-category i {
    color: var(--primary)
}

.product-info h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600
}

img {
    max-width: 100%;
    height: auto;
}

.product-info p {
    margin: 0 0 9px;
    color: #77858e;
    font-size: 10px
}

.product-info strong {
    font-size: 22px
}

.product-info del {
    color: #a2adb2;
    font-size: 10px
}

.product-info small {
    display: block;
    margin-top: 7px;
    color: #078f56;
    font-size: 13px
}

.buy-now {
    display: block;
    width: 100%;
    margin-top: 11px;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, #09a3d9, #086ea8);
    color: #fff;

    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 12px #087fb52e;
    transition: .2s
}

.buy-now:hover {
    box-shadow: 0 7px 16px #087fb552
}

.categories {
    display: grid;
    grid-template-columns: repeat(7, minmax(90px, 1fr));
    gap: 16px;
    padding: 6px 2px 4px
}

.category {
    position: relative;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    padding: 10px;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease
}

.category-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7eff2;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff 8%, #f0f7fa 100%);
    box-shadow: 0 8px 20px rgba(18, 51, 76, .10), inset 0 1px 0 #fff;
    color: var(--primary);
    font-size: 28px;
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease
}

.category:nth-child(2) .category-icon {
    color: #e7a21a
}

.category:nth-child(3) .category-icon {
    color: #775ce6
}

.category:nth-child(4) .category-icon {
    color: #ec7662
}

.category:nth-child(5) .category-icon {
    color: #2f9dba
}

.category:nth-child(6) .category-icon {
    color: #48a65b
}

.category:nth-child(7) .category-icon {
    color: #da5999
}

.category-glow {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .07;
    transition: opacity .25s ease, transform .25s ease
}

.category small {
    display: block;
    color: #304b61;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1px
}

.category-arrow {
    margin-top: 7px;
    color: #a8b8c1;

    opacity: 0;
    transform: translateX(-5px);
    transition: .25s ease
}


.category:hover .category-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 12px 24px rgba(8, 127, 181, .20)
}

.category:hover .category-glow {
    opacity: .16;
    transform: scale(1.12)
}

.category:hover .category-arrow {
    opacity: 1;
    transform: translateX(0)
}

.brands {
    display: flex;
    gap: 16px;
    padding: 3px 1px 8px
}

.brand-banner {
    height: 154px;
    position: relative;
    flex: 1;
    overflow: hidden;
    padding: 21px 22px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(18, 43, 73, .12);
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.brand-banner:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(18, 43, 73, .20)
}

.brand-banner:before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    right: -48px;
    bottom: -80px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .06), 0 0 0 38px rgba(255, 255, 255, .04)
}

.brand-banner span {
    display: block;

    font-weight: 700;
    letter-spacing: 1.4px;
    opacity: .72
}

.brand-banner b {
    display: block;
    margin-top: 20px;
    font-size: 27px;
    letter-spacing: -.8px
}

.brand-banner small {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 20px;

    font-weight: 600;
    letter-spacing: .2px
}

.apple {
    background: linear-gradient(130deg, #192637, #35495c)
}

.realme {
    background: linear-gradient(130deg, #fff3d0, #f5dfaa);
    border-color: #f2dfb4;
    color: #29323d
}

.xiaomi {
    background: linear-gradient(130deg, #ffe6d7, #ffd3bb);
    border-color: #f7d8c7;
    color: #29323d
}

.realme small,
.xiaomi small {
    border-color: rgba(41, 50, 61, .18)
}

.phone-shape {
    position: absolute;
    right: 28px;
    bottom: -4px;
    width: 48px;
    height: 94px;
    border: 3px solid #233a57;
    border-radius: 8px;
    background: #3bb5d6;
    transform: rotate(12deg)
}

.phone-shape:after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 4px;
    background: linear-gradient(145deg, #183d70, #45b8d5)
}

.one {
    right: 14px;
    background: #d6e5ef
}

.two {
    right: 54px;
    bottom: -16px
}

.three {
    right: 20px;
    background: #e6d064
}

.four {
    right: 18px;
    background: #168cc7
}

.essentials-section {
    margin-top: 55px;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.essential-card {
    min-width: 0;
    padding: 0 5px 9px;
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: .2s;
}

.essential-card:hover {
    color: var(--primary-dark);
    transform: translateY(-4px);
}

.essential-art {
    height: 112px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
    border: 1px solid #eef1f3;
    border-radius: 8px;
    background: linear-gradient(145deg, #fff, #f3f5f5);
    font-size: 47px;
    letter-spacing: -13px;
    filter: saturate(.92);
}

.essential-card.featured .essential-art {
    border-color: #42b9dd;
    box-shadow: 0 4px 12px #087fb52b;
}

.basket-art {
    font-size: 42px;
}

.essential-card small,
.essential-card b {
    display: block;
    line-height: 1.3;
}

.essential-card small {
    color: #66747b;
}

.essential-card b {
    margin-top: 3px;
    color: #1f2d35;
}

.site-footer {
    position: relative;
    margin-top: 42px;
    overflow: hidden;
    background: linear-gradient(135deg, #087fae 0%, #0799cf 52%, #087fb3 100%);
    color: #fff;
}

.site-footer:after {
    content: '';
    position: absolute;
    right: -85px;
    top: -80px;
    width: 250px;
    height: 250px;
    border: 1px solid #ffffff29;
    border-radius: 50%;
    box-shadow: 0 0 0 22px #ffffff0d, 0 0 0 44px #ffffff09;
}

.footer-intro {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 34px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ffffff2e;
}

.footer-kicker {
    color: #b8efff;

    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-intro h2 {
    max-width: 520px;
    margin: 5px 0 3px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.footer-intro p {
    margin: 0;
    color: #d8f5fc;
    font-size: 12px;
}

.footer-subscribe {
    width: min(100%, 390px);
}

.footer-subscribe label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.subscribe-field {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding-left: 13px;
    border: 1px solid #ffffff55;
    border-radius: 8px;
    background: #006f9d66;
    box-shadow: inset 0 1px 0 #ffffff12;
}

.subscribe-field i {
    color: #bceefa;
}

.subscribe-field input {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: 11px Inter;
}

.subscribe-field input::placeholder {
    color: #c8edf5;
}

.subscribe-field button {
    align-self: stretch;
    border: 0;
    border-radius: 0 7px 7px 0;
    padding: 0 13px;
    background: #fff;
    color: var(--primary-dark);

    font-weight: 800;
    cursor: pointer;
}

.subscribe-field button i {
    color: inherit;
    margin-left: 3px;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 50px;
    padding-top: 30px;
    padding-bottom: 25px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-logo span {
    color: #b8efff;
}

.footer-caption {
    margin-bottom: 21px !important;
    color: #c9f0f7;
    line-height: 1.5 !important;
}

.footer-brand h2 {
    margin: 0 0 25px;
    font-size: 21px;
}

.site-footer h3 {
    margin: 3px 0 14px;
    padding-bottom: 8px;
    width: max-content;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    font-weight: 500;
}

.site-footer h4 {
    margin: 14px 0 8px;
    font-size: 16px;
    font-weight: 500;
}

.site-footer p {
    margin: 0 0 9px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 15px;
    font-size: 13px;
}

.contact-line>i {
    margin-top: 2px;
    color: #b8efff;
}

.contact-line small {
    display: block;
    margin-top: 2px;
    color: #c9f0f7;

}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 19px;
}

.footer-socials a {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    background: #ffffff12;
    font-size: 13px;
    transition: .2s;
}

.footer-socials a:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.site-footer p span {
    padding-left: 17px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-links a {
    font-size: 15px;
    transition: .2s;
}

.footer-links a:hover {
    color: #bdf1ff;
    transform: translateX(4px);
}

.footer-links a:before {
    content: '•';
    margin-right: 7px;
}

.app-buttons {
    display: flex;
    gap: 8px;
}

.app-buttons a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 15px;
}

.app-buttons i {
    font-size: 15px;
}

.footer-app-column>p {
    color: #c9f0f7;
    font-size: 12px;
    line-height: 1.55;
}

.app-buttons a {
    background: #006f9d55;
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #d8f5fc;

}

.footer-trust i {
    color: #b8efff;
    font-size: 18px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #ffffff2e;
    color: #c9f0f7;
    font-size: 15px;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    color: inherit;
}



.mobile-category-trigger,
.mobile-drawer,
.drawer-overlay {
    display: none
}

.toast-message {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    padding: 13px 18px;
    border-radius: 7px;
    background: var(--navy);
    color: #fff;
    opacity: 0;
    transform: translateY(15px);
    transition: .25s
}

.toast-message.show {
    opacity: 1;
    transform: none
}

/* User and admin dashboards */
.dashboard-page,
.admin-page {
    min-height: 680px;
    padding: 48px 0 72px;
    background: linear-gradient(145deg, #f7fbfc, #fff);
}

.dashboard-heading,
.admin-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 34px;
}

.dashboard-kicker {
    color: var(--primary);

    font-weight: 800;
    letter-spacing: 1.6px;
}

.dashboard-heading h1,
.admin-heading h1 {
    margin: 7px 0 5px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.dashboard-heading h1 span,
.admin-heading h1 span {
    color: #08a1d3;
}

.dashboard-heading p,
.admin-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.dashboard-home-link,
.admin-actions a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.dashboard-home-link i {
    margin-right: 5px;
}

.user-dashboard-grid {
    display: grid;
    grid-template-columns: 245px 1fr;
    gap: 26px;
}

.dashboard-sidebar,
.dashboard-panel,
.admin-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px #12334c0a;
}

.dashboard-sidebar {
    position: sticky;
    top: 68px;
    align-self: start;
    height: max-content;
}

.profile-card {
    padding: 24px 18px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.profile-avatar {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #08a1d3, #07517b);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 7px 18px #087fb53d;
}

.profile-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 17px;
}

.profile-card p {
    margin: 3px 0 0;
    color: var(--muted);

}

.dashboard-menu {
    padding: 12px 10px;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border-radius: 8px;
    color: #5b6d77;
    text-decoration: none;
    font-size: 12px;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: #eaf9fd;
    color: var(--primary);
    font-weight: 700;
}

.dashboard-menu i {
    width: 17px;
    font-size: 15px;
}

.dashboard-menu b {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 10px;
    background: #f2a724;
    color: #fff;
    font-size: 9px;
}

.dashboard-tab-content {
    display: none;
}

.dashboard-tab-content.active {
    display: block;
}

.dashboard-placeholder {
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.dashboard-placeholder i {
    color: var(--primary);
    font-size: 38px;
}

.dashboard-placeholder h2 {
    margin: 14px 0 5px;
    color: var(--navy);
}

.dashboard-placeholder p {
    margin: 0;
    color: var(--muted);
}

.dashboard-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dashboard-settings-grid a {
    color: inherit;
    text-decoration: none;
    transition: .2s;
}

.dashboard-settings-grid a:hover {
    border-color: #8ed9ea;
    transform: translateY(-3px);
}

.user-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.user-stat-grid article {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px #12334c08;
}

.user-stat-grid i {
    color: var(--primary);
    font-size: 20px;
}

.user-stat-grid strong {
    margin-top: 12px;
    color: var(--navy);
    font-size: 24px;
}

.user-stat-grid span {
    color: var(--muted);

}

.dashboard-panel {
    padding: 22px;
    margin-bottom: 20px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 17px;
}

.panel-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 17px;
}

.panel-heading a {
    color: var(--primary);

    font-weight: 700;
    text-decoration: none;
}

.panel-muted {
    color: var(--muted);

}

.user-order-row {
    display: grid;
    grid-template-columns: 38px 1fr auto auto 20px;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-top: 1px solid #eef3f5;
}

.order-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #effaff;
    color: var(--primary);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-details b {
    color: var(--navy);
    font-size: 12px;
}

.order-details span {
    color: var(--muted);

}

.user-order-row>strong {
    color: var(--navy);
    font-size: 12px;
}

.order-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 20px;

    font-weight: 700;
    white-space: nowrap;
}

.delivered {
    background: #e7f8ef;
    color: #138449;
}

.transit {
    background: #e9f5fc;
    color: #087fb5;
}

.processing {
    background: #fff4da;
    color: #a66a00;
}

.pending {
    background: #fff0ef;
    color: #d55d52;
}

.order-more,
.period-select {
    border: 0;
    background: transparent;
    color: #83939b;
    cursor: pointer;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-actions a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px;
    border: 1px solid #e4eef1;
    border-radius: 9px;
    color: var(--navy);
    text-decoration: none;
}

.quick-actions a:hover {
    border-color: #8ed9ea;
    background: #f8fdfe;
}

.quick-actions i {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 20px;
}

.quick-actions span {
    font-weight: 700;
}

.quick-actions small {
    color: var(--muted);
    font-size: 9px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-actions button {
    padding: 10px 15px;
    border: 0;
    border-radius: 7px;
    background: var(--primary);
    color: #fff;

    font-weight: 700;
    box-shadow: 0 6px 15px #087fb533;
    cursor: pointer;
}

.admin-actions button i {
    margin-right: 5px;
}

.admin-actions a i {
    margin-right: 4px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 23px;
}

.admin-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px #12334c08;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 19px;
}

.stat-icon.blue {
    background: #eaf9fd;
    color: #087fb5;
}

.stat-icon.orange {
    background: #fff4dc;
    color: #d58b05;
}

.stat-icon.green {
    background: #e8f8ef;
    color: #19925b;
}

.stat-icon.purple {
    background: #f1edff;
    color: #7659d5;
}

.admin-stat-card span {
    display: block;
    color: var(--muted);

}

.admin-stat-card strong {
    display: block;
    margin: 4px 0;
    color: var(--navy);
    font-size: 20px;
}

.admin-stat-card small {
    font-size: 9px;
    font-weight: 700;
}

.admin-stat-card small.blue,
.admin-stat-card small.green {
    color: #15945e;
}

.admin-stat-card small.orange,
.admin-stat-card small.purple {
    color: #a77b20;
}

.stat-more {
    position: absolute;
    top: 16px;
    right: 14px;
    color: #9aabb2;
    font-size: 13px;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 23px;
    margin-bottom: 23px;
}

.admin-panel {
    padding: 23px;
}

.sales-chart {
    display: flex;
    height: 220px;
    padding-top: 20px;
}

.chart-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 13px 20px 0;
    color: #9aabb2;
    font-size: 9px;
}

.chart-area {
    position: relative;
    flex: 1;
}

.chart-grid {
    position: absolute;
    inset: 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-grid i {
    border-top: 1px dashed #e7eef1;
}

.chart-bars {
    position: absolute;
    inset: 0 0 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding: 0 8px;
}

.chart-bars b {
    position: relative;
    width: 100%;
    max-width: 31px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #23b6df, #087fb5);
    box-shadow: 0 5px 10px #087fb52b;
}

.chart-bars b em {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    color: #8798a0;
    font-size: 9px;
    font-style: normal;
    transform: translateX(-50%);
}

.category-progress>div {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 6px;
    color: #536873;

}

.category-progress i {
    margin-right: 7px;
    color: var(--primary);
}

.category-progress b {
    color: var(--navy);
}

progress {
    width: 100%;
    height: 7px;
    appearance: none;
}

progress::-webkit-progress-bar {
    border-radius: 8px;
    background: #eef3f5;
}

progress::-webkit-progress-value {
    border-radius: 8px;
    background: linear-gradient(90deg, #08a1d3, #74d4ec);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-orders table {
    width: 100%;
    border-collapse: collapse;
    min-width: 660px;
}

.admin-orders th {
    padding: 10px 12px;
    background: #f7fafb;
    color: #81929a;
    text-align: left;

    font-weight: 700;
    text-transform: uppercase;
}

.admin-orders td {
    padding: 14px 12px;
    border-bottom: 1px solid #eef3f5;
    color: #60727b;

}

.admin-orders td b {
    color: var(--navy);
}

.all-orders-page {
    min-height: 650px;
    padding: 32px 0 70px;
    background: #f5f9f7;
}

.all-orders-card {
    overflow: hidden;
    border: 1px solid #e2ece6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px #12334c0c;
}

.all-orders-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8efea;
}

.all-orders-toolbar h1 {
    margin: 0 0 3px;
    color: #087fb5;
    font-size: 16px;
}

.all-orders-toolbar h1 i {
    margin-right: 5px;
}

.all-orders-toolbar h1 b {
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #ecf9ff;
    color: #087fb5;

}

.all-orders-toolbar p {
    margin: 0;
    color: var(--muted);

}

.orders-tools {
    display: flex;
    gap: 7px;
}

.export-orders,
.search-orders {
    border: 1px solid #087fb5;
    border-radius: 4px;
    background: #fff;
    color: #087fb5;

    cursor: pointer;
}

.export-orders {
    padding: 7px 10px;
}

.order-search {
    width: 180px;
    padding: 8px 10px;
    border: 1px solid #ced9de;
    border-radius: 4px;
    outline: 0;
    font: 11px Inter;
}

.search-orders {
    width: 34px;
    background: #087fb5;
    color: #fff;
}

.all-orders-table-wrap {
    overflow-x: auto;
}

.all-orders-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.all-orders-table th {
    padding: 12px 10px;
    border-bottom: 1px solid #087fb5;
    background: #f7fbf8;
    color: #087fb5;
    text-align: left;

    white-space: nowrap;
}

.all-orders-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #e8efea;
    color: #586e62;

    white-space: nowrap;
}

.all-orders-table td:nth-child(4) {
    max-width: 235px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.all-orders-table td b,
.all-orders-table td strong {
    color: #1c4d30;
}

.payment-method {
    display: inline-block;
    padding: 6px 9px;
    border: 1px solid #bcd7ff;
    border-radius: 18px;
    color: #2465ae;

    font-weight: 700;
}

.payment-method.cod {
    border-color: #f5c76e;
    color: #bd7600;
}

.table-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 18px;

    font-weight: 700;
}

.table-status.paid,
.table-status.delivered {
    background: #e7f5e9;
    color: #258044;
}

.table-status.pending,
.table-status.processing {
    background: #fff4db;
    color: #ae7200;
}

.table-status.transit {
    background: #e9edfb;
    color: #405ab4;
}

.table-status.cancelled {
    background: #fbe4e9;
    color: #de3b55;
}

.back-orders-link {
    display: inline-block;
    margin: 17px 20px;
    color: #087fb5;

    font-weight: 700;
    text-decoration: none;
}

@media(max-width:767px) {

    .dashboard-page,
    .admin-page {
        padding: 32px 0 48px;
    }

    .dashboard-heading,
    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .user-dashboard-grid,
    .admin-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        order: 2;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-main {
        order: 1;
    }

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

    .admin-actions {
        width: 100%;
        justify-content: space-between;
    }

    .admin-stat-card {
        padding: 14px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .user-order-row {
        grid-template-columns: 34px 1fr auto;
        gap: 9px;
    }

    .user-order-row>strong {
        grid-column: 2;
    }

    .user-order-row .order-status {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .user-order-row .order-more {
        display: none;
    }

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

    .dashboard-settings-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dashboard-panel,
    .admin-panel {
        padding: 17px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px
    }

    .utility {
        display: none
    }

    .mainbar {
        min-height: 118px;
        padding: 14px 16px;
        gap: 13px;
        flex-wrap: wrap
    }

    .mobile-menu-btn {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ink);
        font-size: 22px
    }

    .brand {
        font-size: 21px
    }

    .actions {
        margin-left: auto;
        gap: 13px
    }

    .actions a {
        font-size: 17px
    }

    .actions small {
        font-size: 9px
    }

    .search {
        order: 3;
        flex-basis: 100%;
        height: 40px
    }

    .main-content {
        padding-top: 17px
    }

    .hero {
        aspect-ratio: 1920 / 658;
        height: auto
    }

    .hero-slide {
        padding-left: 0px
    }

    .hero-copy p {
        font-size: 11px
    }

    .hero-copy h1 {
        font-size: 23px
    }

    .hero-copy b {
        font-size: 10px
    }

    .hero-dots {
        margin-top: 22px
    }

    .watch-art {
        right: 3px;
        transform: scale(.68) rotate(12deg)
    }

    .phone-hero,
    .sale-hero {
        right: 26px;
        font-size: 92px
    }

    .sale-hero {
        font-size: 54px
    }

    .slider {
        width: 36px;
        height: 36px;
        font-size: 23px
    }

    .prev {
        left: 16px
    }

    .next {
        right: 16px
    }

    .section-block {
        margin-top: 43px
    }

    .section-heading h2 {
        font-size: 12px
    }

    .products {
        overflow-x: auto;
        padding-bottom: 10px
    }

    .product-card {
        min-width: 161px
    }

    .product-image {
        height: 145px
    }

    .product-info {
        min-height: 176px
    }

    .categories {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding: 4px 2px 12px
    }

    .category {
        flex: 0 0 78px;
        min-width: 78px;
        padding: 10px 4px 8px
    }

    .category-icon {
        width: 62px;
        height: 62px;
        margin-bottom: 10px;
        font-size: 24px
    }

    .category small {
        font-size: 10px
    }

    .category-arrow {
        display: none
    }

    .brands {
        overflow-x: auto;
        padding-bottom: 8px
    }

    .essentials-section {
        margin-top: 38px
    }

    .essentials-grid {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding: 3px 2px 12px
    }

    .essential-card {
        flex: 0 0 112px
    }

    .essential-art {
        height: 100px;
        font-size: 40px
    }

    .site-footer {
        margin-top: 42px
    }

    .footer-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-top: 28px;
        padding-bottom: 24px
    }

    .footer-intro h2 {
        font-size: 20px
    }

    .footer-subscribe {
        width: 100%
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 28px;
        padding-bottom: 25px
    }

    .footer-brand h2 {
        margin-bottom: 20px
    }

    .footer-caption {
        max-width: 250px
    }

    .footer-bottom {
        margin: 0 16px;
        padding: 15px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px
    }

    .footer-legal {
        gap: 14px
    }

    .brand-banner {
        min-width: 245px;
        height: 122px
    }
}

/* Authentication screens */
.register-body {
    min-height: 100vh;
    margin: 0;
    background: #eef7f0;
    color: #102d4c;
}

.register-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 6px 16px;
}

.register-card {
    width: min(100%, 451px);
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(33, 68, 49, .15);
}

.register-hero {
    padding: 23px 20px 25px;
    background: linear-gradient(135deg, #07517b, #087fb5);
    color: #fff;
    text-align: center;
}

.register-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    margin: 0 auto 23px;
    border-radius: 50%;
    background: #fff;
    color: #087fb5;
    font-size: 22px;
}

.register-hero h1 {
    margin: 0 0 3px;
    font-size: 24px;
    font-weight: 800;
}

.register-hero p {
    margin: 0;
    color: #c6e7c8;
    font-size: 13px;
}

.register-content {
    padding: 27px 24px 24px;
}

.register-form label {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
}

.register-input {
    position: relative;
    display: flex;
    align-items: center;
}

.register-input>i {
    position: absolute;
    left: 13px;
    color: #688296;
    font-size: 16px;
}

.register-input input {
    width: 100%;
    height: 50px;
    padding: 0 40px 0 39px;
    border: 1px solid #cbd5e0;
    border-radius: 10px;
    outline: 0;
    color: #102d4c;
    font-size: 15px;
}

.register-input input:focus {
    border-color: #087fb5;
    box-shadow: 0 0 0 3px #087fb51c;
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px 16px;
    margin-top: 19px;
}

.register-toggle {
    position: absolute;
    right: 5px;
    width: 34px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #688296;
    cursor: pointer;
}

.register-submit {
    width: 100%;
    height: 48px;
    margin-top: 23px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(135deg, #087fb5, #35b5d6);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 9px 20px #087fb538;
    cursor: pointer;
}

.register-submit i {
    margin-right: 8px;
}

.register-submit:hover {
    filter: brightness(1.05);
}

.register-login {
    margin: 20px 0 0;
    color: #708090;
    text-align: center;
    font-size: 14px;
}

.register-login a {
    color: #087fb5;
    text-decoration: underline;
}

.register-message {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 13px;
}

.register-message i {
    margin-right: 7px;
}

.register-message.error {
    background: #fff0ef;
    color: #c24e43;
}

.register-message.success {
    background: #e8f8ef;
    color: #16804b;
}

@media(max-width:520px) {
    .register-content {
        padding: 24px 18px 21px;
    }

    .register-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .register-hero h1 {
        font-size: 22px;
    }
}

.auth-body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at 10% 10%, #e8f8fc 0, transparent 32%), #f5fafb;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 34px 16px;
}

.auth-card {
    width: min(100%, 430px);
    padding: 38px 42px 32px;
    border: 1px solid #e1edf0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(20, 71, 88, .12);
    text-align: center;
}

.auth-brand {
    color: #172b4d;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-decoration: none;
}

.auth-brand span {
    color: #08a1d3;
}

.auth-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 25px auto 17px;
    border-radius: 16px;
    background: #eaf9fd;
    color: #087fb5;
    font-size: 25px;
}

.auth-icon.admin {
    background: #fff3dd;
    color: #bd7600;
}

.auth-kicker {
    color: #08a1d3;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.auth-card h1 {
    margin: 8px 0 7px;
    color: #172b4d;
    font-size: 25px;
    letter-spacing: -.7px;
}

.auth-subtitle {
    margin: 0 0 25px;
    color: #778991;
    font-size: 12px;
    line-height: 1.6;
}

.auth-form {
    text-align: left;
}

.auth-form label {
    display: block;
    margin: 0 0 7px;
    color: #304856;
    font-weight: 700;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
}

.auth-label-row a {
    color: #087fb5;
    font-weight: 700;
    text-decoration: none;
}

.auth-input {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input>i {
    position: absolute;
    left: 13px;
    color: #9aabb2;
    font-size: 15px;
}

.auth-input input {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 38px;
    border: 1px solid #d8e5e9;
    border-radius: 8px;
    outline: none;
    color: #243442;
    font: 12px Inter, sans-serif;
    transition: .2s;
}

.auth-input input:focus {
    border-color: #54bddd;
    box-shadow: 0 0 0 3px #08a1d31a;
}

.password-toggle {
    position: absolute;
    right: 4px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #80939b;
    cursor: pointer;
}

.auth-submit {
    width: 100%;
    height: 45px;
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #08a1d3, #087fb5);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 17px #087fb52b;
}

.auth-submit.admin {
    background: linear-gradient(135deg, #e2a52d, #bd7600);
}

.auth-submit i {
    margin-left: 7px;
}

.auth-alert,
.auth-success {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 7px;
    text-align: left;
}

.auth-alert {
    background: #fff0ef;
    color: #c24e43;
}

.auth-success {
    background: #e8f8ef;
    color: #16804b;
}

.auth-switch {
    margin: 22px 0 14px;
    color: #7c8f97;
}

.auth-switch a,
.auth-home {
    color: #087fb5;
    font-weight: 700;
    text-decoration: none;
}

.auth-home {
    display: inline-block;
}

.forgot-card .auth-icon {
    margin-top: 27px;
}

@media(max-width:480px) {
    .auth-card {
        padding: 30px 22px 26px;
    }

    .auth-card h1 {
        font-size: 22px;
    }
}

/* Admin panel layout */
.admin-layout {
    margin: 0;
    background: #f5f7f8;
    color: #34443a;
    font-size: 13px;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    width: 245px;
    overflow-y: auto;
    background: linear-gradient(180deg, #105d1e, #247b31);
    color: #d9eadb;
    transition: width .28s ease, transform .28s ease;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    padding: 20px;
    border-bottom: 1px solid #ffffff25;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.8px;
    text-decoration: none;
}

.admin-brand>span:last-child span {
    color: #f2c83b;
}

.admin-brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #1ab34d;
    border-radius: 50%;
    color: #f2c83b;
    font-size: 24px;
}

.admin-sidebar-caption {
    padding: 12px 20px 16px;
    color: #b5d5b8;
    font-size: 10px;
    letter-spacing: 1px;
}

.admin-nav {
    padding: 0 0 25px;
}

.admin-nav p {
    margin: 16px 20px 7px;
    color: #93c097;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 45px;
    padding: 0 24px;
    border-left: 3px solid transparent;
    color: #dcebdd;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a.active {
    border-left-color: #b7e3bc;
    background: #ffffff20;
    color: #fff;
}

.admin-nav a i {
    width: 17px;
    font-size: 16px;
}

.admin-main {
    min-height: 100vh;
    margin-left: 245px;
    transition: margin-left .28s ease;
}

.admin-topbar {
    display: flex;
    align-items: center;
    height: 63px;
    padding: 0 27px;
    border-bottom: 1px solid #e7ebed;
    background: #fff;
}

.admin-topbar h1 {
    margin: 0 0 0 25px;
    color: #1d5f2a;
    font-size: 18px;
}

.admin-collapse-button {
    display: grid;
    place-items: center;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #68716f;
    cursor: pointer;
}

.admin-collapse-icon {
    font-size: 16px;
}

.admin-sidebar-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #1d5f2a;
    font-size: 22px;
}

.admin-user {
    position: relative;
    margin-left: auto;
    color: #4f5854;
    font-size: 14px;
}

.admin-user summary {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    list-style: none;
}

.admin-user summary::-webkit-details-marker {
    display: none;
}

.admin-user span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eaf6eb;
    color: #2c8737;
    font-weight: 800;
}

.admin-user i {
    margin-left: 3px;
    font-size: 11px;
}

.admin-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    min-width: 155px;
    padding: 6px;
    border: 1px solid #e3ebee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 24px #12334c1f;
}

.admin-user-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #4f5854;
    text-decoration: none;
    white-space: nowrap;
}

.admin-user-menu a:hover {
    background: #eaf7fb;
    color: var(--primary);
}

.admin-user-menu a:last-child:hover {
    background: #fff1f1;
    color: #d64a4a;
}

.admin-dashboard-page {
    min-height: calc(100vh - 63px);
    padding: 15px 15px 40px;
}

.admin-dashboard-inner {
    margin: auto;
}

.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.admin-welcome span {
    color: #2c8737;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.admin-welcome h2 {
    margin: 6px 0 4px;
    color: #244c2b;
    font-size: 25px;
}

.admin-welcome p {
    margin: 0;
    color: #89938d;
}

.admin-welcome a,
.admin-section-title a {
    color: #13833a;
    font-weight: 700;
    text-decoration: none;
}

.admin-welcome a i {
    margin-right: 6px;
}

.admin-stat-card {
    min-height: 105px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px #193d2b12;
}

.admin-stat-card span {
    color: #929a96;
    font-size: 12px;
}

.admin-stat-card strong {
    color: #255b2d;
    font-size: 23px;
}

.admin-stat-card small {
    color: #89938d;
    font-size: 11px;
}

.stat-icon.blue {
    background: #e2f1ff;
    color: #1d6fc2;
}

.stat-icon.orange {
    background: #fff5dc;
    color: #f47c18;
}

.stat-icon.green {
    background: #e8f6ea;
    color: #2b873b;
}

.stat-icon.purple {
    background: #fae8ef;
    color: #d02c42;
}

.admin-panel {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 20px #193d2b12;
}

.admin-quick-panel {
    margin-bottom: 23px;
    padding: 20px;
}

.admin-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.admin-section-title h2 {
    margin: 0;
    color: #087c32;
    font-size: 16px;
}

.admin-section-title h2 i {
    margin-right: 7px;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.admin-quick-actions a {
    display: flex;
    min-height: 68px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    background: #e9f5ea;
    color: #137536;
    text-align: center;
    text-decoration: none;
}

.admin-quick-actions a:nth-child(3) {
    background: #f4e7f6;
    color: #7d178c;
}

.admin-quick-actions a:nth-child(4) {
    background: #e1f1ff;
    color: #126ac1;
}

.admin-quick-actions a:nth-child(5) {
    background: #fff6df;
    color: #ed7910;
}

.admin-quick-actions a:nth-child(6) {
    background: #fbe5eb;
    color: #d52643;
}

.admin-quick-actions a.add {
    background: linear-gradient(135deg, #298f3b, #62b968);
    color: #fff;
}

.admin-quick-actions i {
    font-size: 18px;
}

.admin-quick-actions b {
    font-size: 11px;
}

.admin-orders {
    overflow: hidden;
    padding: 20px 0 0;
}

.admin-orders .admin-section-title {
    padding: 0 20px;
}

.admin-orders table {
    min-width: 0;
}

.admin-orders th {
    padding: 13px 16px;
    background: #f6f8f4;
    color: #16813b;
    font-size: 12px;
    text-transform: none;
}

.admin-orders td {
    padding: 13px 16px;
    color: #41574a;
    font-size: 12px;
}

.admin-orders td b {
    color: #087c32;
}

.admin-orders tr:last-child td {
    border-bottom: 0;
}

@media(max-width:900px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: .2s;
    }

    .admin-menu-open .admin-sidebar {
        transform: none;
    }

    .admin-main {
        margin-left: 0;
        transition: margin-left 0.25s ease;
    }

    .admin-sidebar-toggle {
        display: block;
    }

    .admin-collapse-icon {
        display: none;
    }

    .admin-topbar h1 {
        margin-left: 14px;
    }

    .admin-dashboard-page {
        padding: 15px 15px 40px;
    }

    .admin-quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:560px) {
    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .admin-welcome h2 {
        font-size: 21px;
    }

    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-stat-card {
        padding: 13px;
        gap: 9px;
    }

    .admin-stat-card strong {
        font-size: 18px;
    }

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

    .admin-user {
        font-size: 0;
    }

    .admin-user span {
        font-size: 13px;
    }

    .admin-topbar {
        padding: 0 17px;
    }
}

/* Admin theme: FlipMart blue */
.admin-sidebar {
    background: linear-gradient(180deg, #087fb5, #075b85);
}

.admin-brand-mark {
    border-color: #53c7e7;
}

.admin-brand>span:last-child span {
    color: #a9e7f6;
}

.admin-sidebar-caption,
.admin-nav p {
    color: #b9e7f2;
}

.admin-nav a:hover,
.admin-nav a.active {
    border-left-color: #b7ecfa;
    background: #ffffff24;
}

.admin-topbar h1,
.admin-welcome span,
.admin-section-title h2,
.admin-welcome a,
.admin-section-title a {
    color: #087fb5;
}

.admin-user span {
    background: #e5f6fb;
    color: #087fb5;
}

.admin-welcome h2 {
    color: #172b4d;
}

.admin-quick-actions a {
    background: #e8f7fb;
    color: #087fb5;
}

.admin-quick-actions a.add {
    background: linear-gradient(135deg, #087fb5, #35b5d6);
    color: #fff;
}

.admin-quick-actions a:nth-child(3) {
    background: #f3e7f7;
    color: #7d178c;
}

.admin-quick-actions a:nth-child(4) {
    background: #e1f1ff;
    color: #126ac1;
}

.admin-quick-actions a:nth-child(5) {
    background: #fff6df;
    color: #ed7910;
}

.admin-quick-actions a:nth-child(6) {
    background: #fbe5eb;
    color: #d52643;
}

.admin-orders th {
    color: #087fb5;
}

.admin-orders td b {
    color: #087fb5;
}

.admin-sidebar-toggle {
    color: #087fb5;
}

.admin-collapsed .admin-sidebar {
    width: 78px;
    overflow: visible
}

.admin-collapsed .admin-main {
    margin-left: 78px;
}

.admin-collapsed .admin-brand {
    justify-content: center;
    padding: 12px;
}

.admin-collapsed .admin-brand>span:last-child,
.admin-collapsed .admin-sidebar-caption,
.admin-collapsed .admin-nav p {
    display: none;
}

.admin-collapsed .admin-nav a {
    position: relative;
    justify-content: center;
    padding: 0;
    border-left: 0;
    font-size: 0;
}

.admin-collapsed .admin-nav a i {
    font-size: 17px;
}

.admin-collapsed .admin-nav a:hover::after {
    content: attr(aria-label);
    position: absolute;
    left: 68px;
    z-index: 20;
    padding: 9px 12px;
    border-radius: 6px;
    background: #174b62;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 5px 12px #0003;
}

.admin-collapsed .admin-topbar h1 {
    margin-left: 17px;
}

@media(max-width:900px) {
    .admin-collapse-button {
        display: none;
    }

    .admin-collapsed .admin-sidebar {
        width: 245px;
    }

    .admin-collapsed .admin-main {
        margin-left: 0;
    }

    .admin-collapsed .admin-brand>span:last-child,
    .admin-collapsed .admin-sidebar-caption,
    .admin-collapsed .admin-nav p,
    .admin-collapsed .admin-nav a {
        display: flex;
    }

    .admin-collapsed .admin-nav a {
        position: static;
        justify-content: flex-start;
        padding: 0 24px;
        font-size: 13px;
    }

    .admin-collapsed .admin-nav a i {
        font-size: 16px;
    }
}

.cart-page {
    padding: 34px 0 40px;
    background: #f8faf5;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1.7fr .9fr;
    gap: 24px;
    align-items: start;
}

.cart-items-card,
.order-summary {
    padding: 25px 30px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px #12334c12;
}

.cart-items-card h1,
.order-summary h2 {
    margin: 0 0 28px;
    color: #287e35;
    font-size: 25px;
}

.cart-items-card h1 i,
.order-summary h2 i {
    margin-right: 8px;
}

.cart-items-card h1 span {
    margin-left: 7px;
    color: #536873;
    font-size: 12px;
    font-weight: 500;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px 8px 21px;
    border-bottom: 1px solid #e6e9e3;
}

.cart-item img {
    width: 60px;
    height: 72px;
    object-fit: contain;
}

.cart-item h3 {
    margin: 0 0 7px;
    color: #172b4d;
    font-size: 18px;
}

.cart-item p {
    margin: 0 0 10px;
    color: #668091;
    font-size: 12px;
}

.cart-item>strong {
    color: #168b42;
    font-size: 17px;
}

.cart-qty,
.qty-mini-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid #dce4df;
    border-radius: 8px;
    margin-top: 16px;
}

.cart-qty button,
.qty-mini-btn {
    width: 32px;
    height: 34px;
    border: 0;
    background: #f0f4f1;
    color: #089cd1;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.cart-qty span,
.qty-mini-display {
    width: 40px;
    text-align: center;
    color: #073d42;
    font-size: 15px;
    font-weight: 700;
}

.continue-shopping {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 13px;
    border: 1px solid #00a83b;
    border-radius: 7px;
    color: #172b4d;
    text-decoration: none;
    font-size: 13px;
}

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

.summary-line,
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #dce1dd;
    color: #71808a;
    font-size: 13px;
}

.summary-line b,
.summary-row strong {
    color: #6d6a7c;
}

.free-shipping {
    color: #12a546;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    color: #6d6a7c;
    font-size: 20px;
    font-weight: 700;
}

.summary-total strong {
    color: #168b42;
}

.checkout-btn {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 11px;
    background: #00ad3c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.empty-cart {
    padding: 35px 0;
    color: #7b8c91;
    text-align: center;
}

.empty-cart i {
    color: #00a83b;
    font-size: 38px;
}

.empty-cart h2 {
    margin: 9px 0 4px;
    color: #287e35;
    font-size: 19px;
}

.empty-cart p {
    margin: 0;
    font-size: 12px;
}

@media(max-width:767px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-items-card,
    .order-summary {
        padding: 20px 17px;
    }

    .cart-items-card h1,
    .order-summary h2 {
        font-size: 20px;
    }

    .cart-item h3 {
        font-size: 15px;
    }
}

/* Final mobile overrides: the drawer must win over legacy hide rules. */
@media (max-width: 767px) {

    .mobile-drawer,
    .drawer-overlay {
        display: block !important;
    }

    .mobile-drawer .nav-pill,
    .mobile-drawer .nav-link-only,
    .mobile-drawer .nav-pill span {
        color: #243c2b !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-drawer .nav-dropdown {
        height: auto !important;
        min-height: 54px;
        align-items: stretch;
    }

    .mobile-drawer .nav-dropdown:first-child .nav-pill {
        color: #243c2b !important;
    }

    .mobile-drawer .nav-dropdown:first-child.open .nav-pill {
        color: #216838 !important;
        background: #e9f6e4 !important;
        border-color: #d8efcf !important;
    }

    .mobile-drawer .nav-pill i {
        color: #398a49 !important;
    }

    .mobile-drawer .dropdown-menu a,
    .mobile-drawer .dropdown-menu h4 {
        color: #39546a !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobile-drawer .dropdown-menu {
        display: block !important;
        max-height: 0;
        overflow: hidden !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: translateY(-8px);
        transition: max-height .32s ease, opacity .22s ease, transform .32s ease, padding .32s ease, visibility .32s ease;
    }

    .mobile-drawer .nav-dropdown.open .dropdown-menu {
        max-height: 900px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding-top: 10px !important;
        padding-bottom: 14px !important;
        transform: translateY(0);
    }
}

/* Keep Ayurvedic header colors after all legacy theme rules. */
.category-nav {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-dark)) !important;
}

.search button {
    background: linear-gradient(135deg, #398a49, #256c39) !important;
}

.search:focus-within {
    border-color: #78aa79 !important;
    box-shadow: 0 0 0 3px rgba(57, 138, 73, .12) !important;
}

.search i {
    color: #75a17a !important;
}



.category-scroll-btn:hover:not(:disabled) {
    background: #398a49 !important;
    color: #fff !important;
}
