:root {
    --fda-forest: #0B3D36;
    --fda-forest-deep: #072E29;
    --fda-teal: #0F766E;
    --fda-teal-bright: #14B8A6;
    --fda-mint: #E6F4F1;
    --fda-sand: #F4F7F6;
    --fda-ink: #14201E;
    --fda-muted: #5B6B67;
    --fda-line: #D7E3DF;
    --fda-white: #FFFFFF;
    --fda-warning: #C2410C;
    --fda-warning-bg: #FFF7ED;
    --fda-info: #1D4ED8;
    --fda-info-bg: #EFF6FF;
    --fda-purple: #6D28D9;
    --fda-purple-bg: #F5F3FF;
    --fda-success: #15803D;
    --fda-success-bg: #F0FDF4;
    --fda-danger: #B91C1C;
    --fda-danger-bg: #FEF2F2;
    --fda-radius: 14px;
    --fda-radius-sm: 10px;
    --fda-shadow: 0 10px 30px rgba(11, 61, 54, 0.08);
    --fda-font: "Manrope", sans-serif;
    --fda-display: "Outfit", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--fda-font);
    color: var(--fda-ink);
    background: var(--fda-sand);
    line-height: 1.5;
}

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

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

h1, h2, h3, h4, .fda-display {
    font-family: var(--fda-display);
    letter-spacing: -0.02em;
    color: var(--fda-forest);
}

.fda-container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto;
}

.fda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.fda-btn:hover {
    transform: translateY(-1px);
}

.fda-btn-primary {
    background: var(--fda-teal);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.fda-btn-primary:hover {
    background: #0d9488;
    color: #fff;
}

.fda-btn-outline {
    background: transparent;
    color: var(--fda-forest);
    border: 1.5px solid var(--fda-forest);
}

.fda-btn-outline:hover {
    background: var(--fda-mint);
}

.fda-btn-ghost {
    background: transparent;
    color: var(--fda-forest);
    border: 0;
    padding-inline: 0.75rem;
}

.fda-btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.fda-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    background: #F3F6F5;
    color: #4B5563;
}

.fda-badge-pending { background: var(--fda-warning-bg); color: var(--fda-warning); }
.fda-badge-confirmed { background: var(--fda-purple-bg); color: var(--fda-purple); }
.fda-badge-processing { background: var(--fda-purple-bg); color: var(--fda-purple); }
.fda-badge-packed { background: #ECFEFF; color: #0E7490; }
.fda-badge-assigned { background: var(--fda-info-bg); color: var(--fda-info); }
.fda-badge-out_for_delivery { background: #E7F6F3; color: var(--fda-teal); }
.fda-badge-delivered,
.fda-badge-paid,
.fda-badge-active,
.fda-badge-stock_in,
.fda-badge-sale { background: var(--fda-success-bg); color: var(--fda-success); }
.fda-badge-cancelled,
.fda-badge-returned,
.fda-badge-refunded,
.fda-badge-failed,
.fda-badge-inactive,
.fda-badge-stock_out { background: var(--fda-danger-bg); color: var(--fda-danger); }
.fda-badge-partially_paid,
.fda-badge-adjustment { background: var(--fda-warning-bg); color: var(--fda-warning); }

/* ——— Storefront ——— */
.store-body {
    background: #fff;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 1px 0 rgba(11, 61, 54, 0.06);
}

.store-header-inner {
    display: grid;
    grid-template-columns: auto 1fr minmax(200px, 280px) auto;
    align-items: center;
    column-gap: 1.25rem;
    min-height: 78px;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-self: start;
    min-width: 0;
}

.store-brand-name {
    font-family: var(--fda-display);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--fda-forest);
    white-space: nowrap;
}

.store-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--fda-forest);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.store-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.65rem;
    justify-self: center;
}

.store-nav a,
.store-nav-link {
    color: #5B6B67;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.store-nav a:hover,
.store-nav a.is-active,
.store-nav-link:hover {
    color: #14201E;
}

.store-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0.85rem;
}

.store-cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--fda-forest);
    background: transparent;
    border: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.store-cart-btn:hover,
.store-cart-btn.is-active {
    background: var(--fda-mint);
    color: var(--fda-teal);
    border: 0;
}

.store-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--fda-teal);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
    border: 2px solid #fff;
}

.store-cart-badge[hidden] {
    display: none;
}

.store-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    background: var(--fda-forest);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 18px rgba(11, 61, 54, 0.22);
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease;
}

