:root {
    --ink: #111114;
    --muted: #6e6e73;
    --line: #e8e8ed;
    --soft: #f5f5f7;
    --card: #ffffff;
    --accent: #0a84ff;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .07);
}

* { letter-spacing: 0; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
.first-visit-splash {
    display: none;
}
.show-first-visit-splash {
    overflow: hidden;
}
.show-first-visit-splash .first-visit-splash {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    opacity: 1;
    transition: opacity .4s ease;
}
.show-first-visit-splash .first-visit-splash.is-hiding {
    opacity: 0;
    pointer-events: none;
}
.first-visit-splash img {
    width: clamp(190px, 42vw, 300px);
    height: auto;
    border-radius: 28px;
    animation: splash-logo-in .6s cubic-bezier(.2, .8, .2, 1) both;
}
.first-visit-splash div {
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}
@keyframes splash-logo-in {
    from {
        opacity: 0;
        transform: scale(.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .show-first-visit-splash .first-visit-splash {
        transition: none;
    }
    .first-visit-splash img {
        animation: none;
    }
}
.glass-nav {
    background: rgba(245, 245, 247, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.brand-nav-container {
    display: flex;
    align-items: center;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--ink);
}
.brand-lockup span {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: 1.16rem;
    font-weight: 700;
    line-height: 1.15;
}
.brand-lockup img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
}
.nav-link { color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--ink); }
.delivery-location {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.delivery-location-button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 650;
    text-align: left;
}
.delivery-location-button > svg:first-child {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #e23d3d;
    fill: rgba(226, 61, 61, .12);
}
.delivery-location-button [data-location-label] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.delivery-location-button:disabled {
    opacity: .65;
}
.delivery-location-chevron {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: var(--muted);
}
.service-area-screen {
    display: none;
}
.service-area-pending main,
.service-area-pending .site-footer,
.service-area-pending .customer-cart-dock,
.service-area-pending .mobile-bottom-nav,
.service-area-unavailable main,
.service-area-unavailable .site-footer,
.service-area-unavailable .customer-cart-dock,
.service-area-unavailable .mobile-bottom-nav {
    display: none !important;
}
.service-area-pending .service-area-screen,
.service-area-unavailable .service-area-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 142px);
    padding: 42px 16px;
}
.service-area-card {
    width: min(100%, 560px);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
    text-align: center;
}
.service-area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eef7f1;
    color: #176332;
}
.service-area-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.8;
}
.service-area-card h1 {
    margin: 0;
    font-size: clamp(1.7rem, 5vw, 2.45rem);
    font-weight: 760;
    line-height: 1.08;
}
.service-area-card p:not(.eyebrow) {
    max-width: 440px;
    margin: 12px auto 0;
    color: var(--muted);
    line-height: 1.55;
}
.service-area-actions {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.service-area-unavailable .service-area-actions {
    display: flex;
}
.service-area-actions button,
.service-area-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
}
.service-area-actions button {
    border: 0;
    background: #176332;
    color: #fff;
}
.service-area-actions a {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}
.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: 4px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: .78rem;
}
.cart-count-plain {
    display: inline;
    min-width: 0;
    height: auto;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.customer-cart-dock,
.mobile-bottom-nav {
    display: none;
}

.catalog-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.catalog-nav-inner {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 48px;
}
.catalog-nav-links {
    display: flex;
    align-items: stretch;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}
.catalog-nav-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    position: relative;
    padding: 0 18px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
}
.catalog-nav-link:first-child { padding-left: 0; }
.catalog-nav-link::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 2px;
    border-radius: 2px;
    background: transparent;
}
.catalog-nav-link:first-child::after { left: 0; }
.catalog-nav-link:hover,
.catalog-nav-link.active { color: var(--ink); }
.catalog-nav-link.active::after { background: var(--ink); }
.catalog-more { margin-left: auto; flex: 0 0 auto; }
.catalog-more-button {
    height: 48px;
    padding: 0 0 0 18px;
    border: 0;
    background: #fff;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 650;
}
.catalog-more .dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.catalog-more .dropdown-item {
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 550;
}
.catalog-more .dropdown-item.active {
    color: #fff;
    background: var(--ink);
}

