/* Design system — pixel spec */
:root {
    --primary: #5E9E9A;
    --primary-dark: #4E8886;
    --primary-light: #6DAAA8;
    --primary-soft: #E4EFEE;
    --background: #E8EDEC;
    --surface: #F3F6F5;
    --surface-card: #FAFCFB;
    --surface-input: #EEF2F1;
    --section-alt: #E8EFEE;
    --border: #DDE5E4;
    --text: #2D2D2D;
    --muted: #7A7A7A;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 4px 14px rgba(94, 158, 154, 0.08);
    --radius-card: 18px;
    --radius-input: 20px;
    --radius-image: 16px;
    --radius-btn: 30px;
    --radius-hero: 20px;
    --app-width: 390px;
    --tabbar-h: 80px;
    --font: 'Poppins', 'Inter', system-ui, sans-serif;
    --ease: 200ms ease;
    --page-pad: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body.site-body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; transition: all var(--ease); }
ul { list-style: none; }

.app-shell {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: var(--surface);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.home-page { padding-bottom: 8px; }
.page-home .site-main > .home-page > .hero-banner {
    padding-top: 16px;
}

.site-main {
    min-height: 0;
    overflow-x: hidden;
    flex: 1 0 auto;
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 8px);
}

/* Header */
.app-header {
    padding: calc(10px + env(safe-area-inset-top)) var(--page-pad) 4px;
    background: var(--primary);
    position: relative;
    z-index: 200;
}
.app-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    height: auto;
    margin-bottom: 0;
}
.app-header__logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 58%;
}
.app-header__logo-img {
    height: 56px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}
.app-header__bag {
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}
.app-header__bag:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.24); }
.app-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--primary);
    color: var(--surface);
    font-size: 10px;
    font-weight: 600;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-header__bag .app-badge {
    background: #fff;
    color: var(--primary);
}

.app-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0 12px;
}
.app-search {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    background: var(--surface-input);
    border-radius: var(--radius-input);
    border: 1px solid var(--border);
}
.app-search svg { color: var(--muted); flex-shrink: 0; }
.app-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    min-width: 0;
}
.app-search input::placeholder { color: var(--muted); }
.app-search input:focus { outline: none; }
.app-search__filter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    flex-shrink: 0;
    box-shadow: var(--shadow);
}
.search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    box-shadow: var(--shadow);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    z-index: 300;
    display: none;
    -webkit-overflow-scrolling: touch;
}
.search-results.active { display: block; }
.search-results__section + .search-results__section {
    border-top: 1px solid var(--border);
}
.search-results__label {
    padding: 10px 14px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.search-results__empty {
    padding: 16px 14px;
    font-size: 13px;
    color: var(--muted);
}
.search-result-item {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    align-items: center;
    transition: background var(--ease);
}
.search-result-item:hover { background: var(--surface-input); }
.search-result-item img {
    width: 44px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--surface-input);
}
.search-result-item--category img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.search-result-item__body {
    flex: 1;
    min-width: 0;
}
.search-result-item__body strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-item__meta {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}
.search-result-item__price {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-top: 3px;
}

/* Hero banner */
.hero-banner {
    padding: 0 var(--page-pad);
}
.hero-banner__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hero-banner__track::-webkit-scrollbar { display: none; }
.hero-banner__slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: var(--radius-hero);
    overflow: hidden;
    min-height: 172px;
    aspect-ratio: 358 / 172;
    box-shadow: var(--shadow-soft);
    background: #2d2d2d;
}
.hero-banner__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-banner__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.hero-banner__copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%);
    color: var(--surface);
    pointer-events: none;
}
.hero-banner__copy .hero-banner__btn {
    pointer-events: auto;
}
.hero-banner__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}
.hero-banner__text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.92;
    margin-bottom: 14px;
}
.hero-banner__btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    background: var(--primary);
    color: #FAFCFB;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-btn);
}
.hero-banner__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-bottom: 16px;
}
.hero-banner__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4D4D4;
    padding: 0;
    transition: background var(--ease), transform var(--ease);
}
.hero-banner__dot.is-active {
    background: var(--primary);
    transform: scale(1.1);
}