.store-order-btn:hover {
    background: #0d5c52;
    color: #fff !important;
    transform: translateY(-1px);
}

.fda-btn-login {
    background: #F3F4F6;
    color: #111827;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.fda-btn-login:hover {
    background: #E5E7EB;
    color: #111827;
}

.store-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #EEF6F3;
    color: var(--fda-muted);
    border: 1px solid var(--fda-line);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.store-hero h1 .accent {
    color: var(--fda-teal-bright);
}

.store-hero h1 {
    font-size: clamp(2.35rem, 4.8vw, 3.6rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    max-width: 14ch;
}

.store-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.store-trust-copy {
    display: grid;
    gap: 0.1rem;
}

.store-trust-copy strong {
    color: var(--fda-forest);
    font-size: 0.95rem;
}

.store-trust-copy span {
    color: var(--fda-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.store-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--fda-teal);
    box-shadow: var(--fda-shadow);
    flex-shrink: 0;
}

.store-section-head-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-section-head-row .store-section-head {
    text-align: left;
    margin-bottom: 0;
}

.store-link-all {
    color: var(--fda-teal);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.store-product-meta {
    color: var(--fda-muted);
    font-size: 0.85rem;
    margin: 0.15rem 0 0.85rem;
}

.store-why-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fda-radius);
    padding: 1.35rem;
}

.store-why-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    color: #fff;
}

.store-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: var(--fda-mint);
    color: var(--fda-teal);
    display: grid;
    place-items: center;
}

.store-testimonial {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.store-testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    background: linear-gradient(145deg, #CBD5E1, #94A3B8);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--fda-display);
    font-weight: 700;
    font-size: 1.3rem;
}

.store-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.store-testimonial-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fda-line);
}

.store-testimonial-dots span.is-active {
    background: var(--fda-teal);
}

.store-footer-social {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
}

.store-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.store-footer-social a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.store-contact-row {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.store-hero-visual img {
    width: min(540px, 100%);
    height: auto;
    animation: fda-float 5.5s ease-in-out infinite;
}

.store-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.18), transparent 40%),
        linear-gradient(180deg, #F7FBFA 0%, #EEF6F3 55%, #fff 100%);
    min-height: min(88vh, 760px);
    display: flex;
    align-items: center;
}

.store-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    padding: 3.5rem 0 2.5rem;
}

.store-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    max-width: 12ch;
}

.store-hero p {
    color: var(--fda-muted);
    font-size: 1.05rem;
    max-width: 38ch;
    margin: 0 0 1.75rem;
}

.store-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.store-hero-visual {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
}

.store-hero-pedestal {
    width: min(420px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 40%, #fff 0%, #E8F5F1 45%, #C8E8DF 100%);
    box-shadow: inset 0 -30px 60px rgba(11, 61, 54, 0.08);
    display: grid;
    place-items: center;
    animation: fda-float 5s ease-in-out infinite;
}

.store-hero-products {
    display: flex;
    gap: 0.75rem;
    align-items: end;
    justify-content: center;
    padding: 1rem;
}

.store-hero-products span {
    display: block;
    width: 86px;
    height: 130px;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, #fff, #d9efe9);
    border: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow: var(--fda-shadow);
}

.store-hero-products span:nth-child(1) { height: 150px; background: linear-gradient(180deg, #E0F2FE, #7DD3FC); }
.store-hero-products span:nth-child(2) { height: 120px; background: linear-gradient(180deg, #FEF3C7, #F59E0B); }
.store-hero-products span:nth-child(3) { height: 140px; background: linear-gradient(180deg, #FCE7F3, #FB7185); }

@keyframes fda-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.store-trust {
    background: #F3F7F5;
    border-block: 1px solid var(--fda-line);
    padding: 1.25rem 0;
}

.store-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.store-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--fda-forest);
    font-size: 0.92rem;
}

.store-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--fda-teal);
    box-shadow: var(--fda-shadow);
}

.store-section {
    padding: 4.5rem 0;
}

.store-section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.store-section-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.store-section-head p {
    margin: 0;
    color: var(--fda-muted);
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.store-product-card {
    background: #fff;
    border: 1px solid var(--fda-line);
    border-radius: var(--fda-radius);
    overflow: hidden;
    box-shadow: var(--fda-shadow);
    transition: transform 0.2s ease;
}

.store-product-card:hover {
    transform: translateY(-4px);
}

.store-product-media {
    height: 190px;
    background: linear-gradient(160deg, #EAF7F3, #fff);
    display: grid;
    place-items: center;
    font-size: 3rem;
    overflow: hidden;
}

.store-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product-body {
    padding: 1.1rem 1.2rem 1.35rem;
}

.store-product-body h3 a {
    color: #111827;
}

.store-product-body .store-price {
    margin: 0.35rem 0 0.75rem;
    display: block;
}

.store-product-body p {
    margin: 0 0 1rem;
    color: var(--fda-muted);
    font-size: 0.9rem;
}

.store-price {
    font-weight: 800;
    color: var(--fda-teal);
}

.store-why {
    background: var(--fda-forest);
    color: #fff;
}

.store-why h2,
.store-why h3 {
    color: #fff;
}

.store-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.store-why-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fda-radius);
    padding: 1.25rem;
}

.store-why-item p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
}

.store-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.store-step {
    text-align: center;
    padding: 1rem;
}

.store-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: var(--fda-mint);
    color: var(--fda-teal);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--fda-display);
}

