:root {
    --am-red: #c8102e;
    --am-red-2: #9b0c24;
    --am-red-dark: #9b0c24;
    --am-red-light: #fff1f3;
    --am-red-rgb: 200, 16, 46;
    --am-brand-fill: var(--am-red);
    --am-brand-fill-hover: var(--am-red-dark);
    --am-gray: #6c757d;
    --am-dark: #1a1a1a;
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(var(--am-red-rgb), 0.08);
    --radius: 14px;
    --bs-danger: var(--am-red);
    --bs-danger-rgb: var(--am-red-rgb);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--am-dark);
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
}

/* Site header */
.site-header {
    --site-header-nav-bg: #222222;
    --site-header-top-bg: #f4f4f4;
    z-index: 1030;
    /* Match nav bar so no white seam peeks under the black strip */
    background: var(--site-header-nav-bg);
    box-shadow: none;
    transition: box-shadow 0.34s ease;
    overflow-anchor: none;
}

.site-header.is-compact {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.site-header-top,
.site-header-nav-bar {
    overflow: hidden;
    transition: max-height 0.34s ease, opacity 0.28s ease, border-color 0.28s ease;
    will-change: max-height, opacity;
}

.site-header.is-compact .site-header-top {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
    pointer-events: none;
}

@media (min-width: 992px) {
    .site-header.is-compact .site-header-nav-bar {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 991.98px) {
    /* Keep the nav bar available while the mobile menu is open. */
    .site-header.is-compact .site-header-nav-bar:not(:has(#siteHeaderNav.show)) {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
}

.site-header-top {
    background: var(--site-header-top-bg);
    border-bottom: 1px solid #ececec;
    font-size: 0.78rem;
    color: #666;
    max-height: 6rem;
    opacity: 1;
}

.site-header-nav-bar {
    background: var(--site-header-nav-bg);
    max-height: 24rem;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 1;
}

.site-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.15rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.site-header-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    line-height: 1.3;
    text-decoration: none;
    color: inherit;
}

.site-header-location:hover,
.site-header-location:focus-visible {
    color: var(--am-brand-fill);
    outline: none;
}

.site-header-location i {
    color: var(--am-brand-fill);
    flex-shrink: 0;
}

.site-header-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header-top-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.site-header-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #666;
    cursor: default;
}

.site-header-meta-item i {
    font-size: 0.55rem;
}

.site-header-meta-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.site-header-meta-link:hover {
    color: var(--am-brand-fill);
}

.site-header-main {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.site-header-main-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    transition: gap 0.34s ease, padding-top 0.34s ease, padding-bottom 0.34s ease;
}

.site-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    min-width: 0;
}

.site-header-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

.site-header-wordmark {
    /* Logo image already contains the brand name */
    display: none;
}

.site-header-search {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    transition: margin 0.34s ease;
}

.site-header-search-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header-search:focus-within .site-header-search-row {
    border-color: var(--am-brand-fill);
    box-shadow: 0 0 0 3px rgba(var(--am-red-rgb), 0.12);
}

.site-header-search-icon {
    display: flex;
    align-items: center;
    padding-left: 0.85rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.site-header-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
    background: transparent;
    color: var(--am-dark);
    transition: padding 0.34s ease, font-size 0.34s ease;
}

.site-header-search-input::placeholder {
    color: #a3a3a3;
}

.site-header-search-btn {
    border: 0;
    background: var(--am-brand-fill);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0 1.35rem;
    white-space: nowrap;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: background 0.15s ease, width 0.34s ease, min-width 0.34s ease, padding 0.34s ease;
}

.site-header-search-btn-icon {
    display: none;
    font-size: 1.05rem;
    line-height: 1;
}

.site-header-search-btn:hover,
.site-header-search-btn:focus-visible {
    background: var(--am-brand-fill-hover);
    color: #fff;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: gap 0.34s ease;
}

.site-header-shop-link {
    color: #333;
    font-size: 1.35rem;
    line-height: 1;
    text-decoration: none;
}

.site-header-shop-link:hover {
    color: var(--am-brand-fill);
}

.site-header-actions-divider {
    width: 1px;
    height: 28px;
    background: #ddd;
}

.site-header-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.site-header-cart:hover {
    color: inherit;
}

.site-header-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    font-size: 1.45rem;
    color: #222;
    line-height: 1;
}

.site-header-cart .cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background: var(--am-brand-fill);
    color: #fff;
    font-size: 0.62rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.site-header-cart-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-header-cart-label {
    font-size: 0.72rem;
    color: #777;
}

.site-header-cart-total {
    font-size: 0.98rem;
    color: #111;
    font-weight: 700;
}

.site-header-toggler {
    display: none;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    padding: 0;
}

.site-header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.15rem;
}

.site-header-menu {
    display: flex;
    align-items: center;
    gap: 0.05rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-header-menu-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    line-height: 1.2;
}

.site-header-menu-link:hover,
.site-header-menu-link.is-active {
    color: #fff;
    opacity: 0.92;
}