/* Category pills */
.cat-pills {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px var(--page-pad) 16px;
    scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--ease);
}
.cat-pill--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #FAFCFB;
}
.cat-pill__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-input);
}
.cat-pill--active .cat-pill__icon { background: rgba(255, 255, 255, 0.2); color: #FAFCFB; }
.cat-pill__icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-pill__icon--photo { padding: 0; }

/* Pick of the day */
.pick-day__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease);
    color: #fff;
}
.pick-day__card:active { transform: scale(0.99); }
.pick-day__ring {
    flex-shrink: 0;
    width: 108px;
    height: 108px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 4px;
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.pick-day__ring img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.9);
}
.pick-day__body { min-width: 0; flex: 1; }
.pick-day__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.92);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.pick-day__body h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
    color: #fff;
}
.pick-day__body p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pick-day__price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Department tiles */
.dept-grid__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.dept-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 118px;
    padding: 14px;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease);
}
.dept-tile:active { transform: scale(0.98); }
.dept-tile--teal {
    background: linear-gradient(145deg, #dce9e8 0%, #c8dedc 100%);
}
.dept-tile--slate {
    background: linear-gradient(145deg, #e4e8ea 0%, #d5dbe0 100%);
}
.dept-tile--warm {
    background: linear-gradient(145deg, #ede6df 0%, #e2d8cf 100%);
}
.dept-tile--soft {
    background: linear-gradient(145deg, #e8edec 0%, #dde5e4 100%);
}
.dept-tile__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}
.dept-tile__copy strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}
.dept-tile__copy span {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.35;
}
.dept-tile__thumb {
    position: absolute;
    right: 6px;
    bottom: 0;
    width: 54px;
    height: 72px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background: var(--surface-input);
    border: 1px solid var(--border);
    border-bottom: none;
}
.dept-tile__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circle categories */
.cat-circles__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.cat-circles__track::-webkit-scrollbar { display: none; }
.cat-circle {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 72px;
    text-align: center;
}
.cat-circle__ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease);
}
.cat-circle:active .cat-circle__ring {
    transform: scale(0.96);
    border-color: var(--primary-light);
}
.cat-circle__ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.cat-circle__name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Flash strip */
.flash-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 var(--page-pad) 20px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-card);
    color: #FAFCFB;
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease);
}
.flash-strip:active { transform: scale(0.99); }
.flash-strip__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.flash-strip__text { flex: 1; min-width: 0; }
.flash-strip__text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}
.flash-strip__text span {
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.4;
}
.flash-strip__arrow {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Style spotlight */
.spotlight__card {
    display: grid;
    grid-template-columns: 1fr 96px;
    gap: 0;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-height: 100px;
}
.spotlight__copy {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.spotlight__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.spotlight__copy h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spotlight__copy p {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spotlight__cta {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}
.spotlight__media {
    background: var(--surface-input);
    width: 96px;
    height: 100px;
    flex-shrink: 0;
}
.spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Promo duo */
.promo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 var(--page-pad) 20px;
}
.promo-duo__card {
    position: relative;
    border-radius: var(--radius-card);
    padding: 14px;
    min-height: 108px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease);
    isolation: isolate;
}
.promo-duo__card:active { transform: scale(0.98); }
.promo-duo__card--teal {
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #FAFCFB;
}
.promo-duo__card--soft {
    background: var(--surface-card);
    border: 1px solid var(--border);
    color: var(--text);
}
.promo-duo__card--has-bg {
    background-image: var(--promo-bg-image);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
    border: none;
}
.promo-duo__card--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
}
.promo-duo__card--teal.promo-duo__card--has-bg::before {
    background: linear-gradient(160deg, rgba(78, 136, 134, 0.9) 0%, rgba(94, 158, 154, 0.55) 42%, rgba(20, 20, 20, 0.45) 100%);
}
.promo-duo__card--soft.promo-duo__card--has-bg::before {
    background: linear-gradient(160deg, rgba(45, 45, 45, 0.82) 0%, rgba(78, 136, 134, 0.5) 45%, rgba(20, 20, 20, 0.35) 100%);
}
.promo-duo__body {
    position: relative;
    z-index: 1;
}
.promo-duo__label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.92;
    margin-bottom: 4px;
}
.promo-duo__card strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