.hero {
    padding: 64px 0 34px;
}
.eyebrow {
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 10px;
}
.hero h1 {
    max-width: 850px;
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    line-height: .98;
    font-weight: 700;
}
.lead-copy {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}

.discovery-section { margin-bottom: 34px; }
.discovery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 650;
}
.discovery-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr)) minmax(190px, 1.25fr) auto;
    align-items: end;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .05);
}
.filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}
.filter-field > span {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.discovery-filter .form-select {
    min-width: 0;
    width: 100%;
    box-shadow: none;
}
.filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 1px;
}
.filter-clear {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}
.filter-clear:hover { color: var(--ink); }
.filter-actions .btn { white-space: nowrap; }
.product-results { padding-top: 4px; }
.results-meta {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.catalog-search-section {
    position: relative;
    z-index: 20;
    padding-top: 22px;
}
.catalog-search {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}
.catalog-search-field {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 12px 0 17px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    backdrop-filter: saturate(180%) blur(18px);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.catalog-search-field:focus-within {
    border-color: rgba(10, 132, 255, .42);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, .12), 0 14px 38px rgba(0, 0, 0, .09);
    transform: translateY(-1px);
}
.catalog-search-field > svg {
    width: 21px;
    height: 21px;
    color: #737378;
    stroke-width: 2;
}
.catalog-search-field input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}
.catalog-search-field input::placeholder {
    color: #8b8b91;
}
.catalog-search-field input::-webkit-search-cancel-button {
    display: none;
}
.catalog-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e5e5ea;
    color: #65656a;
}
.catalog-search-clear:hover {
    background: #d8d8dc;
    color: var(--ink);
}
.catalog-search-clear svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
}
.catalog-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(560px, 68vh);
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
    backdrop-filter: saturate(180%) blur(24px);
}
.catalog-search-group + .catalog-search-group {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid var(--line);
}
.catalog-search-group h2 {
    margin: 0;
    padding: 7px 10px 5px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.catalog-search-result {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 56px;
    padding: 7px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    text-align: left;
}
.catalog-search-result:hover,
.catalog-search-result.is-active {
    background: #f0f0f3;
}
.catalog-search-result img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: var(--soft);
    object-fit: cover;
}
.catalog-search-result-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}
.catalog-search-result-copy strong,
.catalog-search-result-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catalog-search-result-copy strong {
    font-size: .92rem;
    font-weight: 650;
}
.catalog-search-result-copy small {
    color: var(--muted);
    font-size: .77rem;
}
.catalog-search-result > svg {
    width: 17px;
    height: 17px;
    color: #8e8e93;
}
.catalog-search-result-price {
    color: #237a3d;
    font-size: .85rem;
    font-weight: 750;
}
.catalog-search-no-results {
    padding: 24px 16px;
    color: var(--muted);
    text-align: center;
}
.catalog-search-status {
    min-height: 20px;
    margin: 7px 3px 0;
    color: var(--muted);
    font-size: .78rem;
}
[data-search-category][hidden],
[data-search-product][hidden],
[data-search-section][hidden] {
    display: none !important;
}
.search-empty-state {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 54px 20px;
    text-align: center;
}
.search-empty-state[hidden] {
    display: none;
}
.search-empty-state svg {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: #8e8e93;
    stroke-width: 1.5;
}
.search-empty-state h2 {
    margin: 0;
    font-size: 1.2rem;
}
.search-empty-state p {
    margin: 7px 0 18px;
    color: var(--muted);
}
.search-empty-state button {
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 650;
}

