:root {
    --ink: #111711;
    --forest: #13261a;
    --leaf: #2f7d43;
    --gold: #d9a441;
    --saffron: #e2713d;
    --cream: #fbf5e9;
    --paper: #fffaf0;
    --muted: #697168;
    --line: rgba(17, 23, 17, 0.12);
    --glass: rgba(255, 250, 240, 0.78);
    --shadow: 0 18px 50px rgba(17, 23, 17, 0.16);
}

/* Admin foundation refresh */
.admin-body {
    grid-template-columns: 280px minmax(0, 1fr);
    background:
        radial-gradient(circle at top left, rgba(47, 125, 67, 0.12), transparent 34%),
        #f8fafc;
}

.admin-sidebar {
    z-index: 80;
    padding: 16px;
    background: #0f1f17;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 12px 0 34px rgba(15, 31, 23, 0.12);
    overflow-y: auto;
}

.admin-sidebar-head,
.section-actions,
.admin-table-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-menu-close,
.admin-menu-toggle {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-weight: 900;
}

.admin-menu-close {
    display: none;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.admin-menu-toggle {
    display: none;
}

.admin-sidebar .brand-lockup {
    padding: 8px 0 14px;
}

.admin-sidebar nav {
    gap: 4px;
    margin-top: 10px;
}

.admin-nav-group {
    margin: 16px 8px 6px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 850;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: #fff;
    border-color: rgba(217, 164, 65, 0.34);
    background: linear-gradient(135deg, rgba(47, 125, 67, 0.96), rgba(217, 164, 65, 0.78));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.admin-main {
    padding: 24px;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    margin: -24px -24px 22px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(17, 23, 17, 0.08);
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(14px);
}

.admin-topbar h1 {
    margin: 2px 0 0;
    font-size: clamp(1.28rem, 1.8vw, 1.9rem);
}

.admin-topbar form button,
.admin-card button,
.admin-filter-form button,
.bulk-toolbar button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--leaf);
    font-weight: 950;
    cursor: pointer;
}

.admin-topbar form button {
    padding: 0 16px;
    background: #13261a;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-stats div {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-top: 4px solid var(--gold);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 14px 30px rgba(17, 23, 17, 0.06);
}

.admin-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.05;
}

.admin-stats-secondary {
    margin-top: 16px;
}

.admin-grid,
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.admin-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(17, 23, 17, 0.07);
}

.admin-card.wide {
    grid-row: span 2;
}

.admin-card .section-head a,
.admin-preview-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(47, 125, 67, 0.18);
    border-radius: 8px;
    color: var(--leaf);
    background: rgba(47, 125, 67, 0.08);
    font-size: 0.84rem;
    font-weight: 950;
}

.admin-health,
.status-on,
.status-off {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 950;
}

.admin-health,
.status-on {
    color: #14532d;
    background: #dcfce7;
}

.status-off {
    color: #92400e;
    background: #fef3c7;
}

.bar-chart.admin-chart {
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    height: 300px;
}

.bar-chart.admin-chart span {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 28px;
    overflow: hidden;
}

.bar-chart.admin-chart small {
    width: 100%;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 950;
    text-align: center;
}

.admin-mini-list p {
    align-items: center;
}

.admin-mini-list span {
    min-width: 0;
    font-weight: 850;
}

.admin-mini-list small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.admin-mini-list b {
    flex: 0 0 auto;
    color: var(--forest);
    font-size: 0.84rem;
}

.maintenance-form.compact {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.maintenance-form.compact input,
.maintenance-form.compact textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.maintenance-form.compact textarea {
    min-height: 84px;
    padding-top: 10px;
}

.admin-table-tools {
    align-items: end;
    margin: 12px 0 14px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 200px) auto;
    gap: 10px;
    align-items: end;
    flex: 1 1 560px;
}

.admin-filter-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.admin-filter-form input,
.admin-filter-form select,
.bulk-toolbar select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(17, 23, 17, 0.13);
    border-radius: 8px;
    background: #fff;
}

.bulk-toolbar {
    justify-content: flex-end;
    margin: 0;
    flex: 0 0 auto;
}

.bulk-selected-count {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(17, 23, 17, 0.06);
    font-size: 0.78rem;
    font-weight: 900;
}

.bulk-toolbar button,
.admin-filter-form button {
    padding: 0 16px;
}

.admin-resource-table {
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-radius: 8px;
    background: #f8fafc;
}

.admin-resource-row {
    margin: 0;
    border-bottom: 1px solid rgba(17, 23, 17, 0.06);
    border-radius: 0;
    background: #fff;
}

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

.admin-resource-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef6ef;
}

.toast-line {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    max-width: min(420px, calc(100vw - 28px));
    box-shadow: 0 18px 44px rgba(17, 23, 17, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-line.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.admin-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 31, 23, 0.42);
}

.admin-health-panel {
    margin-top: 16px;
}

.admin-health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.health-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-left: 4px solid var(--leaf);
    border-radius: 8px;
    background: #fff;
}

.health-card.warning {
    border-left-color: var(--gold);
    background: #fffaf0;
}

.health-card.danger {
    border-left-color: #dc2626;
    background: #fff1f2;
}

.health-card span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.health-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.15rem;
}

.health-card p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

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

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

    .admin-card.wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

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

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 320px);
        height: 100vh;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .admin-body.admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-menu-toggle,
    .admin-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .admin-topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-topbar {
        margin: -16px -16px 18px;
        padding: 14px 16px;
    }

    .admin-table-tools {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-filter-form {
        grid-template-columns: 1fr 1fr auto;
    }
}

@media (max-width: 560px) {
    .admin-stats,
    .admin-grid,
    .admin-dashboard-grid,
    .admin-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-stats div,
    .admin-card {
        padding: 12px;
    }

    .admin-stats strong {
        font-size: 1.15rem;
    }

    .admin-topbar h1 {
        font-size: 1rem;
    }

    .admin-topbar form button,
    .admin-menu-toggle {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .admin-filter-form,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .bulk-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .bulk-toolbar select,
    .bulk-toolbar button {
        width: 100%;
    }

    .admin-card.wide {
        grid-column: 1 / -1;
    }

    .bar-chart.admin-chart {
        height: 220px;
    }
}

.product-video-card {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.84);
    box-shadow: 0 10px 24px rgba(17, 23, 17, 0.07);
}

.product-video-card video,
.product-video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    border: 0;
    border-radius: 8px;
    background: #13261a;
}

.variant-picker {
    display: grid;
    gap: 10px;
}

.variant-picker > span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.variant-picker > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.variant-picker button {
    display: grid;
    gap: 4px;
    min-height: 64px;
    padding: 10px;
    border: 1px solid rgba(19, 38, 26, 0.14);
    border-radius: 8px;
    color: var(--forest);
    background: rgba(255, 255, 255, 0.86);
    text-align: left;
}

.variant-picker button.active {
    border-color: var(--leaf);
    background: rgba(47, 125, 67, 0.1);
    box-shadow: 0 8px 18px rgba(47, 125, 67, 0.14);
}

.variant-picker strong,
.variant-picker small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.variant-picker small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
}

.catalog-csv-grid {
    align-items: stretch;
    margin-bottom: 16px;
}

.csv-header-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.csv-header-list code {
    padding: 7px 9px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    color: var(--forest);
    background: rgba(47, 125, 67, 0.08);
    font-size: 0.78rem;
    font-weight: 850;
}

@media (max-width: 720px) {
    .variant-picker > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-video-card {
        padding: 10px;
    }
}