.store-footer {
    background: var(--fda-forest-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

.store-footer h4 {
    color: #fff;
    margin: 0 0 1rem;
}

.store-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.store-footer a:hover {
    color: #fff;
}

.store-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.store-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.store-panel {
    background: #fff;
    border: 1px solid var(--fda-line);
    border-radius: var(--fda-radius);
    box-shadow: var(--fda-shadow);
    padding: 1.5rem;
}

/* ——— Admin ——— */
.admin-body {
    background: #F3F6F5;
    min-height: 100vh;
}

.admin-shell {
    display: grid;
    grid-template-columns: 248px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #fff;
    color: #111827;
    padding: 1.1rem 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid #E8EEEB;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.7rem 1.1rem;
    font-family: var(--fda-display);
    font-weight: 700;
    color: #111827;
}

.admin-brand .store-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--fda-teal);
}

.admin-brand-name {
    font-size: 0.98rem;
    letter-spacing: -0.02em;
}

.admin-nav {
    display: grid;
    gap: 0.12rem;
    flex: 1;
    overflow: auto;
    padding: 0 0.15rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0.75rem;
    border-radius: 10px;
    color: #4B5563;
    font-weight: 600;
    font-size: 0.9rem;
}

.admin-nav a:hover {
    background: #F3FAF8;
    color: var(--fda-teal);
}

.admin-nav a.is-active {
    background: #E7F6F3;
    color: var(--fda-teal);
}

.admin-nav-ico {
    width: 20px;
    display: grid;
    place-items: center;
    color: inherit;
    flex-shrink: 0;
}

.admin-nav-chevron {
    margin-left: auto;
    color: #C5CDCA;
    display: grid;
}

.admin-nav a.is-active .admin-nav-chevron {
    color: var(--fda-teal);
}

.admin-nav-label {
    margin: 1.15rem 0.75rem 0.45rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9CA3AF;
    font-weight: 700;
}

.admin-user-card {
    margin-top: 0.75rem;
    padding: 0.7rem;
    border: 1px solid #E8EEEB;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #FAFCFB;
}

.admin-user-meta {
    min-width: 0;
    flex: 1;
}