.site-header-shop-item {
    display: inline-flex;
    align-items: center;
}

.site-header-shop-item .site-header-menu-link {
    padding-right: 0.2rem;
}

.site-header-shop-caret {
    border: 0;
    background: transparent;
    color: #fff;
    padding: 0.45rem 0.5rem 0.45rem 0.15rem;
    line-height: 1;
    font-size: 0.75rem;
}

.site-header-shop-caret::after {
    margin-left: 0;
}

.site-header-shop-menu {
    max-height: min(70vh, 420px);
    overflow: auto;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.site-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    padding: 0.35rem 0;
    line-height: 1.2;
}

.site-header-phone:hover {
    color: #fff;
    opacity: 0.9;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--am-brand-fill);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    font-size: 0.9rem;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.1;
    text-align: center;
}

.brand-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: min(220px, 56vw);
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
    width: 100%;
}

.brand-text-tagline {
    display: flex;
    justify-content: center;
    width: 100%;
}

.brand-text small {
    font-size: 0.68rem;
    color: var(--am-gray);
    font-weight: 500;
    text-align: center;
}

.footer-brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--am-brand-fill);
    color: #fff;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (min-width: 992px) {
    .site-header-nav-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}

@media (max-width: 991.98px) {
    .site-header-main-inner {
        position: relative;
    }

    .site-header-top-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .site-header-location span {
        white-space: normal;
    }

    .site-header-top-meta {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .site-header-main-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "search search";
        gap: 0.75rem;
    }

    .site-header-brand {
        grid-area: brand;
    }

    .site-header-actions {
        grid-area: actions;
        justify-self: end;
    }

    .site-header-search {
        grid-area: search;
        max-width: none;
    }

    .site-header-cart-copy {
        display: none;
    }

    .site-header-actions-divider {
        display: none;
    }

    .site-header-shop-link {
        display: none;
    }

    .site-header-toggler {
        display: inline-flex;
    }

    .site-header-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.5rem 0 0.85rem;
    }

    .site-header-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .site-header-shop-item {
        display: flex;
        width: 100%;
    }

    .site-header-shop-item .site-header-menu-link {
        flex: 1;
    }

    .site-header-menu-link,
    .site-header-shop-caret {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .site-header-phone {
        padding: 0.5rem 0.7rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: 0.25rem;
    }

    /* Sticky compact bar: search + cart + menu in one row (no logo). */
    .site-header.is-compact .site-header-main-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "search actions";
        gap: 0.55rem;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        align-items: center;
    }

    .site-header.is-compact .site-header-brand {
        display: none;
    }

    .site-header.is-compact .site-header-search {
        grid-area: search;
        position: static;
        margin: 0;
        min-width: 0;
    }

    .site-header.is-compact .site-header-search .search-suggest {
        left: 0;
        right: 0;
        width: auto;
        min-width: 0;
        top: calc(100% + 0.35rem);
    }

    .site-header.is-compact .site-header-search-icon {
        display: none;
    }

    .site-header.is-compact .site-header-search-input {
        padding: 0.55rem 0.7rem 0.55rem 0.85rem;
        font-size: 0.9rem;
    }

    .site-header.is-compact .site-header-search-btn-label {
        display: none;
    }

    .site-header.is-compact .site-header-search-btn-icon {
        display: block;
    }

    .site-header.is-compact .site-header-search-btn {
        width: 2.45rem;
        min-width: 2.45rem;
        padding: 0;
        flex-shrink: 0;
    }

    .site-header.is-compact .site-header-actions {
        grid-area: actions;
        gap: 0.45rem;
        justify-self: end;
        flex-shrink: 0;
    }

    .site-header.is-compact .site-header-cart,
    .site-header.is-compact .site-header-toggler {
        width: 2.45rem;
        height: 2.45rem;
        justify-content: center;
        transition: width 0.34s ease, height 0.34s ease;
    }

    .site-header.is-compact .site-header-cart {
        gap: 0;
    }
}

@media (max-width: 575.98px) {
    .site-header-meta-item {
        display: none;
    }

    .site-header-logo {
        height: 28px;
        max-width: min(170px, 48vw);
    }

    .site-header-search-btn {
        padding: 0 0.9rem;
    }

    .site-header.is-compact .site-header-main-inner {
        gap: 0.4rem;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .site-header.is-compact .site-header-search-btn,
    .site-header.is-compact .site-header-cart,
    .site-header.is-compact .site-header-toggler {
        width: 2.3rem;
        min-width: 2.3rem;
        height: 2.3rem;
    }
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--am-red);
    --bs-btn-border-color: var(--am-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--am-red-dark);
    --bs-btn-hover-border-color: var(--am-red-dark);
    --bs-btn-focus-shadow-rgb: var(--am-red-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--am-red-dark);
    --bs-btn-active-border-color: var(--am-red-dark);
    --bs-btn-disabled-bg: var(--am-red);
    --bs-btn-disabled-border-color: var(--am-red);
    background: var(--am-brand-fill) !important;
    border-color: var(--am-red);
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:focus-visible {
    background: var(--am-brand-fill-hover) !important;
    border-color: var(--am-red-dark);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(var(--am-red-rgb), 0.35);
}

.btn-danger:active,
.btn-danger.active,
.btn-danger.show,
.btn-check:checked + .btn-danger,
.btn-check:active + .btn-danger,
:not(.btn-check) + .btn-danger:active {
    background: var(--am-brand-fill-hover) !important;
    border-color: var(--am-red-dark) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--am-red-rgb), 0.4) !important;
}