.surface {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.section-pad { padding: 28px; }
.category-sections {
    display: grid;
    gap: 54px;
}
.category-showcase {
    padding: 34px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.category-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.category-layout-2 {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}
.category-layout-2 .category-product-row {
    align-items: stretch;
}
.category-layout-3 {
    background: #fbfbfd;
}
.category-layout-3 .product-img {
    aspect-ratio: 4 / 3;
}
.shop-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.filter-panel {
    box-shadow: 0 14px 40px rgba(0, 0, 0, .055);
}
.sticky-filter {
    position: sticky;
    top: 92px;
}
.filter-panel .form-select {
    min-width: 0;
    width: 100%;
    box-shadow: none;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 500;
}
.filter-check .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}
.admin-category-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.admin-category-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.admin-category-option .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}
.admin-product-map {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.admin-product-map-item {
    display: grid;
    grid-template-columns: auto 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.admin-product-map-item .form-check-input {
    margin: 0;
}
.admin-product-map-item img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}
.admin-product-map-item span {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.checkout-address-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.checkout-address-change {
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}
.checkout-address-change:hover {
    color: var(--ink);
}
.checkout-address-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    text-align: left;
}
.checkout-address-card > svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
}
.checkout-address-icon,
.saved-address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #edf7f0;
    color: #237044;
}
.checkout-address-icon svg,
.saved-address-icon svg {
    width: 20px;
    height: 20px;
}
.checkout-address-copy,
.saved-address-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}
.checkout-address-copy strong,
.saved-address-copy strong {
    font-size: .82rem;
    font-weight: 750;
    text-transform: uppercase;
}
.checkout-address-copy span,
.saved-address-copy span {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.4;
}
.delivery-schedule-picker {
    display: grid;
    gap: 14px;
}
.delivery-schedule-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.delivery-schedule-clear,
.delivery-schedule-slot,
.delivery-schedule-empty {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}
.delivery-schedule-clear,
.delivery-schedule-slot {
    cursor: pointer;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.25;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.delivery-schedule-clear {
    justify-content: center;
    color: var(--muted);
}
.delivery-schedule-day {
    display: grid;
    gap: 9px;
}
.delivery-schedule-day h3 {
    margin: 0;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 800;
}
.delivery-schedule-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}
.delivery-schedule-radio:checked + .delivery-schedule-clear,
.delivery-schedule-radio:checked + .delivery-schedule-slot {
    border-color: rgba(35, 112, 68, .55);
    background: #edf7f0;
    color: #1f663e;
    box-shadow: inset 0 0 0 1px rgba(35, 112, 68, .16);
}
.delivery-schedule-radio:focus-visible + .delivery-schedule-clear,
.delivery-schedule-radio:focus-visible + .delivery-schedule-slot {
    outline: 2px solid rgba(35, 112, 68, .35);
    outline-offset: 2px;
}
.delivery-schedule-empty {
    color: var(--muted);
    font-size: .9rem;
}
.address-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .18);
}
.address-modal .modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.address-modal .modal-body {
    padding: 18px;
    background: var(--soft);
}
.saved-address {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
}
.saved-address.selected {
    border-color: rgba(35, 112, 68, .32);
}
.saved-address-select {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
}
.saved-address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding-left: 52px;
}
.saved-address-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #237044;
    font-size: .8rem;
    font-weight: 650;
}
.saved-address-actions button.danger {
    color: #b4232f;
}
.address-add-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px dashed #88b99a;
    border-radius: 8px;
    background: transparent;
    color: #237044;
    font-weight: 700;
}
.address-add-button svg {
    width: 18px;
    height: 18px;
}
.address-editor {
    padding: 4px 0;
}
.checkout-success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 190px);
}
.checkout-success-page > .row {
    width: 100%;
}
.order-success-card {
    width: min(100%, 480px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 24px;
}
.order-success-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 20px;
    text-align: center;
}
.order-success-mark {
    width: 128px;
    height: 128px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #22a447;
    box-shadow: 0 0 0 0 rgba(34, 164, 71, .28);
    animation: order-success-pulse .8s .65s ease-out;
}
.order-success-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.order-success-mark circle {
    fill: none;
    stroke: rgba(255, 255, 255, .22);
    stroke-width: 2;
}
.order-success-mark path {
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 46;
    stroke-dashoffset: 46;
    animation: order-check-draw .55s .3s cubic-bezier(.65, 0, .35, 1) forwards;
}
.order-success-screen h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 750;
    animation: order-success-rise .45s .45s ease-out both;
}
.order-success-screen p {
    max-width: 390px;
    margin: 10px 0 28px;
    color: var(--muted);
    line-height: 1.5;
    animation: order-success-rise .45s .55s ease-out both;
}
.order-success-action {
    min-width: 190px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #176332;
    color: #fff;
    font-weight: 700;
    animation: order-success-rise .45s .65s ease-out both;
}
@keyframes order-check-draw {
    to { stroke-dashoffset: 0; }
}
@keyframes order-success-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 164, 71, .3); }
    100% { box-shadow: 0 0 0 28px rgba(34, 164, 71, 0); }
}
@keyframes order-success-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .order-success-mark,
    .order-success-mark path,
    .order-success-screen h2,
    .order-success-screen p,
    .order-success-action {
        animation: none;
    }
    .order-success-mark path {
        stroke-dashoffset: 0;
    }
}
.product-card {
    height: 100%;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .1);
}
.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f1f1f4;
    padding: 10px;
}
.product-body {
    min-height: 178px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}
