/* =====================================================================
   INFLUHKS — MOBILE NATIVE APP CSS  (v2 — pixel-matched to screenshots)
   Completely separate from desktop. No shared CSS with storefront.css.
   ===================================================================== */

/* ── Reset ────────────────────────────────────────────────────────── */
.mob-html *, .mob-html *::before, .mob-html *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.mob-html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ── Base Body ────────────────────────────────────────────────────── */
.mob-body {
    font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: #FFFFFF;          /* white — cart/profile pages override to cream */
    color: #1A1A1A;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
}

/* ── Main Area ────────────────────────────────────────────────────── */
.mob-main {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    min-height: calc(100vh - 56px);
    -webkit-overflow-scrolling: touch;
    animation: mobIn .2s ease both;
}
@keyframes mobIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

/* ── Bottom Tab Bar ───────────────────────────────────────────────── */
.mob-tab-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: calc(62px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #FFFFFF;
    border-top: 1px solid rgba(0,0,0,0.07);
    display: flex;
    align-items: flex-start;
    padding-top: 8px;
    z-index: 1000;
    box-shadow: 0 -1px 12px rgba(0,0,0,0.05);
}

.mob-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #BBBBBB;
    padding: 0 2px;
    position: relative;
    transition: color .15s;
}

.mob-tab-item--active { color: #0C0C0C; }

/* Active indicator — thin black line at very top of nav bar */
.mob-tab-item--active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: #0C0C0C;
    border-radius: 0 0 2px 2px;
}