/* Dynamic settings + homepage controls */
.app-main {
    display: flex;
    flex-direction: column;
}

.announcement-bar,
.header-notice {
    width: 100%;
    padding: 9px 14px;
    color: #fff;
    background: var(--forest);
    font-size: 0.88rem;
    font-weight: 850;
    text-align: center;
}

.header-notice {
    color: var(--forest);
    background: rgba(217, 164, 65, 0.16);
    border-bottom: 1px solid rgba(17, 23, 17, 0.08);
}

.brand-logo-image {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(47, 125, 67, 0.18);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bulk-home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--forest), var(--leaf));
    box-shadow: var(--shadow);
}

.bulk-home-cta h2 {
    margin: 6px 0;
}

.bulk-home-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.bulk-home-cta .primary-btn {
    flex: 0 0 auto;
    background: #fff;
    color: var(--forest);
    box-shadow: none;
}

.settings-hero-card {
    margin-bottom: 16px;
}

.settings-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 92px;
}

.settings-group-card {
    align-self: start;
}

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

.settings-group-card .admin-form-grid small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.settings-toggle {
    padding: 0 12px;
    border: 1px solid rgba(17, 23, 17, 0.12);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.07);
}

.settings-save-bar {
    position: sticky;
    bottom: 14px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid rgba(17, 23, 17, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(17, 23, 17, 0.12);
    backdrop-filter: blur(14px);
}

.settings-save-bar span {
    font-weight: 950;
}

.settings-save-bar button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--leaf);
    font-weight: 950;
}

@media (max-width: 960px) {
    .settings-group-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .bulk-home-cta,
    .settings-save-bar {
        display: grid;
    }

    .bulk-home-cta .primary-btn,
    .settings-save-bar button {
        width: 100%;
    }

    .settings-group-card .admin-form-grid {
        grid-template-columns: 1fr;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(19, 38, 26, 0.05), rgba(226, 113, 61, 0.04) 38%, rgba(251, 245, 233, 0.9)),
        var(--cream);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

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

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

.svg-sprite {
    display: none;
}

svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.zf-app {
    min-height: 100vh;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.app-main {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px max(14px, calc((100vw - 1180px) / 2));
    background: rgba(251, 245, 233, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(19, 38, 26, 0.12);
}

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

.brand-lockup strong {
    display: block;
    line-height: 1.05;
    font-size: 1rem;
}

.brand-lockup small {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--forest), var(--leaf) 58%, var(--gold));
    box-shadow: 0 10px 24px rgba(47, 125, 67, 0.25);
}

.header-search,
.big-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(19, 38, 26, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.header-search input,
.big-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    position: relative;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--forest);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 180ms ease, background 180ms ease;
}

.icon-btn:hover,
.icon-btn:focus-visible {
    transform: translateY(-2px);
    background: #fff;
}

.icon-btn.js-wishlist.active,
.ghost-btn.js-wishlist.active {
    color: #fff;
    border-color: rgba(226, 113, 61, 0.28);
    background: linear-gradient(135deg, var(--saffron), var(--forest));
}

.badge-pill,
.bottom-nav b,
.floating-cart span {
    position: absolute;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 999px;
    background: var(--saffron);
}

.badge-pill {
    top: -5px;
    right: -5px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-banner {
    position: relative;
    min-height: clamp(380px, 56vh, 540px);
    width: 100vw;
    margin: 16px calc(50% - 50vw) 22px;
    overflow: hidden;
    border-radius: 0;
    background: var(--forest);
    box-shadow: var(--shadow);
}

.hero-banner picture,
.hero-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 18, 12, 0.94), rgba(10, 18, 12, 0.58) 42%, rgba(10, 18, 12, 0.12));
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: clamp(360px, 52vh, 520px);
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 5vw, 56px) 0;
    color: #fff;
}

.hero-copy h1,
.page-hero h1,
.auth-copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(1.85rem, 3.1vw, 3.1rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy h1 {
    max-width: 560px;
}

.hero-copy p,
.page-hero p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.94rem;
    line-height: 1.65;
}

.hero-actions,
.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.primary-btn,
.ghost-btn,
.buy-now,
.load-more,
.admin-topbar button,
.admin-card button,
.tracking-card button,
.newsletter-band button,
.marketing-signup button,
.big-search button,
.coupon-form button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 850;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-btn,
.buy-now,
.newsletter-band button,
.marketing-signup button,
.big-search button,
.coupon-form button {
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), var(--forest) 55%, var(--gold));
    box-shadow: 0 14px 28px rgba(19, 38, 26, 0.2);
}

.ghost-btn,
.load-more {
    color: var(--forest);
    border: 1px solid rgba(19, 38, 26, 0.16);
    background: rgba(255, 255, 255, 0.74);
}

.hero-copy .ghost-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

.primary-btn:hover,
.ghost-btn:hover,
.buy-now:hover,
.load-more:hover {
    transform: translateY(-2px);
}

.full {
    width: 100%;
}

.hero-trust {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-trust span,
.spec-pills span,
.trust-grid span,
.status-timeline span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    color: var(--forest);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.72);
    backdrop-filter: blur(14px);
    font-weight: 800;
    font-size: 0.82rem;
}

.app-section,
.premium-band,
.newsletter-band,
.content-page,
.tracking-card,
.auth-shell {
    margin: 28px 0;
}

.section-head,
.catalog-toolbar,
.cart-drawer-head,
.filter-title,
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.section-head h2,
.offer-strip h2,
.premium-band h2,
.newsletter-band h2,
.detail-panel h1,
.tabs-panel h2,
.admin-card h2 {
    margin: 2px 0 0;
    font-size: clamp(1.35rem, 4vw, 2.35rem);
    line-height: 1.05;
    font-weight: 900;
}

.category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}

.category-chip,
.category-tile,
.account-tile,
.step-card,
.admin-card,
.summary-panel,
.filter-panel,
.tabs-panel,
.tracking-card,
.content-page,
.auth-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.78);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.category-chip,
.category-tile,
.account-tile {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.category-chip span,
.category-tile span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    font-weight: 900;
}

.category-chip small,
.product-info p,
.muted,
.account-tile span {
    color: var(--muted);
}

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

.product-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
    border-color: rgba(47, 125, 67, 0.2);
    box-shadow: 0 18px 42px rgba(17, 23, 17, 0.12);
    transform: translateY(-3px);
}

.product-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(19, 38, 26, 0.08);
    background: #f3eadc;
}

.product-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 350ms ease;
}

.product-card:hover .product-media img {
    transform: scale(1.05);
}

.clean-badge,
.discount-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 6px 9px;
    color: #fff;
    border-radius: 999px;
    background: rgba(47, 125, 67, 0.92);
    font-size: 0.7rem;
    font-weight: 900;
}

.discount-badge {
    top: auto;
    bottom: 10px;
    background: rgba(226, 113, 61, 0.94);
}

.product-info {
    display: grid;
    gap: 8px;
    padding: 12px;
    align-content: start;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #936510;
    font-size: 0.78rem;
    font-weight: 850;
}

.rating svg {
    width: 15px;
    height: 15px;
}

.rating span {
    color: var(--muted);
    font-weight: 650;
}