.admin-user-meta strong {
    display: block;
    font-size: 0.82rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-meta span {
    display: block;
    font-size: 0.72rem;
    color: #6B7280;
}

.admin-logout {
    border: 0;
    background: transparent;
    color: #9CA3AF;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fda-teal);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #E8EEEB;
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-search {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.admin-search-ico {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    display: grid;
}

.admin-search input {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: 0.62rem 1rem 0.62rem 2.4rem;
    background: #F8FAF9;
    font: inherit;
    font-size: 0.9rem;
}

.admin-search input:focus {
    outline: none;
    border-color: var(--fda-teal);
    background: #fff;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.admin-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #6B7280;
    background: #F3F6F5;
}

.admin-icon-btn:hover {
    color: var(--fda-teal);
    background: #E7F6F3;
}

.admin-content {
    padding: 1.35rem 1.5rem 2rem;
}

.admin-card {
    background: #fff;
    border: 1px solid #E8EEEB;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    padding: 1.15rem 1.2rem;
}

.admin-card h2 {
    color: #111827;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.admin-kpi {
    background: #fff;
    border: 1px solid #E8EEEB;
    border-radius: 16px;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.15rem 0.75rem;
    align-items: start;
}

.admin-kpi .label {
    color: #6B7280;
    font-size: 0.82rem;
    font-weight: 600;
    grid-column: 1;
}

.admin-kpi .value {
    font-family: var(--fda-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0.15rem;
    grid-column: 1;
}

.admin-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    grid-column: 2;
    grid-row: 1 / span 3;
}

.admin-kpi-icon.is-teal { background: #E7F6F3; color: var(--fda-teal); }
.admin-kpi-icon.is-blue { background: #EFF6FF; color: #2563EB; }
.admin-kpi-icon.is-orange { background: #FFF7ED; color: #EA580C; }
.admin-kpi-icon.is-green { background: #ECFDF5; color: #059669; }

.admin-kpi-change {
    font-size: 0.75rem;
    font-weight: 700;
    grid-column: 1;
}

.admin-kpi-change.is-up { color: #059669; }
.admin-kpi-change.is-down { color: #DC2626; }

.admin-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid #E8EEEB;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-stat-card .label {
    color: #6B7280;
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-stat-card .value {
    font-family: var(--fda-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: #111827;
}

.admin-stat-card.is-orange {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.admin-stat-card.is-green {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.admin-product-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #F1F5F4;
}

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

.admin-product-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #F3F6F5;
    object-fit: cover;
    flex-shrink: 0;
}

.admin-product-thumb.is-empty {
    display: grid;
    place-items: center;
    color: #9CA3AF;
    font-weight: 800;
    font-size: 0.8rem;
}

.admin-product-row strong {
    display: block;
    font-size: 0.88rem;
    color: #111827;
}

.admin-product-row .meta {
    font-size: 0.75rem;
    color: #6B7280;
}

.admin-product-qty {
    margin-left: auto;
    font-size: 0.78rem;
    color: #6B7280;
    font-weight: 700;
    white-space: nowrap;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid #F1F5F4;
    text-align: left;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table th {
    color: #9CA3AF;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.admin-table a {
    color: var(--fda-teal);
    font-weight: 700;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-toolbar .admin-search {
    max-width: none;
    flex: 1;
    min-width: 220px;
}

.admin-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #4B5563;
    border-radius: 10px;
    padding: 0.62rem 0.95rem;
    font-weight: 700;
    font-size: 0.88rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.15rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #E8EEEB;
}

.admin-tabs a {
    padding: 0.7rem 0.1rem 0.75rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #6B7280;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: -1px;
}

.admin-tabs a.is-active {
    background: transparent;
    border-bottom-color: var(--fda-teal);
    color: var(--fda-teal);
}

.admin-tabs .count {
    color: inherit;
    font-weight: 700;
}

.admin-page-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.admin-page-head h1 {
    margin: 0;
    font-size: 1.55rem;
    color: #111827;
}

.admin-crumbs {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #9CA3AF;
    font-weight: 600;
}

.admin-crumbs a {
    color: #6B7280;
}

.admin-crumbs a:hover {
    color: var(--fda-teal);
}

.admin-crumbs-sep {
    color: #D1D5DB;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-dots {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #9CA3AF;
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.admin-dots:hover {
    background: #F3F6F5;
    color: #111827;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.2rem 0.2rem;
    color: #6B7280;
    font-size: 0.85rem;
}

.admin-pagination .pagination {
    margin: 0;
    gap: 0.25rem;
}

.admin-pagination .page-link {
    border: 0;
    background: transparent;
    color: #6B7280;
    border-radius: 8px;
    min-width: 34px;
    text-align: center;
    font-weight: 700;
}

.admin-pagination .page-item.active .page-link {
    background: var(--fda-teal);
    color: #fff;
}

.admin-body .card {
    background: #fff;
    border: 1px solid #E8EEEB;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.admin-body .card-body {
    padding: 1.15rem 1.2rem;
}

.admin-body h1.h4 {
    font-size: 1.55rem;
    color: #111827;
}

.admin-body .btn-primary,
.admin-body .btn[style*="0F766E"] {
    background: var(--fda-teal) !important;
    border-color: var(--fda-teal) !important;
    border-radius: 999px;
    font-weight: 700;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    border-radius: 10px;
    border-color: var(--fda-line);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--fda-teal);
}

.alert {
    border-radius: 12px;
}

@media (max-width: 1100px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-kpi-grid,
    .admin-stat-row,
    .store-trust-grid,
    .store-product-grid,
    .store-why-grid,
    .store-steps,
    .store-footer-grid,
    .store-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .store-header-inner {
        grid-template-columns: 1fr auto;
    }

    .store-nav {
        display: none;
    }

    .store-hero-grid,
    .store-trust-grid,
    .store-why-grid,
    .store-steps,
    .store-footer-grid,
    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        display: flex;
        overflow-x: auto;
        gap: 0.35rem;
    }

    .admin-nav a {
        white-space: nowrap;
    }

    .admin-nav-chevron,
    .admin-nav-label {
        display: none;
    }

    .admin-user-card {
        display: none;
    }

    .store-brand-name {
        font-size: 1rem;
    }

    .store-order-btn {
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
    }
}

/* ——— Design match overrides (landing mock) ——— */
.store-hero {
    background: #FAFCFB;
    min-height: auto;
}

.store-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem 2.5rem;
    align-items: center;
    padding: 3.25rem 0 2.75rem;
}

.store-hero-copy h1 {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: clamp(2.4rem, 4.6vw, 3.55rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    max-width: none;
    color: #111827;
}

.store-hero-copy h1 .store-hero-line {
    color: #111827;
    font-weight: 800;
}

.store-hero-copy h1 .accent {
    color: var(--fda-forest);
    display: block;
    max-width: 14ch;
}

.store-hero-pill {
    background: #F1F5F4;
    color: var(--fda-muted);
    border: 1px solid #E5EEEC;
    margin-bottom: 1.15rem;
}

.store-hero-lead {
    color: #6B7280;
    font-size: 1.02rem;
    max-width: 38ch;
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

.fda-btn-whatsapp {
    background: #fff;
    color: #111827;
    border: 1.5px solid #D1D5DB;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.fda-btn-whatsapp:hover {
    border-color: #25D366;
    background: #F0FDF4;
    color: #111827;
}

.fda-btn-whatsapp svg {
    color: #25D366;
}

.store-hero-visual {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.store-hero-visual::before {
    content: "";
    position: absolute;
    width: min(380px, 70%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eef6f3 48%, rgba(200, 232, 223, 0.7) 100%);
    z-index: 0;
    transform: translateY(8%);
}

.store-hero-img {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    height: auto;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: drop-shadow(0 18px 28px rgba(11, 61, 54, 0.18));
    animation: fda-float 5.5s ease-in-out infinite;
}

.store-product-card {
    border-radius: 18px;
    overflow: hidden;
}

.store-product-media {
    height: 210px;
    background: linear-gradient(165deg, #F2F8F6, #FFFFFF);
}

@media (max-width: 1100px) {
    .store-header-inner {
        grid-template-columns: auto 1fr auto;
        column-gap: 1rem;
    }

    .store-header-search {
        display: none;
    }

    .store-nav {
        gap: 1rem;
    }

    .store-nav a {
        font-size: 0.88rem;
    }
}

@media (max-width: 900px) {
    .store-hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
        padding-top: 2rem;
    }

    .store-hero-img {
        width: min(420px, 100%);
    }
}

.store-header-search {
    position: relative;
    min-width: 0;
}

.store-header-search-ico {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    display: grid;
}

.store-header-search input {
    width: 100%;
    border: 1px solid #E5E7EB;
    background: #F8FAF9;
    border-radius: 999px;
    padding: 0.55rem 1rem 0.55rem 2.3rem;
    font: inherit;
    font-size: 0.88rem;
}

.store-header-search input:focus {
    outline: none;
    border-color: var(--fda-teal);
    background: #fff;
}

.store-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fda-teal);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.store-brand-mark {
    background: var(--fda-teal);
}

.store-crumbs {
    display: flex;
    gap: 0.4rem;
    color: #9CA3AF;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.store-crumbs a { color: #6B7280; }
.store-crumbs a:hover { color: var(--fda-teal); }

.store-page-title {
    font-size: 1.85rem;
    margin: 0 0 1.15rem;
    color: #111827;
}

.store-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 0 0 1.5rem;
}

.store-cat-tabs a {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #F3F6F5;
    color: #4B5563;
    font-weight: 700;
    font-size: 0.88rem;
}

.store-cat-tabs a.is-active {
    background: var(--fda-teal);
    color: #fff;
}

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.75rem;
    align-items: start;
}

.shop-sidebar h2 {
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
}

.shop-cats {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.shop-cats a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0;
    color: #4B5563;
    font-weight: 600;
}

.shop-cats a.is-active { color: var(--fda-teal); }

.shop-check {
    width: 16px;
    height: 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: 4px;
    display: inline-block;
}

.shop-check.is-on {
    background: var(--fda-teal);
    border-color: var(--fda-teal);
    box-shadow: inset 0 0 0 2px #fff;
}

.shop-promo {
    background: linear-gradient(180deg, #E7F6F3, #F8FBFA);
    border-radius: 16px;
    padding: 1.15rem;
    text-align: center;
}

.shop-promo-icon { color: var(--fda-teal); margin-bottom: 0.4rem; }
.shop-promo p { margin: 0; color: #6B7280; font-size: 0.85rem; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-layout,
.checkout-layout,
.account-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.25rem;
    align-items: start;
}

.track-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.25rem;
    align-items: start;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1fr;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E8EEEB;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fda-muted);
}

.cart-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid #EEF3F1;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.cart-thumb-link {
    display: block;
    flex-shrink: 0;
}

.cart-thumb {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    background: #F3F7F5;
    border: 1px solid #E8EEEB;
    display: block;
}

.cart-thumb.is-empty {
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--fda-teal);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--fda-forest);
    margin: 0;
    line-height: 1.3;
}

.cart-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cart-item-title a:hover {
    color: var(--fda-teal);
}

.cart-item-meta {
    font-size: 0.82rem;
    color: var(--fda-muted);
    font-weight: 600;
}

.cart-item-unit-price {
    display: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fda-teal);
}

.cart-price-col {
    font-weight: 700;
    font-size: 0.95rem;
    color: #374151;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #D1DFDB;
    border-radius: 10px;
    background: #F7FAF9;
    padding: 0.15rem;
}

.cart-qty button,
.cart-qty .cart-qty-btn {
    border: 0;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fda-forest);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    line-height: 1;
    padding: 0;
}

.cart-qty button:hover:not(:disabled),
.cart-qty .cart-qty-btn:hover:not(:disabled) {
    background: var(--fda-teal);
    color: #fff;
}

.cart-qty button:active:not(:disabled),
.cart-qty .cart-qty-btn:active:not(:disabled) {
    transform: scale(0.92);
}

.cart-qty button:disabled,
.cart-qty .cart-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: transparent;
    box-shadow: none;
}

.js-cart-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--fda-ink);
}

.cart-remove-form {
    margin: 0;
    display: flex;
}

.cart-remove {
    border: 0;
    background: #F3F6F5;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #9CA3AF;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.cart-remove:hover {
    background: #FEE2E2;
    color: #DC2626;
}

.cart-total-col {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--fda-forest);
}