/* Section */
.app-section {
    padding: 0 var(--page-pad) 20px;
}
.app-section--alt {
    background: var(--section-alt);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 4px;
}
.app-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.app-section__head h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.app-section__head a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.app-section__meta {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.app-section--products {
    padding-top: 0;
}
.app-section--products .app-section__head {
    margin-bottom: 14px;
}

/* Category cards grid */
.category-cards {
    padding-top: 0;
    padding-bottom: 8px;
}
.category-cards__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.category-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.category-card:active {
    transform: scale(0.98);
}
.category-card--active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(94, 158, 154, 0.18), var(--shadow-soft);
}
.category-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(160deg, var(--surface-input) 0%, #e8eeed 100%);
}
.category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}
.category-card:hover .category-card__image img {
    transform: scale(1.05);
}
.category-card__image--all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft) 0%, #dce9e8 100%);
}
.category-card__all-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}
.category-card__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 52px;
    justify-content: center;
}
.category-card__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category-card__count {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}
.category-card--active .category-card__name {
    color: var(--primary-dark);
}

/* Product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: stretch;
}
.shop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: var(--surface-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(221, 229, 228, 0.85);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.shop-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94, 158, 154, 0.35);
    box-shadow: 0 10px 28px rgba(94, 158, 154, 0.14);
}
.shop-card__image {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(160deg, var(--surface-input) 0%, #e8eeed 100%);
}
.shop-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    transition: transform 420ms ease;
}
.shop-card:hover .shop-card__image img {
    transform: scale(1.05);
}
.shop-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.shop-card__badge--sale { background: #E53935; color: #fff; }
.shop-card__badge--new { background: var(--primary); color: #FAFCFB; }
.shop-card__badge--hot { background: var(--primary-dark); color: #FAFCFB; }
.shop-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 12px 14px;
    gap: 10px;
}
.shop-card__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text);
    min-height: 2.9em;
    max-height: 2.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card__title a {
    color: inherit;
    transition: color var(--ease);
}
.shop-card__title a:hover { color: var(--primary-dark); }
.shop-card__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    min-height: 82px;
}
.shop-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 2.2em;
}
.shop-card__price-now {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.shop-card__price-now--sale { color: #E53935; }
.shop-card__price-was {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: line-through;
}
.shop-card__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background var(--ease), transform var(--ease), opacity var(--ease), box-shadow var(--ease);
    box-shadow: 0 4px 12px rgba(94, 158, 154, 0.28);
}
.shop-card__add-icon { flex-shrink: 0; }
.shop-card__add:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(94, 158, 154, 0.34);
}
.shop-card__add:active { transform: scale(0.98); }
.shop-card__add:disabled,
.shop-card__add.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
.shop-card__add.is-added {
    background: #2e7d32;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.28);
}
.shop-card__out {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 11px;
    font-weight: 600;
    color: #c0392b;
    background: #fdecea;
    border-radius: 999px;
}

/* Horizontal product scroll */
.home-scroll {
    margin: 0 calc(var(--page-pad) * -1);
    padding: 0 var(--page-pad);
    overflow: hidden;
}
.home-scroll__track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.home-scroll__track::-webkit-scrollbar { display: none; }
.shop-card--scroll {
    flex: 0 0 calc(46% - 6px);
    scroll-snap-align: start;
    min-width: 0;
    height: auto;
    align-self: stretch;
}

/* Bottom tab bar — flush to bottom, not floating */
.app-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
}
.app-tabbar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    min-height: var(--tabbar-h);
    transition: color var(--ease);
    position: relative;
}
.app-tabbar__icon {
    display: block;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.app-tabbar__item .app-tabbar__icon {
    background-color: #1a1a1a;
}
.app-tabbar__item.active .app-tabbar__icon {
    background-color: #000;
}
.app-header__bag .app-tabbar__icon {
    background-color: currentColor;
    opacity: 1;
}
.app-tabbar__item.active {
    color: var(--primary);
    font-weight: 600;
}
.app-tabbar__item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--primary);
}
.app-tabbar__badge {
    position: absolute;
    top: 14px;
    right: calc(50% - 18px);
    min-width: 14px;
    height: 14px;
    background: var(--primary);
    color: var(--surface);
    font-size: 9px;
    font-weight: 600;
    font-style: normal;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.app-tabbar__badge[hidden],
.app-badge[hidden] {
    display: none !important;
}

/* Product detail page */
.product-page { background: var(--surface); }
.product-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(10px + env(safe-area-inset-top)) var(--page-pad) 12px;
    background: var(--surface);
}
.product-topbar__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--surface-card);
    border: 1px solid var(--border);
}
.product-topbar__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.product-carousel {
    padding: 0 var(--page-pad);
}
.product-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.product-carousel__track::-webkit-scrollbar { display: none; }
.product-carousel__slide {
    flex: 0 0 88%;
    scroll-snap-align: center;
    border-radius: var(--radius-image);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--surface-input);
}
.product-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0 20px;
}
.product-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4D4D4;
    padding: 0;
}
.product-carousel__dot.is-active { background: var(--primary); }

