/* =============================================
   ABAK MARKET v2 — COMPONENTS
   ============================================= */
@import url("./theme.0ab8176dccb3.css");

/* ─────────────────────────────────────────────
   APP HEADER
───────────────────────────────────────────── */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--clr-card);
    border-bottom: 1px solid var(--clr-border);
    z-index: 900;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 0 var(--sp-3);
    max-width: 100%;
    box-shadow: 0 1px 12px var(--clr-shadow);
}

.app-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    text-decoration: none;
}

.app-header__logo img {
    height: 36px;
    width: 36px;
    border-radius: var(--r-sm);
    object-fit: cover;
}

.app-header__logo-text {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 800;
    color: var(--clr-text);
    white-space: nowrap;
    display: none;
}

@media (min-width: 380px) {
    .app-header__logo-text {
        display: block;
    }
}

/* Search */
.app-header__search {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrap {
    position: relative;
    width: 100%;
}

.search-input-wrap svg {
    position: absolute;
    left: var(--sp-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-text-light);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

.search-input {
    width: 100%;
    padding: var(--sp-2) var(--sp-3) var(--sp-2) 40px;
    border: 1.5px solid var(--clr-border-mid);
    border-radius: var(--r-pill);
    background: var(--clr-bg);
    font-size: var(--text-sm);
    color: var(--clr-text);
    outline: none;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.search-input:focus {
    border-color: var(--clr-accent-soft);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, .18);
    background: #fff;
}

.search-input::placeholder {
    color: var(--clr-text-light);
}

/* Cart icon button */
.app-header__cart {
    flex-shrink: 0;
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    border: 1.5px solid var(--clr-border-mid);
    background: var(--clr-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text);
    transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.app-header__cart:hover,
.app-header__cart:active {
    background: var(--clr-bg-alt);
    border-color: var(--clr-accent-soft);
}

.app-header__cart svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--clr-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: transform var(--dur-fast) var(--ease-spring);
}

.cart-badge.bump {
    transform: scale(1.35);
}

/* ─────────────────────────────────────────────
   SEARCH SUGGESTIONS DROPDOWN
───────────────────────────────────────────── */
.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-raised);
    z-index: 950;
    overflow: hidden;
    display: none;
    max-height: 340px;
    overflow-y: auto;
}

.search-suggestions.open {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
    cursor: pointer;
    transition: background var(--dur-fast) ease;
    border-bottom: 1px solid var(--clr-border);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--clr-bg);
}

.suggestion-img {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--clr-bg-alt);
}

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

.suggestion-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-size: var(--text-xs);
    color: var(--clr-accent);
    font-weight: 700;
    margin-top: 2px;
}

.suggestion-add {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: var(--clr-accent);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.suggestion-add:hover {
    background: var(--clr-accent-dark);
    transform: scale(1.08);
}

/* ─────────────────────────────────────────────
   BOTTOM NAVIGATION
───────────────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: var(--clr-card);
    border-top: 1px solid var(--clr-border);
    display: flex;
    z-index: 900;
    box-shadow: 0 -4px 20px var(--clr-shadow);
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--clr-text-light);
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--dur-fast) ease;
    padding-bottom: env(safe-area-inset-bottom, 0);
    position: relative;
}

.bottom-nav__item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    transition: stroke var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}

.bottom-nav__item.active {
    color: var(--clr-accent);
}

.bottom-nav__item.active svg {
    stroke: var(--clr-accent);
    transform: translateY(-2px);
}

/* cart badge on bottom nav */
.bottom-nav__item .nav-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 20px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--clr-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: var(--r-pill);
    display: none;
    align-items: center;
    justify-content: center;
}

.bottom-nav__item .nav-badge.show {
    display: flex;
}

