:root {
    --leaf: #2f9fd8;
    --leaf-dark: #176b9a;
    --mint: #eaf7ff;
    --lime: #9fd8ff;
    --sun: #ffc857;
    --tomato: #e85d4f;
    --ink: #142433;
    --muted: #647687;
    --line: #d8e9f3;
    --paper: #f8fcff;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(28, 118, 165, 0.14);
}

/* Admin notification bell */
.admin-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.admin-notification-menu {
    position: relative;
}

.admin-notification-menu summary {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--leaf-dark);
    cursor: pointer;
    list-style: none;
    box-shadow: 0 8px 22px rgba(169, 84, 18, 0.08);
}

.admin-notification-menu summary::-webkit-details-marker {
    display: none;
}

.admin-notification-menu summary span {
    font-size: 17px;
}

.admin-notification-menu summary strong {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #b4322c;
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
}

.notification-panel {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 90;
    width: min(92vw, 380px);
    max-height: 430px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 42px rgba(42, 33, 25, 0.16);
}

.notification-panel h2 {
    margin-bottom: 10px;
    font-size: 16px;
}

.notification-panel article {
    display: grid;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.notification-panel article:first-of-type {
    border-top: 0;
}

.notification-panel article.unread {
    margin: 0 -8px;
    padding: 10px 8px;
    border-radius: 8px;
    background: #fff8f0;
}

.notification-panel p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.notification-panel span,
.notification-panel small {
    color: var(--muted);
}

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

.notification-actions form {
    margin: 0;
}

@media (max-width: 760px) {
    .admin-top-actions {
        justify-content: space-between !important;
        width: 100% !important;
    }

    .notification-panel {
        position: fixed !important;
        top: 88px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-height: calc(100vh - 110px) !important;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(16px, 4vw, 64px);
    background: rgba(248, 252, 255, 0.92);
    border-bottom: 1px solid rgba(216, 233, 243, 0.85);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--leaf);
    color: var(--white);
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--mint);
}

.icon-link {
    width: 40px;
    text-align: center;
    font-size: 20px;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--leaf-dark);
}

.cart-link span {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink);
    font-size: 12px;
}

.mobile-cart-link {
    display: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 820px);
    align-items: center;
    justify-content: start;
    gap: clamp(32px, 6vw, 80px);
    min-height: calc(100vh - 72px);
    padding: clamp(34px, 7vw, 90px) clamp(16px, 5vw, 76px);
    background:
        linear-gradient(90deg, rgba(248, 252, 255, 0.94), rgba(234, 247, 255, 0.82) 52%, rgba(234, 247, 255, 0.4)),
        url("../img/adivedaa-home-bg.jpg");
    background-position: center;
    background-size: cover;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--leaf-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions,
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--leaf);
    border-radius: 8px;
    background: var(--leaf);
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47, 159, 216, 0.2);
}

.btn.primary {
    background: var(--leaf);
    border-color: var(--leaf);
}

.btn.ghost {
    background: var(--white);
    color: var(--leaf-dark);
    border-color: var(--line);
}

.btn.small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.btn.tiny {
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
    white-space: nowrap;
}

.btn.danger {
    background: #b4322c;
    border-color: #b4322c;
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.48;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}

.trust-badges span {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid rgba(47, 159, 216, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--leaf-dark);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.feature-row span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--leaf-dark);
    font-size: 13px;
    font-weight: 800;
}

.hero-visual {
    display: none;
}

.hero-visual img {
    width: min(100%, 620px);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section {
    padding: clamp(52px, 7vw, 90px) clamp(16px, 5vw, 76px);
}

.section.muted,
.page-hero {
    background: #eef8ff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading.split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.text-link {
    color: var(--leaf-dark);
    font-weight: 800;
    border-bottom: 2px solid var(--lime);
}

.feature-grid,
.category-grid,
.product-grid,
.review-grid,
.stats-grid {
    display: grid;
    gap: 18px;
}

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

.feature-grid article,
.category-card,
.category-emoji-link,
.review-card,
.product-card,
.summary-box,
.auth-panel,
.tracking-card,
.admin-card,
.stats-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(20, 89, 59, 0.06);
}

.feature-grid article {
    padding: 24px;
}

.feature-grid span {
    color: var(--tomato);
    font-weight: 900;
}

.feature-grid p,
.category-card p,
.product-card p,
.review-card p,
.summary-box p,
.auth-panel p,
.tracking-card p,
.admin-card p {
    color: var(--muted);
    line-height: 1.6;
}

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

.category-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.category-emoji-link {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 107, 154, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-emoji-link:hover {
    transform: translateY(-2px);
    border-color: var(--leaf);
    box-shadow: 0 14px 34px rgba(23, 107, 154, 0.12);
}

.category-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 150px;
    padding: 24px;
}

.category-card:hover {
    border-color: var(--leaf);
}

.category-icon,
.category-photo {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--mint);
    color: var(--leaf-dark);
    font-size: 28px;
    font-weight: 900;
}

.category-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.product-card {
    overflow: hidden;
}

.product-art {
    display: grid;
    height: 150px;
    place-items: center;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--product-color), white 45%), var(--product-color)),
        var(--product-color);
}

.product-art span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font-size: 34px;
    font-weight: 900;
}

.product-art.product-photo {
    background: #f3f8f0;
}

.product-art.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 18px;
}

.category-label {
    margin-bottom: 6px;
    color: var(--leaf-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.product-review-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.product-review-box summary {
    cursor: pointer;
    color: var(--leaf-dark);
    font-size: 13px;
    font-weight: 900;
}

.product-review-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.product-review-list p,
.review-empty {
    margin: 0;
    font-size: 13px;
}

.review-form {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.product-bottom small {
    color: var(--muted);
    font-weight: 600;
}

.price-stack {
    display: grid;
    gap: 2px;
}

.price-stack strong {
    color: var(--ink);
}

.mrp-price {
    font-size: 11px;
}

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

.review-card {
    padding: 24px;
}

.review-card small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.stars {
    margin-bottom: 12px;
    color: #ef9b20;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 32px;
    padding: 44px clamp(16px, 5vw, 76px) 24px;
    background: #12324a;
    color: var(--white);
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #2f9fd8;
    color: var(--white);
    box-shadow: 0 16px 34px rgba(20, 89, 59, 0.26);
    font-size: 16px;
    font-weight: 900;
}

.site-footer p,
.site-footer small,
.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer h3 {
    margin-bottom: 12px;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
}

.footer-brand .brand-mark {
    background: var(--sun);
    color: var(--ink);
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.62);
}

.page-shell {
    min-height: 60vh;
}

.page-hero {
    padding: clamp(42px, 6vw, 74px) clamp(16px, 5vw, 76px);
}

.page-hero.compact h1 {
    max-width: 760px;
    font-size: clamp(34px, 5vw, 56px);
}

.filter-bar input,
.filter-bar select,
.stacked-form input,
.stacked-form textarea,
.stacked-form select,
.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-order input,
.admin-order select,
.tracking-row input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
}

.filter-bar input {
    min-width: min(100%, 320px);
}

.product-search-only input {
    max-width: 620px;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
}

.auth-layout {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(28px, 5vw, 72px) 16px;
    background:
        linear-gradient(135deg, rgba(234, 247, 255, 0.9), rgba(248, 252, 255, 0.95)),
        radial-gradient(circle at 80% 20%, rgba(159, 216, 255, 0.26), transparent 24%);
}

.auth-layout.wide {
    grid-template-columns: minmax(0, 720px) minmax(280px, 360px);
    align-items: start;
    justify-content: center;
    gap: 22px;
}

.auth-panel {
    width: min(100%, 560px);
    padding: clamp(24px, 4vw, 38px);
}

.auth-panel h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.auth-layout.wide .auth-panel {
    width: 100%;
}

.auth-panel.center {
    text-align: center;
}

.stacked-form {
    display: grid;
    gap: 16px;
}

.stacked-form label,
.admin-form-grid label,
.admin-order label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-form-grid .checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
}