.btn-outline-danger {
    --bs-btn-color: var(--am-red);
    --bs-btn-border-color: var(--am-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--am-red);
    --bs-btn-hover-border-color: var(--am-red);
    --bs-btn-focus-shadow-rgb: var(--am-red-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--am-red);
    --bs-btn-active-border-color: var(--am-red);
    color: var(--am-red);
    border-color: var(--am-red);
    background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:focus-visible {
    background: var(--am-brand-fill) !important;
    border-color: var(--am-red);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(var(--am-red-rgb), 0.35);
}

.btn-outline-danger:active,
.btn-outline-danger.active,
.btn-check:checked + .btn-outline-danger,
:not(.btn-check) + .btn-outline-danger:active {
    background: var(--am-brand-fill-hover) !important;
    border-color: var(--am-red-dark) !important;
    color: #fff !important;
}

.text-danger {
    color: var(--am-red) !important;
}

.link-danger {
    color: var(--am-red) !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--am-red);
    box-shadow: 0 0 0 0.25rem rgba(var(--am-red-rgb), 0.2);
}

.form-check-input:checked {
    background-color: var(--am-red);
    border-color: var(--am-red);
}

/* Hero */
.hero-section {
    background: var(--am-brand-fill);
    padding: 3.5rem 0 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* Keep green flush against the black nav (no body/#fafafa seam). */
.page-main > .hero-section:first-child {
    margin-top: -1px;
    padding-top: calc(3.5rem + 1px);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #fff;
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta .hero-btn-primary {
    color: var(--am-red);
    font-weight: 700;
}

.hero-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-location {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 480px;
}

.hero-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    border: none;
}

.hero-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--am-text, #111);
}

.hero-steps {
    display: grid;
    gap: 0.85rem;
}

.hero-step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.hero-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--am-red-light);
    color: var(--am-red);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-step strong {
    display: block;
    font-size: 0.92rem;
    color: #111;
    line-height: 1.2;
}

.hero-step small {
    display: block;
    color: var(--am-gray);
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

/* Sections */
.section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.filter-bar {
    border-radius: var(--radius) !important;
}

/* Categories */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--am-red);
}

.category-img {
    height: 90px;
    position: relative;
    overflow: hidden;
}

.product-img {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.catalog-tile-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fff5f6 0%, #f3f4f6 100%);
    overflow: hidden;
    position: relative;
}

.catalog-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.catalog-tile-img.is-hidden {
    display: none;
}

.catalog-tile-initials {
    font-weight: 700;
    color: var(--am-red);
    letter-spacing: 0.06em;
    line-height: 1;
    user-select: none;
    z-index: 0;
}

.catalog-tile-media:not(.show-initials):has(.catalog-tile-img:not(.is-hidden)) .catalog-tile-initials {
    visibility: hidden;
}

.category-img .catalog-tile-initials {
    font-size: 1.2rem;
}

.product-img .catalog-tile-initials {
    font-size: 1.6rem;
}

.cart-thumb .catalog-tile-initials {
    font-size: 0.8rem;
}