.mob-tab-icon {
    font-size: 22px;
    line-height: 1;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-tab-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.mob-tab-badge {
    position: absolute;
    top: -4px;
    right: calc(50% - 20px);
    background: #0C0C0C;
    color: #FFF;
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ── Headers ──────────────────────────────────────────────────────── */
.mob-header-home {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    background: #FFFFFF;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 900;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mob-header-logo {
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: #0C0C0C;
    text-decoration: none;
    text-indent: 0.22em;
}

.mob-header-icon-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    color: #0C0C0C; font-size: 18px;
    background: transparent; border: none; cursor: pointer;
}

/* Inner page header: [←] [TITLE] [action] */
.mob-header-inner {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    background: #FFFFFF;
    height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 0 6px;
    z-index: 900;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mob-header-back {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #0C0C0C;
    background: transparent; border: none; cursor: pointer;
    text-decoration: none;
}

.mob-header-title {
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0C0C0C;
}

.mob-header-action {
    display: flex; align-items: center; justify-content: flex-end;
}

.mob-header-action-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #0C0C0C;
    background: transparent; border: none; cursor: pointer;
    text-decoration: none;
}

.mob-header-action-text {
    font-size: 13.5px; font-weight: 500;
    color: #0C0C0C; text-decoration: none;
    padding-right: 2px;
}

/* ── Search Bar ───────────────────────────────────────────────────── */
.mob-search-wrap {
    padding: 10px 16px 12px;
    background: #FFFFFF;
}

.mob-search-bar {
    display: flex; align-items: center; gap: 10px;
    background: #F0EFEA;
    border-radius: 10px;
    padding: 0 14px;
    height: 44px;
    text-decoration: none;
    color: inherit;
}

.mob-search-icon { font-size: 13px; color: #AAAAAA; flex-shrink: 0; }

.mob-search-input {
    flex: 1;
    border: none; background: transparent;
    font-size: 14px; color: #AAAAAA;
    outline: none; font-family: inherit;
    cursor: pointer;
}

.mob-search-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mob-search-action-icon { font-size: 15px; color: #AAAAAA; }

/* ── Promo / Hero Banner ──────────────────────────────────────────── */
.mob-promo-wrap {
    padding: 10px 16px 6px;
    background: #FFFFFF;
}

.mob-promo-card {
    background: #8A7B64;      /* warm olive-tan — matches screenshot */
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 145px;
    position: relative;
}

.mob-promo-content {
    flex: 1;
    padding: 18px 14px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    max-width: 53%;
    z-index: 2;
}

.mob-promo-tag {
    font-size: 8px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,.65);
}

.mob-promo-title {
    font-size: 23px; font-weight: 800;
    color: #FFFFFF; line-height: 1.05;
    font-family: 'Sora', sans-serif;
}

.mob-promo-desc {
    font-size: 10.5px; color: rgba(255,255,255,.82); line-height: 1.4;
    margin-top: 2px;
}

.mob-promo-btn {
    display: inline-flex; align-items: center;
    background: #FFFFFF; color: #0C0C0C;
    font-size: 11px; font-weight: 700; letter-spacing: .05em;
    padding: 7px 14px; border-radius: 6px;
    text-decoration: none; margin-top: 8px; width: fit-content;
    transition: transform .15s;
}
.mob-promo-btn:active { transform: scale(.96); }

.mob-promo-images {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 50%;
    overflow: hidden;
}

.mob-promo-image-stack { position: relative; height: 100%; }

.mob-promo-img {
    position: absolute; bottom: 0;
    height: 95%; width: auto; object-fit: cover;
}

.mob-promo-img:first-child  { right: 38%; z-index: 2; }
.mob-promo-img:nth-child(2) { right: 0;   z-index: 1; }

.mob-promo-dots {
    display: flex; gap: 5px;
    justify-content: flex-end;
    padding: 7px 2px 2px;
}

.mob-promo-dot {
    width: 7px; height: 7px;
    border-radius: 50%; background: #CCCCCC;
}

.mob-promo-dot--active {
    background: #0C0C0C;
    width: 20px; border-radius: 4px;
}

/* ── Section Divider ──────────────────────────────────────────────── */
.mob-section-divider { height: 8px; background: #F5F3EF; }

/* ── Section Headers ──────────────────────────────────────────────── */
.mob-section { padding: 18px 16px 0; }

.mob-section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}

.mob-section-title { font-size: 16px; font-weight: 700; color: #0C0C0C; }
.mob-section-link  { font-size: 12px; font-weight: 500; color: #888; text-decoration: none; }

/* ── Category Thumbnails — ROUNDED RECTANGLE (matches screenshots) ── */
.mob-categories-scroll {
    display: flex; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 12px 18px;
    gap: 6px;
}
.mob-categories-scroll::-webkit-scrollbar { display: none; }

.mob-cat-item {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    flex-shrink: 0; width: 68px;
    text-decoration: none; color: #0C0C0C;
    padding: 0 3px;
}

/* KEY FIX: portrait rounded rectangle — not a circle */
.mob-cat-thumb {
    width: 58px;
    height: 68px;
    border-radius: 12px;          /* rounded rect, NOT 50% */
    overflow: hidden;
    background: #ECEAE6;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .18s;
}
.mob-cat-item:active .mob-cat-thumb { transform: scale(.93); }

.mob-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mob-cat-thumb-initial {
    font-size: 22px; font-weight: 700; color: #777;
}

.mob-cat-label {
    font-size: 11.5px; font-weight: 500; color: #444;
    text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 64px;
}

/* ── Product Grid ─────────────────────────────────────────────────── */
.mob-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 20px;
}

.mob-product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .18s;
}
.mob-product-card:active { transform: scale(.97); }

.mob-product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #EBEBEB;         /* match the light gray in screenshots */
}

.mob-product-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.mob-product-wish {
    position: absolute; top: 8px; right: 8px;
    width: 30px; height: 30px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #888;
    border: none; cursor: pointer; z-index: 2;
}

/* "New" / "Popular" badge — bottom-left of image */
.mob-product-badge {
    position: absolute; bottom: 9px; left: 9px;
    background: rgba(60,56,52,.75);
    color: #FFF;
    font-size: 9px; font-weight: 700; letter-spacing: .07em;
    padding: 3px 8px; border-radius: 4px;
    text-transform: capitalize;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

/* Price badge — bottom-right of image */
.mob-product-price-badge {
    position: absolute; bottom: 9px; right: 9px;
    background: rgba(255,255,255,.92);
    color: #0C0C0C;
    font-size: 12px; font-weight: 700;
    padding: 3px 8px; border-radius: 6px;
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

.mob-product-info { padding: 9px 10px 12px; }

.mob-product-name {
    font-size: 12.5px; font-weight: 500; color: #333;
    line-height: 1.4; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.mob-product-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #888; }
.mob-product-stars  { color: #1A1A1A; }

/* ── White section wrapper ────────────────────────────────────────── */
.mob-white-bg { background: #FFFFFF; }

/* ── Product Detail ───────────────────────────────────────────────── */
.mob-pd-image-wrap {
    position: relative; background: #F0EFEB;
}

.mob-pd-main-image {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover; display: block;
}

.mob-pd-price-chip {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #0C0C0C;
    font-size: 17px; font-weight: 700;
    padding: 8px 14px; border-radius: 10px;
}

.mob-pd-thumbnails {
    display: flex; gap: 8px; padding: 10px 16px;
    overflow-x: auto; scrollbar-width: none;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.mob-pd-thumbnails::-webkit-scrollbar { display: none; }

.mob-pd-thumb {
    width: 54px; height: 54px;
    object-fit: cover; border-radius: 8px;
    flex-shrink: 0; cursor: pointer;
    border: 2px solid transparent; background: #F0EFEC;
    transition: border-color .15s;
}
.mob-pd-thumb.is-active { border-color: #0C0C0C; }

.mob-pd-info { padding: 16px 16px 110px; background: #FFFFFF; }

.mob-pd-title { font-size: 17px; font-weight: 700; color: #0C0C0C; line-height: 1.35; margin-bottom: 6px; }

.mob-pd-meta-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mob-pd-sold     { font-size: 12px; color: #888; }
.mob-pd-rating   { font-size: 13px; font-weight: 700; color: #0C0C0C; display: flex; align-items: center; gap: 3px; }

.mob-pd-options-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px;
}

.mob-pd-option-card { border: 1px solid rgba(0,0,0,.1); border-radius: 10px; padding: 12px; }
.mob-pd-option-label { font-size: 10px; font-weight: 700; color: #888; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

.mob-color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.mob-color-swatch {
    width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent; outline-offset: 2px;
    transition: all .15s;
}
.mob-color-swatch.is-active { outline-color: #0C0C0C; }

.mob-size-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.mob-size-pill {
    height: 34px; min-width: 38px;
    border: 1px solid #E0E0E0; border-radius: 6px;
    font-size: 12px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; padding: 0 8px;
    cursor: pointer; background: #FFF; color: #0C0C0C;
    transition: all .15s; font-family: inherit;
}
.mob-size-pill.is-active { background: #0C0C0C; color: #FFF; border-color: #0C0C0C; }

.mob-pd-tabs {
    display: flex; border-bottom: 1px solid rgba(0,0,0,.08); margin-bottom: 14px;
}
.mob-pd-tab {
    flex: 1; padding: 10px 0; text-align: center;
    font-size: 13px; font-weight: 600; color: #888;
    border: none; background: transparent; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    font-family: inherit; transition: all .15s;
}
.mob-pd-tab.is-active { color: #0C0C0C; border-bottom-color: #0C0C0C; }
.mob-pd-desc { font-size: 13px; color: #555; line-height: 1.7; }

.mob-add-to-cart-bar {
    position: fixed;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    padding: 10px 16px;
    background: #FFFFFF;
    border-top: 1px solid rgba(0,0,0,.06);
    z-index: 500;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.mob-btn-black {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 54px;
    background: #0C0C0C; color: #FFFFFF;
    font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    border: none; border-radius: 8px;
    cursor: pointer; font-family: inherit; text-decoration: none;
    transition: transform .12s;
}
.mob-btn-black:active { transform: scale(.98); }
.mob-btn-black:hover  { color: #FFFFFF; }

.mob-btn-outline {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 54px;
    background: transparent; color: #0C0C0C;
    font-size: 12.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    border: 1.5px solid #0C0C0C; border-radius: 8px;
    cursor: pointer; font-family: inherit;
    transition: transform .12s;
}
.mob-btn-outline:active { transform: scale(.98); }

.mob-action-bar {
    position: fixed;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    padding: 10px 16px;
    background: #FFFFFF;
    border-top: 1px solid rgba(0,0,0,.06);
    z-index: 500;
    box-shadow: 0 -4px 16px rgba(0,0,0,.05);
}

/* ── Cart Page ────────────────────────────────────────────────────── */
.mob-cart-page {
    background: #F2EBE1;          /* cream background — matches screenshot 7 */
    min-height: 100vh;
}

.mob-deliver-card {
    display: flex; align-items: center; gap: 10px;
    background: #FFFFFF;
    margin: 12px 16px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.07);
    text-decoration: none; color: #0C0C0C;
}
.mob-deliver-icon    { color: #888; font-size: 15px; flex-shrink: 0; }
.mob-deliver-address { flex: 1; font-size: 13px; color: #333; }
.mob-deliver-arrow   { color: #CCCCCC; font-size: 11px; flex-shrink: 0; }

/* KEY FIX: each cart item = its own floating white card */
.mob-cart-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin: 0 16px 10px;
    padding: 13px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 1px 5px rgba(0,0,0,.07);
    position: relative;
}

.mob-cart-item-img {
    width: 70px; height: 84px;
    object-fit: cover; border-radius: 8px;
    background: #EBEBEB; flex-shrink: 0;
}

.mob-cart-item-body {
    flex: 1; min-width: 0;
    padding-right: 22px;            /* room for × button */
    display: flex; flex-direction: column;
}

.mob-cart-item-name {
    font-size: 13px; font-weight: 600; color: #0C0C0C;
    line-height: 1.35; margin-bottom: 3px;
}

.mob-cart-item-meta { font-size: 11.5px; color: #888; margin-bottom: 8px; }

/* Bottom row of cart item: price LEFT, qty RIGHT */
.mob-cart-item-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.mob-cart-item-price { font-size: 15px; font-weight: 700; color: #0C0C0C; }

.mob-cart-qty-row {
    display: inline-flex; align-items: center;
    background: #F5F2EE; border-radius: 8px; overflow: hidden;
}

.mob-cart-qty-btn {
    width: 32px; height: 32px;
    border: none; background: transparent;
    font-size: 17px; color: #0C0C0C;
    cursor: pointer; font-family: inherit; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}

.mob-cart-qty-val {
    min-width: 32px; text-align: center;
    font-size: 13.5px; font-weight: 600; color: #0C0C0C;
}

/* × remove — absolute top-right of the card */
.mob-cart-item-remove {
    position: absolute; top: 10px; right: 10px;
    background: transparent; border: none;
    font-size: 16px; color: #BBBBBB;
    cursor: pointer; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
}

/* Coupon input row */
.mob-coupon-wrap { background: #F2EBE1; padding: 0 16px 10px; }

.mob-coupon-row {
    display: flex; border-radius: 10px;
    border: 1px solid rgba(0,0,0,.1); overflow: hidden; height: 48px;
    background: #FFFFFF;
}

.mob-coupon-input {
    flex: 1; border: none; outline: none;
    padding: 0 14px; font-size: 13.5px; font-family: inherit;
    color: #0C0C0C; background: transparent;
    user-select: text; -webkit-user-select: text;
}
.mob-coupon-input::placeholder { color: #BBBBBB; }

.mob-coupon-btn {
    background: #0C0C0C; color: #FFF;
    border: none; padding: 0 20px;
    font-size: 13px; font-weight: 700;
    cursor: pointer; font-family: inherit;
}

/* Cart order summary */
.mob-cart-summary-wrap {
    background: #FFFFFF;
    margin: 0 0 80px;
    padding: 18px 20px 20px;
}

.mob-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 0; font-size: 14px; color: #555;
}
.mob-summary-divider { height: 1px; background: rgba(0,0,0,.07); margin: 8px 0; }
.mob-summary-row.is-total { font-size: 15.5px; font-weight: 700; color: #0C0C0C; }

/* ── Profile / Account Page ───────────────────────────────────────── */
.mob-profile-page {
    background: #F2EBE1;           /* cream — matches screenshot 6 */
    min-height: 100vh;
    padding-bottom: 24px;
}

.mob-profile-card {
    background: #FFFFFF;
    border-radius: 16px;
    margin: 12px 16px;
    padding: 20px 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: relative;
    overflow: hidden;
}

.mob-profile-edit-link {
    position: absolute; top: 16px; right: 16px;
    font-size: 13px; font-weight: 500; color: #0C0C0C; text-decoration: none;
}

.mob-profile-avatar-area {
    display: flex; flex-direction: column; align-items: center; padding-bottom: 14px;
}

.mob-profile-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: #3A3A3A;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #FFF;
    overflow: hidden; margin-bottom: 12px; font-family: inherit;
}
.mob-profile-avatar img { width:100%;height:100%;object-fit:cover; }

.mob-profile-name  { font-size: 17px; font-weight: 700; color: #0C0C0C; margin-bottom: 3px; }
.mob-profile-email { font-size: 12px; color: #888; margin-bottom: 6px; }
.mob-profile-link  { font-size: 12px; color: #888; text-decoration: none; }

.mob-profile-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    border-top: 1px solid rgba(0,0,0,.06);
}

.mob-profile-stat {
    text-align: center; padding: 14px 0;
    border-right: 1px solid rgba(0,0,0,.06);
}
.mob-profile-stat:last-child { border-right: none; }
.mob-profile-stat-val   { font-size: 20px; font-weight: 700; color: #0C0C0C; display: block; margin-bottom: 2px; }
.mob-profile-stat-label { font-size: 10.5px; color: #888; }

/* Account menu sections */
.mob-menu-section {
    background: #FFFFFF;
    margin: 8px 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.mob-menu-section-title {
    font-size: 9.5px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    color: #999; padding: 12px 16px 5px;
}

.mob-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    text-decoration: none; color: #0C0C0C;
    border-top: 1px solid rgba(0,0,0,.04);
    transition: background .12s;
    min-height: 50px; background: #FFFFFF;
    width: 100%; font-family: inherit;
    font-size: 14px; font-weight: 400; cursor: pointer;
    text-align: left; border-left: none; border-right: none; border-bottom: none;
}
.mob-menu-item:first-of-type { border-top: none; }
.mob-menu-item:active { background: rgba(0,0,0,.02); }
.mob-menu-item-label  { flex: 1; font-size: 14px; font-weight: 400; color: #1A1A1A; }
.mob-menu-arrow       { font-size: 11px; color: #CCC; }

/* Toggle switch (Notification / Dark Mode) */
.mob-menu-toggle {
    width: 44px; height: 26px;
    background: #DDDDDD; border-radius: 13px;
    position: relative; cursor: pointer; border: none;
    transition: background .2s; flex-shrink: 0;
}
.mob-menu-toggle.is-on { background: #3C3C3C; }
.mob-menu-toggle::after {
    content: '';
    position: absolute; width: 22px; height: 22px;
    background: #FFF; border-radius: 50%;
    top: 2px; left: 2px;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.mob-menu-toggle.is-on::after { transform: translateX(18px); }

/* ── Checkout ─────────────────────────────────────────────────────── */
.mob-checkout-page {
    background: #FFFFFF;
    padding: 20px 18px;
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

.mob-checkout-section-title { font-size: 15px; font-weight: 700; color: #0C0C0C; margin-bottom: 14px; }

.mob-radio-option { display: flex; align-items: center; gap: 12px; padding: 5px 0 10px; cursor: pointer; }
.mob-radio-option input[type="radio"] { width: 18px; height: 18px; accent-color: #0C0C0C; flex-shrink: 0; cursor: pointer; }
.mob-radio-label       { font-size: 14px; color: #1A1A1A; }
.mob-radio-label strong { font-weight: 600; }

.mob-payment-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 10px; margin-bottom: 10px;
    cursor: pointer; transition: border-color .15s; background: #FFFFFF;
}
.mob-payment-card.is-selected { border-color: #0C0C0C; }
.mob-payment-icon {
    width: 36px; height: 36px;
    background: #F4F2EE; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #555; flex-shrink: 0;
}
.mob-payment-label { flex: 1; font-size: 14px; font-weight: 500; color: #1A1A1A; }
.mob-payment-arrow { font-size: 11px; color: #CCC; }

.mob-order-summary { margin-top: 22px; }
.mob-order-summary-title { font-size: 15px; font-weight: 700; color: #0C0C0C; margin-bottom: 12px; letter-spacing: .02em; }

/* ── Payment Success Overlay ──────────────────────────────────────── */
.mob-success-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 9999;
    align-items: center; justify-content: center; padding: 24px;
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.mob-success-overlay.is-visible { display: flex; }

.mob-success-card {
    background: #FFFFFF; border-radius: 18px;
    padding: 36px 24px; text-align: center;
    width: 100%; max-width: 320px;
    animation: sucIn .38s cubic-bezier(.22,.68,0,1.2) both;
}
@keyframes sucIn { from { opacity:0; transform:scale(.8); } to { opacity:1; transform:scale(1); } }

.mob-success-icon {
    width: 70px; height: 70px; background: #22C55E; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #FFF; margin: 0 auto 18px;
}
.mob-success-title { font-size: 18px; font-weight: 700; color: #0C0C0C; margin-bottom: 8px; }
.mob-success-desc  { font-size: 13px; color: #888; margin-bottom: 26px; line-height: 1.55; }

/* ── Filter Sheet ─────────────────────────────────────────────────── */
.mob-filter-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 2000;
}
.mob-filter-overlay.is-open { display: block; animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.mob-filter-sheet {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #FFFFFF; border-radius: 20px 20px 0 0;
    max-height: 92vh; overflow-y: auto;
    z-index: 2001;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.32,.72,0,1);
    padding-bottom: max(env(safe-area-inset-bottom,0px),16px);
    -webkit-overflow-scrolling: touch;
}
.mob-filter-overlay.is-open .mob-filter-sheet { transform: translateY(0); }

.mob-filter-handle {
    width: 36px; height: 4px; background: #E0E0E0;
    border-radius: 2px; margin: 12px auto 0;
}

.mob-filter-header {
    display: grid; grid-template-columns: 44px 1fr 44px;
    align-items: center; padding: 12px 8px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.mob-filter-title {
    text-align: center; font-size: 12px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: #0C0C0C;
}

.mob-filter-close {
    width: 36px; height: 36px; border: none; background: transparent;
    font-size: 18px; color: #555; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.mob-filter-body { padding: 16px 18px; }
.mob-filter-section { margin-bottom: 22px; }
.mob-filter-section-title { font-size: 14px; font-weight: 700; color: #0C0C0C; margin-bottom: 12px; }
.mob-filter-section-sub   { font-size: 12px; color: #666; margin-top:-6px; margin-bottom:10px; }

.mob-filter-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mob-filter-size-btn {
    height: 36px; min-width: 42px;
    border: 1px solid #DEDEDE; border-radius: 18px;
    font-size: 12px; font-weight: 600; padding: 0 12px;
    background: #FFF; color: #0C0C0C; cursor: pointer;
    font-family: inherit; transition: all .15s;
}
.mob-filter-size-btn.is-active { background: #0C0C0C; border-color: #0C0C0C; color: #FFF; }

.mob-filter-color-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mob-filter-color-btn {
    width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; border: 3px solid transparent;
    outline: 2px solid transparent; outline-offset: 2px;
    transition: all .15s; position: relative;
}
.mob-filter-color-btn.is-active { outline-color: #0C0C0C; }
.mob-filter-color-btn.is-active::after {
    content: '✓'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: rgba(255,255,255,.9);
}

.mob-filter-star-row { display: flex; gap: 4px; }
.mob-filter-star {
    font-size: 28px; color: #0C0C0C; cursor: pointer;
    line-height: 1; background: transparent; border: none;
}
.mob-filter-star.is-empty { color: #DDD; }

.mob-range-input {
    width: 100%; accent-color: #0C0C0C; height: 4px; margin: 8px 0;
}

.mob-filter-footer {
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 14px 18px; border-top: 1px solid rgba(0,0,0,.07);
    background: #FFF; position: sticky; bottom: 0;
}

/* ── Toast Notifications ──────────────────────────────────────────── */
.mob-toast-area {
    position: fixed;
    top: calc(env(safe-area-inset-top,0px) + 60px);
    left: 16px; right: 16px;
    z-index: 9998;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.mob-toast {
    padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 500; color: #FFF;
    animation: toastIn .3s ease both, toastOut .3s ease 4s both;
}
.mob-toast-success { background: #22C55E; }
.mob-toast-error   { background: #EF4444; }
@keyframes toastIn  { from { opacity:0;transform:translateY(-10px); } to { opacity:1;transform:translateY(0); } }
@keyframes toastOut { to { opacity:0;transform:translateY(-8px); } }

/* ── Empty States ─────────────────────────────────────────────────── */
.mob-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 24px; text-align: center; background: #FFFFFF;
}
.mob-empty-icon  { font-size: 48px; color: #DDD; margin-bottom: 16px; }
.mob-empty-title { font-size: 17px; font-weight: 700; color: #0C0C0C; margin-bottom: 8px; }
.mob-empty-text  { font-size: 13.5px; color: #888; margin-bottom: 24px; line-height: 1.55; }

/* ── Pagination ───────────────────────────────────────────────────── */
.mob-pagination {
    padding: 16px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.mob-pagination a, .mob-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    color: #555; background: #FFF; border: 1px solid rgba(0,0,0,.1);
}
.mob-pagination .active span { background: #0C0C0C; color: #FFF; border-color: #0C0C0C; }

/* ── Auth pages ───────────────────────────────────────────────────── */
.mob-auth-page { padding: 32px 24px; background: #FFFFFF; min-height: calc(100vh - 52px); }
.mob-auth-title    { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: #0C0C0C; }
.mob-auth-subtitle { font-size: 13.5px; color: #888; margin-bottom: 32px; }
.mob-form-group    { margin-bottom: 16px; }
.mob-form-label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 7px;
}
.mob-form-input {
    display: block; width: 100%; height: 50px;
    border: 1.5px solid rgba(0,0,0,.12); border-radius: 10px;
    padding: 0 14px; font-size: 14px; font-family: inherit; color: #0C0C0C;
    background: #FFF; outline: none; transition: border-color .15s;
    user-select: text; -webkit-user-select: text;
}
.mob-form-input:focus { border-color: #0C0C0C; }

/* ══════════════════════════════════════════════════════════════════
   PWA ONBOARDING / SPLASH SCREEN
   Shown on first PWA launch. Matches reference screenshot precisely.
══════════════════════════════════════════════════════════════════ */
.pwa-ob-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 99999;
    background: #F6F6F4;          /* very light warm gray — matches screenshot */
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top, 44px) 28px
             max(env(safe-area-inset-bottom, 32px), 32px) 28px;
    overflow: hidden;
}
.pwa-ob-overlay.pwa-ob-visible {
    display: flex;
    animation: obIn .45s cubic-bezier(.22,.68,0,1.2) both;
}
.pwa-ob-overlay.pwa-ob-exit { animation: obOut .38s ease-in forwards; }
@keyframes obIn  { from { opacity:0; transform:scale(1.04); } to { opacity:1; transform:scale(1); } }
@keyframes obOut { to   { opacity:0; transform:scale(.97); } }

/* Large circle SVG fills the background */
.pwa-ob-bg-svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0; display: block;
}

/* Skip button (top-right) */
.pwa-ob-skip {
    position: absolute;
    top: calc(env(safe-area-inset-top, 14px) + 16px);
    right: 20px;
    z-index: 2; border: none; background: transparent;
    color: #888; font-size: .7rem; letter-spacing: .15em;
    font-family: 'Sora', sans-serif; font-weight: 500;
    text-transform: uppercase; padding: 8px 12px; cursor: pointer;
}
.pwa-ob-skip:active { color: #0C0C0C; }

/* Center brand area */
.pwa-ob-body {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 40px;
    position: relative; z-index: 1; width: 100%;
}

.pwa-ob-brand { text-align: center; }

/* Logo — thin, letter-spaced, matching screenshot */
.pwa-ob-logo {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 9.5vw, 38px);
    letter-spacing: .28em;
    color: #0C0C0C;
    line-height: 1;
    margin-bottom: 16px;
    text-indent: .28em;
}

.pwa-ob-tagline {
    font-size: 10px;
    letter-spacing: .26em;
    color: #777;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    text-indent: .26em;
}

/* Progress dots — horizontal, thin */
.pwa-ob-dots { display: flex; gap: 8px; align-items: center; }

.pwa-ob-dot {
    display: block; height: 3px; border-radius: 2px;
    background: #D0CFCD; transition: all .3s; width: 10px;
}
.pwa-ob-dot--active { background: #0C0C0C; width: 30px; }

/* Footer CTAs */
.pwa-ob-footer {
    width: 100%; display: flex; flex-direction: column;
    align-items: center; gap: 18px;
    position: relative; z-index: 1; padding: 0 4px;
}

/* Primary CTA — black pill button, matches screenshot exactly */
.pwa-ob-btn-primary {
    display: flex; align-items: center; justify-content: center;
    width: 100%; max-width: 380px;
    background: #0C0C0C; color: #FFFFFF;
    text-align: center;
    padding: 0 28px; height: 58px;
    border-radius: 14px;              /* rounded rectangle — matches screenshot */
    font-size: 11.5px; letter-spacing: .22em; font-weight: 700;
    font-family: 'Sora', sans-serif; text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, transform .15s;
    text-indent: .22em;
}
.pwa-ob-btn-primary:active { transform: scale(.97); }
.pwa-ob-btn-primary:hover  { color: #FFFFFF; }

/* Secondary text link */
.pwa-ob-btn-secondary {
    display: block; width: 100%; max-width: 380px;
    text-align: center; color: #666;
    font-size: 11px; letter-spacing: .2em; font-weight: 500;
    font-family: 'Sora', sans-serif; text-transform: uppercase;
    text-decoration: none; padding: 4px 8px;
    text-indent: .2em;
}
.pwa-ob-btn-secondary:hover { color: #0C0C0C; }