/* ─────────────────────────────────────────────
   PRODUCT CARD
───────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--card-gap);
}

@media (min-width: 460px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: var(--clr-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}

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

.product-card__img-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--clr-bg-alt);
}

.product-card__img-wrap a {
    position: absolute;
    inset: 0;
}

.product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) ease;
}

.product-card:hover .product-card__img {
    transform: scale(1.04);
}

.product-card__badge {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    padding: 3px 8px;
    border-radius: var(--r-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
}

.badge-promo {
    background: var(--clr-red);
    color: #fff;
}

.badge-new {
    background: var(--clr-accent);
    color: #fff;
}

.badge-hot {
    background: #ff7d00;
    color: #fff;
}

.product-card__body {
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--sp-1);
}

.product-card__name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__weight {
    font-size: var(--text-xs);
    color: var(--clr-text-light);
}

.product-card__footer {
    margin-top: auto;
    padding-top: var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-1);
}

.product-card__prices {
    display: flex;
    flex-direction: column;
}

.product-card__price {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--clr-text);
}

.product-card__old-price {
    font-size: var(--text-xs);
    color: var(--clr-text-light);
    text-decoration: line-through;
}

.add-to-cart-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) ease;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.35);
}

.add-to-cart-btn:hover {
    background: #219a52;
    box-shadow: 0 5px 14px rgba(39, 174, 96, 0.45);
}

.add-to-cart-btn:active {
    transform: scale(0.88);
}

.add-to-cart-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

.add-to-cart-btn.added {
    background: #1e8449;
}

/* ─────────────────────────────────────────────
   CATEGORY CHIPS
───────────────────────────────────────────── */
.chips-scroll {
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--sp-3) 0;
}

.chips-scroll::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px var(--sp-3);
    border-radius: var(--r-pill);
    border: 1.5px solid var(--clr-border-mid);
    background: var(--clr-card);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text-mid);
    transition: all var(--dur-fast) ease;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.chip:hover {
    border-color: var(--clr-accent-soft);
    color: var(--clr-accent);
}

.chip.active,
.chip[aria-selected="true"] {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
}

/* ─────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-3);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--clr-text);
}

.section-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-accent);
}

/* Horizontal scroll section */
.scroll-section {
    display: flex;
    gap: var(--sp-3);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--sp-2);
}

.scroll-section::-webkit-scrollbar {
    display: none;
}

.scroll-section .product-card {
    flex: 0 0 160px;
    max-width: 172px;
}

@media (min-width: 400px) {
    .scroll-section .product-card {
        flex: 0 0 172px;
    }
}

/* ─────────────────────────────────────────────
   PAGE SECTION
───────────────────────────────────────────── */
.page-section {
    padding: var(--sp-5) 0 var(--sp-2);
}

/* ─────────────────────────────────────────────
   CART DRAWER
───────────────────────────────────────────── */

/* Prevent background page scrolling when modal/drawer is open */
body.modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    /* iOS: prevent rubber-band on body behind the drawer */
    position: fixed;
    width: 100%;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* vh fallback + dvh for mobile Safari address-bar resilience */
    height: min(92vh, 760px);
    height: min(92dvh, 760px);
    background: var(--clr-card);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* keeps scroll/footer inside rounded corners */
    transform: translateY(110%);
    transition: transform var(--dur-slow) var(--ease-spring);
    max-width: var(--page-max);
    margin: 0 auto;
}

.cart-drawer.open {
    transform: translateY(0);
}

.drawer-handle {
    width: 40px;
    height: 4px;
    background: var(--clr-border-mid);
    border-radius: var(--r-pill);
    margin: 12px auto 0;
    flex-shrink: 0;
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-3) var(--sp-5) var(--sp-4);
    flex-shrink: 0;
}

.cart-drawer__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
}

.cart-drawer__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--clr-bg-alt);
    font-size: 20px;
    color: var(--clr-text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast) ease;
}

.cart-drawer__close:hover {
    background: var(--clr-border-mid);
}

/* ── Scrollable body (cart-drawer__content) ── */
.cart-drawer__content {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* prevent pull-to-refresh / scroll chaining */
    /* padding-bottom reserves space so last items aren't behind the footer */
    padding-bottom: 12px;
}

.cart-drawer__items {
    padding: 0 var(--sp-4);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-10) 0;
    color: var(--clr-text-light);
}

.cart-empty svg {
    width: 56px;
    height: 56px;
    stroke: currentColor;
    opacity: .35;
}

.cart-empty p {
    font-size: var(--text-base);
    font-weight: 600;
}

.cart-item {
    display: flex;
    gap: var(--sp-3);
    align-items: center;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--clr-border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__img {
    width: 60px;
    height: 60px;
    border-radius: var(--r-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--clr-bg-alt);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-size: var(--text-sm);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__price {
    font-size: var(--text-xs);
    color: var(--clr-accent);
    font-weight: 700;
    margin-top: 2px;
}

.cart-item__controls {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-2);
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: var(--r-xs);
    background: var(--clr-bg-alt);
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur-fast) ease;
}