.product-title {
    display: -webkit-box;
    min-height: 42px;
    overflow: hidden;
    color: var(--forest);
    font-weight: 900;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-info p {
    display: -webkit-box;
    min-height: 40px;
    margin: 0;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.company-trust {
    display: grid;
    gap: 16px;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(47, 125, 67, 0.1), rgba(217, 164, 65, 0.12)),
        rgba(255, 250, 240, 0.84);
    box-shadow: 0 14px 34px rgba(17, 23, 17, 0.08);
}

.company-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trust-license-card,
.trust-contact-card,
.company-address {
    min-width: 0;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.trust-license-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.license-mark {
    display: grid;
    width: 62px;
    height: 44px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--leaf), var(--forest));
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.license-mark.gst {
    background: linear-gradient(135deg, var(--saffron), var(--gold));
}

.trust-license-card strong,
.trust-contact-card strong,
.company-address strong {
    display: block;
    color: var(--forest);
    line-height: 1.35;
}

.trust-license-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.trust-contact-card {
    display: grid;
    gap: 5px;
    padding: 14px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

a.trust-contact-card:hover,
a.trust-contact-card:focus-visible {
    border-color: rgba(47, 125, 67, 0.28);
    background: #fff;
    transform: translateY(-2px);
}

.trust-contact-card span,
.company-address span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.company-address {
    display: grid;
    gap: 5px;
    padding: 14px;
}

.premium-brand-look {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 4vw, 30px);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(19, 38, 26, 0.08), rgba(217, 164, 65, 0.14)),
        rgba(255, 250, 240, 0.88);
    box-shadow: 0 14px 34px rgba(17, 23, 17, 0.08);
}

.numbers-grid,
.checkout-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.number-card,
.checkout-trust-card {
    min-width: 0;
    border: 1px solid rgba(19, 38, 26, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 26px rgba(17, 23, 17, 0.06);
}

.number-card {
    display: grid;
    gap: 6px;
    padding: clamp(15px, 3vw, 22px);
}

.number-card strong {
    color: var(--forest);
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    line-height: 0.95;
    font-weight: 950;
}

.number-card span {
    color: var(--forest);
    font-weight: 950;
}

.number-card p,
.checkout-trust-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.checkout-trust-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    padding: 13px;
}

.checkout-trust-card > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--forest), var(--leaf) 60%, var(--gold));
}

.checkout-trust-card strong {
    display: block;
    color: var(--forest);
    font-weight: 950;
    line-height: 1.2;
}

.why-grid,
.featured-category-grid,
.review-grid,
.instagram-grid {
    display: grid;
    gap: 14px;
}

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

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

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

.why-card,
.featured-category-card,
.review-card,
.instagram-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.82);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.why-card,
.featured-category-card {
    display: grid;
    gap: 10px;
    padding: clamp(16px, 3vw, 22px);
}

.why-card span,
.featured-category-card span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--forest), var(--leaf) 62%, var(--gold));
    box-shadow: 0 12px 24px rgba(47, 125, 67, 0.18);
}

.why-card span svg,
.featured-category-card span svg {
    width: 25px;
    height: 25px;
}

.why-card h3,
.featured-category-card strong,
.instagram-card strong {
    margin: 0;
    color: var(--forest);
    font-size: 1.02rem;
    font-weight: 950;
    line-height: 1.18;
}

.why-card p,
.featured-category-card small,
.review-card p,
.review-author span {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.featured-category-card {
    min-height: 190px;
    align-content: start;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.featured-category-card:hover,
.featured-category-card:focus-visible,
.instagram-card:hover,
.instagram-card:focus-visible {
    border-color: rgba(47, 125, 67, 0.28);
    background: #fff;
    transform: translateY(-2px);
}

.review-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 13px;
    padding: 12px;
}

.review-card > img,
.instagram-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.verified-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    color: var(--leaf);
    border: 1px solid rgba(47, 125, 67, 0.18);
    border-radius: 999px;
    background: rgba(47, 125, 67, 0.08);
    font-size: 0.78rem;
    font-weight: 950;
}

.verified-badge svg {
    width: 15px;
    height: 15px;
}

.review-card p {
    color: var(--forest);
    font-weight: 750;
}

.review-author {
    display: grid;
    gap: 3px;
    padding-top: 10px;
    border-top: 1px solid rgba(19, 38, 26, 0.1);
}

.review-author strong {
    color: var(--forest);
    font-weight: 950;
}

.instagram-card {
    display: grid;
    gap: 9px;
    padding: 10px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.instagram-card span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.instagram-card span svg {
    width: 16px;
    height: 16px;
    color: var(--leaf);
}

.blog-grid,
.whatsapp-marketing-grid {
    display: grid;
    gap: 14px;
}

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

.blog-card,
.whatsapp-marketing-grid article,
.marketing-machine,
.article-card,
.article-offer,
.article-related {
    min-width: 0;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.84);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.blog-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.blog-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f3eadc;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.blog-card:hover .blog-media img {
    transform: scale(1.04);
}

.blog-copy {
    display: grid;
    gap: 8px;
    padding: 13px;
}

.blog-copy span,
.article-meta {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-copy a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--forest);
    font-size: 1rem;
    font-weight: 950;
    line-height: 1.2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-copy p {
    display: -webkit-box;
    min-height: 60px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.marketing-machine {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: center;
    padding: clamp(18px, 4vw, 30px);
    background:
        linear-gradient(135deg, rgba(47, 125, 67, 0.12), rgba(217, 164, 65, 0.16)),
        rgba(255, 250, 240, 0.88);
}

.marketing-offer h2 {
    margin: 6px 0 8px;
    color: var(--forest);
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1.05;
    font-weight: 950;
}

.marketing-offer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.marketing-signup {
    display: grid;
    grid-template-columns: 1fr 0.8fr auto;
    gap: 10px;
    align-items: center;
}

.marketing-signup.compact {
    grid-template-columns: 1fr;
}

.marketing-check {
    grid-column: 1 / -1;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.marketing-check input {
    width: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-top: 1px;
}

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

.whatsapp-marketing-grid article {
    display: grid;
    gap: 10px;
    padding: clamp(15px, 3vw, 22px);
}

.whatsapp-marketing-grid span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, #25d366, #128c4a 62%, var(--forest));
}

.whatsapp-marketing-grid strong {
    color: var(--forest);
    font-size: 1.05rem;
    font-weight: 950;
}

.whatsapp-marketing-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.price-row,
.detail-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-row strong,
.detail-price strong {
    color: var(--forest);
    font-size: 1.25rem;
}

del {
    color: var(--muted);
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 44px 44px;
    gap: 8px;
}

.add-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--forest);
    font-weight: 850;
}

.offer-strip {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(120deg, var(--forest), #214d2d 50%, #6e421e);
}

.timer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timer b {
    display: grid;
    min-width: 38px;
    min-height: 38px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.premium-band,
.newsletter-band {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: center;
    padding: clamp(22px, 5vw, 44px);
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #141412, var(--forest) 48%, #5b3b19);
}

.premium-band p {
    color: rgba(255, 255, 255, 0.74);
}

.trust-grid,
.quote-grid,
.category-grid,
.account-grid,
.admin-stats {
    display: grid;
    gap: 14px;
}

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

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

blockquote {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

blockquote cite {
    display: block;
    margin-top: 12px;
    color: var(--leaf);
    font-weight: 900;
}

.newsletter-band {
    grid-template-columns: 1fr;
    text-align: center;
}

.newsletter-band form {
    display: grid;
    grid-template-columns: 1fr auto;
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.newsletter-band input,
.coupon-form input,
.contact-form input,
.contact-form textarea,
.bulk-order-form select,
.marketing-signup input,
.auth-panel input,
.checkout-steps input,
.checkout-steps textarea,
.filter-panel select,
.tracking-card input {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(19, 38, 26, 0.14);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, 0.82);
}

.contact-form textarea,
.bulk-order-form textarea,
.checkout-steps textarea {
    min-height: 120px;
    padding-top: 12px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin: 16px 0 22px;
    padding: clamp(28px, 7vw, 58px);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 18, 12, 0.94), rgba(10, 18, 12, 0.65)),
        url("../images/banners/zaytura-hero.png") center / cover;
}

.page-hero.compact h1 {
    font-size: clamp(2rem, 7vw, 4rem);
}

.about-story-grid,
.about-split,
.contact-shell {
    display: grid;
    gap: 18px;
}

.about-story-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: stretch;
}