.category-pill {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 600;
}
.product-title {
    margin: 8px 0 10px;
    font-size: 1.05rem;
    font-weight: 650;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}
.price { font-weight: 700; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: .92rem; }
.off-badge { color: #14843c; font-weight: 650; font-size: .9rem; }
.customer-categories {
    padding-top: 18px;
    padding-bottom: 8px;
    scroll-margin-top: 72px;
}
.customer-categories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.category-view-all {
    color: #2f9b45;
    font-weight: 750;
}
.customer-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.customer-category-card {
    position: relative;
    display: block;
    min-height: 126px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
}
.customer-category-card.active {
    border-color: rgba(47, 155, 69, .35);
    box-shadow: 0 12px 34px rgba(47, 155, 69, .13);
}
.customer-category-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-category-card span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    padding: 20px 8px 9px;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .76) 100%);
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compact-category-sections {
    gap: 24px;
    padding-top: 18px;
    scroll-margin-top: 72px;
}
.compact-category-showcase {
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.compact-category-head {
    margin-bottom: 14px;
}
.compact-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.compact-product-page {
    display: contents;
}
.compact-product-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.compact-product-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}
.compact-product-media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f1f4;
}
.compact-product-card .product-img {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 0;
    background: #f1f1f4;
}
.compact-product-card .product-body {
    min-height: 112px;
    padding: 10px 2px 2px;
}
.compact-product-card .price-row {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    gap: 8px;
    margin: 0;
}
.compact-product-card .price {
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 8px;
    color: #fff;
    background: #23923f;
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.1;
}
.compact-product-card .old-price {
    color: #555861;
    font-size: .9rem;
    font-weight: 650;
}
.product-saving {
    margin-top: 7px;
    color: #23923f;
    font-size: .83rem;
    font-weight: 800;
    text-transform: uppercase;
}
.compact-product-name {
    margin: 8px 0 0;
    overflow: hidden;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.compact-product-size {
    margin-top: 5px;
    color: var(--muted);
    font-size: .83rem;
}
.compact-cart-control {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-width: 44px;
}
.compact-add {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #168447;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
    color: #168447;
    font-size: 0;
}
.compact-add > span {
    display: none;
}
.compact-add::before,
.compact-add::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
}
.compact-add::before {
    width: 17px;
    height: 2px;
}
.compact-add::after {
    width: 2px;
    height: 17px;
}
.compact-qty {
    display: inline-grid;
    grid-template-columns: 30px 28px 30px;
    align-items: center;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    overflow: hidden;
}
.compact-qty button {
    width: 30px;
    height: 38px;
    border: 0;
    background: #135f3a;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}
.compact-qty span {
    color: #0f3c2a;
    text-align: center;
    font-weight: 800;
    font-size: .9rem;
}
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-meta span {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: #fff;
    font-size: .88rem;
    font-weight: 600;
}

.btn {
    border-radius: 999px;
    font-weight: 650;
    padding: .72rem 1.1rem;
}
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-outline-dark { border-color: #c9c9cf; }
.form-control, .form-select {
    border-radius: 15px;
    border-color: var(--line);
    padding: .78rem .95rem;
}
.form-select {
    min-width: 190px;
    padding-right: 2.9rem;
    color: var(--ink);
    font-weight: 500;
    background-color: #fff;
    background-position: right 1rem center;
    background-size: 14px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    cursor: pointer;
}
.form-select option {
    color: var(--ink);
    background: #fff;
    font-size: 1rem;
    padding: 12px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .22rem rgba(10, 132, 255, .14);
}
.table > :not(caption) > * > * { padding: 1rem; }
.thumb {
    width: 74px;
    height: 88px;
    object-fit: contain;
    border-radius: 14px;
    background: #f1f1f4;
    padding: 5px;
}
.cart-page {
    max-width: 760px;
    padding-top: 28px;
    padding-bottom: 36px;
}
.cart-shell {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f7faf5;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .07);
}
.cart-page-header {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 12px 16px;
    background: #1d6a2d;
    color: #fff;
}
.cart-page-header h1 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.cart-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
}
.cart-back-button svg {
    width: 19px;
    height: 19px;
}
.cart-header-count {
    padding: 4px 8px;
    border-radius: 999px;
    background: #ed7b22;
    font-size: .72rem;
    font-weight: 700;
}
.cart-header-count .cart-count {
    display: inline;
    min-width: 0;
    height: auto;
    margin: 0;
    background: transparent;
    font-size: inherit;
}
.cart-content {
    padding: 16px;
}
.cart-delivery-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #c9e7cf;
    border-radius: 8px;
    background: #f0faef;
    color: #1c522a;
}
.cart-delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #fff;
}
.cart-delivery-icon svg {
    width: 19px;
    height: 19px;
}
.cart-delivery-note strong,
.cart-delivery-note small {
    display: block;
}
.cart-delivery-note strong {
    font-size: .82rem;
}
.cart-delivery-note small {
    margin-top: 1px;
    color: #627266;
    font-size: .7rem;
}
.cart-section-label {
    margin: 16px 0 8px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.cart-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    grid-template-areas:
        "image info price"
        "image qty remove";
    align-items: center;
    gap: 7px 12px;
    margin-bottom: 10px;
    padding: 11px;
    border: 1px solid #ecefe9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .04);
}
.cart-item-img {
    grid-area: image;
    width: 62px;
    height: 62px;
    border-radius: 7px;
    background: var(--soft);
    object-fit: cover;
}
.cart-item-info {
    grid-area: info;
    display: grid;
    min-width: 0;
    gap: 1px;
}
.cart-item-info strong {
    overflow: hidden;
    font-size: .88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-item-info span {
    color: var(--muted);
    font-size: .72rem;
}
.cart-item-info small {
    justify-self: start;
    margin-top: 2px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #eaf7ed;
    color: #238044;
    font-size: .62rem;
    font-weight: 700;
}
.cart-line-price {
    grid-area: price;
    align-self: start;
    color: #174c29;
    font-size: .83rem;
    font-weight: 750;
    white-space: nowrap;
}
.cart-row-qty {
    grid-area: qty;
    display: inline-grid;
    grid-template-columns: 28px 28px 28px;
    justify-self: start;
    overflow: hidden;
    height: 30px;
    border-radius: 999px;
    background: #176332;
    color: #fff;
}
.cart-row-qty button {
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 800;
}
.cart-row-qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    font-size: .78rem;
    font-weight: 700;
}
.cart-item-remove {
    grid-area: remove;
    align-self: end;
    justify-self: end;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #9aa5a0;
}
.cart-item-remove svg {
    width: 17px;
    height: 17px;
}
.cart-summary {
    margin-top: 16px;
    padding: 14px;
    border-top: 1px dashed #cfd8d0;
    background: #fff;
}
.cart-summary h2 {
    margin: 0 0 12px;
    font-size: .92rem;
    font-weight: 700;
}
.coupon-form {
    margin-bottom: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.coupon-form .form-label {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.coupon-message {
    min-height: 18px;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
}
.cart-summary > div {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: var(--muted);
    font-size: .82rem;
}
.cart-summary .cart-saving-total {
    color: #238044;
}
.cart-summary .cart-summary-total {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: .98rem;
    font-weight: 750;
}
.cart-checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 16px 16px;
    padding: 11px 14px;
    border-radius: 8px;
    background: #176332;
    color: #fff;
}
.cart-checkout-bar > span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}
.cart-checkout-bar > span:first-child {
    display: grid;
    gap: 1px;
}
.cart-checkout-bar small {
    font-size: .65rem;
    font-weight: 500;
}
.cart-checkout-bar .cart-count {
    display: inline;
    min-width: 0;
    height: auto;
    margin: 0;
    background: transparent;
    font-size: inherit;
}
.cart-checkout-bar svg {
    width: 18px;
    height: 18px;
}
.cart-checkout-bar.disabled {
    display: none;
}
.cart-empty-state {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 360px;
    padding: 52px 20px;
    text-align: center;
}
.cart-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #edf5ee;
    color: #4b8b5c;
}
.cart-empty-icon svg {
    width: 52px;
    height: 52px;
    stroke-width: 1.5;
}
.cart-empty-state h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}
.cart-empty-state p {
    margin: 8px 0 24px;
    color: var(--muted);
}
.cart-empty-state a {
    min-width: 148px;
    padding: 11px 18px;
    border-radius: 8px;
    background: #176332;
    color: #fff;
    font-weight: 700;
}
.cart-content.is-empty .cart-delivery-note,
.cart-content.is-empty .cart-section-label,
.cart-content.is-empty .cart-summary {
    display: none;
}
.gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: var(--radius);
    background: #f1f1f4;
    padding: 14px;
}
.gallery-thumb {
    width: 76px;
    height: 62px;
    object-fit: contain;
    background: #f1f1f4;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
}
.gallery-thumb.active { border-color: var(--ink); }
.site-footer {
    margin-top: 60px;
    padding: 34px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}