.category-card span {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.category-grid.is-collapsed .category-tile:nth-child(n + 5) {
    display: none;
}

@media (min-width: 768px) {
    .category-grid.is-collapsed .category-tile:nth-child(n + 5) {
        display: block;
    }

    .category-grid.is-collapsed .category-tile:nth-child(n + 7) {
        display: none;
    }
}

@media (min-width: 992px) {
    .category-grid.is-collapsed .category-tile:nth-child(n + 7) {
        display: block;
    }

    .category-grid.is-collapsed .category-tile:nth-child(n + 13) {
        display: none;
    }
}

.category-see-more-btn {
    min-width: 8rem;
    font-weight: 600;
}

.products-see-more-btn {
    min-width: 8rem;
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(17, 17, 17, 0.78);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.featured-products-section {
    position: relative;
}

.featured-carousel-wrap {
    position: relative;
}

.featured-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 2.5rem 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.featured-carousel::-webkit-scrollbar {
    display: none;
}

.featured-carousel-slide {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.featured-product-card .product-img {
    height: 140px;
}

.featured-product-card .product-name {
    font-size: 0.88rem;
}

.featured-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid #e8eaed;
    border-radius: 50%;
    background: #fff;
    color: var(--am-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.featured-carousel-btn:hover {
    background: var(--am-red-light);
    color: var(--am-red);
}

.featured-carousel-prev {
    left: 0;
}

.featured-carousel-next {
    right: 0;
}

.shop-page .section-title {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

/* Shop app menu */
body.shop-app-page {
    background: #f3f4f6;
}

.shop-app {
    padding-bottom: 1.5rem;
}

.shop-app-hero {
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
    border-bottom: 1px solid #eceff3;
    padding: 1rem 0 0.75rem;
}

.shop-app-hero-card {
    margin-bottom: 0.85rem;
}

.shop-app-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--am-red);
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.shop-app-title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem;
}

.shop-app-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: var(--am-gray);
    line-height: 1.45;
}

.shop-app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: #4b5563;
    font-weight: 600;
}

.shop-app-search {
    position: relative;
    margin-bottom: 0.75rem;
}

.shop-app-search-row {
    position: relative;
}

.shop-app-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.shop-app-search-input {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    padding: 0.85rem 2.75rem 0.85rem 2.65rem;
    font-size: 0.95rem;
}

.shop-app-search-input:focus {
    outline: 2px solid rgba(var(--am-red-rgb), 0.18);
    box-shadow: 0 8px 24px rgba(var(--am-red-rgb), 0.12);
}

.shop-app-search-clear {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    text-decoration: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    z-index: 1;
}

/* Live product search suggestions */
.search-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 1080;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.14);
    max-height: min(70vh, 380px);
    overflow: auto;
    padding: 0.35rem 0;
}

.site-header-search .search-suggest {
    width: 100%;
    min-width: 100%;
}

.search-suggest[hidden] {
    display: none !important;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
    color: inherit;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.search-suggest-item:hover,
.search-suggest-item.is-active,
.search-suggest-item:focus-visible {
    background: #f6f7f9;
    outline: none;
}

.search-suggest-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.search-suggest-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.search-suggest-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-meta {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.2;
}

.search-suggest-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--am-brand-fill);
    flex-shrink: 0;
}

.search-suggest-empty,
.search-suggest-footer {
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.search-suggest-footer {
    border-top: 1px solid #f0f0f0;
    margin-top: 0.2rem;
}

.search-suggest-footer a {
    color: var(--am-brand-fill);
    font-weight: 600;
    text-decoration: none;
}

.search-suggest-footer a:hover {
    text-decoration: underline;
}

.shop-app-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
}

.shop-app-sort {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shop-app-sort::-webkit-scrollbar {
    display: none;
}

.shop-app-sort-chip {
    flex: 0 0 auto;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.shop-app-sort-chip.is-active {
    background: var(--am-brand-fill);
    border-color: var(--am-red);
    color: #fff;
}

.shop-category-carousel-wrap {
    position: sticky;
    /* Kept flush under the sticky header (synced via --site-header-sticky-height). */
    top: var(--site-header-sticky-height, 72px);
    z-index: 1020;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eceff3;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}

.shop-category-carousel-inner {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.shop-category-nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.shop-category-nav-track {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.7rem 0.35rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shop-category-nav-track::-webkit-scrollbar {
    display: none;
}

.shop-cat-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 72px;
    max-width: 84px;
    text-decoration: none;
    color: #4b5563;
    scroll-snap-align: start;
}

.shop-cat-chip-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-cat-chip-icon.all {
    background: linear-gradient(145deg, #fff5f6, #fff);
    color: var(--am-red);
    font-size: 1.2rem;
}

.shop-cat-chip-icon .catalog-tile-img {
    border-radius: 14px;
}

.shop-cat-chip-icon .catalog-tile-initials {
    font-size: 0.85rem;
}

.shop-cat-chip-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.shop-cat-chip.is-active .shop-cat-chip-icon {
    border-color: var(--am-red);
    box-shadow: 0 6px 18px rgba(var(--am-red-rgb), 0.18);
}

.shop-cat-chip.is-active .shop-cat-chip-label {
    color: var(--am-red);
}

.shop-category-carousel-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid #e8eaed;
    border-radius: 50%;
    background: #fff;
    color: var(--am-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.shop-category-carousel-btn:hover {
    background: var(--am-red-light);
}

.shop-category-carousel-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.shop-app-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.shop-product-grid {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
}

.shop-product-grid .product-card {
    height: 100%;
}

.shop-product-grid .product-img {
    height: 140px;
}

@media (min-width: 992px) {
    .shop-product-grid .product-img {
        height: 155px;
    }
}

.shop-menu-section + .shop-menu-section {
    margin-top: 1.35rem;
}

.shop-menu-section-head,
.shop-search-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.shop-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.shop-section-count {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
}

.shop-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-menu-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 0.75rem;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
    border: 1px solid rgba(17, 24, 39, 0.04);
}

.shop-menu-item-thumb {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.shop-menu-item-body {
    min-width: 0;
}

.shop-menu-item-top {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.shop-menu-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.shop-menu-item-badge {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--am-red);
    background: var(--am-red-light);
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
}

.shop-menu-item-desc {
    margin: 0.2rem 0 0;
    font-size: 0.76rem;
    color: #6b7280;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-menu-item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.shop-menu-item-price {
    font-size: 0.92rem;
    color: var(--am-dark);
}

.shop-menu-item-stock {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--am-red);
}

.shop-menu-item-stock-out {
    color: #6b7280;
}

.shop-menu-add-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--am-brand-fill);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(var(--am-red-rgb), 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-menu-add-btn:hover {
    color: #fff;
    transform: scale(1.05);
}

.shop-menu-add-btn.is-disabled,
.shop-menu-add-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    box-shadow: none;
}

.shop-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.shop-empty i {
    font-size: 2rem;
    color: var(--am-red);
    margin-bottom: 0.75rem;
}

.shop-empty h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.shop-empty p {
    color: #6b7280;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .shop-category-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .shop-cat-chip {
        min-width: 68px;
    }

    .shop-cat-chip-icon {
        width: 52px;
        height: 52px;
    }
}

/* Products */
.product-card {
    border-radius: var(--radius) !important;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

.product-card-media-link {
    display: block;
}

.product-detail-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    background: #f3f4f6;
}

.product-detail-media .catalog-tile-media,
.product-detail-media.catalog-tile-media {
    min-height: 280px;
    height: 100%;
}

.product-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin: 0.35rem 0 0.75rem;
}

.product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-detail-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--am-brand-fill);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.stock-badge.stock-out {
    background: #6b7280;
}