.about-story-copy,
.about-mission-card,
.about-split > div,
.founder-note,
.contact-panel,
.map-panel {
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.82);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.about-story-copy,
.about-split > div,
.founder-note,
.contact-panel,
.map-panel {
    padding: clamp(18px, 4vw, 30px);
}

.about-story-copy h2,
.about-split h2,
.founder-note h2,
.contact-panel h2,
.map-panel h2 {
    margin: 8px 0 12px;
    color: var(--forest);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.12;
}

.about-story-copy p,
.about-split p,
.founder-note p,
.contact-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.about-mission-card {
    display: grid;
    align-content: end;
    gap: 10px;
    min-height: 260px;
    padding: 22px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(19, 38, 26, 0.86), rgba(47, 125, 67, 0.82)),
        url("../images/banners/zaytura-hero.png") center / cover;
}

.about-mission-card span,
.contact-info-card span {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.about-mission-card strong {
    font-size: clamp(1.3rem, 3vw, 2rem);
    line-height: 1.18;
}

.about-split,
.contact-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.promise-grid div {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(19, 38, 26, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.promise-grid span {
    display: block;
    color: var(--forest);
    font-weight: 950;
}

.promise-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.founder-note {
    color: #fff;
    background: linear-gradient(135deg, var(--forest), #315a31 60%, #6e421e);
}

.founder-note h2,
.founder-note p {
    color: #fff;
}

.founder-note p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
    display: grid;
    gap: 12px;
    align-content: start;
}

.contact-action,
.contact-info-card {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid rgba(19, 38, 26, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--forest);
    font-weight: 900;
}

.contact-action.whatsapp {
    color: #fff;
    border-color: rgba(47, 125, 67, 0.32);
    background: linear-gradient(135deg, var(--leaf), var(--forest));
}

.contact-info-card span {
    color: var(--muted);
}

.contact-info-card strong {
    line-height: 1.5;
}

.bulk-system {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}

.bulk-copy,
.bulk-form-card,
.wishlist-head {
    min-width: 0;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.84);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.bulk-copy {
    display: grid;
    align-content: center;
    gap: 14px;
}

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

.bulk-type-grid div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.bulk-type-grid strong {
    color: var(--forest);
    font-weight: 950;
}

.bulk-type-grid span {
    color: var(--muted);
    font-size: 0.84rem;
}

.bulk-form-card h2 {
    margin-bottom: 10px;
}

.bulk-order-form select {
    appearance: none;
}

.wishlist-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.wishlist-count-pill {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    white-space: nowrap;
    padding: 0 13px;
    color: var(--leaf);
    border: 1px solid rgba(47, 125, 67, 0.18);
    border-radius: 999px;
    background: rgba(47, 125, 67, 0.08);
    font-weight: 950;
}

.wishlist-empty {
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
}

.map-panel iframe {
    width: 100%;
    min-height: 360px;
    margin-top: 12px;
    border: 0;
    border-radius: 8px;
    background: rgba(19, 38, 26, 0.08);
}

.map-fallback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.map-fallback div {
    display: grid;
    gap: 4px;
}

.map-fallback span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.map-fallback strong {
    color: var(--forest);
    line-height: 1.45;
}

.map-fallback .primary-btn {
    width: auto;
    min-width: 190px;
    white-space: nowrap;
}

.catalog-shell,
.cart-page,
.checkout-shell,
.product-detail,
.auth-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
}

.filter-panel,
.summary-panel,
.tabs-panel,
.content-page,
.tracking-card,
.auth-panel {
    padding: 18px;
}

.filter-panel form,
.auth-panel,
.contact-form,
.checkout-steps {
    display: grid;
    gap: 12px;
}

.catalog-content {
    min-width: 0;
}

.view-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 8px;
    background: rgba(19, 38, 26, 0.08);
}

.view-toggle button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.view-toggle .active {
    color: #fff;
    background: var(--forest);
}

.load-more {
    width: 100%;
    margin-top: 18px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 0;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.gallery-panel,
.detail-panel {
    min-width: 0;
}

.main-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #e6d8be;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 220ms ease;
}

.main-image.zoomed img {
    transform: scale(1.55);
    cursor: zoom-out;
}

.gallery-caption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 11px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(19, 38, 26, 0.82);
    box-shadow: 0 10px 22px rgba(17, 23, 17, 0.18);
    font-size: 0.78rem;
    font-weight: 900;
}

.thumb-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    gap: 8px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 4px;
}

.thumb-row button {
    overflow: hidden;
    display: grid;
    gap: 6px;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 5px;
    background: rgba(255, 250, 240, 0.86);
    text-align: left;
}

.thumb-row button.active {
    border-color: var(--leaf);
    box-shadow: 0 8px 18px rgba(47, 125, 67, 0.15);
}

.thumb-row img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}

.thumb-row span {
    overflow: hidden;
    color: var(--forest);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-panel {
    display: grid;
    gap: 14px;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.78);
}

.detail-price strong {
    font-size: 2rem;
}

.detail-price span,
.stock-line.in {
    color: var(--leaf);
    font-weight: 900;
}

.stock-line.out {
    color: var(--saffron);
    font-weight: 900;
}

.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buy-panel {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 10px;
}

.qty-picker,
.qty-mini {
    display: inline-grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.save-later {
    width: fit-content;
    min-height: 34px;
    margin-top: 6px;
    padding: 0 10px;
    color: var(--leaf);
    border: 1px solid rgba(47, 125, 67, 0.2);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.08);
    font-size: 0.78rem;
    font-weight: 850;
}

.qty-picker button,
.qty-mini button {
    display: grid;
    height: 100%;
    place-items: center;
    border: 0;
    background: transparent;
}

.qty-picker input,
.qty-mini b {
    width: 100%;
    border: 0;
    text-align: center;
    font-weight: 900;
}

.bundle-deal {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: stretch;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(47, 125, 67, 0.12), rgba(217, 164, 65, 0.12)),
        rgba(255, 250, 240, 0.86);
    box-shadow: 0 14px 34px rgba(17, 23, 17, 0.08);
}

.bundle-copy,
.bundle-panel {
    min-width: 0;
}

.bundle-copy {
    display: grid;
    align-content: center;
    gap: 10px;
}

.bundle-copy h2,
.bulk-copy h2,
.bulk-form-card h2,
.wishlist-head h2,
.cart-upsell h2 {
    margin: 4px 0 0;
    color: var(--forest);
    font-size: clamp(1.28rem, 2.5vw, 2rem);
    line-height: 1.08;
    font-weight: 950;
}

.bundle-copy p,
.bulk-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.bundle-saving {
    display: inline-grid;
    width: fit-content;
    gap: 2px;
    margin-top: 6px;
    padding: 12px 14px;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--forest), var(--saffron));
}