.product-detail-body {
    padding: 0 16px 24px;
}
.product-detail-body__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
}
.product-detail-body__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}
.product-detail-body__label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.size-chip {
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-card);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}
.size-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--surface);
}
.color-swatches {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 2px;
    background-clip: content-box;
}
.color-swatch.active { border-color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    transition: all var(--ease);
}
.btn--primary {
    background: var(--primary);
    color: #FAFCFB;
    border: none;
    margin-bottom: 12px;
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--outline {
    background: var(--surface-card);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    margin-bottom: 24px;
}
.product-detail-body__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--muted);
    max-width: 100%;
}

.product-rec {
    padding: 24px 0 8px;
    border-top: 8px solid var(--section-alt);
}
.product-rec--alt {
    background: var(--section-alt);
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
    margin-bottom: calc((var(--tabbar-h) + env(safe-area-inset-bottom)) * -1);
}
.product-rec__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--page-pad) 14px;
}
.product-rec__head h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.product-rec__head a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

/* Shop / misc pages */
.page-head { padding: 16px; }
.page-head h1 { font-size: 18px; font-weight: 600; }
.page-head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.page-head--contact { display: none; }
.filter-bar {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scrollbar-width: none;
}
.filter-chip {
    flex-shrink: 0;
    padding: 0 16px;
    height: 40px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface-card);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
}
.filter-chip.active {
    background: var(--primary);
    color: #FAFCFB;
    border-color: var(--primary);
}

.search-page-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.search-page-form input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface-input);
}
.search-page-form input:focus {
    outline: none;
    border-color: var(--primary);
}
.search-page-form button {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.search-categories {
    margin-bottom: 18px;
}
.search-categories__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}
.search-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.search-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}
.search-category-chip span {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 6px;
    border-radius: 999px;
}

.site-footer { display: none; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.site-footer__credit {
    margin: 0;
    text-align: right;
}

.site-footer__credit a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Cart page */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }

.cart-page {
    padding: 0 var(--page-pad) calc(220px + var(--tabbar-h) + env(safe-area-inset-bottom));
}
.cart-page--empty {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 32px);
}
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.cart-card__media {
    flex-shrink: 0;
    width: 92px;
    height: 112px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-input);
}
.cart-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease);
}
.cart-card__media:hover img { transform: scale(1.04); }
.cart-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-card__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-card__name:hover { color: var(--primary-dark); }
.cart-card__unit {
    font-size: 12px;
    color: var(--muted);
}
.cart-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}
.cart-card__subtotal {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.cart-card__remove {
    align-self: flex-start;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #c0392b;
    padding: 2px 0;
}
.cart-card__remove:hover { text-decoration: underline; }

.cart-details {
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.cart-details__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.cart-details__desc {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
    line-height: 1.45;
}
.cart-details__field {
    margin-bottom: 12px;
}
.cart-details__field:last-child {
    margin-bottom: 0;
}
.cart-details__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}
.cart-details__field input,
.cart-details__field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface-input);
    color: var(--text);
    transition: border-color var(--ease);
}
.cart-details__field input:focus,
.cart-details__field textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.cart-details__field textarea {
    resize: vertical;
    min-height: 72px;
}