.admin-form-grid .checkbox-line input {
    width: 16px;
    height: 16px;
    min-height: 0;
}

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

.checkout-actions,
.success-actions {
    display: grid;
    gap: 10px;
}

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

.whatsapp-checkout {
    border-color: #1fa855;
    background: #1fa855;
    color: #ffffff;
}

.checkout-note {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

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

.full,
.wide {
    grid-column: 1 / -1;
}

.form-note {
    margin: 18px 0 0;
}

.form-note a {
    color: var(--leaf-dark);
    font-weight: 800;
}

.toast {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 50;
    max-width: min(90vw, 420px);
    padding: 13px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    box-shadow: var(--shadow);
    font-weight: 800;
}

.toast.success {
    background: var(--leaf);
}

.toast.danger {
    background: #b4322c;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    padding: clamp(32px, 5vw, 64px) clamp(16px, 5vw, 76px);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    padding: clamp(32px, 5vw, 64px) clamp(16px, 5vw, 76px);
}

.account-panel,
.account-orders {
    align-self: start;
}

.order-detail-box {
    display: grid;
    gap: 8px;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
}

.order-detail-box p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    color: var(--muted);
}

.order-detail-box p:last-child {
    color: var(--ink);
    font-weight: 900;
}

.cart-items {
    display: grid;
    gap: 12px;
}

.cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px 110px;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.cart-row h3,
.cart-row p {
    margin: 0;
}

.quantity-form {
    display: flex;
    gap: 8px;
}