.bundle-saving span {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bundle-saving strong {
    font-size: 1.25rem;
}

.bundle-panel {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.bundle-products {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

.bundle-product-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(251, 245, 233, 0.82);
}

.bundle-product-card img {
    width: 78px;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
}

.bundle-product-card strong,
.upsell-card a,
.mini-upsell-item strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--forest);
    font-weight: 950;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bundle-product-card span,
.upsell-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.bundle-plus {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: var(--forest);
}

.bundle-total {
    display: grid;
    gap: 8px;
    padding: 12px 0 2px;
    border-top: 1px solid rgba(19, 38, 26, 0.1);
}

.bundle-total span,
.bundle-total strong {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.product-trust-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.9fr 1.1fr;
    gap: 18px;
    align-items: stretch;
}

.product-trust-card {
    min-width: 0;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.82);
    box-shadow: 0 12px 30px rgba(17, 23, 17, 0.08);
}

.product-trust-card h2 {
    margin: 8px 0 14px;
    color: var(--forest);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.18;
}

.product-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0;
}

.product-info-list div {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.product-info-list dt,
.product-info-list dd {
    min-width: 0;
}

.product-info-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-info-list dd {
    color: var(--forest);
    line-height: 1.45;
}

.nutrition-table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.nutrition-table th,
.nutrition-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(19, 38, 26, 0.1);
    text-align: left;
}

.nutrition-table tr:last-child th,
.nutrition-table tr:last-child td {
    border-bottom: 0;
}

.nutrition-table th {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.nutrition-table td {
    color: var(--forest);
    font-weight: 950;
    text-align: right;
}

.nutrition-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

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

.quality-badge {
    display: grid;
    gap: 5px;
    min-height: 110px;
    padding: 13px;
    border: 1px solid rgba(19, 38, 26, 0.11);
    border-radius: 8px;
    background: #fff;
}

.quality-badge span {
    display: inline-grid;
    width: fit-content;
    min-width: 36px;
    min-height: 28px;
    place-items: center;
    padding: 0 8px;
    color: #fff;
    border-radius: 999px;
    background: var(--leaf);
    font-size: 0.75rem;
    font-weight: 950;
}

.quality-badge.pending span {
    color: var(--forest);
    background: rgba(214, 159, 42, 0.18);
}

.quality-badge strong {
    color: var(--forest);
    line-height: 1.2;
}

.quality-badge small {
    color: var(--muted);
    line-height: 1.4;
}

.tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.tabs button {
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: rgba(19, 38, 26, 0.08);
    font-weight: 850;
}

.tabs .active {
    color: #fff;
    background: var(--forest);
}

.tab-body {
    display: none;
    padding-top: 16px;
}

.tab-body.active {
    display: block;
}

dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 850;
}

.cart-list,
.order-list,
.mini-items {
    display: grid;
    gap: 12px;
}

.cart-row,
.mini-item,
.order-card {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.cart-row img,
.mini-item img {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-item {
    grid-template-columns: 64px 1fr auto;
}

.mini-item img {
    width: 64px;
    height: 64px;
}

.mini-totals {
    display: grid;
    gap: 8px;
    padding: 14px 0;
}

.mini-totals span,
.mini-totals strong {
    display: flex;
    justify-content: space-between;
}

.cart-upsell {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.82);
    box-shadow: 0 12px 28px rgba(17, 23, 17, 0.08);
}

.upsell-list,
.mini-upsell {
    display: grid;
    gap: 10px;
}

.upsell-card {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.upsell-card img {
    width: 74px;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
}

.upsell-card .add-cart-btn {
    min-height: 40px;
    padding: 0 12px;
}

.mini-upsell {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(19, 38, 26, 0.1);
}

.mini-upsell > span,
.mini-shop-link {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.mini-upsell-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(19, 38, 26, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    text-align: left;
}

.mini-upsell-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-upsell-item b {
    color: var(--forest);
}

.mini-shop-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(19, 38, 26, 0.12);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.08);
}

.coupon-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 14px;
}

.checkout-shell {
    grid-template-columns: 1fr 340px;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.article-card,
.article-offer,
.article-related {
    padding: clamp(18px, 4vw, 30px);
}

.article-card h1 {
    margin: 8px 0 6px;
    color: var(--forest);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 950;
}

.article-card > img {
    width: 100%;
    margin: 18px 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
}

.article-intro {
    color: var(--forest);
    font-size: 1.12rem;
    line-height: 1.75;
    font-weight: 760;
}

.article-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(19, 38, 26, 0.1);
}

.article-section h2,
.article-offer h2 {
    margin: 0 0 10px;
    color: var(--forest);
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    line-height: 1.12;
    font-weight: 950;
}

.article-section p,
.article-offer p {
    color: var(--muted);
    line-height: 1.75;
}

.article-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.article-points li {
    min-width: 0;
    padding: 11px;
    color: var(--forest);
    border: 1px solid rgba(47, 125, 67, 0.12);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.08);
    font-weight: 850;
}

.article-aside {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 14px;
}

.article-related {
    display: grid;
    gap: 10px;
}

.article-related a {
    display: grid;
    gap: 4px;
    padding: 11px 0;
    border-top: 1px solid rgba(19, 38, 26, 0.1);
}

.article-related strong {
    color: var(--forest);
    line-height: 1.25;
}

.article-related span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.step-card {
    padding: 18px;
}

.step-card span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: var(--forest);
    font-weight: 900;
}

.pay-option {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.sticky {
    position: sticky;
    top: 90px;
}

.tracking-card form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.status-timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.status-timeline .done {
    color: #fff;
    background: var(--leaf);
}

.content-page p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form {
    margin-top: 18px;
}

.auth-shell {
    min-height: 70vh;
    grid-template-columns: 1fr 420px;
    align-items: center;
}

.auth-copy {
    padding: clamp(18px, 5vw, 42px);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 18, 12, 0.92), rgba(10, 18, 12, 0.52)),
        url("../images/banners/zaytura-hero.png") center / cover;
}

.form-alert,
.toast-line {
    padding: 12px 14px;
    border-radius: 8px;
    color: #7b2d15;
    background: #fff0e8;
    font-weight: 800;
}

.toast-line {
    width: min(1180px, calc(100% - 28px));
    margin: 12px auto 0;
    color: #145d2e;
    background: #e8f7eb;
}

.admin-preview-bar {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 14px;
    color: #fff;
    background: linear-gradient(135deg, #7b2d15, var(--forest));
    font-size: 0.88rem;
}

.admin-preview-bar a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
    color: var(--forest);
    background: var(--gold);
    font-weight: 900;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 28px;
    text-align: center;
}

.empty-icon {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    color: var(--leaf);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.12);
}

.bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 60;
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: rgba(17, 23, 17, 0.72);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.bottom-nav a {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 58px;
    place-items: center;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.bottom-nav svg {
    width: 21px;
    height: 21px;
    transition: transform 180ms ease;
}

.bottom-nav .active {
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), var(--gold));
}

.bottom-nav a:active svg,
.bottom-nav .active svg {
    transform: translateY(-2px) scale(1.08);
}

.bottom-nav b {
    top: 4px;
    right: 7px;
}

.floating-cart,
.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 100px;
    z-index: 50;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--saffron), var(--forest));
    box-shadow: var(--shadow);
}

.floating-cart span {
    top: -6px;
    right: -6px;
}

.floating-whatsapp {
    bottom: 168px;
    grid-template-columns: auto auto;
    width: auto;
    min-width: 56px;
    padding: 0 14px;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, #25d366, #128c4a 58%, var(--forest));
}