.shop-pagination .page-link {
    color: var(--am-red);
    border-color: #e8eaed;
}

.shop-pagination .page-item.active .page-link {
    background: var(--am-brand-fill);
    border-color: var(--am-red);
    color: #fff;
}

.shop-pagination .page-item.active .page-link:hover,
.shop-pagination .page-item.active .page-link:focus {
    color: #fff;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--am-red);
    font-weight: 600;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.25rem 0;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.78rem;
    color: var(--am-gray);
    margin-bottom: 0.75rem;
}

.product-price {
    color: var(--am-dark);
    font-size: 1rem;
}

/* Cart */
.cart-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.qty-input {
    width: 52px !important;
}

.summary-card {
    top: 90px;
    border-radius: var(--radius) !important;
}

/* Auth */
.auth-card {
    border-radius: var(--radius) !important;
}

/* Orders */
.im-here-panel {
    background: linear-gradient(135deg, var(--am-red-light), #fff);
    border: 2px solid rgba(var(--am-red-rgb), 0.15);
}

.im-here-btn {
    animation: pulse-soft 2s infinite;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--am-red-rgb), 0.35); }
    50% { box-shadow: 0 0 0 12px rgba(var(--am-red-rgb), 0); }
}

.success-icon i {
    font-size: 4rem;
}

.order-detail-card {
    border-radius: var(--radius) !important;
}

.order-items-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

@media (min-width: 768px) {
    .order-items-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}

.order-item-row {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.7rem 0.85rem;
    background: #fafafa;
    border: 1px solid #eceff2;
    border-radius: 12px;
}

.order-item-qty {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    background: var(--am-red-light);
    color: var(--am-red);
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-item-copy {
    min-width: 0;
}

.order-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--am-dark);
    word-break: break-word;
}

.order-item-meta {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: var(--am-gray);
}

.order-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--am-red);
    white-space: nowrap;
    text-align: right;
}

@media (max-width: 575.98px) {
    .order-item-row {
        gap: 0.65rem;
        padding: 0.7rem 0.75rem;
    }

    .order-item-name {
        font-size: 0.9rem;
    }

    .order-item-price {
        font-size: 0.9rem;
    }
}