.cart-total-label {
    display: none;
    font-size: 0.8rem;
    color: var(--fda-muted);
}

.cart-summary h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.cart-total { font-size: 1.15rem; }

.checkout-choice {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #E8EEEB;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.checkout-login-note {
    background: #F3F6F5;
    border: 1px solid #E8EEEB;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #4B5563;
}

.checkout-login-note a {
    color: var(--fda-teal);
    text-decoration: underline;
}

.checkout-bank {
    background: #F4F8F6;
    border: 1.5px solid #D1DFDB;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    margin-top: 0.85rem;
    color: #4B5563;
    font-size: 0.92rem;
}

.checkout-bank-card {
    background: #FFFFFF;
    border: 1px solid #E2ECE8;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.75rem 0;
}

.checkout-bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #F3F7F5;
    font-size: 0.9rem;
}

.checkout-bank-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkout-bank-row:first-child {
    padding-top: 0;
}

.checkout-bank-label {
    color: var(--fda-muted);
    font-weight: 600;
    font-size: 0.84rem;
}

.checkout-bank-val {
    color: var(--fda-forest);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

.fda-copy-btn {
    border: 1px solid #C4D9D2;
    background: #F0F6F4;
    color: var(--fda-teal);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.15s ease;
}

.fda-copy-btn:hover {
    background: var(--fda-teal);
    color: #fff;
    border-color: var(--fda-teal);
}

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

.checkout-bank ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
    display: grid;
    gap: 0.4rem;
}