.floating-whatsapp svg {
    width: 21px;
    height: 21px;
}

.floating-whatsapp span {
    font-size: 0.82rem;
    font-weight: 950;
}

.cart-drawer,
.quick-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 90;
    width: min(560px, 100%);
    max-height: min(86vh, 720px);
    overflow-y: auto;
    padding: 10px 16px 20px;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 250, 240, 0.96);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, 105%);
    transition: transform 260ms ease;
}

.cart-drawer.open,
.quick-sheet.open {
    transform: translate(-50%, 0);
}

.sheet-handle {
    width: 54px;
    height: 5px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(17, 23, 17, 0.18);
}

.screen-dim {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background 220ms ease;
}

.screen-dim.open {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.36);
}

.quick-close {
    position: absolute;
    right: 12px;
    top: 12px;
}

.install-prompt {
    position: fixed;
    left: 50%;
    bottom: 96px;
    z-index: 80;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: min(620px, calc(100% - 28px));
    padding: 12px;
    color: #fff;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, rgba(47, 125, 67, 0.98), rgba(19, 38, 26, 0.98) 58%, rgba(217, 164, 65, 0.94)),
        var(--forest);
    box-shadow: 0 18px 46px rgba(17, 23, 17, 0.28);
    transform: translateX(-50%);
}

.install-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    color: var(--forest);
    background: #fff;
    font-weight: 950;
}

.install-copy {
    min-width: 0;
}

.install-copy strong,
.install-copy small {
    display: block;
}

.install-copy strong {
    line-height: 1.15;
    font-weight: 950;
}

.install-copy small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
}

.install-actions {
    display: flex;
    gap: 8px;
}

.install-prompt button {
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    color: var(--forest);
    background: var(--gold);
    font-weight: 900;
}

.install-prompt .install-dismiss {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
}

.pull-refresh {
    position: fixed;
    top: -54px;
    left: 50%;
    z-index: 100;
    padding: 10px 14px;
    color: #fff;
    border-radius: 999px;
    background: var(--forest);
    transform: translateX(-50%);
    transition: top 180ms ease;
}

.pull-refresh.show {
    top: 16px;
}

.premium-footer {
    margin-top: 56px;
    padding: 48px 0 44px;
    color: rgba(255, 250, 240, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(217, 164, 65, 0.16), rgba(226, 113, 61, 0.1) 34%, rgba(19, 38, 26, 0) 64%),
        linear-gradient(180deg, #172b1e, #0d1811);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-inner,
.footer-bottom {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.65fr);
    gap: 34px;
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 18px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-logo strong {
    display: block;
    line-height: 1;
    font-size: 1.28rem;
}

.footer-logo small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 250, 240, 0.68);
    font-size: 0.78rem;
}

.footer-brand p {
    max-width: 430px;
    margin: 0;
    line-height: 1.75;
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
}

.footer-trust svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
}

.footer-license-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 430px;
}

.footer-license-grid span {
    display: grid;
    gap: 3px;
    min-height: 56px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
}

.footer-license-grid b {
    color: #fff;
    letter-spacing: 0.04em;
}

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

.footer-column,
.footer-cta {
    min-width: 0;
}

.footer-column h3,
.footer-cta h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 0.98rem;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column a {
    color: rgba(255, 250, 240, 0.72);
    line-height: 1.35;
    font-size: 0.92rem;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: #fff;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    transform: translateX(3px);
}

.footer-cta {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.08);
}

.footer-cta .eyebrow {
    color: var(--gold);
}

.footer-cta h3 {
    margin-top: 8px;
    line-height: 1.25;
    font-size: 1.08rem;
}

.footer-cta p {
    margin: 0 0 16px;
    line-height: 1.65;
    font-size: 0.9rem;
}

.footer-contact-list {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.footer-contact-list a {
    color: rgba(255, 250, 240, 0.78);
    font-size: 0.88rem;
    line-height: 1.35;
}

.footer-contact-list a:hover,
.footer-contact-list a:focus-visible {
    color: #fff;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    color: var(--forest);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #f0c46b);
    box-shadow: 0 14px 30px rgba(217, 164, 65, 0.24);
    font-size: 0.9rem;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-cta-btn:hover,
.footer-cta-btn:focus-visible {
    color: var(--forest);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(217, 164, 65, 0.32);
}

.footer-cta-btn svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.footer-credit a {
    display: inline-block;
    color: #fff;
    font-weight: 900;
}

.footer-credit a::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 2px;
    border-radius: 999px;
    background: var(--gold);
}

.admin-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    overflow-x: hidden;
    background: #f6efe1;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 18px;
    color: #fff;
    background: #101912;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 22px;
}

.admin-sidebar a {
    padding: 11px 12px;
    border-radius: 8px;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), rgba(217, 164, 65, 0.8));
}

.admin-main {
    min-width: 0;
    padding: 20px;
}

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

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

.admin-stats div {
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--forest), #315a31);
}

.admin-stats span {
    display: block;
    opacity: 0.8;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.admin-card {
    min-width: 0;
    padding: 18px;
}

.admin-card.wide {
    grid-row: span 2;
}

.bar-chart {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: end;
    height: 260px;
    gap: 10px;
    padding-top: 20px;
}

.bar-chart span {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--gold), var(--leaf));
}

.admin-table {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.admin-row {
    display: grid;
    grid-template-columns: 1fr 150px auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.admin-row.head {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-resource-form {
    margin-bottom: 16px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.admin-form-grid label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 850;
}

.admin-form-grid label.wide,
.admin-form-actions.wide {
    grid-column: 1 / -1;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.bulk-toolbar select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
}

.admin-form-grid textarea {
    min-height: 104px;
    padding-top: 12px;
    resize: vertical;
}

.admin-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--ink);
}

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

.admin-form-actions,
.bulk-toolbar,
.row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bulk-toolbar {
    justify-content: flex-end;
    margin: 12px 0;
}

.bulk-toolbar select {
    width: min(240px, 100%);
}

.admin-resource-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: grid;
    gap: 8px;
    padding-bottom: 2px;
}

.admin-resource-row {
    display: grid;
    grid-template-columns: 42px var(--admin-columns) 148px;
    gap: 10px;
    align-items: center;
    min-width: 920px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.admin-resource-row > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-resource-head {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(19, 38, 26, 0.06);
}

.row-actions a,
.row-actions button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 900;
}

.row-actions a {
    color: #fff;
    background: var(--leaf);
}

.row-actions button {
    color: #fff;
    background: var(--saffron);
}

.admin-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.admin-report-grid div {
    padding: 16px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--forest), #315a31);
}

.admin-report-grid span {
    display: block;
    opacity: 0.78;
}

.admin-report-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 1.45rem;
}

.admin-mini-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.admin-mini-list p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.admin-auth-body,
.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(10, 18, 12, 0.9), rgba(10, 18, 12, 0.5)),
        url("../images/banners/zaytura-hero.png") center / cover;
}

.admin-login {
    grid-template-columns: 1fr 420px;
    gap: 28px;
    width: min(980px, calc(100% - 28px));
    color: #fff;
}

.admin-login form {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 250, 240, 0.94);
}

.admin-login input {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
}

.maintenance-body {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(10, 18, 12, 0.92), rgba(10, 18, 12, 0.62)),
        url("../images/banners/zaytura-hero.png") center / cover;
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
}