.quantity-form input {
    width: 72px;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.summary-box,
.tracking-card {
    padding: 24px;
}

.summary-box {
    position: sticky;
    top: 92px;
    align-self: start;
}

.summary-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.summary-box .mini-items {
    display: grid;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-box .mini-items p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.tracking-card .mini-items {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tracking-card .mini-items h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.tracking-card .mini-items p,
.tracking-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.tracking-total-row {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.tracking-total-row.total {
    border-bottom: 0;
    font-size: 18px;
}

.summary-box .total {
    margin-bottom: 16px;
    border-bottom: 0;
    font-size: 20px;
}

.checkout-summary {
    width: 100%;
}

.order-number {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--mint);
    color: var(--leaf-dark);
    font-size: 24px;
    font-weight: 900;
}

.setup-page,
.admin-login-page {
    min-height: 100vh;
    background: var(--mint);
}

.setup-panel {
    width: min(92vw, 560px);
    margin: 8vh auto;
    padding: 34px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.alert {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.alert.success {
    background: var(--mint);
    color: var(--leaf-dark);
}

.alert.danger {
    background: #ffe7e3;
    color: #9f2a24;
}

.admin-body {
    min-height: 100vh;
    background: #f4f9fd;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 270px;
    padding: 22px;
    background: #17496b;
    color: var(--white);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.admin-sidebar nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.simple-admin-page {
    padding: 24px;
}

.admin-main {
    margin-left: 270px;
    padding: 28px;
    font-size: 14px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.admin-pill {
    padding: 10px 13px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 800;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.stats-grid article {
    padding: 22px;
}

.stats-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.stats-grid strong {
    font-size: 30px;
}

.admin-card {
    margin-bottom: 22px;
    padding: 22px;
}

.admin-card.narrow {
    max-width: 560px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.profile-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.profile-grid span,
.profile-grid strong {
    display: block;
}

.profile-grid span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
}

.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-filter-bar input {
    min-height: 40px;
    min-width: min(100%, 260px);
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.admin-filter-bar label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-filter-bar.wide-filter {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdf8;
}

.timeline-list,
.activity-list {
    display: grid;
    gap: 12px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 92px minmax(100px, 1fr) 110px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.timeline-row span {
    color: var(--muted);
    font-weight: 800;
}

.timeline-row strong {
    text-align: right;
}

.timeline-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--mint);
}

.timeline-track i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--leaf);
}

.activity-list p {
    display: grid;
    gap: 3px;
    margin: 0;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
}

.activity-list span,
.activity-list small,
.empty-line {
    color: var(--muted);
}

.activity-list small {
    font-size: 12px;
}

.invoice-page {
    max-width: 1040px;
    margin: 0 auto;
}

.invoice-head,
.invoice-grid,
.action-row {
    display: flex;
    gap: 12px;
}

.invoice-head {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

.invoice-head h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 22px;
}

.invoice-grid > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdf8;
}

.invoice-total {
    width: min(100%, 360px);
    margin-left: auto;
    padding-top: 16px;
}

.invoice-total p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.invoice-total p:last-child {
    border-bottom: 0;
    font-size: 20px;
}

.action-row {
    flex-wrap: wrap;
    align-items: center;
}

.action-row form {
    margin: 0;
}

.admin-section-heading {
    margin-bottom: 18px;
}

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

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

th,
td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

td {
    font-size: 13px;
}

td small {
    color: var(--muted);
}

.admin-order {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 160px 220px minmax(180px, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.admin-order p,
.admin-order small {
    margin: 4px 0 0;
    color: var(--muted);
}

.tracking-row {
    display: grid;
    grid-template-columns: 140px 1fr minmax(220px, 2fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.orders-action-table .action-row {
    min-width: 330px;
    gap: 6px;
}

.admin-form-grid {
    display: grid;
    gap: 14px;
}

.product-edit {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.voucher-panel {
    padding: 0;
    overflow: hidden;
}

.voucher-summary,
.voucher-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    list-style: none;
}

.voucher-summary {
    padding: 18px 22px;
    color: var(--leaf-dark);
    font-size: 18px;
    font-weight: 900;
}

.voucher-summary::-webkit-details-marker,
.voucher-item > summary::-webkit-details-marker {
    display: none;
}

.voucher-summary strong {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--mint);
    color: var(--leaf-dark);
}

.voucher-panel[open] .voucher-summary strong {
    transform: rotate(45deg);
}

.compact-form {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--line);
}

.voucher-item {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fcff;
}

.voucher-item > summary {
    padding: 14px 16px;
}

.voucher-item > summary span,
.voucher-item > summary small {
    display: block;
}

.voucher-item > summary span {
    font-weight: 900;
}

.voucher-item > summary small {
    color: var(--muted);
    line-height: 1.4;
}

.checkline {
    display: flex !important;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px !important;
}

.checkline input {
    width: 18px;
    min-height: 18px;
}

.print-body {
    background: #f1f1f1;
    color: #111;
    font-family: Arial, sans-serif;
}

.print-sheet {
    width: min(100%, 820px);
    margin: 24px auto;
    padding: 32px;
    background: #fff;
}

.print-sheet h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
}

.print-sheet p {
    line-height: 1.5;
}

.print-sheet table {
    margin: 12px 0;
}

.print-total {
    text-align: right;
    font-size: 18px;
    font-weight: 700;
}

.thermal-print .print-sheet {
    width: 78mm;
    margin: 0 auto;
    padding: 8mm;
}

.thermal-print .print-sheet h1 {
    font-size: 20px;
    text-align: center;
}

.thermal-print .print-sheet,
.thermal-print .print-sheet table,
.thermal-print .print-sheet p {
    font-size: 12px;
}

.thermal-print th,
.thermal-print td {
    padding: 6px 3px;
}

@media print {
    .print-body {
        background: #fff;
    }

    .print-sheet {
        margin: 0;
        box-shadow: none;
    }

    .standard-print .print-sheet {
        width: 100%;
    }

    @page {
        margin: 12mm;
    }

    .thermal-print {
        width: 80mm;
    }

    .thermal-print .print-sheet {
        width: 80mm;
        padding: 0;
    }

}

@media (max-width: 1100px) {
    .feature-grid,
    .category-grid,
    .product-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-order,
    .tracking-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .hero,
    .auth-layout.wide,
    .cart-layout,
    .account-layout,
    .admin-grid-two {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        order: -1;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

    .summary-box {
        position: static;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .invoice-head {
        flex-direction: column;
    }

    .invoice-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-sidebar {
        position: static;
        width: auto;
    }

    .admin-main {
        margin-left: 0;
        padding: 18px;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 38px;
    }

    .feature-grid,
    .category-grid,
    .product-grid,
    .review-grid,
    .trust-badges,
    .stats-grid,
    .profile-grid,
    .grid-form,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.split,
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-actions,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .filter-bar input,
    .filter-bar select {
        width: 100%;
    }

    .tracking-row,
    .admin-order {
        grid-template-columns: 1fr;
    }

    .admin-filter-bar,
    .admin-filter-bar input {
        width: 100%;
    }

    .timeline-row {
        grid-template-columns: 1fr;
    }

    .timeline-row strong {
        text-align: left;
    }
}

/* Professional refresh */
body {
    font-size: 15px;
    line-height: 1.5;
}

.site-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.brand strong {
    font-size: 14px;
}

.brand small,
.site-nav {
    font-size: 12px;
}

.site-nav {
    gap: 4px;
    font-weight: 750;
}

.site-nav a {
    padding: 8px 10px;
}

.site-nav a[aria-current="page"] {
    background: var(--mint);
    color: var(--leaf-dark);
}

h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.04;
}

h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
}

h3 {
    font-size: 16px;
    line-height: 1.25;
}

.eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
}

.hero {
    min-height: 76vh;
    padding-top: clamp(34px, 6vw, 76px);
    padding-bottom: clamp(34px, 6vw, 76px);
}

.hero-copy {
    max-width: 620px;
}

.hero p {
    font-size: 16px;
    line-height: 1.65;
}

.section {
    padding-top: clamp(42px, 6vw, 72px);
    padding-bottom: clamp(42px, 6vw, 72px);
}

.section-heading {
    margin-bottom: 22px;
}

.btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
}

.btn.small {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
}

.trust-badges span,
.feature-row span {
    min-height: auto;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 800;
}

.feature-grid,
.category-grid,
.product-grid,
.review-grid,
.stats-grid {
    gap: 14px;
}

.feature-grid article,
.category-card,
.review-card,
.product-card,
.summary-box,
.auth-panel,
.tracking-card,
.admin-card,
.stats-grid article {
    box-shadow: 0 8px 24px rgba(23, 107, 154, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-grid article:hover,
.category-card:hover,
.category-emoji-link:hover,
.product-card:hover,
.review-card:hover,
.stats-grid article:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(23, 107, 154, 0.12);
}

.feature-grid article,
.category-card,
.review-card {
    padding: 18px;
}

.category-card {
    min-height: 136px;
}

.category-icon,
.category-photo {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.product-art {
    height: 132px;
}

.product-info {
    padding: 14px;
}

.product-card p,
.category-card p,
.review-card p,
.feature-grid p {
    font-size: 13px;
}

.product-bottom {
    margin-top: 14px;
}

.floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 14px;
}

.admin-body {
    background: #f6fafe;
    font-size: 13px;
}

.admin-sidebar {
    width: 238px;
    padding: 18px;
    background: #15577f;
}

.admin-sidebar nav {
    gap: 5px;
    margin-top: 22px;
}

.admin-sidebar nav a {
    padding: 10px 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 750;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.admin-main {
    margin-left: 238px;
    padding: 22px;
    font-size: 13px;
}

.admin-topbar {
    margin-bottom: 16px;
}

.admin-topbar h1 {
    font-size: clamp(24px, 3vw, 34px);
}

.admin-pill {
    padding: 8px 11px;
    font-size: 12px;
}

.stats-grid {
    margin-bottom: 16px;
}

.stats-grid article {
    padding: 16px;
}

.stats-grid span {
    margin-bottom: 7px;
    font-size: 11px;
}

.stats-grid strong {
    font-size: 24px;
}

.admin-card {
    margin-bottom: 16px;
    padding: 18px;
}

.admin-card h2 {
    font-size: 22px;
}

.admin-filter-bar {
    gap: 8px;
    margin-bottom: 12px;
}

.admin-filter-bar input,
.admin-filter-bar select,
.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-order input,
.admin-order textarea,
.admin-order select {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
}

th,
td {
    padding: 8px;
}

td {
    font-size: 12px;
}

.voucher-summary {
    padding: 14px 18px;
    font-size: 15px;
}

.voucher-summary strong {
    width: 28px;
    height: 28px;
}

.compact-form {
    padding: 14px 18px 18px;
}

.timeline-row,
.activity-list p {
    font-size: 12px;
}

.timeline-track {
    height: 8px;
}

.hero-copy > *,
.section-heading,
.feature-grid article,
.category-card,
.category-emoji-link,
.product-card,
.review-card,
.admin-topbar,
.stats-grid article,
.admin-card {
    animation: uiRise 460ms ease both;
}

.category-card:nth-child(2),
.category-emoji-link:nth-child(2),
.product-card:nth-child(2),
.feature-grid article:nth-child(2),
.stats-grid article:nth-child(2) {
    animation-delay: 60ms;
}

.category-card:nth-child(3),
.category-emoji-link:nth-child(3),
.product-card:nth-child(3),
.feature-grid article:nth-child(3),
.stats-grid article:nth-child(3) {
    animation-delay: 110ms;
}

.category-card:nth-child(4),
.category-emoji-link:nth-child(4),
.product-card:nth-child(4),
.feature-grid article:nth-child(4),
.stats-grid article:nth-child(4) {
    animation-delay: 160ms;
}

@keyframes uiRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 860px) {
    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 34px;
    }

    .hero {
        min-height: auto;
    }
}

/* Light orange compact theme */
:root {
    --leaf: #f29d45;
    --leaf-dark: #a95412;
    --mint: #fff4e8;
    --lime: #ffd5aa;
    --sun: #ffd166;
    --tomato: #c95a2e;
    --ink: #2a2119;
    --muted: #7d6f63;
    --line: #efd8c1;
    --paper: #fffaf5;
    --shadow: 0 16px 42px rgba(169, 84, 18, 0.12);
}

body {
    font-size: 14px;
}

.site-header {
    background: rgba(255, 250, 245, 0.94);
    border-bottom-color: rgba(239, 216, 193, 0.9);
}

.hero {
    background:
        linear-gradient(90deg, rgba(255, 250, 245, 0.94), rgba(255, 244, 232, 0.84) 52%, rgba(255, 244, 232, 0.42)),
        url("../img/adivedaa-home-bg.jpg");
}

.home-search {
    display: flex;
    width: min(100%, 560px);
    gap: 8px;
    margin: 18px 0 16px;
    padding: 8px;
    border: 1px solid rgba(239, 216, 193, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(169, 84, 18, 0.1);
}

.home-search input {
    flex: 1;
    min-width: 0;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.btn:hover {
    box-shadow: 0 10px 22px rgba(242, 157, 69, 0.22);
}

.feature-grid article,
.category-card,
.category-emoji-link,
.review-card,
.product-card,
.summary-box,
.auth-panel,
.tracking-card,
.admin-card,
.stats-grid article {
    box-shadow: 0 8px 22px rgba(169, 84, 18, 0.08);
}

.feature-grid article:hover,
.category-card:hover,
.category-emoji-link:hover,
.product-card:hover,
.review-card:hover,
.stats-grid article:hover {
    box-shadow: 0 14px 30px rgba(169, 84, 18, 0.13);
}

.site-footer,
.admin-sidebar {
    background: #a95412;
}

.section.muted,
.page-hero,
.setup-page,
.admin-login-page {
    background: #fff4e8;
}

.trust-badges span {
    border-color: rgba(242, 157, 69, 0.28);
    color: var(--leaf-dark);
}

h1 {
    font-size: clamp(30px, 4.4vw, 52px);
}

h2 {
    font-size: clamp(22px, 2.8vw, 30px);
}

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

.btn,
.site-nav,
.filter-bar input,
.filter-bar select {
    font-size: 12px;
}

.admin-body {
    background: #fff8f0;
    font-size: 12px;
}

.admin-main {
    font-size: 12px;
}

.admin-sidebar nav a {
    font-size: 12px;
}

.admin-topbar h1 {
    font-size: clamp(22px, 3vw, 30px);
}

.admin-card h2 {
    font-size: 18px;
}

.stats-grid strong {
    font-size: 21px;
}

.product-card p,
.category-card p,
.review-card p,
.feature-grid p,
.admin-card p,
td,
.activity-list p,
.timeline-row {
    font-size: 12px;
}

.bulk-delete-panel {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff8f0;
}

.bulk-delete-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bulk-product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
    max-height: 180px;
    overflow: auto;
    padding: 8px;
    border-radius: 8px;
    background: var(--white);
}

.bulk-product-list label,
.delete-product-form {
    font-size: 12px;
}

.delete-product-form {
    padding-top: 0;
    border-top: 0;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.product-admin-table th,
.product-admin-table td {
    white-space: nowrap;
}

.product-admin-table th:first-child,
.product-admin-table td:first-child {
    width: 68px;
    text-align: center;
}

.product-admin-table th:nth-child(2),
.product-admin-table td:nth-child(2) {
    width: 58px;
    text-align: center;
}

.product-table-thumb {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff4e8;
    object-fit: cover;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    vertical-align: middle;
}

.product-table-thumb.placeholder {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--product-color), white 58%), var(--product-color)),
        var(--product-color);
}

.product-admin-table strong {
    font-size: 12px;
}

.status-pill {
    display: inline-flex;
    min-width: 68px;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.status-pill.active {
    background: #ecf9e7;
    color: #327326;
}

.status-pill.inactive {
    background: #fff0ec;
    color: #b13f21;
}

.table-edit-details {
    position: relative;
}

.table-edit-details summary {
    list-style: none;
    width: max-content;
}

.table-edit-details summary::-webkit-details-marker {
    display: none;
}

.table-edit-details[open] {
    min-width: min(740px, 88vw);
}

.table-edit-details .compact-form {
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(169, 84, 18, 0.12);
}

@media (max-width: 860px) {
    .bulk-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body {
        font-size: 13px;
    }

    .home-search {
        flex-direction: column;
    }

    .bulk-product-list {
        grid-template-columns: 1fr;
    }
}

/* Homepage and cart refinement */
.hero {
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
}

.hero-copy {
    max-width: 920px;
}

.home-search {
    width: min(100%, 720px);
}

.hero-actions {
    margin-top: 4px;
}

.home-action-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 18px;
    padding: 18px clamp(16px, 5vw, 76px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff8f0;
}

.home-action-band .home-search {
    margin: 0;
    flex: 1 1 420px;
}

.home-action-band .hero-actions {
    margin: 0;
}

.status-inline-form {
    display: grid;
    gap: 6px;
    min-width: 150px;
}

.status-inline-form select {
    min-height: 30px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-size: 12px;
}

.status-inline-form .btn {
    justify-self: start;
}

.status-inline-form small {
    color: var(--muted);
}

.site-nav {
    font-size: 13px;
}

.brand strong {
    font-size: 15px;
}

.cart-row {
    grid-template-columns: minmax(0, 1fr) 240px 110px;
}

.quantity-form {
    align-items: center;
}

.quantity-form input {
    width: 54px;
    text-align: center;
}

.qty-btn {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mint);
    color: var(--leaf-dark);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.qty-btn:hover {
    border-color: var(--leaf);
    background: var(--leaf);
    color: var(--white);
}

@media (max-width: 860px) {
    .cart-row {
        grid-template-columns: 1fr;
    }

    .home-action-band {
        justify-content: stretch;
    }
}

/* Product card and compact type fix */
body {
    font-size: 13.5px;
}

.admin-body,
.admin-main {
    font-size: 12.5px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.product-art {
    flex: 0 0 154px;
    height: 154px;
    position: relative;
    z-index: 0;
}

.product-art.product-photo img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    background: var(--white);
}

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

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

.product-bottom {
    margin-top: auto;
    padding-top: 12px;
}

.product-actions {
    flex-shrink: 0;
}

.home-action-band {
    padding-top: 20px;
    padding-bottom: 20px;
}

.home-action-band .home-search {
    max-width: 920px;
    flex-basis: 620px;
}

.home-search input {
    min-height: 42px;
    font-size: 13px;
}

/* Final product-card layout override */
.product-grid .product-card {
    display: grid !important;
    grid-template-rows: 160px auto !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

.product-grid .product-art,
.product-grid .product-art.product-photo {
    grid-row: 1 !important;
    width: 100% !important;
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    overflow: hidden !important;
}

.product-grid .product-art img,
.product-grid .product-art.product-photo img {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-grid .product-info {
    grid-row: 2 !important;
    min-height: 0 !important;
    padding: 13px !important;
    background: var(--white) !important;
}

.product-grid .product-bottom {
    align-items: flex-end !important;
    margin-top: 12px !important;
}

.product-grid .product-actions {
    display: flex !important;
    position: static !important;
    gap: 6px !important;
}

.home-action-band {
    display: flex !important;
    margin: 0 !important;
}

.home-action-band .home-search {
    width: min(100%, 960px) !important;
    max-width: 960px !important;
}

body {
    font-size: 13px;
}

.admin-body,
.admin-main {
    font-size: 12px;
}

/* Absolute final mobile/admin layout override */
@media (max-width: 760px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .site-header {
        padding: 10px 14px !important;
    }

    .site-nav.open {
        display: grid !important;
    }

    .hero {
        min-height: 54vh !important;
        padding: 42px 16px 46px !important;
    }

    .hero h1 {
        font-size: 31px !important;
        line-height: 1.08 !important;
    }

    .home-action-band {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 14px !important;
    }

    .home-action-band .home-search {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    .home-action-band .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
    }

    .section,
    .page-hero {
        padding: 30px 14px !important;
    }

    .product-grid,
    .feature-grid,
    .review-grid,
    .category-grid,
    .grid-form,
    .admin-form-grid {
        grid-template-columns: 1fr !important;
    }

    .product-card > .product-art,
    .product-card > .product-art.product-photo {
        flex-basis: 148px !important;
        height: 148px !important;
        min-height: 148px !important;
        max-height: 148px !important;
    }

    .product-card .product-bottom {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .product-card .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .product-card .product-actions .btn {
        width: 100% !important;
    }

    .admin-sidebar {
        position: sticky !important;
        top: 0 !important;
        z-index: 70 !important;
        width: 100% !important;
        padding: 10px 12px !important;
        background: #a95412 !important;
    }

    .admin-sidebar nav {
        display: flex !important;
        gap: 6px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .admin-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 12px !important;
        font-size: 12px !important;
        background: #ffffff !important;
    }

    .admin-topbar,
    .admin-section-heading {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .admin-topbar h1 {
        font-size: 24px !important;
    }

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

    .stats-grid article {
        min-height: 84px !important;
        padding: 12px !important;
    }

    .stats-grid strong {
        font-size: 18px !important;
        overflow-wrap: anywhere;
    }

    .admin-grid-two {
        grid-template-columns: 1fr !important;
    }

    .admin-card {
        margin-bottom: 12px !important;
        padding: 14px !important;
    }

    .admin-filter-bar,
    .wide-filter,
    .csv-actions,
    .action-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .admin-filter-bar input,
    .admin-filter-bar select,
    .admin-filter-bar button,
    .admin-filter-bar .btn {
        width: 100% !important;
        min-height: 38px !important;
    }

    .compact-form,
    .admin-form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .admin-form-grid label,
    .compact-form label {
        grid-column: 1 / -1 !important;
    }

    .voucher-summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 13px 14px !important;
        font-size: 15px !important;
    }

    .table-wrap {
        width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important;
        border: 1px solid var(--line);
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table {
        min-width: 640px !important;
    }

    .orders-action-table {
        min-width: 760px !important;
    }

    .product-admin-table {
        min-width: 720px !important;
    }

    th,
    td {
        padding: 8px 7px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    th {
        font-size: 10px !important;
    }

    .orders-action-table .action-row {
        display: flex !important;
        flex-wrap: wrap !important;
        min-width: 260px !important;
        gap: 5px !important;
    }

    table .btn,
    .btn.tiny,
    .btn.small {
        width: auto !important;
    }
}

/* Free customer smart assistant */
.customer-assistant {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 80;
    font-size: 13px;
}

.assistant-toggle {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #f0c79d;
    border-radius: 999px;
    background: #ffffff;
    color: #a95412;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(154, 78, 17, 0.16);
    font-weight: 900;
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 56px;
    display: grid;
    width: min(92vw, 330px);
    max-height: min(580px, 74vh);
    overflow: hidden;
    border: 1px solid #f0c79d;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(20, 36, 51, 0.22);
}

.assistant-panel[hidden] {
    display: none !important;
}

.smart-cart-helper,
.repeat-order-box,
.smart-admin-card {
    border: 1px solid #f0c79d;
    border-radius: 8px;
    background: #fffaf4;
}

.smart-cart-helper,
.repeat-order-box {
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding: 12px;
}

.smart-cart-helper h3,
.repeat-order-box h3,
.smart-admin-card h3 {
    margin: 0;
    font-size: 15px;
}

.smart-cart-helper p,
.repeat-order-box p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.smart-cart-helper div,
.repeat-order-box div,
.smart-offer-list {
    display: grid;
    gap: 8px;
}

.smart-cart-helper div {
    display: flex;
    flex-wrap: wrap;
}

.smart-cart-helper a,
.repeat-order-box a {
    padding: 8px 10px;
    border: 1px solid #f0c79d;
    border-radius: 8px;
    background: #ffffff;
    color: #a95412;
    text-decoration: none;
    font-weight: 900;
}

.repeat-order-box a {
    display: grid;
    gap: 3px;
}

.repeat-order-box small {
    color: var(--muted);
}

.smart-admin-card {
    padding: 18px;
}

.smart-admin-card p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
    color: var(--muted);
}

.smart-admin-card p strong {
    color: var(--ink);
}

.smart-offer-list p {
    display: block;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
}

.smart-review-highlight {
    margin: 10px 0;
    padding: 12px;
    border-left: 4px solid #d47b2a;
    border-radius: 8px;
    background: #ffffff;
}

.smart-review-highlight p {
    display: block;
    margin: 0 0 8px;
    color: var(--ink);
    font-weight: 800;
}

.smart-review-highlight small,
.smart-copy-text {
    color: var(--muted);
}

.assistant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: #fff8f0;
}

.assistant-head strong,
.assistant-head small {
    display: block;
}

.assistant-head small {
    color: var(--muted);
    font-size: 11px;
}

.assistant-head button {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    cursor: pointer;
    font-weight: 900;
}

.assistant-messages {
    display: grid;
    gap: 8px;
    max-height: 270px;
    overflow-y: auto;
    padding: 12px;
}

.assistant-bubble {
    max-width: 88%;
    padding: 9px 10px;
    border-radius: 8px;
    line-height: 1.45;
}

.assistant-bubble p {
    margin: 0;
}

.assistant-bubble.bot {
    justify-self: start;
    background: #f8fcff;
    color: var(--ink);
}

.assistant-bubble.user {
    justify-self: end;
    background: #dff3ff;
    color: #114a69;
}

.assistant-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.assistant-links a,
.assistant-quick button,
.assistant-form button {
    border: 1px solid #f0c79d;
    border-radius: 999px;
    background: #ffffff;
    color: #a95412;
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 900;
    text-decoration: none;
}

.assistant-links a {
    padding: 5px 8px;
}

.assistant-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 10px;
}

.assistant-quick button {
    min-height: 28px;
    padding: 0 9px;
}

.assistant-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid var(--line);
}

.assistant-form input {
    min-width: 0;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.assistant-form button {
    min-height: 36px;
    padding: 0 12px;
    background: #1fa855;
    border-color: #1fa855;
    color: #ffffff;
}

@media (max-width: 760px) {
    .customer-assistant {
        right: 14px;
        bottom: 82px;
    }

    .assistant-panel {
        right: -2px;
        width: min(94vw, 320px);
        max-height: 68vh;
    }
}

/* Keep admin notifications above dashboard cards and tables */
.admin-topbar,
.admin-top-actions,
.admin-notification-menu {
    position: relative !important;
    z-index: 9000 !important;
    overflow: visible !important;
}

.admin-notification-menu[open] {
    z-index: 9500 !important;
}

.admin-notification-menu[open] .notification-panel,
.notification-panel {
    z-index: 9999 !important;
    width: min(88vw, 300px) !important;
    max-height: 320px !important;
    padding: 9px !important;
    font-size: 11.5px !important;
}

.notification-panel h2 {
    margin-bottom: 6px !important;
    font-size: 13px !important;
}

.notification-panel article {
    gap: 5px !important;
    padding: 7px 0 !important;
}

.notification-panel article.unread {
    margin: 0 -5px !important;
    padding: 7px 5px !important;
}

.notification-panel p {
    gap: 2px !important;
}

.notification-actions {
    gap: 4px !important;
}

.notification-actions .btn {
    min-height: 26px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
}

/* Final homepage smart search */
.home-action-band .smart-home-search {
    position: relative !important;
    flex: 1 1 520px !important;
    max-width: 760px !important;
}

.home-action-band .smart-home-search::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    width: 15px !important;
    height: 15px !important;
    border: 2px solid #d47b2a !important;
    border-radius: 999px !important;
    transform: translateY(-58%) !important;
    pointer-events: none !important;
}

.home-action-band .smart-home-search::after {
    content: "" !important;
    position: absolute !important;
    left: 31px !important;
    top: 50% !important;
    width: 8px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #d47b2a !important;
    transform: translateY(6px) rotate(45deg) !important;
    pointer-events: none !important;
}

.home-action-band .smart-home-search input {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 18px 12px 48px !important;
    border: 1px solid #f0c79d !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(154, 78, 17, 0.12) !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    outline: none !important;
}

.home-action-band .smart-home-search input:focus {
    border-color: #d47b2a !important;
    box-shadow: 0 16px 38px rgba(154, 78, 17, 0.18) !important;
}

.page-hero .product-smart-search {
    position: relative !important;
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    margin-top: 18px !important;
}

.page-hero .product-smart-search::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    width: 15px !important;
    height: 15px !important;
    border: 2px solid #d47b2a !important;
    border-radius: 999px !important;
    transform: translateY(-58%) !important;
    pointer-events: none !important;
}

.page-hero .product-smart-search::after {
    content: "" !important;
    position: absolute !important;
    left: 31px !important;
    top: 50% !important;
    width: 8px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #d47b2a !important;
    transform: translateY(6px) rotate(45deg) !important;
    pointer-events: none !important;
}

.page-hero .product-smart-search input {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 18px 12px 48px !important;
    border: 1px solid #f0c79d !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(154, 78, 17, 0.12) !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    outline: none !important;
}

.page-hero .product-smart-search input:focus {
    border-color: #d47b2a !important;
    box-shadow: 0 16px 38px rgba(154, 78, 17, 0.18) !important;
}

@media (max-width: 760px) {
    .home-action-band .smart-home-search {
        flex-basis: 100% !important;
        max-width: none !important;
        width: 100% !important;
    }
}

/* Homepage smart search */
.home-action-band .smart-home-search {
    position: relative;
    flex: 1 1 520px;
    max-width: 760px;
}

.home-action-band .smart-home-search::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 2px solid #d47b2a;
    border-radius: 999px;
    transform: translateY(-58%);
    pointer-events: none;
}

.home-action-band .smart-home-search::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 50%;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: #d47b2a;
    transform: translateY(6px) rotate(45deg);
    pointer-events: none;
}

.home-action-band .smart-home-search input {
    width: 100% !important;
    min-height: 50px;
    padding: 12px 18px 12px 48px;
    border: 1px solid #f0c79d;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(154, 78, 17, 0.12);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.home-action-band .smart-home-search input:focus {
    border-color: #d47b2a;
    box-shadow: 0 16px 38px rgba(154, 78, 17, 0.18);
}

@media (max-width: 760px) {
    .home-action-band .smart-home-search {
        flex-basis: 100%;
        max-width: none;
        width: 100%;
    }
}

/* Final product action cleanup after removing the Buy button */
.product-card .product-actions form,
.product-card .product-actions .btn {
    width: 100%;
}

@media (max-width: 760px) {
    .product-card .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* Final product action cleanup after removing the Buy button */
.product-card .product-actions form,
.product-card .product-actions .btn {
    width: 100%;
}

@media (max-width: 760px) {
    .product-card .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* Final mobile dashboard refinement */
@media (max-width: 760px) {
    .admin-body {
        background: #ffffff !important;
    }

    .admin-sidebar {
        position: sticky !important;
        top: 0 !important;
        z-index: 60 !important;
        width: 100% !important;
        padding: 10px 12px !important;
        background: #a95412 !important;
    }

    .admin-sidebar .brand {
        max-width: 100% !important;
    }

    .admin-sidebar nav {
        display: flex !important;
        gap: 6px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
        -webkit-overflow-scrolling: touch;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .admin-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 12px !important;
        font-size: 12px !important;
    }

    .admin-topbar {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .admin-topbar h1 {
        font-size: 24px !important;
    }

    .admin-pill {
        justify-self: start !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .stats-grid article {
        min-height: 84px !important;
        padding: 12px !important;
    }

    .stats-grid span {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }

    .stats-grid strong {
        font-size: 18px !important;
        line-height: 1.15 !important;
        overflow-wrap: anywhere;
    }

    .admin-grid-two {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .admin-card {
        margin-bottom: 12px !important;
        padding: 14px !important;
        border-radius: 8px !important;
    }

    .admin-card h2 {
        font-size: 17px !important;
    }

    .admin-card p {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }

    .admin-section-heading {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .admin-filter-bar,
    .wide-filter,
    .csv-actions,
    .action-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .admin-filter-bar input,
    .admin-filter-bar select,
    .admin-filter-bar textarea,
    .admin-filter-bar button,
    .admin-filter-bar .btn,
    .wide-filter input,
    .wide-filter button,
    .wide-filter .btn {
        width: 100% !important;
        min-height: 38px !important;
    }

    .admin-form-grid,
    .compact-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .admin-form-grid label,
    .compact-form label {
        grid-column: 1 / -1 !important;
        font-size: 11.5px !important;
    }

    .admin-form-grid input,
    .admin-form-grid textarea,
    .admin-form-grid select {
        min-height: 38px !important;
        font-size: 12px !important;
    }

    .voucher-summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 13px 14px !important;
        font-size: 15px !important;
    }

    .voucher-summary strong {
        flex: 0 0 auto !important;
        width: 28px !important;
        height: 28px !important;
    }

    .voucher-item > summary {
        padding: 12px !important;
    }

    .timeline-row {
        grid-template-columns: 72px minmax(80px, 1fr) 82px !important;
        gap: 8px !important;
        font-size: 11px !important;
    }

    .activity-list p {
        font-size: 11.5px !important;
    }

    .table-actions {
        justify-content: stretch !important;
    }

    .table-actions .btn {
        width: 100% !important;
    }

    .table-wrap {
        width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important;
        border: 1px solid var(--line);
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table {
        min-width: 640px !important;
    }

    .orders-action-table {
        min-width: 760px !important;
    }

    .product-admin-table {
        min-width: 720px !important;
    }

    th,
    td {
        padding: 8px 7px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    th {
        font-size: 10px !important;
    }

    .status-inline-form {
        min-width: 132px !important;
    }

    .status-inline-form select {
        width: 100% !important;
        font-size: 11.5px !important;
    }

    .orders-action-table .action-row {
        display: flex !important;
        flex-wrap: wrap !important;
        min-width: 260px !important;
        gap: 5px !important;
    }

    .orders-action-table .btn,
    .product-admin-table .btn,
    table .btn.tiny {
        width: auto !important;
        min-height: 25px !important;
        padding: 0 7px !important;
        font-size: 10.5px !important;
    }

    .table-edit-details[open] .compact-form {
        min-width: 260px !important;
    }

    .product-table-thumb {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Mobile polish */
@media (max-width: 760px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 12.5px !important;
    }

    .site-header {
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 14px !important;
    }

    .brand {
        gap: 9px !important;
        max-width: calc(100% - 54px);
    }

    .brand-mark {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    .brand strong {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .brand small {
        font-size: 10.5px !important;
    }

    .menu-toggle {
        display: grid !important;
        width: 40px !important;
        height: 40px !important;
        place-items: center !important;
        margin-left: auto;
    }

    .site-nav {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 12px !important;
        left: 12px !important;
        z-index: 50 !important;
        display: none !important;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        padding: 8px !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 20px 42px rgba(42, 33, 25, 0.16) !important;
    }

    .site-nav.open {
        display: grid !important;
        gap: 4px !important;
    }

    .site-nav a,
    .cart-link {
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 38px !important;
        padding: 9px 10px !important;
        font-size: 12.5px !important;
    }

    .hero {
        min-height: 54vh !important;
        padding: 42px 16px 46px !important;
        align-items: end !important;
    }

    .hero-copy {
        max-width: 100% !important;
    }

    .hero h1 {
        margin-bottom: 12px !important;
        font-size: 31px !important;
        line-height: 1.08 !important;
    }

    .hero p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .eyebrow {
        margin-bottom: 8px !important;
        font-size: 10.5px !important;
    }

    .home-action-band {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 14px !important;
    }

    .home-action-band .home-search,
    .home-search {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        padding: 7px !important;
    }

    .home-search input {
        min-width: 0 !important;
        min-height: 38px !important;
        font-size: 12.5px !important;
    }

    .home-action-band .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .section,
    .page-hero {
        padding: 30px 14px !important;
    }

    .section-heading {
        margin-bottom: 16px !important;
    }

    .section-heading.split,
    .admin-section-heading,
    .admin-topbar {
        display: grid !important;
        gap: 10px !important;
        align-items: start !important;
    }

    h1,
    .page-hero.compact h1 {
        font-size: 30px !important;
        line-height: 1.08 !important;
    }

    h2 {
        font-size: 22px !important;
        line-height: 1.12 !important;
    }

    .home-category-strip {
        margin: -2px -14px 16px !important;
        padding: 2px 14px 9px !important;
    }

    .home-category-strip a {
        min-height: 34px !important;
        padding: 6px 10px !important;
    }

    .product-grid,
    .feature-grid,
    .review-grid,
    .stats-grid,
    .category-grid,
    .profile-grid,
    .grid-form,
    .admin-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .product-card > .product-art,
    .product-card > .product-art.product-photo {
        flex-basis: 148px !important;
        height: 148px !important;
        min-height: 148px !important;
        max-height: 148px !important;
    }

    .product-card .product-bottom {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .product-card .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .product-card .product-actions .btn {
        width: 100% !important;
    }

    .btn,
    .filter-bar input,
    .filter-bar select,
    .filter-bar button,
    .stacked-form input,
    .stacked-form textarea,
    .stacked-form select {
        min-height: 40px !important;
        font-size: 12.5px !important;
    }

    .filter-bar,
    .admin-filter-bar,
    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .auth-layout,
    .auth-layout.wide,
    .cart-layout,
    .account-layout {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        padding: 20px 14px !important;
    }

    .auth-panel,
    .summary-box,
    .admin-card,
    .stats-grid article,
    .feature-grid article,
    .review-card {
        padding: 16px !important;
    }

    .cart-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .quantity-form {
        justify-content: flex-start !important;
    }

    .site-footer {
        grid-template-columns: 1fr !important;
        padding: 28px 16px !important;
    }

    .floating-whatsapp {
        right: 14px !important;
        bottom: 14px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .admin-sidebar {
        position: sticky !important;
        top: 0 !important;
        z-index: 45 !important;
        width: 100% !important;
        padding: 10px 12px !important;
    }

    .admin-sidebar nav {
        display: flex !important;
        gap: 6px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
    }

    .admin-main {
        margin-left: 0 !important;
        padding: 14px !important;
    }

    .table-wrap {
        margin: 0 -2px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 680px;
    }

    th,
    td {
        padding: 8px 7px !important;
        font-size: 11.5px !important;
    }

    .action-row .btn,
    table .btn,
    .btn.tiny,
    .btn.small {
        width: auto !important;
    }

    .orders-action-table .action-row {
        min-width: 280px !important;
    }
}

/* White page background with darker homepage hero image */
:root {
    --paper: #ffffff;
    --mint: #fff4e8;
    --line: #efd8c1;
}

body {
    background: #ffffff !important;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(239, 216, 193, 0.78);
}

.section.muted,
.page-hero,
.setup-page,
.admin-login-page,
.home-action-band {
    background: #ffffff !important;
}

.admin-body {
    background: #ffffff !important;
}

.admin-main {
    background: transparent;
}

.hero {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.42) 52%, rgba(0, 0, 0, 0.22)),
        url("../img/adivedaa-home-bg.jpg") !important;
    background-position: center !important;
    background-size: cover !important;
}

.hero .eyebrow,
.hero h1,
.hero p {
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.home-category-strip {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    padding: 4px 0 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.home-category-strip a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(169, 84, 18, 0.07);
    color: var(--ink);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-category-strip a:hover,
.home-category-strip a:focus-visible {
    border-color: var(--leaf);
    box-shadow: 0 12px 24px rgba(169, 84, 18, 0.12);
    transform: translateY(-1px);
}

.home-category-strip span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: var(--mint);
    font-size: 15px;
}

.home-category-strip strong {
    font-size: 12px;
    white-space: nowrap;
}

/* Product cards: keep photo and details in separate rows */
.product-grid > .product-card,
article.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: var(--white) !important;
}

.product-card.search-hidden,
.product-card[hidden] {
    display: none !important;
}

.product-card > .product-art,
.product-card > .product-art.product-photo {
    position: relative !important;
    display: grid !important;
    flex: 0 0 158px !important;
    width: 100% !important;
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    place-items: center !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

.product-card > .product-art img,
.product-card > .product-art.product-photo img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
}

.product-card > .product-info {
    position: static !important;
    z-index: 1 !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    background: var(--white) !important;
}

.product-card .category-label,
.product-card .product-info h3,
.product-card .product-info p,
.product-card .price-stack,
.product-card .product-bottom,
.product-card .product-actions {
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

.product-card .product-info h3 {
    margin-bottom: 5px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

.product-card .product-info p {
    margin-bottom: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
}

.product-card .product-bottom {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 10px !important;
}

.product-card .product-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}

.product-card .product-actions form {
    margin: 0 !important;
}

.product-card .btn.small {
    min-height: 28px !important;
    padding: 0 9px !important;
    font-size: 11.5px !important;
}

.home-action-band {
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 18px clamp(16px, 5vw, 76px) !important;
}

.home-action-band .home-search {
    position: relative !important;
    flex: 1 1 520px !important;
    width: min(100%, 760px) !important;
    max-width: 760px !important;
}

.home-action-band .smart-home-search::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    width: 15px !important;
    height: 15px !important;
    border: 2px solid #d47b2a !important;
    border-radius: 999px !important;
    transform: translateY(-58%) !important;
    pointer-events: none !important;
}

.home-action-band .smart-home-search::after {
    content: "" !important;
    position: absolute !important;
    left: 31px !important;
    top: 50% !important;
    width: 8px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #d47b2a !important;
    transform: translateY(6px) rotate(45deg) !important;
    pointer-events: none !important;
}

.home-action-band .smart-home-search input {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 18px 12px 48px !important;
    border: 1px solid #f0c79d !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(154, 78, 17, 0.12) !important;
    color: var(--ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    outline: none !important;
}

.home-action-band .smart-home-search input:focus {
    border-color: #d47b2a !important;
    box-shadow: 0 16px 38px rgba(154, 78, 17, 0.18) !important;
}

body {
    font-size: 12.75px;
}

.site-nav {
    font-size: 13px;
}

.admin-body,
.admin-main {
    font-size: 12px;
}

.mobile-cart-link {
    display: none;
}

/* Final phone layout override for storefront and admin */
@media (max-width: 760px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .site-header {
        padding: 10px 14px !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
    }

    .mobile-cart-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        min-height: 36px !important;
        padding: 0 10px !important;
        border: 1px solid var(--line) !important;
        border-radius: 8px !important;
        background: var(--white) !important;
        color: var(--leaf-dark) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    .mobile-cart-link span {
        display: grid !important;
        min-width: 21px !important;
        height: 21px !important;
        place-items: center !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        background: var(--sun) !important;
        color: var(--ink) !important;
        font-size: 11px !important;
    }

    .site-nav .cart-link {
        display: none !important;
    }

    .site-nav.open {
        display: grid !important;
    }

    .hero {
        min-height: 54vh !important;
        padding: 42px 16px 46px !important;
    }

    .hero h1 {
        font-size: 31px !important;
        line-height: 1.08 !important;
    }

    .home-action-band {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 14px !important;
    }

    .home-action-band .home-search {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    .home-action-band .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
    }

    .section,
    .page-hero {
        padding: 30px 14px !important;
    }

    .product-grid,
    .feature-grid,
    .review-grid,
    .category-grid,
    .grid-form,
    .admin-form-grid {
        grid-template-columns: 1fr !important;
    }

    .product-card > .product-art,
    .product-card > .product-art.product-photo {
        flex-basis: 148px !important;
        height: 148px !important;
        min-height: 148px !important;
        max-height: 148px !important;
    }

    .product-card .product-bottom {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .product-card .product-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .product-card .product-actions .btn {
        width: 100% !important;
    }

    .admin-sidebar {
        position: sticky !important;
        top: 0 !important;
        z-index: 70 !important;
        width: 100% !important;
        padding: 10px 12px !important;
        background: #a95412 !important;
    }

    .admin-sidebar nav {
        display: flex !important;
        gap: 6px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
    }

    .admin-sidebar nav a {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .admin-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 12px !important;
        font-size: 12px !important;
        background: #ffffff !important;
    }

    .admin-topbar,
    .admin-section-heading {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .admin-topbar h1 {
        font-size: 24px !important;
    }

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

    .stats-grid article {
        min-height: 84px !important;
        padding: 12px !important;
    }

    .stats-grid strong {
        font-size: 18px !important;
        overflow-wrap: anywhere;
    }

    .admin-grid-two {
        grid-template-columns: 1fr !important;
    }

    .admin-card {
        margin-bottom: 12px !important;
        padding: 14px !important;
    }

    .admin-filter-bar,
    .wide-filter,
    .csv-actions,
    .action-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .admin-filter-bar input,
    .admin-filter-bar select,
    .admin-filter-bar button,
    .admin-filter-bar .btn {
        width: 100% !important;
        min-height: 38px !important;
    }

    .compact-form,
    .admin-form-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .admin-form-grid label,
    .compact-form label {
        grid-column: 1 / -1 !important;
    }

    .voucher-summary {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 13px 14px !important;
        font-size: 15px !important;
    }

    .table-wrap {
        width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important;
        border: 1px solid var(--line);
        border-radius: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrap table {
        min-width: 640px !important;
    }

    .orders-action-table {
        min-width: 760px !important;
    }

    .product-admin-table {
        min-width: 720px !important;
    }

    th,
    td {
        padding: 8px 7px !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    th {
        font-size: 10px !important;
    }

    .orders-action-table .action-row {
        display: flex !important;
        flex-wrap: wrap !important;
        min-width: 260px !important;
        gap: 5px !important;
    }

    table .btn,
    .btn.tiny,
    .btn.small {
        width: auto !important;
    }
}