.qty-pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    background: var(--surface-input);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.qty-pill__btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    transition: background var(--ease);
}
.qty-pill__btn:hover { background: rgba(94, 158, 154, 0.12); }
.qty-pill__btn:active { background: rgba(94, 158, 154, 0.2); }
.qty-pill__val {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.cart-checkout {
    position: fixed;
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding: 14px var(--page-pad) 12px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    z-index: 40;
}
.cart-checkout__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.cart-checkout__row span {
    font-size: 14px;
    color: var(--muted);
}
.cart-checkout__row span em {
    font-style: normal;
    font-size: 12px;
}
.cart-checkout__row strong {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.cart-checkout__note {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 12px;
}
.cart-checkout__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.cart-checkout__btn:hover {
    background: #1ebe5d;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
}
.cart-checkout__btn:active { transform: scale(0.99); }
.cart-checkout__link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}
.cart-checkout__link:hover { color: var(--primary-dark); }

.checkout-sheet {
    position: fixed;
    inset: 0;
    z-index: 700;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
}
.checkout-sheet.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.checkout-sheet__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.checkout-sheet__panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--surface-card);
    border-radius: 20px 20px 0 0;
    padding: 20px var(--page-pad) calc(20px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform var(--ease);
}
.checkout-sheet.open .checkout-sheet__panel {
    transform: translateY(0);
}
.checkout-sheet__head {
    margin-bottom: 18px;
}
.checkout-sheet__head h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.checkout-sheet__head p {
    font-size: 13px;
    color: var(--muted);
}
.checkout-sheet__field {
    margin-bottom: 14px;
}
.checkout-sheet__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}
.checkout-sheet__field input,
.checkout-sheet__field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface-input);
    color: var(--text);
}
.checkout-sheet__field input:focus,
.checkout-sheet__field textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.checkout-sheet__field textarea {
    resize: vertical;
    min-height: 72px;
}
.checkout-sheet__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    margin-top: 4px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.checkout-sheet__submit:disabled {
    opacity: 0.7;
    pointer-events: none;
}
.checkout-sheet__cancel {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 48px 20px 32px;
}
.cart-empty__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-empty__icon .app-tabbar__icon {
    background-color: var(--primary);
}
.cart-empty h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.cart-empty p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}
.cart-empty__btn {
    max-width: 220px;
    margin: 0 auto;
    height: 48px;
    font-size: 14px;
}

/* Profile page */
.profile-page {
    padding: 0 var(--page-pad) 24px;
}
.profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0 24px;
}
.profile-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(94, 158, 154, 0.2);
}
.profile-hero__avatar .app-tabbar__icon {
    background-color: var(--primary);
}
.profile-hero__greet {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.profile-hero__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.profile-hero__tagline {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
    padding: 12px 8px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: center;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.profile-stat:hover {
    border-color: rgba(94, 158, 154, 0.4);
    box-shadow: var(--shadow-soft);
}
.profile-stat strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.profile-stat span {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}
.profile-stat--accent {
    background: var(--primary);
    border-color: var(--primary);
}
.profile-stat--accent strong,
.profile-stat--accent span { color: #fff; }

.profile-menu {
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.profile-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: background var(--ease);
}
.profile-menu__item:last-child { border-bottom: none; }
.profile-menu__item:hover { background: var(--surface-input); }
.profile-menu__item > svg:last-child {
    margin-left: auto;
    color: var(--muted);
    flex-shrink: 0;
}
.profile-menu__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-dark);
}
.profile-menu__icon .app-tabbar__icon {
    background-color: var(--primary-dark);
}
.profile-menu__label {
    font-size: 14px;
    font-weight: 500;
}

.profile-section__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.profile-section__desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
}
.profile-contact {
    margin-bottom: 28px;
}
.profile-wa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: background var(--ease), transform var(--ease);
}
.profile-wa-btn svg { margin-bottom: 2px; }
.profile-wa-btn em {
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}
.profile-wa-btn:hover { background: #1ebe5d; }
.profile-wa-btn:active { transform: scale(0.99); }

.profile-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    transition: border-color var(--ease);
}
.profile-contact-card:hover { border-color: rgba(94, 158, 154, 0.35); }
.profile-contact-card--static { cursor: default; }
.profile-contact-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-input);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.profile-contact-card strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2px;
}
.profile-contact-card span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
}

.profile-form-section {
    padding-bottom: 8px;
}
.profile-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 14px;
}
.profile-alert--success {
    background: #e8f5e9;
    color: #2e7d32;
}
.profile-alert--error {
    background: #fdecea;
    color: #c0392b;
}
.profile-form {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}
.profile-form__group {
    margin-bottom: 14px;
}
.profile-form__group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}
.profile-form__group input,
.profile-form__group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--surface-input);
    color: var(--text);
    transition: border-color var(--ease);
}
.profile-form__group input:focus,
.profile-form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.profile-form__group textarea {
    resize: vertical;
    min-height: 100px;
}
.profile-form__submit {
    width: 100%;
    height: 48px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    transition: background var(--ease);
}
.profile-form__submit:hover { background: var(--primary-dark); }