.maintenance-card {
    width: min(720px, 100%);
    padding: clamp(24px, 6vw, 54px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(17, 23, 17, 0.72);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.maintenance-card h1 {
    margin: 14px 0;
    font-size: clamp(2.2rem, 8vw, 5rem);
    line-height: 0.98;
    font-weight: 900;
}

.maintenance-card p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

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

.maintenance-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(47, 125, 67, 0.18);
    border-radius: 8px;
    background: rgba(47, 125, 67, 0.08);
}

.maintenance-actions span {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-preview-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--leaf), var(--forest));
    font-weight: 900;
}

.maintenance-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.maintenance-form input:not([type="checkbox"]),
.maintenance-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.maintenance-form textarea {
    min-height: 96px;
    padding-top: 12px;
}

.status-on,
.status-off {
    display: inline-grid;
    min-width: 54px;
    min-height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--saffron);
}

.status-off {
    background: var(--leaf);
}

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

    .header-search {
        grid-column: 1 / -1;
        order: 3;
    }

    .bottom-nav {
        display: grid;
    }

    .floating-cart {
        bottom: 92px;
    }

    .floating-whatsapp {
        bottom: 158px;
    }

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

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

    .footer-cta {
        grid-column: 1 / -1;
    }

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

    .why-grid,
    .featured-category-grid,
    .instagram-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .blog-grid,
    .whatsapp-marketing-grid,
    .numbers-grid,
    .checkout-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .about-story-grid,
    .about-split,
    .contact-shell,
    .bulk-system,
    .bundle-deal {
        grid-template-columns: 1fr;
    }

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

    .catalog-shell,
    .cart-page,
    .checkout-shell,
    .product-detail,
    .product-trust-grid,
    .marketing-machine,
    .article-shell,
    .auth-shell,
    .premium-band,
    .admin-login {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .sticky,
    .article-aside {
        position: static;
    }

    .quote-grid,
    .admin-stats,
    .admin-grid,
    .status-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 680px) {
    .zf-app {
        padding-bottom: calc(106px + env(safe-area-inset-bottom));
    }

    .app-main {
        width: min(100% - 20px, 1180px);
    }

    .app-header {
        padding: 10px;
        gap: 10px;
    }

    .brand-lockup small {
        display: none;
    }

    .header-actions .icon-btn:first-child {
        display: none;
    }

    .hero-banner {
        min-height: 460px;
        margin: 10px calc(50% - 50vw) 20px;
    }

    .hero-banner::after {
        background: linear-gradient(180deg, rgba(10, 18, 12, 0.88), rgba(10, 18, 12, 0.55) 58%, rgba(10, 18, 12, 0.2));
    }

    .hero-copy {
        justify-content: flex-end;
        min-height: 460px;
        width: min(100% - 20px, 1180px);
        padding: 22px 0 98px;
    }

    .hero-copy h1 {
        max-width: 330px;
        font-size: clamp(1.65rem, 7.2vw, 2.25rem);
        line-height: 1.08;
    }

    .hero-copy p {
        max-width: 330px;
        font-size: 0.92rem;
    }

    .hero-trust {
        left: 10px;
        right: 10px;
    }

    .offer-strip {
        grid-template-columns: 1fr;
    }

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

    .product-card {
        box-shadow: 0 10px 24px rgba(17, 23, 17, 0.08);
    }

    .thumb-row {
        grid-auto-columns: 92px;
    }

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

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

    .quality-badge {
        min-height: auto;
        padding: 10px;
    }

    .product-info {
        gap: 7px;
        padding: 10px;
    }

    .product-title {
        min-height: 43px;
        font-size: 0.9rem;
    }

    .product-info p {
        min-height: 36px;
        overflow: hidden;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .company-trust-grid,
    .footer-license-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-trust .section-head {
        display: grid;
    }

    .why-grid,
    .featured-category-grid,
    .instagram-grid,
    .review-grid,
    .blog-grid,
    .whatsapp-marketing-grid,
    .numbers-grid,
    .checkout-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .why-card,
    .featured-category-card,
    .review-card,
    .instagram-card,
    .blog-copy,
    .whatsapp-marketing-grid article,
    .number-card,
    .checkout-trust-card,
    .promise-grid div,
    .bulk-type-grid div {
        padding: 11px;
    }

    .why-card span,
    .featured-category-card span {
        width: 42px;
        height: 42px;
    }

    .why-card span svg,
    .featured-category-card span svg {
        width: 20px;
        height: 20px;
    }

    .why-card h3,
    .featured-category-card strong,
    .instagram-card strong,
    .promise-grid span,
    .bulk-type-grid strong {
        font-size: 0.9rem;
        line-height: 1.18;
    }

    .why-card p,
    .featured-category-card small,
    .review-card p,
    .promise-grid p,
    .bulk-type-grid span {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.76rem;
        line-height: 1.45;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .review-author strong,
    .review-author span,
    .instagram-card span,
    .blog-copy span {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .blog-copy a,
    .whatsapp-marketing-grid strong,
    .checkout-trust-card strong {
        font-size: 0.86rem;
        line-height: 1.18;
    }

    .blog-copy p,
    .whatsapp-marketing-grid p,
    .checkout-trust-card p {
        display: -webkit-box;
        min-height: 0;
        overflow: hidden;
        font-size: 0.75rem;
        line-height: 1.42;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .number-card strong {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    .number-card span {
        font-size: 0.86rem;
        line-height: 1.18;
    }

    .number-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.74rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .checkout-trust-card {
        grid-template-columns: 38px 1fr;
        gap: 8px;
    }

    .checkout-trust-card > span {
        width: 38px;
        height: 38px;
    }

    .checkout-trust-card svg {
        width: 18px;
        height: 18px;
    }

    .marketing-machine {
        padding: 16px;
    }

    .marketing-signup {
        grid-template-columns: 1fr;
    }

    .article-card h1 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .article-card > img {
        aspect-ratio: 1 / 1;
    }

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

    .featured-category-card {
        min-height: auto;
    }

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

    .about-mission-card {
        min-height: 220px;
    }

    .map-panel iframe {
        min-height: 300px;
    }

    .map-fallback {
        align-items: stretch;
        flex-direction: column;
    }

    .bundle-products {
        grid-template-columns: 1fr;
    }

    .bundle-plus {
        justify-self: center;
    }

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

    .wishlist-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-fallback .primary-btn {
        width: 100%;
        min-width: 0;
    }

    .trust-license-card,
    .trust-contact-card,
    .company-address {
        padding: 12px;
    }

    .price-row strong {
        font-size: 1.08rem;
    }

    .card-actions {
        grid-template-columns: 1fr 38px 38px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
    }

    .bottom-nav {
        left: 8px;
        right: 8px;
        padding: 6px;
    }

    .bottom-nav a {
        min-height: 56px;
        font-size: 0.58rem;
    }

    .bottom-nav svg {
        width: 20px;
        height: 20px;
    }

    .bottom-nav b {
        right: 3px;
        min-width: 17px;
        height: 17px;
        font-size: 0.62rem;
    }

    .floating-cart {
        right: 12px;
        bottom: 96px;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp {
        right: 12px;
        bottom: 156px;
        min-width: 52px;
        height: 52px;
        padding: 0 12px;
    }

    .install-ready .floating-whatsapp {
        bottom: calc(236px + env(safe-area-inset-bottom));
    }

    .floating-whatsapp span {
        display: none;
    }

    .install-prompt {
        bottom: calc(92px + env(safe-area-inset-bottom));
        grid-template-columns: 44px minmax(0, 1fr);
        width: min(100% - 20px, 560px);
        padding: 10px;
    }

    .install-icon {
        width: 44px;
        height: 44px;
    }

    .install-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .category-grid,
    .quote-grid,
    .trust-grid,
    .account-grid,
    .admin-stats,
    .admin-grid,
    .status-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buy-panel {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        padding: 16px;
    }

    .newsletter-band form,
    .tracking-card form,
    .coupon-form {
        grid-template-columns: 1fr;
    }

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

    .cart-row > strong {
        grid-column: 2;
    }

    .cart-row img {
        width: 76px;
        height: 76px;
    }

    .upsell-card {
        grid-template-columns: 62px 1fr;
    }

    .upsell-card .add-cart-btn {
        grid-column: 1 / -1;
        min-height: 42px;
    }

    .bundle-product-card {
        grid-template-columns: 68px 1fr;
    }

    .bundle-product-card img {
        width: 68px;
        height: 68px;
    }

    .premium-footer {
        margin-top: 38px;
        padding: 34px 0 calc(116px + env(safe-area-inset-bottom));
    }

    .footer-inner,
    .footer-bottom {
        width: min(100% - 20px, 1180px);
    }

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

    .footer-column {
        padding: 18px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-column h3,
    .footer-cta h3 {
        margin-bottom: 12px;
    }

    .footer-column a {
        min-height: 36px;
        display: flex;
        align-items: center;
    }

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

    .footer-cta {
        margin-top: 8px;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .footer-bottom {
        display: grid;
        justify-items: center;
        text-align: center;
    }

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

    .admin-form-grid,
    .admin-report-grid {
        grid-template-columns: 1fr;
    }

    .bulk-toolbar {
        justify-content: stretch;
    }

    .bulk-toolbar select,
    .bulk-toolbar button {
        width: 100%;
    }

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

    .admin-preview-bar {
        display: grid;
        justify-items: center;
        text-align: center;
    }
}

/* Final admin cascade layer */
.admin-body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(47, 125, 67, 0.12), transparent 34%),
        #f8fafc;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 80;
    height: 100vh;
    padding: 16px;
    color: #fff;
    background: #0f1f17;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 12px 0 34px rgba(15, 31, 23, 0.12);
    overflow-y: auto;
}

.admin-sidebar-head,
.section-actions,
.admin-table-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-sidebar nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 10px;
}

.admin-nav-group {
    margin: 16px 8px 6px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 850;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: #fff;
    border-color: rgba(217, 164, 65, 0.34);
    background: linear-gradient(135deg, rgba(47, 125, 67, 0.96), rgba(217, 164, 65, 0.78));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.admin-menu-close,
.admin-menu-toggle {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-weight: 900;
}

.admin-menu-close,
.admin-menu-toggle {
    display: none;
}

.admin-menu-close {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.admin-main {
    min-width: 0;
    padding: 24px;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    margin: -24px -24px 22px;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(17, 23, 17, 0.08);
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(14px);
}

.admin-topbar h1 {
    margin: 2px 0 0;
    font-size: clamp(1.28rem, 1.8vw, 1.9rem);
}

.admin-topbar form button,
.admin-card button,
.admin-filter-form button,
.bulk-toolbar button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--leaf);
    font-weight: 950;
    cursor: pointer;
}

.admin-topbar form button {
    padding: 0 16px;
    background: #13261a;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-stats div {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-top: 4px solid var(--gold);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 14px 30px rgba(17, 23, 17, 0.06);
}

.admin-stats span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.05;
}

.admin-stats-secondary {
    margin-top: 16px;
}

.admin-grid,
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.admin-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(17, 23, 17, 0.07);
}

.admin-card.wide {
    grid-row: span 2;
}

.admin-card .section-head a,
.admin-preview-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(47, 125, 67, 0.18);
    border-radius: 8px;
    color: var(--leaf);
    background: rgba(47, 125, 67, 0.08);
    font-size: 0.84rem;
    font-weight: 950;
}

.admin-health,
.status-on,
.status-off {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 950;
}

.admin-health,
.status-on {
    color: #14532d;
    background: #dcfce7;
}

.status-off {
    color: #92400e;
    background: #fef3c7;
}

.bar-chart.admin-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    align-items: end;
    height: 300px;
    gap: 10px;
    padding-top: 20px;
}

.bar-chart.admin-chart span {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 28px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--gold), var(--leaf));
}