.checkout-bank li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-bank li strong { color: #111827; }

.checkout-receipt {
    border-top: 1px dashed #DDE7E3;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 0.85rem;
}

.checkout-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #FFF8E5;
    border: 1px solid #F3E2B3;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    color: #8A6A18;
    font-size: 0.9rem;
}

.checkout-notice span:first-child { display: grid; flex-shrink: 0; }

.track-lookup {
    max-width: 640px;
}

.track-lookup h2 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.track-lookup-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.track-lookup-form .form-control {
    flex: 1;
    min-width: 220px;
}

.track-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.track-meta {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.track-meta div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.track-meta dt { color: #6B7280; font-weight: 600; }
.track-meta dd { margin: 0; font-weight: 700; color: #111827; }

.track-steps {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.track-steps li {
    display: flex;
    gap: 0.85rem;
    padding-bottom: 1.25rem;
    position: relative;
}

.track-steps li:last-child { padding-bottom: 0; }

.track-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
}

.track-steps .is-done:not(:last-child)::before,
.track-steps .is-current:not(:last-child)::before {
    background: var(--fda-teal);
}

.track-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    display: grid;
    place-items: center;
    color: #fff;
}

.track-steps .is-done .track-dot,
.track-steps .is-current .track-dot {
    background: var(--fda-teal);
    border-color: var(--fda-teal);
}

.track-step-time {
    color: #6B7280;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.15rem;
}

.track-step-copy {
    margin: 0.2rem 0 0;
    color: #6B7280;
    font-size: 0.88rem;
}

.track-art {
    width: 280px;
    margin-top: 0.5rem;
    display: grid;
    place-items: center;
}

.track-art-img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

@media (max-width: 900px) {
    .shop-layout,
    .cart-layout,
    .checkout-layout,
    .account-layout,
    .track-layout,
    .track-progress {
        grid-template-columns: 1fr;
    }

    .track-art {
        width: 220px;
        margin: 0.5rem auto 0;
    }
}

/* Two compact product cards per row on phones. */
@media (max-width: 760px) {
    .store-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .store-product-card {
        display: flex;
        flex-direction: column;
        border-radius: 14px;
    }

    .store-product-media {
        height: 118px;
        flex-shrink: 0;
    }

    .store-product-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 0.65rem 0.7rem 0.8rem;
    }

    .store-product-body h3 {
        font-size: 0.92rem;
        line-height: 1.25;
        margin: 0;
    }

    .store-product-body p,
    .store-product-meta {
        font-size: 0.75rem;
        margin: 0.15rem 0 0.35rem;
    }

    .store-product-body .store-price {
        font-size: 0.95rem;
        margin: 0.15rem 0 0.5rem;
    }

    .store-product-body form {
        margin-top: auto;
    }

    .store-product-card .fda-btn {
        padding: 0.45rem 0.35rem;
        font-size: 0.78rem;
    }
}

/* ——— Mobile drawer + floating cart ——— */
.store-burger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--fda-forest);
    place-items: center;
    padding: 0;
}