.qty-btn:hover {
    background: var(--clr-border-mid);
}

.cart-item__qty {
    font-size: var(--text-sm);
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.cart-item__remove {
    margin-left: auto;
    font-size: var(--text-xs);
    color: var(--clr-text-light);
    font-weight: 600;
}

/* Footer always visible, never overlaps body */
.cart-drawer__footer {
    flex: 0 0 auto;
    border-top: 1px solid var(--clr-border);
    background: var(--clr-card);
    padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom, 0));
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-3);
}

.cart-total-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text-mid);
}

.cart-total-value {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--clr-text);
}

/* Receiver card */
.receiver-card {
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border-mid);
    border-radius: var(--r-md);
    padding: var(--sp-3) var(--sp-4);
    margin-bottom: var(--sp-3);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}

.receiver-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.receiver-card__info {
    flex: 1;
    min-width: 0;
}

.receiver-card__name {
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: 2px;
}

.receiver-card__detail {
    font-size: var(--text-xs);
    color: var(--clr-text-mid);
    line-height: 1.5;
}

.receiver-card__edit {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--clr-accent);
    flex-shrink: 0;
}

.fill-receiver-btn {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    border: 1.5px dashed var(--clr-accent-soft);
    border-radius: var(--r-md);
    background: rgba(196, 165, 116, .08);
    color: var(--clr-accent);
    font-size: var(--text-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
    transition: background var(--dur-fast) ease;
}

.fill-receiver-btn:hover {
    background: rgba(196, 165, 116, .14);
}

.btn-whatsapp {
    width: 100%;
    padding: var(--sp-4);
    background: var(--clr-wa);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 800;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
}

.btn-whatsapp:hover:not(:disabled) {
    background: #1da851;
}

.btn-whatsapp:active:not(:disabled) {
    transform: scale(0.97);
}

.btn-whatsapp:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ─────────────────────────────────────────────
   BOTTOM SHEETS (Filter / Receiver)
───────────────────────────────────────────── */
.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(3px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) ease;
}

.sheet-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--clr-card);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    z-index: 1101;
    padding: 0 var(--sp-5) calc(var(--sp-6) + env(safe-area-inset-bottom, 0));
    transform: translateY(110%);
    transition: transform var(--dur-slow) var(--ease-spring);
    max-width: var(--page-max);
    margin: 0 auto;
    max-height: 85vh;
    overflow-y: auto;
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4) 0 var(--sp-4);
    position: sticky;
    top: 0;
    background: var(--clr-card);
}

.sheet-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
}

.sheet-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--clr-bg-alt);
    font-size: 18px;
    color: var(--clr-text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form fields in sheets */
.field-group {
    margin-bottom: var(--sp-4);
}

.field-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--clr-text-mid);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: var(--sp-2);
}

.field-input {
    width: 100%;
    padding: 13px var(--sp-4);
    border: 1.5px solid var(--clr-border-mid);
    border-radius: var(--r-md);
    background: var(--clr-bg);
    font-size: var(--text-base);
    color: var(--clr-text);
    outline: none;
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field-input:focus {
    border-color: var(--clr-accent-soft);
    box-shadow: 0 0 0 3px rgba(196, 165, 116, .18);
    background: #fff;
}

.field-note {
    font-size: var(--text-xs);
    color: var(--clr-text-light);
    margin-top: 4px;
    padding-left: 2px;
}

.btn-primary {
    width: 100%;
    padding: 16px var(--sp-4);
    background: var(--clr-accent);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 800;
    border-radius: var(--r-lg);
    transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.btn-primary:hover {
    background: var(--clr-accent-dark);
}

.btn-primary:active {
    transform: scale(0.97);
}

/* Filter groups */
.filter-group {
    margin-bottom: var(--sp-5);
}

.filter-group-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--clr-text-mid);
    margin-bottom: var(--sp-3);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

/* ─────────────────────────────────────────────
   PROMO SLIDER / BANNERS
───────────────────────────────────────────── */
.promo-slider {
    display: flex;
    gap: var(--sp-3);
    overflow-x: auto;
    scrollbar-width: none;
    padding: var(--sp-3) 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.promo-slider::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 87%;
    max-width: 340px;
    scroll-snap-align: start;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: flex-end;
}

.promo-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.promo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(43, 30, 18, .05) 0%, rgba(43, 30, 18, .65) 100%);
}