.bar-chart.admin-chart small {
    width: 100%;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 950;
    text-align: center;
}

.admin-mini-list p {
    align-items: center;
}

.admin-mini-list span {
    min-width: 0;
    font-weight: 850;
}

.admin-mini-list small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.admin-mini-list b {
    flex: 0 0 auto;
    color: var(--forest);
    font-size: 0.84rem;
}

.maintenance-form.compact {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.maintenance-form.compact input,
.maintenance-form.compact textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.maintenance-form.compact textarea {
    min-height: 84px;
    padding-top: 10px;
}

.admin-table-tools {
    align-items: end;
    margin: 12px 0 14px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 200px) auto;
    gap: 10px;
    align-items: end;
    flex: 1 1 560px;
}

.admin-filter-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 900;
}

.admin-filter-form input,
.admin-filter-form select,
.bulk-toolbar select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(17, 23, 17, 0.13);
    border-radius: 8px;
    background: #fff;
}

.bulk-toolbar {
    justify-content: flex-end;
    margin: 0;
    flex: 0 0 auto;
}

.bulk-selected-count {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(17, 23, 17, 0.06);
    font-size: 0.78rem;
    font-weight: 900;
}

.bulk-toolbar button,
.admin-filter-form button {
    padding: 0 16px;
}

.admin-resource-table {
    border: 1px solid rgba(17, 23, 17, 0.08);
    border-radius: 8px;
    background: #f8fafc;
}

.admin-resource-row {
    margin: 0;
    border-bottom: 1px solid rgba(17, 23, 17, 0.06);
    border-radius: 0;
    background: #fff;
}

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

.admin-resource-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef6ef;
}

.toast-line {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    max-width: min(420px, calc(100vw - 28px));
    box-shadow: 0 18px 44px rgba(17, 23, 17, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-line.is-hiding {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.admin-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 31, 23, 0.42);
}

@media (max-width: 1080px) {
    .admin-stats,
    .admin-grid,
    .admin-dashboard-grid,
    .admin-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-card.wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

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

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 320px);
        height: 100vh;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
    }

    .admin-body.admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-menu-toggle,
    .admin-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .admin-topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-topbar {
        margin: -16px -16px 18px;
        padding: 14px 16px;
    }

    .admin-table-tools {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-filter-form {
        grid-template-columns: 1fr 1fr auto;
    }
}

@media (max-width: 560px) {
    .admin-stats,
    .admin-grid,
    .admin-dashboard-grid,
    .admin-report-grid,
    .admin-health-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-stats div,
    .admin-card {
        padding: 12px;
    }

    .admin-stats strong {
        font-size: 1.15rem;
    }

    .admin-topbar h1 {
        font-size: 1rem;
    }

    .admin-topbar form button,
    .admin-menu-toggle {
        min-height: 36px;
        padding: 0 10px;
        font-size: 0.78rem;
    }

    .admin-filter-form,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .bulk-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .bulk-toolbar select,
    .bulk-toolbar button {
        width: 100%;
    }

    .admin-card.wide {
        grid-column: 1 / -1;
    }

    .bar-chart.admin-chart {
        height: 220px;
    }
}