/* Admin layout */
.admin-layout {
    background: linear-gradient(180deg, #f8f9fb 0%, #f3f4f6 100%);
    min-height: calc(100vh - 72px);
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 72px;
    z-index: 1020;
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    flex-wrap: wrap;
}

.admin-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-topbar-brand strong {
    display: block;
    line-height: 1.2;
    font-size: 0.95rem;
}

.admin-topbar-brand small {
    color: var(--am-gray);
    font-size: 0.72rem;
}

.admin-topbar-nav {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--am-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.admin-nav-link:hover {
    background: var(--am-red-light);
    color: var(--am-red);
}

.admin-nav-link.active {
    background: var(--am-brand-fill);
    color: #fff;
}

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

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

.admin-eyebrow {
    color: var(--am-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-alert {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* Integration status cards */
.integration-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.15rem;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform 0.15s, box-shadow 0.15s;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.integration-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.integration-card.is-connected .integration-icon {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.integration-card.is-pending .integration-icon {
    background: var(--am-red-light);
    color: var(--am-red);
}

.integration-label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.integration-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.integration-card.is-connected .integration-status {
    color: #198754;
}

.integration-card.is-pending .integration-status {
    color: var(--am-gray);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Settings tabs & panels */
.admin-settings-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.55rem 1.1rem;
    color: var(--am-dark);
    font-weight: 500;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: var(--shadow-sm);
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

.admin-settings-tabs .nav-link:hover {
    color: var(--am-red);
    border-color: rgba(var(--am-red-rgb), 0.15);
}

.admin-settings-tabs .nav-link.active {
    background: var(--am-brand-fill);
    color: #fff;
    border-color: var(--am-red);
}

.settings-panel-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.settings-panel-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #fff 0%, var(--am-red-light) 120%);
}

.settings-panel-header.compact {
    padding: 1rem 1.5rem;
}

.settings-panel-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.settings-panel-header p {
    margin: 0;
    color: var(--am-gray);
    font-size: 0.88rem;
}

.settings-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--am-brand-fill);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.settings-panel-icon.small {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.settings-panel-body {
    padding: 1.5rem;
}

.settings-hint-box {
    background: #f8f9fa;
    border: 1px solid #ececec;
    border-left: 4px solid var(--am-red);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #444;
}

.settings-hint-box code {
    word-break: break-all;
    color: var(--am-red-dark);
}

.settings-save-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: sticky;
    bottom: 1rem;
    z-index: 10;
}

.admin-settings-page .admin-save-btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-topbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-topbar-nav {
        justify-content: center;
    }

    .admin-store-link {
        width: 100%;
    }

    .admin-page-header {
        flex-direction: column;
    }

    .admin-save-btn {
        width: 100%;
    }

    .settings-save-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .settings-save-bar .btn {
        width: 100%;
    }
}

/* Admin dashboard stats (existing) */
.admin-dashboard .stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--am-gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card.stat-alert .stat-value {
    color: var(--am-red);
}

.arrival-item {
    border-left: 4px solid var(--am-red) !important;
}

/* Auth */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.25rem 0;
    color: var(--am-gray);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

/* Floating AJAX cart */
.floating-cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: var(--am-brand-fill);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(var(--am-red-rgb), 0.45);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cart-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(var(--am-red-rgb), 0.5);
}

.floating-cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.floating-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    z-index: 1055;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.floating-cart-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.floating-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 25vw;
    min-width: 300px;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart-panel.is-open {
    transform: translateX(0);
}

.floating-cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.floating-cart-panel-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.floating-cart-close {
    border: none;
    background: #f3f4f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
}

.floating-cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0;
}

.floating-cart-panel-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #eee;
    background: #fafafa;
    flex-shrink: 0;
}

.fc-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.fc-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #fff5f6, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-item-initials {
    font-weight: 700;
    color: var(--am-red);
    font-size: 0.85rem;
}

.fc-item-info {
    flex: 1;
    min-width: 0;
}

.fc-item-name {
    display: block;
    font-size: 0.88rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.fc-item-price {
    font-size: 0.78rem;
    color: var(--am-gray);
}

.fc-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 2px;
}

.fc-qty-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: #fff;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: #374151;
}

.fc-qty-val {
    min-width: 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.fc-item-end {
    text-align: right;
    flex-shrink: 0;
}

.fc-item-line {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.fc-remove-btn {
    border: none;
    background: none;
    color: #9ca3af;
    padding: 0;
    cursor: pointer;
    font-size: 0.95rem;
}

.fc-remove-btn:hover {
    color: var(--am-red);
}

body.floating-cart-open {
    overflow: hidden;
}

/* Active order pickup banner */
.active-order-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1045;
    display: block;
    color: inherit;
    background: linear-gradient(135deg, #111 0%, #2a2a2a 100%);
    border-top: 3px solid var(--am-red);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.active-order-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    min-height: 58px;
}

.active-order-banner-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.active-order-banner-main:hover {
    color: #fff;
}

.active-order-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--am-red-rgb), 0.18);
    color: #ff8a9b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.active-order-banner-copy {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.active-order-banner-title {
    display: block;
    font-size: 0.88rem;
    line-height: 1.2;
    font-weight: 700;
}

.active-order-banner-dot {
    opacity: 0.55;
    font-weight: 400;
}

.active-order-banner-meta {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-order-banner-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--am-brand-fill);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
}

.active-order-banner-action:hover,
.active-order-banner-action:focus-visible {
    color: #fff;
    background: var(--am-brand-fill-hover);
    outline: none;
}

.active-order-banner-action:disabled {
    opacity: 0.75;
    cursor: wait;
}

.active-order-banner-call {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--am-brand-fill);
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.active-order-banner-call:hover,
.active-order-banner-call:focus,
.active-order-banner-call:active {
    background: var(--am-brand-fill-hover);
    color: #fff !important;
}

.active-order-banner-call i {
    font-size: 1rem;
    line-height: 1;
}

body.has-active-order-banner {
    padding-bottom: 72px;
}

body.has-active-order-banner .floating-cart-fab {
    bottom: 84px;
}

/* Store closed banner */
.store-closed-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    border-top: 2px solid #f0c040;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.store-closed-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    min-height: 52px;
    color: #7a5b00;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