.promo-card__body {
    position: relative;
    z-index: 1;
    padding: var(--sp-4);
    color: #fff;
}

.promo-card__label {
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    background: var(--clr-accent);
    padding: 3px 10px;
    border-radius: var(--r-pill);
    display: inline-block;
    margin-bottom: var(--sp-2);
}

.promo-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--sp-1);
}

.promo-card__sub {
    font-size: var(--text-xs);
    opacity: .85;
}

/* ─────────────────────────────────────────────
   QUICK CATEGORIES GRID
───────────────────────────────────────────── */
.quick-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-2);
}

.quick-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: var(--sp-3) var(--sp-2);
    background: var(--clr-card);
    border-radius: var(--r-md);
    border: 1.5px solid var(--clr-border);
    text-align: center;
    transition: border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
    text-decoration: none;
}

.quick-cat:hover {
    border-color: var(--clr-accent-soft);
    transform: translateY(-2px);
}

.quick-cat__icon {
    font-size: 1.6rem;
    line-height: 1;
}

.quick-cat__name {
    font-size: 10px;
    font-weight: 700;
    color: var(--clr-text-mid);
    line-height: 1.2;
}

/* ─────────────────────────────────────────────
   TOAST NOTIFICATION
───────────────────────────────────────────── */
.toast {
    position: fixed;
    top: calc(var(--header-h) + var(--sp-3));
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: var(--clr-text);
    color: #fff;
    padding: var(--sp-2) var(--sp-5);
    border-radius: var(--r-pill);
    font-size: var(--text-sm);
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease;
    white-space: nowrap;
    box-shadow: var(--shadow-raised);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─────────────────────────────────────────────
   SIZO CART ADDITIONS (Phase 8-10)
───────────────────────────────────────────── */
.cart-info-block {
    background: rgba(43, 30, 18, .04);
    border-radius: var(--r-md);
    padding: var(--sp-3);
    margin: var(--sp-2) var(--sp-4) var(--sp-4);
    font-size: var(--text-sm);
    color: var(--clr-text-mid);
    line-height: 1.4;
}

.cart-section {
    padding: var(--sp-4) var(--sp-4);
    border-bottom: 8px solid rgba(43, 30, 18, .03);
}

.cart-section:last-child {
    border-bottom: none;
}

.cart-section-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 800;
    margin-bottom: var(--sp-3);
    color: var(--clr-text);
}

/* Radio buttons for Policy */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text-mid);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--clr-accent);
}

/* Review Checklist */
.review-checklist {
    background: rgba(196, 165, 116, .08);
    border: 1.5px solid var(--clr-accent-soft);
    border-radius: var(--r-md);
    padding: var(--sp-3);
    margin-bottom: var(--sp-4);
}

/* Header row: title + "Подробнее" button */
.checklist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
}

.checklist-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--clr-accent);
    letter-spacing: .5px;
}

.checklist-more-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: var(--r-xs);
    transition: background var(--dur-fast) ease, opacity var(--dur-fast) ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.checklist-more-btn:hover {
    background: rgba(196, 165, 116, .18);
}

/* Compact dot row (always visible) */
.checklist-icons-row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.check-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--clr-border-mid);
    display: inline-block;
    transition: background var(--dur-fast) ease;
    flex-shrink: 0;
}

.check-dot.ok {
    background: #27ae60;
}

/* Expandable details panel */
.checklist-details {
    margin-top: 10px;
    border-top: 1px solid var(--clr-accent-soft);
    padding-top: 10px;
}

/* Individual check items */
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text-light);
    margin-bottom: 6px;
    transition: color var(--dur-fast);
}

.check-item:last-of-type {
    margin-bottom: 0;
}

.check-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item.checked {
    color: var(--clr-text);
}

.check-item.checked .check-icon {
    border-color: #27ae60;
    background: #27ae60;
}

.check-item.checked .check-icon::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.cart-empty-state {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    align-items: center;
    justify-content: center;
}