:root {
    --bg: #eef2f6;
    --bg-accent: #dfe7f1;
    --surface: #ffffff;
    --surface-2: #f6f8fb;
    --line: rgba(15, 23, 42, 0.08);
    --text: #0f172a;
    --muted: #667085;
    --accent: #1ea672;
    --accent-2: #f59e0b;
    --accent-3: #e8f7ef;
    --danger-bg: #fff2f2;
    --success-bg: #edf8ec;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 28px 56px rgba(15, 23, 42, 0.22);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(30, 166, 114, 0.16), transparent 26%),
        linear-gradient(180deg, #0f172a 0, #152338 240px, #eef2f6 240px, #eef2f6 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

button {
    appearance: none;
    -webkit-appearance: none;
}

.app-shell {
    min-height: 100vh;
    padding: 14px 12px calc(108px + env(safe-area-inset-bottom));
}

.shell {
    position: relative;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 0 0 96px;
}

.shell::before {
    content: "";
    position: absolute;
    inset: 18px 10px auto;
    height: 180px;
    border-radius: 36px;
    background: radial-gradient(circle at top left, rgba(30, 166, 114, 0.16), transparent 54%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.shell > * {
    position: relative;
    z-index: 1;
}

.shell--detail {
    width: min(100%, 430px);
}

.app-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero {
    padding: 22px;
    margin: 0 0 18px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
}

.hero--market {
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.22), transparent 28%),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.14), transparent 28%),
        linear-gradient(145deg, #0f172a 0%, #152238 42%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-strong);
    color: #fff;
}

.hero--compact {
    margin-bottom: 14px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(232, 247, 239, 0.12);
    color: #d8ffef;
    font-size: 0.84rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hero__eyebrow {
    margin-bottom: 6px;
    color: #9ce7c9;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section-head h2,
.product h1,
.cart-summary h2,
.empty-state h2 {
    margin: 0;
    line-height: 1.08;
}

.hero p,
.section-head p,
.card p,
.notice p,
.summary-note,
.empty-state p,
.cart-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.hero--market h1,
.hero--market p,
.hero--market .search-assist__label,
.hero--market .search-assist__chip {
    color: #fff;
}

.hero--market p {
    color: rgba(255, 255, 255, 0.76);
}

.hero__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.search {
    margin-top: 16px;
}

.search input,
.qty-field input,
.cart-actions input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero--market .search input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
}

.hero--market .search input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #556255 50%),
        linear-gradient(135deg, #556255 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.promo-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.promo-banner strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.35;
    color: #fff;
}

.promo-banner__kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #b7e9d2;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 88px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-metric strong {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #fff;
}

.hero-metric--accent {
    background: linear-gradient(135deg, #1c8e63 0%, #34d399 100%);
    color: #fff;
}

.hero-metric--accent span {
    color: rgba(255, 255, 255, 0.8);
}

.search-assist {
    display: flex;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 2px;
}

.search-assist::-webkit-scrollbar {
    display: none;
}

.search-assist__label {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.search-assist__chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(29, 42, 32, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.search-assist__chip--ghost {
    background: var(--surface-2);
    color: var(--muted);
}

.hero--market .search-assist__chip {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero--market .search-assist__chip--ghost {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
}

.notice,
.cart-list,
.cart-summary,
.empty-state,
.product,
.shortcut-card {
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.notice {
    padding: 16px 18px;
    margin-bottom: 14px;
}

.notice strong {
    display: block;
    margin-bottom: 4px;
}

.notice--error {
    background: var(--danger-bg);
}

.notice--success {
    background: var(--success-bg);
}

.home-anchor-bar {
    position: sticky;
    top: 8px;
    z-index: 16;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 6px;
    margin-top: -6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.home-anchor-bar::-webkit-scrollbar {
    display: none;
}

.home-anchor-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 800;
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.home-anchor-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.home-anchor-pill__icon svg,
.shortcut-card__icon svg,
.bottom-nav__icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.story-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
}

.story-strip::-webkit-scrollbar {
    display: none;
}

.story-card {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    scroll-snap-align: start;
}

.story-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #dff4ea 100%);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.story-card__media img,
.story-card__initial {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.story-card__media img {
    object-fit: cover;
    background: #edf2f7;
}

.story-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.story-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text);
    font-size: 0.76rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.story-card.is-selected .story-card__media {
    background: linear-gradient(145deg, #0f172a 0%, #1c8e63 100%);
}

.story-card.is-selected .story-card__media img {
    border: 3px solid rgba(255, 255, 255, 0.92);
}

.story-card.is-selected strong {
    color: var(--accent);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.section-head h2 {
    margin-bottom: 4px;
    font-size: 1.12rem;
}

.ghost-link {
    color: var(--accent);
    font-weight: 800;
    white-space: nowrap;
}

.catalog-tools {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-stage {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.shop-stage__media {
    overflow: hidden;
    border-radius: 20px;
    background: #edf2f7;
}

.shop-stage__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.shop-stage__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-stage__eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shop-stage__body strong {
    font-size: 1.08rem;
    line-height: 1.25;
}

.shop-stage__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.shop-stage__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-stage__stats span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 800;
}

.shop-toolbar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.shop-toolbar::-webkit-scrollbar {
    display: none;
}

.shop-toolbar__action {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.catalog-tools__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-tools__toggle {
    min-height: 48px;
}

.catalog-tools__meta {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.catalog-tools__hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.filter-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.check-grid {
    display: grid;
    gap: 10px;
}

.check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 800;
}

.check-option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
}

.view-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.view-chip {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
    color: var(--muted);
    font: inherit;
    font-weight: 800;
}

.view-chip.is-selected {
    background: #1d2a20;
    color: #fff;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.shortcut-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 122px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.shortcut-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.shortcut-card--accent {
    background: linear-gradient(145deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
}

.shortcut-card--accent .shortcut-card__icon {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.shortcut-card strong {
    font-size: 1rem;
    line-height: 1.3;
}

.shortcut-card small {
    color: var(--muted);
    line-height: 1.45;
}

.shortcut-card--accent small,
.shortcut-card--accent .shortcut-card__eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.shortcut-card__eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.feature-deck {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 156px;
    padding: 16px;
    border-radius: 26px;
    color: #fff;
    box-shadow: var(--shadow);
}

.feature-card--dark {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 30%),
        linear-gradient(145deg, #111827 0%, #1f4f46 100%);
}

.feature-card--warm {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, #9a5d0f 0%, #f59e0b 100%);
}

.feature-card__eyebrow {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.feature-card strong {
    font-size: 1.02rem;
    line-height: 1.35;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.82);
}

.category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.category-pill.is-selected {
    background: #0f172a;
    color: #fff;
}

.quick-filter-bar {
    position: sticky;
    top: 12px;
    z-index: 15;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px;
    margin-top: -2px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.quick-filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.filter-chip.is-selected {
    background: #0f172a;
    color: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 194px;
    padding: 12px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.category-card__overlay {
    position: absolute;
    inset: auto 12px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.82) 100%);
    color: #fff;
}

.category-card__tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.category-card strong {
    font-size: 0.95rem;
    line-height: 1.35;
}

.curation-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.curation-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 172px;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.curation-card--accent {
    background: linear-gradient(145deg, #0f172a 0%, #163046 100%);
    color: #fff;
}

.curation-card__eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.curation-card strong {
    font-size: 1rem;
    line-height: 1.35;
}

.curation-card p {
    color: var(--muted);
}

.curation-card--accent .curation-card__eyebrow,
.curation-card--accent p {
    color: rgba(255, 255, 255, 0.74);
}

.curation-card--accent .ghost-button {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.offer-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.offer-rail::-webkit-scrollbar {
    display: none;
}

.offer-card {
    flex: 0 0 min(82%, 290px);
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff8ea 0%, #ffffff 100%);
    border: 1px solid rgba(242, 184, 75, 0.22);
    box-shadow: var(--shadow);
}

.offer-card__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #eef0e7;
}

.offer-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offer-card__eyebrow {
    color: #9a6a15;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.offer-card strong {
    font-size: 0.98rem;
    line-height: 1.35;
}

.offer-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.offer-card__price b {
    font-size: 1rem;
}

.offer-card__price span {
    color: var(--muted);
    font-size: 0.84rem;
    text-decoration: line-through;
}

.offer-card__progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.offer-card__progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.offer-card__bar {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(29, 42, 32, 0.08);
}

.offer-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f2b84b 0%, #2f8f46 100%);
}

.mini-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mini-product-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.mini-product-card__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eef0e7;
}

.mini-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.mini-product-card__tag {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mini-product-card__body strong {
    font-size: 0.94rem;
    line-height: 1.35;
}

.mini-product-card__body p {
    color: #1d2a20;
    font-weight: 800;
}

.list-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.list-card__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #eef0e7;
}

.list-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-card__eyebrow {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.list-card__body strong {
    font-size: 0.98rem;
    line-height: 1.35;
}

.list-card__body p {
    min-height: 0;
    display: block;
}

.list-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.list-card__meta b {
    font-size: 1rem;
}

.collection-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.collection-strip::-webkit-scrollbar {
    display: none;
}

.collection-card {
    position: relative;
    flex: 0 0 min(58%, 210px);
    min-height: 164px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card__overlay {
    position: absolute;
    inset: auto 12px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(17, 24, 18, 0.64);
    color: #fff;
    backdrop-filter: blur(10px);
}

.collection-card__overlay span {
    font-weight: 800;
    line-height: 1.3;
}

.collection-card__overlay b {
    font-size: 0.82rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.grid.is-list {
    grid-template-columns: 1fr;
}

.grid.is-list .card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
}

.grid.is-list .card__image-wrap {
    height: 100%;
    aspect-ratio: auto;
}

.grid.is-list .card__image {
    height: 100%;
}

.card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.card__image-wrap {
    position: relative;
    aspect-ratio: 0.92 / 1;
    background: #edf2f7;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__hero {
    position: absolute;
    inset: auto 10px 10px 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.card__brand,
.card__quick {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
}

.card__brand {
    background: rgba(15, 23, 42, 0.72);
}

.card__quick {
    background: rgba(28, 142, 99, 0.78);
}

.card__badges {
    position: absolute;
    inset: 10px 10px auto 10px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.card__badge,
.card__fav {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.card__badge {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

.card__badge--sale {
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
}

.card__fav {
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 14px 16px;
}

.card__meta {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card__body h3 {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.4;
}

.card__body h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card__body p {
    display: none;
}

.card__price-stack {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.card__price-stack strong {
    font-size: 1.02rem;
    line-height: 1.2;
}

.card__price-stack span {
    color: var(--muted);
    font-size: 0.84rem;
    text-decoration: line-through;
}

.card__saving-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.card__saving,
.card__stock-note {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.card__saving {
    background: #e8f7ef;
    color: #167f59;
}

.card__saving--neutral {
    background: #eef2ff;
    color: #334155;
}

.card__stock-note {
    background: rgba(15, 23, 42, 0.06);
    color: var(--muted);
}

.card__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
}

.card__inline-note {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.35;
}

.button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: 800;
    font: inherit;
    cursor: pointer;
}

.button {
    border: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.button--small {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.88rem;
}

.button--wide {
    width: 100%;
}

.ghost-button {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
}

.grid.is-list .card__body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.1em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.grid.is-list .card__hero {
    inset: auto 8px 8px 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-weight: 800;
}

.back-link--inside {
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.product {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 16px;
}

.product__media {
    overflow: hidden;
    border-radius: 24px;
    background: #eef0e7;
}

.product__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product__price {
    font-size: 1.45rem;
    font-weight: 900;
    color: #1d2a20;
}

.benefit-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-3);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.trust-panel {
    display: grid;
    gap: 10px;
}

.trust-panel--compact {
    margin: 14px 0;
}

.trust-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(29, 42, 32, 0.08);
}

.trust-card--accent {
    background: linear-gradient(145deg, #e8f6df 0%, #ffffff 100%);
}

.trust-card__eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trust-card strong {
    font-size: 0.96rem;
    line-height: 1.35;
}

.trust-card p {
    color: var(--muted);
}

.page-shortcuts {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 16px;
    padding-bottom: 2px;
}

.page-shortcuts::-webkit-scrollbar {
    display: none;
}

.page-shortcut {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.page-shortcut.is-active {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border-color: transparent;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.glance-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 92px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.glance-card span {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.glance-card strong {
    font-size: 0.92rem;
    line-height: 1.4;
}

.glance-card--accent {
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
}

.glance-card--accent span {
    color: rgba(255, 255, 255, 0.76);
}

.profile-panel {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.profile-panel__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.profile-panel__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-panel__eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-panel__body strong {
    font-size: 1.08rem;
    line-height: 1.25;
}

.profile-panel__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.profile-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product__desc {
    color: #3f4c40;
    line-height: 1.7;
}

.buy-box {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.qty-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 800;
}

.product-sticky-bar {
    position: fixed;
    left: 50%;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 26;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 24px), 430px);
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(31, 42, 31, 0.14);
    backdrop-filter: blur(12px);
    transform: translate(-50%, calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.product-sticky-bar.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.product-sticky-bar__meta {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.product-sticky-bar__eyebrow {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-sticky-bar__meta strong {
    font-size: 1rem;
    line-height: 1.2;
}

.product-sticky-bar__button {
    flex: 0 0 auto;
    min-height: 48px;
    white-space: nowrap;
}

.cart-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    text-align: center;
}

.checkout-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 900;
}

.checkout-step strong {
    font-size: 0.88rem;
    line-height: 1.25;
}

.checkout-step.is-active {
    background: linear-gradient(135deg, #1d2a20 0%, #2f8f46 100%);
    color: #fff;
    border-color: transparent;
}

.checkout-step.is-active span {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.cart-list,
.cart-summary,
.empty-state {
    padding: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item:first-child {
    padding-top: 0;
}

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

.cart-item img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 18px;
    background: #eef0e7;
}

.cart-item__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item__body h3 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.35;
}

.cart-item__total {
    margin-top: 2px;
    font-size: 0.94rem;
    grid-column: 2;
    justify-self: end;
}

.cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cart-actions input {
    max-width: 78px;
}

.link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.summary-row--total {
    margin-bottom: 10px;
    font-size: 1.08rem;
    border-bottom: 0;
}

.summary-note {
    margin-top: 10px;
}

.cart-sticky-bar {
    position: fixed;
    left: 50%;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 26;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 24px), 430px);
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(31, 42, 31, 0.14);
    backdrop-filter: blur(12px);
    transform: translate(-50%, calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.cart-sticky-bar.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.cart-sticky-bar__meta {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-sticky-bar__eyebrow {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cart-sticky-bar__meta strong {
    font-size: 1rem;
    line-height: 1.2;
}

.cart-sticky-bar__button {
    flex: 0 0 auto;
    min-height: 48px;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
}

.empty-state p {
    margin: 8px 0 18px;
}

.account-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.summary-mini-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.summary-mini-card span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.summary-mini-card strong {
    font-size: 0.92rem;
    line-height: 1.4;
}

.summary-mini-card--accent {
    background: linear-gradient(135deg, #1d2a20 0%, #2f8f46 100%);
    color: #fff;
}

.summary-mini-card--accent span {
    color: rgba(255, 255, 255, 0.82);
}

.account-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.account-card--accent {
    background: linear-gradient(135deg, #ebf7e4 0%, #ffffff 100%);
}

.account-card strong {
    font-size: 1.04rem;
    line-height: 1.25;
}

.account-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.account-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1c8e63 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.account-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.account-card__eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.account-card__go {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.account-card--accent .account-card__go {
    background: rgba(15, 23, 42, 0.08);
}

.track-form-card,
.detail-card {
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 800;
}

.field-block input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
}

.form-note {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.detail-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.detail-card__head h2 {
    margin: 4px 0 0;
    font-size: 1.08rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--accent-3);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: capitalize;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.summary-box {
    padding: 12px;
    border-radius: 18px;
    background: var(--surface-2);
}

.summary-box span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.84rem;
}

.summary-box strong {
    line-height: 1.35;
}

.stack-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #3f4c40;
}

.track-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.track-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.track-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    background: #eef0e7;
}

.track-product strong {
    display: block;
    margin-bottom: 4px;
    line-height: 1.35;
}

.track-product p {
    margin: 0;
    color: var(--muted);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline__item {
    padding-left: 16px;
    border-left: 3px solid var(--accent-3);
}

.timeline__item strong,
.timeline__item span {
    display: block;
}

.timeline__item p {
    margin: 4px 0;
    color: #3f4c40;
}

.timeline__item span {
    color: var(--muted);
    font-size: 0.82rem;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(calc(100% - 24px), 430px);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom) / 2);
    transform: translateX(-50%);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(16px);
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 800;
    text-align: center;
}

.bottom-nav__item.is-active {
    background: linear-gradient(135deg, #1c8e63 0%, #34d399 100%);
    color: #fff;
}

.bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: currentColor;
}

.bottom-nav__item.is-active .bottom-nav__icon {
    background: rgba(255, 255, 255, 0.2);
}

.bottom-nav__label {
    font-size: 0.74rem;
    line-height: 1.2;
}

@media (max-width: 420px) {
    .app-shell {
        padding-inline: 10px;
    }

    .home-anchor-bar {
        top: 6px;
    }

    .hero,
    .product,
    .cart-list,
    .cart-summary,
    .empty-state,
    .track-form-card,
    .detail-card,
    .notice,
    .shortcut-card {
        border-radius: 22px;
    }

    .hero__row,
    .section-head,
    .detail-card__head,
    .catalog-tools__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__cart,
    .ghost-link {
        align-self: stretch;
    }

    .promo-banner {
        grid-template-columns: 1fr;
    }

    .promo-banner .button {
        width: 100%;
    }

    .story-card {
        flex-basis: 76px;
    }

    .story-card__media {
        width: 68px;
        height: 68px;
        border-radius: 22px;
    }

    .hero-metrics,
    .feature-deck,
    .curation-panel,
    .glance-grid {
        grid-template-columns: 1fr;
    }

    .mini-product-grid {
        grid-template-columns: 1fr;
    }

    .quick-filter-bar {
        top: 8px;
    }

    .shop-stage {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .page-shortcuts {
        margin-top: 14px;
    }

    .product-sticky-bar {
        width: min(calc(100% - 20px), 430px);
        bottom: calc(90px + env(safe-area-inset-bottom));
    }

    .cart-sticky-bar {
        width: min(calc(100% - 20px), 430px);
        bottom: calc(90px + env(safe-area-inset-bottom));
    }

    .catalog-tools__toggle,
    .catalog-tools__meta {
        width: 100%;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .account-summary-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .profile-panel__avatar {
        width: 64px;
        height: 64px;
        border-radius: 22px;
    }
}

@media (max-width: 390px) {
    .shell,
    .shell--detail {
        width: 100%;
    }

    .home-anchor-pill {
        padding-inline: 12px;
        font-size: 0.8rem;
    }

    .shop-stage {
        grid-template-columns: 1fr;
    }

    .shop-stage__media {
        max-width: 112px;
    }

    .shortcut-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .grid.is-list .card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .grid.is-list .card__badges {
        inset: 8px 8px auto 8px;
    }

    .quick-filter-bar {
        margin-inline: -2px;
    }

    .hero-metric,
    .feature-card {
        min-height: auto;
    }

    .glance-card {
        min-height: auto;
    }

    .account-card {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .account-card__go {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .offer-card,
    .collection-card {
        flex-basis: min(88%, 290px);
    }

    .product-sticky-bar {
        gap: 10px;
        padding: 10px;
    }

    .checkout-steps {
        gap: 8px;
    }

    .checkout-step {
        padding: 10px 8px;
        border-radius: 18px;
    }

    .cart-sticky-bar {
        gap: 10px;
        padding: 10px;
    }

    .track-action-row {
        grid-template-columns: 1fr;
    }

    .category-grid {
        gap: 10px;
    }

    .card__body,
    .shortcut-card,
    .account-card,
    .track-form-card,
    .detail-card {
        padding: 14px;
    }

    .bottom-nav {
        gap: 6px;
        padding-inline: 8px;
    }

    .bottom-nav__item {
        min-height: 46px;
    }

    .bottom-nav__label {
        font-size: 0.76rem;
    }
}

@media (max-width: 360px) {
    .promo-banner,
    .hero__row,
    .buy-box,
    .cart-actions,
    .view-switch {
        grid-template-columns: 1fr;
        display: block;
    }

    .hero__cart,
    .promo-banner .button,
    .cart-actions .button,
    .link-button,
    .buy-box .button {
        margin-top: 12px;
    }

    .grid,
    .category-grid,
    .shortcut-grid {
        grid-template-columns: 1fr;
    }

    .list-card {
        grid-template-columns: 1fr;
    }

    .list-card__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-sticky-bar {
        width: calc(100% - 20px);
        bottom: calc(86px + env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-steps {
        grid-template-columns: 1fr;
    }

    .product-sticky-bar__button {
        width: 100%;
    }

    .cart-sticky-bar {
        width: calc(100% - 20px);
        bottom: calc(86px + env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
    }

    .cart-sticky-bar__button {
        width: 100%;
    }

    .filter-chip {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 0.82rem;
    }

    .shop-toolbar__action {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 0.8rem;
    }

    .page-shortcut {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 0.78rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item img,
    .cart-item__total {
        grid-column: auto;
    }

    .cart-item__total {
        justify-self: start;
    }
}