.store-closed-banner-inner i {
    color: #c99700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

body.has-store-closed-banner {
    padding-bottom: 58px;
}

body.has-store-closed-banner .floating-cart-fab {
    bottom: calc(1.25rem + 58px);
}

body.has-store-closed-banner.has-active-order-banner {
    padding-bottom: calc(72px + 58px);
}

body.has-store-closed-banner.has-active-order-banner .floating-cart-fab {
    bottom: calc(84px + 58px);
}

body.has-store-closed-banner.has-active-order-banner .store-closed-banner {
    bottom: 72px;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-weight: 500;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #202124;
}

.otp-input {
    letter-spacing: 0.5em;
    font-weight: 700;
    font-size: 1.5rem;
}

.admin-subnav .btn {
    border-radius: 999px;
}

/* Legacy - kept for compatibility */
.settings-card {
    border-radius: var(--radius) !important;
}

.settings-card .card-header {
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
}

/* Mobile bottom app nav */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1045;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.15rem;
        min-height: 60px;
        padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #ececec;
        box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
    }

    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-width: 0;
        padding: 0.35rem 0.2rem;
        border-radius: 10px;
        text-decoration: none;
        color: #6b7280;
        font-size: 0.68rem;
        font-weight: 600;
        line-height: 1.1;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav-item i {
        font-size: 1.2rem;
        line-height: 1;
    }

    .mobile-bottom-nav-item:hover,
    .mobile-bottom-nav-item:focus-visible {
        color: var(--am-brand-fill);
        background: rgba(var(--am-red-rgb), 0.06);
        outline: none;
    }

    .mobile-bottom-nav-item.is-active {
        color: var(--am-brand-fill);
    }

    .mobile-bottom-nav-cart-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom-nav-badge,
    .mobile-bottom-nav-item .cart-badge {
        position: absolute;
        top: -0.35rem;
        right: -0.55rem;
        min-width: 1rem;
        height: 1rem;
        padding: 0 0.25rem;
        border-radius: 999px;
        background: var(--am-brand-fill);
        color: #fff;
        font-size: 0.62rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        border: 1.5px solid #fff;
    }

    .mobile-bottom-nav-item .cart-badge.is-empty {
        display: none !important;
    }

    /* Make room for the bottom nav on mobile. */
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    /* Cart is in the bottom nav — hide the floating FAB on mobile. */
    .floating-cart-fab {
        display: none !important;
    }

    /* Keep banners above the bottom nav. */
    .active-order-banner,
    .store-closed-banner {
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    body.has-active-order-banner {
        padding-bottom: calc(64px + 72px + env(safe-area-inset-bottom, 0px));
    }

    body.has-store-closed-banner {
        padding-bottom: calc(64px + 58px + env(safe-area-inset-bottom, 0px));
    }

    body.has-store-closed-banner.has-active-order-banner {
        padding-bottom: calc(64px + 72px + 58px + env(safe-area-inset-bottom, 0px));
    }

    body.has-store-closed-banner.has-active-order-banner .store-closed-banner {
        bottom: calc(60px + 72px + env(safe-area-inset-bottom, 0px));
    }
}

/* Footer */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
}

.site-footer a {
    color: var(--am-gray);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--am-red);
}

.order-map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.order-map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
}

/* Responsive */
@media (max-width: 576px) {
    .hero-section {
        padding: 2.25rem 0 1.75rem;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .product-img {
        height: 130px;
    }

    .im-here-btn {
        width: 100%;
    }

    .floating-cart-panel {
        width: 88vw;
        min-width: 0;
        max-width: none;
    }

    .floating-cart-fab {
        bottom: 16px;
        right: 16px;
    }
}

@media (min-width: 992px) {
    .sticky-lg-top {
        position: sticky;
        top: 140px;
        z-index: 10;
    }
}

/* Fulfillment mode (pickup / delivery) */
.fulfillment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.15rem;
    border-radius: 999px;
    background: #e9e9e9;
}

.fulfillment-toggle-header {
    flex-shrink: 0;
}

.fulfillment-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
}

.fulfillment-toggle-btn i {
    font-size: 0.85rem;
}

.fulfillment-toggle-btn.is-active {
    background: #fff;
    color: var(--am-brand-fill);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.fulfillment-toggle-btn:focus-visible {
    outline: 2px solid rgba(var(--am-red-rgb), 0.35);
    outline-offset: 1px;
}

.floating-cart-fulfillment {
    padding: 0.75rem 1rem 0;
}

.floating-cart-fulfillment .fulfillment-toggle {
    width: 100%;
}

.floating-cart-fulfillment .fulfillment-toggle-btn {
    flex: 1;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    padding: 0.5rem 0.65rem;
}

.floating-cart-fulfillment .fulfillment-toggle-btn span {
    display: inline;
}

.floating-cart-delivery-fee,
.floating-cart-delivery-note {
    display: none;
}

body[data-fulfillment="delivery"] .floating-cart-delivery-fee {
    display: flex;
}

body[data-fulfillment="delivery"] .floating-cart-delivery-note {
    display: block;
}

.fulfillment-modal[hidden] {
    display: none !important;
}

.fulfillment-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.fulfillment-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.62);
    backdrop-filter: blur(2px);
}