.store-burger:hover,
.store-burger[aria-expanded="true"] {
    background: var(--fda-mint);
    color: var(--fda-teal);
}

.store-burger span {
    display: grid;
    place-items: center;
}

.store-burger .store-burger-close,
.store-burger[aria-expanded="true"] .store-burger-open {
    display: none;
}

.store-burger[aria-expanded="true"] .store-burger-close {
    display: grid;
}

.store-drawer {
    border-top: 1px solid var(--fda-line);
    background: #fff;
    box-shadow: 0 18px 30px rgba(11, 61, 54, 0.08);
    padding: 0.9rem 0 1.1rem;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
}

.store-drawer[hidden] {
    display: none;
}

.store-drawer-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
}

.store-drawer-search .store-header-search-ico {
    position: absolute;
    left: 0.85rem;
    display: grid;
    place-items: center;
    color: var(--fda-muted);
    pointer-events: none;
}

.store-drawer-search input {
    width: 100%;
    border: 1px solid var(--fda-line);
    border-radius: 999px;
    background: #F7FAF9;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    font-size: 0.92rem;
    outline: none;
}

.store-drawer-search input:focus {
    border-color: var(--fda-teal);
    background: #fff;
}

.store-drawer-nav {
    display: grid;
    gap: 0.15rem;
}

.store-drawer-nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    color: #38504B;
}

.store-drawer-nav a:hover,
.store-drawer-nav a.is-active {
    background: var(--fda-mint);
    color: var(--fda-teal);
}

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

.store-cart-fab {
    position: fixed;
    right: 1.25rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fda-teal);
    color: #fff;
    display: none;
    place-items: center;
    box-shadow: 0 12px 26px rgba(20, 184, 166, 0.42);
    z-index: 50;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-cart-fab:hover,
.store-cart-fab.is-active {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(20, 184, 166, 0.5);
}

.store-cart-fab svg {
    display: block;
}

.store-cart-fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--fda-forest);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
    border: 2px solid #fff;
}