.admin-shell { min-height: 100vh; }
.admin-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.empty-state {
    padding: 50px 20px;
    text-align: center;
    color: var(--muted);
}
.order-card {
    overflow: hidden;
}
.order-status-form {
    display: grid;
    grid-template-columns: minmax(170px, 220px) auto;
    gap: 10px;
    align-items: center;
}
.order-status-form .form-select {
    min-width: 0;
    box-shadow: none;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-pending {
    color: #8a5a00;
    background: #fff3d6;
}
.status-dispatched {
    color: #075eaa;
    background: #dceeff;
}
.status-delivered {
    color: #146b35;
    background: #ddf6e8;
}
.order-info span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.order-info strong {
    display: block;
    font-weight: 600;
    line-height: 1.5;
}
.order-delete-panel {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.order-delete-panel summary {
    width: fit-content;
    cursor: pointer;
    color: #b4232f;
    font-weight: 700;
}
.order-delete-form {
    max-width: 520px;
    margin-left: auto;
}
.deleted-order-message {
    padding: 16px;
    border: 1px solid #f2c4ca;
    border-radius: 8px;
    background: #fff6f7;
}
.deleted-order-message span {
    display: block;
    margin-bottom: 6px;
    color: #9f1d2f;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}
.deleted-order-message strong {
    display: block;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .shop-layout {
        display: block;
    }
    .catalog-nav-link { padding-right: 14px; padding-left: 14px; }
    .catalog-nav-link::after { right: 14px; left: 14px; }
    .discovery-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 12px;
        padding: 18px;
    }
    .filter-actions { grid-column: 1 / -1; }
    .customer-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 150px;
        overflow-x: hidden;
    }
    body[data-current-page="cart.php"],
    body[data-current-page="checkout.php"] {
        padding-bottom: 84px;
    }
    .checkout-success-page {
        min-height: calc(100svh - 235px);
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    .order-success-card {
        width: min(100%, 390px);
        padding: 16px;
    }
    .order-success-screen {
        padding: 12px;
    }
    .order-success-mark {
        width: 104px;
        height: 104px;
        margin-bottom: 18px;
    }
    .glass-nav .container {
        min-height: 48px;
    }
    .glass-nav {
        transform: translateY(0);
        transition: transform .32s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }
    body.mobile-chrome-hidden .glass-nav {
        transform: translateY(-110%);
    }
    .glass-nav .navbar-toggler,
    .glass-nav .navbar-collapse {
        display: none;
    }
    .brand-lockup {
        gap: 7px;
    }
    .brand-lockup span {
        font-size: 1.08rem;
    }
    .brand-lockup img {
        width: 36px;
        height: 36px;
    }
    .delivery-location {
        position: static;
    }
    .delivery-location-button {
        min-height: 42px;
        font-size: .88rem;
    }
    .customer-categories,
    .compact-category-sections {
        scroll-margin-top: 138px;
    }
    .customer-cart-dock {
        position: fixed;
        z-index: 1032;
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        left: 12px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
        max-width: 520px;
        margin: 0 auto;
        padding: 0;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
        transition: bottom .32s cubic-bezier(.22, 1, .36, 1);
    }
    body.mobile-chrome-hidden .customer-cart-dock {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }
    .free-delivery-dock {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
        height: 48px;
        padding: 7px 11px;
        border-radius: 8px;
        background: #303640;
        color: #fff;
    }
    .free-delivery-dock-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        padding: 4px;
        border-radius: 50%;
        background: conic-gradient(#aeb6c0 var(--delivery-progress, 0%), rgba(255, 255, 255, .13) 0);
    }
    .free-delivery-dock-icon svg {
        width: 26px;
        height: 26px;
        padding: 5px;
        border-radius: 50%;
        background: #59616c;
        color: #fff;
    }
    .free-delivery-dock.is-unlocked {
        background: #303640;
    }
    .free-delivery-dock.is-unlocked .free-delivery-dock-icon {
        background: #30ad4a;
        box-shadow: 0 0 0 4px rgba(48, 173, 74, .28);
    }
    .free-delivery-dock.is-unlocked .free-delivery-dock-icon svg {
        background: #198c35;
    }
    .free-delivery-dock.is-unlocked strong {
        font-size: .82rem;
    }
    .free-delivery-dock.is-unlocked strong::after {
        content: " 🎉";
    }
    .free-delivery-dock.is-unlocked small {
        display: none;
    }
    .free-delivery-dock > span:last-child,
    .customer-cart-button > span {
        display: grid;
        min-width: 0;
        gap: 1px;
    }
    .free-delivery-dock strong,
    .customer-cart-button strong {
        font-size: .74rem;
        font-weight: 750;
        line-height: 1.05;
    }
    .free-delivery-dock small,
    .customer-cart-button small {
        overflow: hidden;
        font-size: .61rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .customer-cart-button {
        display: flex;
        align-items: center;
        gap: 7px;
        height: 48px;
        padding: 7px 12px;
        border-radius: 8px;
        background: #f32271;
        color: #fff;
    }
    .customer-cart-button svg {
        flex: 0 0 auto;
        width: 21px;
        height: 21px;
    }
    .mobile-bottom-nav {
        position: fixed;
        z-index: 1031;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-height: calc(68px + env(safe-area-inset-bottom));
        padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(0, 0, 0, .08);
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .06);
        backdrop-filter: blur(18px);
        transform: translateY(0);
        transition: transform .32s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }
    body.mobile-chrome-hidden .mobile-bottom-nav {
        transform: translateY(110%);
    }
    .mobile-bottom-link {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
        color: #7a7a80;
        font-size: .69rem;
        font-weight: 600;
    }
    .mobile-bottom-link svg {
        width: 22px;
        height: 22px;
        stroke-width: 2;
    }
    .mobile-bottom-link.active {
        color: #185c36;
    }
    .mobile-nav-icon {
        position: relative;
        display: inline-flex;
    }
    .mobile-cart-badge {
        position: absolute;
        top: -7px;
        right: -10px;
        min-width: 17px;
        height: 17px;
        margin: 0;
        padding: 0 4px;
        border: 2px solid #fff;
        background: #185c36;
        font-size: .61rem;
    }
    .hero { padding: 40px 0 22px; }
    .catalog-nav-inner { height: 44px; }
    .catalog-nav-link,
    .catalog-more-button { height: 44px; font-size: .84rem; }
    .catalog-nav-link { padding-right: 12px; padding-left: 12px; }
    .catalog-nav-link::after { right: 12px; left: 12px; }
    .catalog-more-button { padding-left: 12px; }
    .discovery-section { margin-bottom: 26px; }
    .customer-categories {
        padding-top: 14px;
    }
    .catalog-search-section {
        position: sticky;
        z-index: 1029;
        top: 65px;
        padding-top: 10px;
        padding-bottom: 8px;
        background: rgba(245, 245, 247, .92);
        backdrop-filter: saturate(180%) blur(18px);
        transition: top .32s cubic-bezier(.22, 1, .36, 1);
    }
    body.mobile-chrome-hidden .catalog-search-section {
        top: 0;
    }
    .catalog-search-field {
        min-height: 48px;
        border-radius: 14px;
    }
    .catalog-search-field input {
        height: 46px;
        font-size: .94rem;
    }
    .catalog-search-results {
        position: fixed;
        z-index: 1040;
        top: 126px;
        right: 10px;
        left: 10px;
        max-height: calc(100svh - 210px);
        border-radius: 16px;
    }
    .customer-categories-head {
        margin-bottom: 10px;
    }
    .customer-categories-head h1 {
        font-size: 1.12rem;
    }
    .customer-category-grid {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: calc((100vw - 48px) / 4);
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }
    .customer-category-grid::-webkit-scrollbar {
        display: none;
    }
    .customer-category-card {
        min-height: 0;
        padding: 0;
        border-radius: 14px;
        scroll-snap-align: start;
    }
    .customer-category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
    }
    .customer-category-card span {
        padding: 16px 5px 7px;
        font-size: .74rem;
    }
    .discovery-heading { align-items: center; margin-bottom: 8px; }
    .discovery-heading h2 { font-size: 1.08rem; }
    .discovery-filter {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }
    .filter-field-sort { grid-column: 1 / -1; }
    .filter-actions {
        justify-content: space-between;
        padding-top: 2px;
    }
    .filter-actions .btn { margin-left: auto; }
    .section-pad { padding: 20px; }
    .category-sections {
        gap: 20px;
    }
    .category-showcase {
        padding: 14px;
        border-radius: 18px;
    }
    .compact-category-showcase {
        padding: 2px 0 8px;
        border-radius: 0;
    }
    .category-section-head {
        align-items: flex-start;
        margin-bottom: 18px;
    }
    .category-section-head .btn {
        padding: .58rem .82rem;
        white-space: nowrap;
    }
    .product-body {
        min-height: 168px;
        padding: 14px;
    }
    .product-title {
        font-size: .95rem;
        line-height: 1.25;
    }
    .price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
    .product-card .btn {
        padding: .62rem .7rem;
        font-size: .88rem;
    }
    .compact-category-sections {
        padding-top: 12px;
    }
    .compact-category-head {
        align-items: center;
        margin-bottom: 10px;
    }
    .category-view-all {
        font-size: .82rem;
    }
    .compact-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .home-category-products .compact-product-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 2px 0 10px;
    }
    .home-category-products .compact-product-page {
        display: contents;
    }
    .home-category-products.search-active .compact-product-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
    }
    .home-category-products.search-active .compact-product-page {
        display: contents;
    }
    .compact-product-card {
        border-radius: 0;
    }
    .compact-product-card .product-body {
        min-height: 106px;
        padding: 8px 1px 2px;
    }
    .compact-product-card .price {
        padding: 3px 5px;
        border-radius: 6px;
        font-size: .78rem;
    }
    .compact-product-card .old-price {
        font-size: .7rem;
    }
    .product-saving {
        margin-top: 6px;
        font-size: .7rem;
    }
    .compact-product-name {
        margin-top: 7px;
        font-size: .78rem;
    }
    .compact-product-size {
        margin-top: 4px;
        font-size: .7rem;
    }
    .compact-cart-control {
        right: 5px;
        bottom: 5px;
        min-width: 44px;
    }
    .compact-add {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 9px;
        font-size: 0;
    }
    .compact-qty {
        grid-template-columns: 25px 22px 25px;
        height: 32px;
    }
    .compact-qty button {
        width: 25px;
        height: 32px;
    }
    .compact-qty span {
        font-size: .78rem;
    }
    .table-responsive .btn { padding: .52rem .8rem; }
    .mobile-filter-panel {
        box-shadow: 0 16px 42px rgba(0, 0, 0, .07);
    }
    .cart-page {
        padding: 0 0 88px;
    }
    .cart-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .cart-page-header {
        min-height: 62px;
    }
    .cart-content {
        padding: 12px;
    }
    .cart-item {
        grid-template-columns: 54px minmax(0, 1fr) auto;
        gap: 6px 9px;
        padding: 9px;
    }
    .cart-item-img {
        width: 54px;
        height: 54px;
    }
    .cart-checkout-bar {
        position: fixed;
        z-index: 1032;
        right: 10px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        left: 10px;
        margin: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
        transition: bottom .32s cubic-bezier(.22, 1, .36, 1);
    }
    body.mobile-chrome-hidden .cart-checkout-bar {
        bottom: calc(10px + env(safe-area-inset-bottom));
    }
    .cart-empty-state {
        min-height: calc(100vh - 310px);
    }
    .order-status-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .mobile-bottom-nav,
    .glass-nav,
    .catalog-search-section,
    .customer-cart-dock,
    .cart-checkout-bar {
        transition: none;
    }
}