.fulfillment-modal-dialog {
    position: relative;
    width: min(460px, 100%);
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.fulfillment-modal-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #111827;
}

.fulfillment-modal-lead {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 1.15rem;
}

.fulfillment-modal-choices {
    display: grid;
    gap: 0.75rem;
}

.fulfillment-choice {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.05rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.fulfillment-choice-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fulfillment-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--am-brand-fill) 12%, #fff);
    color: var(--am-brand-fill);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fulfillment-choice-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.fulfillment-choice-copy strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.fulfillment-choice-copy em {
    font-style: normal;
    color: #6b7280;
    font-size: 0.84rem;
}

.fulfillment-choice-points {
    list-style: none;
    margin: 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid #f3f4f6;
    display: grid;
    gap: 0.45rem;
}

.fulfillment-choice-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #374151;
    font-size: 0.86rem;
    line-height: 1.35;
}

.fulfillment-choice-points i {
    color: var(--am-brand-fill);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.fulfillment-choice:hover,
.fulfillment-choice:focus-visible {
    border-color: var(--am-brand-fill);
    box-shadow: 0 0 0 3px rgba(var(--am-red-rgb), 0.14);
    outline: none;
    transform: translateY(-1px);
}

body.fulfillment-modal-open {
    overflow: hidden;
}

.checkout-fulfillment-panel {
    margin-bottom: 1.25rem;
}

.checkout-mode-fields[hidden] {
    display: none !important;
}

@media (max-width: 991.98px) {
    .site-header-top-meta .site-header-meta-item {
        display: none;
    }

    .site-header-top-meta .fulfillment-toggle {
        display: none;
    }

    .fulfillment-toggle-header .fulfillment-toggle-btn span {
        display: none;
    }

    .fulfillment-toggle-header .fulfillment-toggle-btn {
        padding: 0.4rem 0.55rem;
    }

    /* Icon-only in header/checkout compact toggles — keep labels in floating cart */
    .fulfillment-toggle-btn span {
        display: none;
    }

    .floating-cart-fulfillment .fulfillment-toggle-btn span {
        display: inline;
    }

    .fulfillment-toggle-btn {
        padding: 0.4rem 0.55rem;
    }

    .floating-cart-fulfillment .fulfillment-toggle-btn {
        gap: 0.28rem;
        font-size: 0.68rem;
        padding: 0.42rem 0.45rem;
    }

    .floating-cart-fulfillment .fulfillment-toggle-btn i {
        font-size: 0.78rem;
    }
}

/* Cookie consent banner */
.cookie-consent-banner[hidden] {
    display: none !important;
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 0.85rem;
    z-index: 10060;
    max-width: none;
    width: auto;
    margin: 0 auto;
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    border: 2px solid var(--am-brand-fill);
    box-shadow:
        0 12px 32px rgba(17, 24, 39, 0.12),
        0 0 0 4px rgba(var(--am-red-rgb), 0.08);
}

.cookie-consent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 8px;
    background: var(--am-red-light);
    color: var(--am-brand-fill);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cookie-consent-copy {
    min-width: 0;
    flex: 1;
}

.cookie-consent-copy strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.05rem;
    color: var(--am-brand-fill);
}

.cookie-consent-copy p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.3;
    color: #4b5563;
}

.cookie-consent-dismiss {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.65rem;
    border: 1px solid rgba(var(--am-red-rgb), 0.22);
    border-radius: 999px;
    background: var(--am-red-light);
    color: var(--am-brand-fill);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cookie-consent-dismiss:hover,
.cookie-consent-dismiss:focus-visible {
    background: var(--am-brand-fill);
    border-color: var(--am-brand-fill);
    color: #fff;
    outline: none;
}

/* Tablet + desktop: one single line using full width */
@media (min-width: 768px) {
    .cookie-consent-banner {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1rem;
    }

    .cookie-consent-copy {
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 0.4rem;
        white-space: nowrap;
        overflow: hidden;
    }

    .cookie-consent-copy strong {
        display: inline;
        margin: 0;
        flex-shrink: 0;
    }

    .cookie-consent-copy strong::after {
        content: ' —';
        font-weight: 700;
    }

    .cookie-consent-copy p {
        display: inline;
        white-space: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
    .cookie-consent-copy strong {
        font-size: 0.72rem;
    }

    .cookie-consent-copy p {
        font-size: 0.65rem;
    }
}

/* Mobile: allow 2 lines */
@media (max-width: 767.98px) {
    .cookie-consent-banner {
        left: 0.55rem;
        right: 0.55rem;
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent-inner {
        gap: 0.4rem;
        padding: 0.35rem 0.55rem;
    }

    .cookie-consent-copy p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

body.has-cookie-consent-banner {
    padding-bottom: 3.5rem;
}

@media (max-width: 767.98px) {
    body.has-cookie-consent-banner {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
}