.store-cart-fab-badge[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .store-burger,
    .store-cart-fab {
        display: grid;
    }

    .store-cart-btn {
        display: none;
    }

    /* Modern mobile cart row card */
    .cart-table-header {
        display: none;
    }

    .cart-row {
        position: relative;
        display: block;
        padding: 1rem;
        margin-bottom: 0.85rem;
        background: #FFFFFF;
        border: 1px solid #E5ECE9;
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(11, 61, 54, 0.04);
    }

    .cart-item {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        padding-right: 2.5rem;
        margin-bottom: 0.85rem;
    }

    .cart-thumb {
        width: 72px;
        height: 72px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .cart-item-title {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .cart-item-meta {
        font-size: 0.8rem;
        color: var(--fda-muted);
        margin-top: 0.15rem;
    }

    .cart-item-unit-price {
        display: block;
        font-size: 0.92rem;
        font-weight: 700;
        color: var(--fda-forest);
        margin-top: 0.25rem;
    }

    .cart-price-col {
        display: none;
    }

    .cart-remove-form {
        position: absolute;
        top: 0.85rem;
        right: 0.85rem;
        margin: 0;
    }

    .cart-remove {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #F3F6F5;
        color: #6B7280;
    }

    .cart-remove:active {
        background: #FEE2E2;
        color: #DC2626;
    }

    .cart-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 0.75rem;
        border-top: 1px solid #F1F5F4;
    }

    .cart-qty {
        display: inline-flex;
        align-items: center;
        border: 1.5px solid #D1DFDB;
        border-radius: 12px;
        background: #F3F7F5;
        padding: 0.2rem;
        gap: 0;
    }

    .cart-qty button,
    .cart-qty .cart-qty-btn {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
        font-weight: 800;
        border-radius: 9px;
        background: #FFFFFF;
        color: var(--fda-forest);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    }

    .cart-qty button:active:not(:disabled),
    .cart-qty .cart-qty-btn:active:not(:disabled) {
        transform: scale(0.92);
        background: var(--fda-teal);
        color: #fff;
    }

    .js-cart-qty-value {
        font-size: 1.05rem;
        font-weight: 800;
        min-width: 36px;
        color: var(--fda-forest);
    }

    .cart-total-col {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        text-align: right;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .cart-total-label {
        display: block;
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--fda-muted);
        margin-bottom: 0.1rem;
    }

    .cart-total-col .js-cart-line-total {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--fda-forest);
    }
}

/* ——— Toasts ——— */
.fda-toasts {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 80;
    display: grid;
    gap: 0.6rem;
    justify-items: end;
    width: min(370px, calc(100vw - 2rem));
    pointer-events: none;
}

.fda-toast {
    pointer-events: auto;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--fda-line);
    border-left: 4px solid var(--fda-teal);
    background: #fff;
    box-shadow: 0 16px 36px rgba(11, 61, 54, 0.18);
    color: var(--fda-forest);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fda-toast.is-in {
    opacity: 1;
    transform: none;
}

.fda-toast.is-out {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.fda-toast-icon {
    display: grid;
    place-items: center;
    color: var(--fda-teal);
}

.fda-toast-close {
    border: 0;
    background: transparent;
    color: var(--fda-muted);
    font-size: 1.3rem;
    line-height: 1;
    padding: 0 0.2rem;
    cursor: pointer;
}

.fda-toast-close:hover {
    color: var(--fda-forest);
}

.fda-toast-error {
    border-left-color: var(--fda-danger);
}

.fda-toast-error .fda-toast-icon {
    color: var(--fda-danger);
}

.fda-toast-info {
    border-left-color: var(--fda-info);
}

.fda-toast-info .fda-toast-icon {
    color: var(--fda-info);
}

@media (max-width: 760px) {
    .fda-toasts {
        left: 0.75rem;
        right: 0.75rem;
        top: 0.75rem;
        width: auto;
        justify-items: stretch;
    }
}

/* ——— Ajax regions ——— */
[data-ajax-region] {
    transition: opacity 0.18s ease;
}

[data-ajax-region].is-loading {
    opacity: 0.45;
    pointer-events: none;
}

@keyframes fda-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.js-cart-badge.is-bump {
    animation: fda-bump 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .fda-toast,
    [data-ajax-region] {
        transition: none;
    }

    .js-cart-badge.is-bump {
        animation: none;
    }
}

@media (min-width: 761px) {
    .store-drawer {
        display: none;
    }
}