/* Legacy cart classes (kept for compatibility) */
.cart-item {
    display: flex; gap: 14px; padding: 14px; background: var(--surface-card);
    border: 1px solid var(--border); border-radius: var(--radius-card); margin: 0 var(--page-pad) 12px;
    box-shadow: var(--shadow-soft);
}
.cart-item__img { width: 80px; height: 100px; border-radius: var(--radius-image); overflow: hidden; flex-shrink: 0; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary {
    margin: 16px var(--page-pad); padding: 16px; background: var(--surface-card);
    border-radius: var(--radius-card); border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 14px; padding: 0 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-input); font-family: inherit; font-size: 14px;
}

.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; opacity: 0; transition: var(--ease); }
.modal.open { pointer-events: auto; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.modal__content {
    position: relative; background: var(--surface-card); width: 100%; max-width: 100%;
    max-height: 85vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 24px;
    transform: translateY(100%); transition: transform var(--ease);
}
.modal.open .modal__content { transform: translateY(0); }
.toast {
    position: fixed; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); left: 50%;
    transform: translateX(-50%); background: var(--text); color: #FAFCFB;
    padding: 10px 20px; border-radius: var(--radius-btn); font-size: 13px; z-index: 600;
    opacity: 0; visibility: hidden; transition: var(--ease);
    max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; visibility: visible; }

.cart-toast {
    position: fixed;
    inset: 0;
    z-index: 650;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 16px calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
}
.cart-toast.show {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.cart-toast__panel {
    width: 100%;
    max-width: 100%;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    padding: 16px;
    transform: translateY(12px);
    transition: transform var(--ease);
}
.cart-toast.show .cart-toast__panel {
    transform: translateY(0);
}
.cart-toast__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.cart-toast__check {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E8F5E9;
    color: #2e7d32;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-toast__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.cart-toast__name {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-toast__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.cart-toast__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.cart-toast__btn--ghost {
    background: var(--surface-input);
    color: var(--text);
    border: 1px solid var(--border);
}
.cart-toast__btn--primary {
    background: var(--primary);
    color: #fff;
}

.btn-wishlist.active svg { fill: var(--primary); stroke: var(--primary); }

.product-topbar .btn-wishlist.active svg { fill: var(--primary); stroke: var(--primary); }
.out-of-stock { color: #c0392b; font-size: 13px; }

/* About page */
.about-page {
    padding: 0 var(--page-pad) 24px;
}
.about-intro {
    margin-bottom: 20px;
}
.about-intro__media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}
.about-intro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-intro__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
    color: #fff;
}
.about-intro__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-bottom: 4px;
}
.about-intro__overlay h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.about-intro__lead {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.about-block__card {
    padding: 16px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.about-block__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.about-block__card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.about-block__card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

.about-section {
    margin-bottom: 24px;
}
.about-section--alt {
    margin: 0 calc(var(--page-pad) * -1) 24px;
    padding: 20px var(--page-pad);
    background: var(--section-alt);
}
.about-section__head {
    margin-bottom: 14px;
}
.about-section__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.about-section--alt .about-section__title {
    margin-bottom: 0;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.about-values__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(94, 158, 154, 0.2);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.about-feature {
    padding: 14px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.about-feature__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-input);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.about-feature h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.about-feature p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
}

.about-testimonials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.about-quote {
    padding: 16px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.about-quote__stars {
    color: #F5A623;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.about-quote p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 12px;
}
.about-quote footer strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.about-quote footer span {
    font-size: 12px;
    color: var(--muted);
}

.about-promise {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(160deg, var(--primary-soft) 0%, var(--surface-card) 100%);
    border: 1px solid rgba(94, 158, 154, 0.25);
    border-radius: 18px;
    margin-bottom: 8px;
}
.about-promise h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.about-promise p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 320px;
    margin: 0 auto 20px;
}
.about-promise__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
    margin: 0 auto;
}
.about-promise__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--ease), transform var(--ease);
}
.about-promise__btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 158, 154, 0.3);
}
.about-promise__btn--primary:hover { background: var(--primary-dark); }
.about-promise__btn--outline {
    background: var(--surface-card);
    color: var(--primary-dark);
    border: 1.5px solid var(--primary);
}
.about-promise__btn:active { transform: scale(0.99); }

/* Home testimonials */
.home-testimonials {
    padding-bottom: 24px;
}
.home-quote {
    flex: 0 0 calc(88% - 8px);
    scroll-snap-align: start;
    min-width: 0;
    padding: 16px;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}
.home-quote__stars {
    color: #F5A623;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.home-quote p {
    flex: 1;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-quote footer strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.home-quote footer span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
