/* Storefront — full e-commerce front (no frameworks) */

:root {
    --ink: #0f1419;
    --text: #2a3038;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-strong: #d1d5db;
    --bg: #f3f4f6;
    --surface: #ffffff;
    --accent: #0f766e;
    --accent-hover: #0d5f59;
    --accent-soft: #ecfdf8;
    --sale: #b91c1c;
    --warning: #b45309;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15, 20, 25, 0.05), 0 8px 24px rgba(15, 20, 25, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 20, 25, 0.12);
    --header: 4.25rem;
    --max: 72rem;
    --font: "TildaSansRegular", system-ui, -apple-system, sans-serif;
    --font-m: "TildaSansMedium", "TildaSansRegular", system-ui, sans-serif;
    --font-l: "TildaSansLight", "TildaSansRegular", system-ui, sans-serif;
    --font-b: "TildaSansBold", "TildaSansMedium", system-ui, sans-serif;
    --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-m);
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 0.5rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.page { padding-top: calc(var(--header) + 2.25rem); min-height: 70vh; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap--s { width: min(100% - 2rem, 26rem); }
.wrap--m { width: min(100% - 2rem, 44rem); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.85rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-family: var(--font-m);
    font-size: 0.92rem;
    cursor: pointer;
    transition: background var(--ease), box-shadow var(--ease), transform var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}
.btn--ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn--ghost:hover {
    background: var(--bg);
    color: var(--ink);
    box-shadow: none;
    border-color: var(--ink);
}
.btn--dark {
    background: var(--ink);
    color: #fff;
}
.btn--dark:hover { background: #1f2937; color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.35rem; padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--lg { min-height: 3.15rem; padding: 0.85rem 1.75rem; font-size: 1rem; }

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--ease);
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.icon-btn svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-btn__count {
    position: absolute;
    top: 0.15rem;
    right: 0.1rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-family: var(--font-b);
    line-height: 1.05rem;
    text-align: center;
}

/* Top bar + header */
.topbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    height: 2.25rem;
    background: var(--ink);
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
}
.topbar__inner {
    height: 100%;
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 1rem; }

.site-header {
    position: fixed;
    top: 2.25rem;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--header);
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner {
    height: 100%;
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-family: var(--font-m);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { width: 2rem; height: 2rem; object-fit: contain; }

.header-search {
    display: none;
    position: relative;
    max-width: 36rem;
    width: 100%;
    margin-inline: auto;
}
.header-search__form {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg);
}
.header-search__form:focus-within {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.7rem 1.1rem;
    outline: none;
}
.header-search__form > button {
    border: 0;
    background: var(--accent);
    color: #fff;
    padding: 0 1.15rem;
    cursor: pointer;
    font-family: var(--font-m);
    font-size: 0.85rem;
}
.header-search__form > button:hover { background: var(--accent-hover); }

.nav-desktop {
    display: none;
    gap: 1.25rem;
    margin-right: 0.5rem;
}
.nav-desktop a {
    color: var(--text);
    font-family: var(--font-m);
    font-size: 0.88rem;
}
.nav-desktop a:hover { color: var(--accent); }

.actions { display: flex; align-items: center; gap: 0.15rem; }
.menu-toggle { display: inline-flex; }

@media (min-width: 64rem) {
    .header-search { display: block; }
    .nav-desktop { display: flex; }
    .menu-toggle { display: none; }
    .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
}

/* Drawers */
.veil {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(15, 20, 25, 0.4);
    opacity: 0; pointer-events: none;
    transition: opacity var(--ease);
}
.veil.is-open { opacity: 1; pointer-events: auto; }

.drawer {
    position: fixed; top: 0; right: 0; z-index: 80;
    width: min(100%, 24rem);
    height: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--ease);
    display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer--left {
    right: auto; left: 0;
    transform: translateX(-100%);
}
.drawer--left.is-open { transform: translateX(0); }
.drawer__top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--line);
}
.drawer__top h2 {
    margin: 0;
    font-size: 1rem;
}
.drawer__body { flex: 1; overflow: auto; padding: 0.5rem 1.25rem 1.25rem; }
.drawer__foot {
    padding: 1.15rem 1.25rem 1.35rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.drawer-nav a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-m);
}
.drawer-meta { margin-top: 1.25rem; color: var(--muted); font-size: 0.9rem; }
.drawer-meta li { margin-bottom: 0.35rem; }

.search-layer {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 18vh 1rem 2rem;
    background: rgba(15, 20, 25, 0.45);
    opacity: 0; pointer-events: none;
    transition: opacity var(--ease);
}
.search-layer.is-open { opacity: 1; pointer-events: auto; }
.search-box {
    width: min(100%, 36rem);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
}
.search-box__label {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-family: var(--font-m);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.search-row { display: flex; gap: 0.5rem; }
.search-row input {
    flex: 1;
    min-height: 2.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    outline: none;
    background: var(--bg);
}
.search-row input:focus {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

/* Search history — only under search field */
.search-shell {
    position: relative;
}
.search-history--dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    z-index: 40;
    padding: 0.7rem 0.75rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.search-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
    padding: 0 0.25rem;
    font-size: 0.72rem;
    font-family: var(--font-m);
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.search-history__head button {
    border: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    padding: 0;
}
.search-history__head button:hover { color: var(--accent-hover); }
.search-history__list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.search-history__list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.15rem;
}
.search-history__list a {
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-history__list a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.search-history__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    line-height: 0;
    appearance: none;
}
.search-history__remove svg {
    width: 0.95rem;
    height: 0.95rem;
    display: block;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
.search-history__remove:hover {
    background: var(--bg);
    color: var(--ink);
}
.empty--soft {
    border-style: solid;
    background: transparent;
    box-shadow: none;
}

/* Forms */
.field { margin-bottom: 1rem; }
.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-family: var(--font-m);
    color: var(--text);
}
.field input,
.field select,
.field textarea,
.sheet input,
.sheet select,
.auth-card input,
.auth-card select {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.auth-card input:focus,
.sheet input:focus,
.sheet select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.field-error { margin-top: 0.3rem; color: var(--sale); font-size: 0.85rem; }
.form-note { margin-top: 1.25rem; text-align: center; color: var(--muted); }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: min(82vh, 42rem);
    display: flex;
    align-items: center;
    background: #0f1419;
}
.hero__media {
    position: absolute;
    inset: 0;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    animation: hero-zoom 18s ease-in-out infinite alternate;
}
.hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(15, 20, 25, 0.88) 0%, rgba(15, 20, 25, 0.55) 48%, rgba(15, 118, 110, 0.35) 100%),
        linear-gradient(to top, rgba(15, 20, 25, 0.55), transparent 40%);
}
.hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 4.5rem 0 5rem;
    max-width: 36rem;
}
.hero__brand {
    margin: 0 0 0.85rem;
    font-family: var(--font-l);
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    animation: rise-in 0.7s ease both;
}
.hero h1 {
    color: #fff;
    font-family: var(--font-m);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 500;
    margin-bottom: 0.85rem;
    animation: rise-in 0.7s ease 0.08s both;
}
.hero__inner > p {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    max-width: 28rem;
    animation: rise-in 0.7s ease 0.16s both;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: rise-in 0.7s ease 0.24s both;
}
.hero .btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.hero .btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}
@keyframes hero-zoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}
@keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: -1.5rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 48rem) {
    .trust { grid-template-columns: repeat(3, 1fr); }
}
.trust__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.15rem 1.2rem;
}
.trust__item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.trust__item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section--soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.section__head-text { max-width: 34rem; }
.section__kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-family: var(--font-m);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.section__head h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-bottom: 0.35rem; }
.section__head p { margin: 0; color: var(--muted); }

/* Product grid / cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1.25rem;
}
.grid--cats {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.15rem;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #c5cbd3;
    color: inherit;
}
.card__media {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #eef1f4, #e5e7eb);
    overflow: hidden;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__ph {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.card__sale {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--sale);
    color: #fff;
    font-size: 0.72rem;
    font-family: var(--font-b);
}
.card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.85rem 1.05rem 1.15rem;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}
.card__body:hover { color: inherit; }
.card__title {
    margin: 0;
    font-family: var(--font-m);
    font-size: 0.95rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(0.95rem * 1.35 * 2);
    color: var(--ink);
}
.card__price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    font-family: var(--font-b);
    font-size: 1.05rem;
    color: var(--ink);
}
.card__old {
    color: var(--muted);
    text-decoration: line-through;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 400;
}
.card__cta {
    display: inline-flex;
    align-items: center;
    margin-top: 0.15rem;
    color: var(--accent);
    font-family: var(--font-m);
    font-size: 0.82rem;
}
.card:hover .card__cta { color: var(--accent-hover); }
.card__skus {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 0.95rem 0;
}
.card__variant {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}
.sku-swatch {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
    flex: 0 0 auto;
    transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.sku-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sku-swatch:hover { border-color: var(--line-strong); }
.sku-swatch.is-on {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.sku-swatch--lg {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 8px;
}

.sku-block { margin: 0 0 1.15rem; }
.sku-block__label {
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: var(--text);
}
.sku-block__label strong { color: var(--ink); font-family: var(--font-m); }
.sku-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sku-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.sku-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.4rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    font-family: var(--font-m);
    font-size: 0.88rem;
    color: var(--ink);
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.sku-pill:hover { border-color: var(--ink); }
.sku-pill.is-on {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.buy-form { margin-top: 0.35rem; }
.buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.35rem;
}
.thumbs .thumb {
    width: 4rem;
    height: 4rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
}
.thumbs .thumb.is-on,
.thumbs .thumb:hover { border-color: var(--accent); }
.thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow);
}
.cat-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,20,25,0.88) 0%, rgba(15,20,25,0.35) 45%, rgba(15,20,25,0.08) 100%);
    pointer-events: none;
}
.cat-tile__name {
    position: absolute;
    left: 1.1rem; right: 1.1rem; bottom: 1.1rem;
    margin: 0;
    font-family: var(--font-m);
    font-size: 1.15rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Masthead */
.mast {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 0 1.4rem;
}
.mast h1 {
    font-size: clamp(1.55rem, 3vw, 2rem);
    margin-bottom: 0.25rem;
}
.mast p { margin: 0; color: var(--muted); }
.mast a { color: var(--muted); }
.mast a:hover { color: var(--accent); }
.crumbs {
    display: flex; flex-wrap: wrap; gap: 0.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    color: var(--muted);
}
.crumbs--page { padding-top: 1.5rem; margin-bottom: 0; }
.crumbs a { color: var(--muted); }
.crumbs span { opacity: 0.5; }

/* Product detail */
.pdp {
    display: grid;
    gap: 2rem;
    padding: 2rem 0 3.5rem;
}
@media (min-width: 64rem) {
    .pdp { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
.pdp__gallery { position: sticky; top: calc(var(--header) + 2.75rem); }
.pdp__main {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.pdp__main img {
    width: 100%;
    max-height: 36rem;
    object-fit: cover;
}
.thumbs {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-top: 0.75rem;
}
.thumbs button {
    width: 4rem; height: 4rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
}
.thumbs button.is-on,
.thumbs button:hover { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}
.pdp__panel h1 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-bottom: 0.75rem;
}
.price-box {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.65rem;
    margin-bottom: 1.15rem;
}
.price-box__now {
    font-family: var(--font-b);
    font-size: 1.75rem;
    color: var(--ink);
}
.price-box__old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 1.05rem;
}
.price-box__tag {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fef2f2;
    color: var(--sale);
    font-size: 0.75rem;
    font-family: var(--font-m);
}
.desc {
    white-space: pre-wrap;
    color: var(--muted);
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--line);
}
.chars { margin: 0 0 1.25rem; }
.chars li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}
.chars li span:first-child { color: var(--muted); }
.buy {
    display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center;
}
.pdp-assures {
    display: grid;
    gap: 0.45rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}
.pdp-assures li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--muted);
    font-size: 0.88rem;
}
.pdp-assures li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
}
.related {
    margin-top: 0.5rem;
    padding: 2.5rem 0 3.5rem;
    border-top: 1px solid var(--line);
}
.related .section__head { margin-bottom: 1.5rem; }
.profile-reco {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

/* Order status track */
.status-track {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.status-track--cancelled {
    border-color: #fecaca;
    background: #fff7f7;
}
.status-track__cancel-badge {
    display: inline-flex;
    margin: 0 0 0.85rem 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #fef2f2;
    color: var(--sale);
    font-family: var(--font-m);
    font-size: 0.8rem;
}
.status-track__list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.status-track__step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}
.status-track__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.7rem;
    left: calc(50% + 0.85rem);
    right: calc(-50% + 0.85rem);
    height: 3px;
    background: var(--line-strong);
    border-radius: 999px;
    z-index: 0;
}
.status-track__step.is-done:not(:last-child)::after,
.status-track__step.is-current:not(:last-child)::after {
    background: var(--accent);
}
.status-track--cancelled .status-track__step:not(:last-child)::after {
    background: #fecaca;
}
.status-track__dot {
    position: relative;
    z-index: 1;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    border: 3px solid var(--line-strong);
    background: var(--surface);
    box-sizing: border-box;
}
.status-track__step.is-done .status-track__dot {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: inset 0 0 0 3px var(--surface);
}
.status-track__step.is-current .status-track__dot {
    border-color: var(--accent);
    background: var(--accent);
    animation: status-pulse 1.6s ease-in-out infinite;
}
@keyframes status-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(15, 118, 110, 0);
        transform: scale(1.08);
    }
}
@media (prefers-reduced-motion: reduce) {
    .status-track__step.is-current .status-track__dot {
        animation: none;
        box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.18);
    }
}
.status-track__step.is-muted .status-track__dot {
    border-color: #fca5a5;
    background: #fee2e2;
}
.status-track__label {
    margin-top: 0.55rem;
    font-size: 0.72rem;
    line-height: 1.25;
    color: var(--muted);
    font-family: var(--font-m);
}
.status-track__step.is-done .status-track__label,
.status-track__step.is-current .status-track__label {
    color: var(--ink);
}
.status-track__step.is-current .status-track__label {
    color: var(--accent);
}

.status-manage {
    margin: 0 0 1.5rem;
}
.status-manage__head {
    margin-bottom: 1rem;
}
.status-manage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.status-manage__next {
    min-height: 2.85rem;
    padding-inline: 1.25rem;
    font-size: 1rem;
}
.status-manage__cancel {
    color: var(--sale);
    border-color: #fecaca;
}
.status-manage__cancel:hover {
    background: #fff1f2;
}

.orders-admin {
    display: grid;
    gap: 1rem;
}
.orders-admin__row {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}
.orders-admin__row:last-child { border-bottom: 0; padding-bottom: 0; }
.orders-admin__id {
    font-family: var(--font-b);
    color: var(--ink);
    text-decoration: none;
}
.orders-admin__id:hover { color: var(--accent); }
.orders-admin__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 0.35rem 0 0.65rem;
    color: var(--muted);
    font-size: 0.88rem;
}
.orders-admin__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.orders-admin__form .btn {
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    max-width: 14rem;
}
@media (max-width: 40rem) {
    .status-track__label {
        font-size: 0.62rem;
    }
    .status-track__dot {
        width: 1.15rem;
        height: 1.15rem;
        border-width: 2px;
    }
    .status-track__step:not(:last-child)::after {
        top: 0.55rem;
        left: calc(50% + 0.7rem);
        right: calc(-50% + 0.7rem);
        height: 2px;
    }
}
@media (min-width: 56rem) {
    .orders-admin__row {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    overflow: hidden;
}
.qty button {
    width: 2.6rem; height: 2.6rem;
    border: 0; background: transparent; cursor: pointer;
}
.qty input {
    width: 2.75rem; min-height: 2.6rem;
    border: 0; text-align: center; background: transparent; padding: 0;
}
.param {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.35rem;
}
.param select {
    min-height: 2.6rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.7rem;
    background: var(--surface);
}

/* Checkout */
.sheet { padding: 1.75rem 0 3.5rem; }
.steps-bar {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.steps-bar span {
    color: var(--muted);
    font-family: var(--font-m);
    font-size: 0.85rem;
}
.steps-bar .is-current { color: var(--accent); }

.choice-stack {
    display: grid;
    gap: 1rem;
}
.choice-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.35rem 1.4rem;
}
.choice-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.choice-card p { color: var(--muted); }

.checkout {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 64rem) {
    .checkout { grid-template-columns: 1.45fr 0.9fr; align-items: start; }
}
.checkout-form { display: grid; gap: 1rem; }
.checkout-block { margin: 0; }
.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.form-grid {
    display: grid;
    gap: 0.85rem 1rem;
}
@media (min-width: 40rem) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field--full { grid-column: 1 / -1; }
}
.method-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}
.method-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    cursor: pointer;
    font-family: var(--font-m);
    text-align: center;
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.method-tab input { position: absolute; opacity: 0; pointer-events: none; }
.method-tab.is-on,
.method-tab:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.pickup-note {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}
.pickup-note strong { color: var(--ink); }
.checkout-form textarea,
.checkout-form input,
.checkout-form select {
    width: 100%;
}
.summary-lines {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.summary-line {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    gap: 0.65rem;
    align-items: center;
}
.summary-line img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg);
}
.summary-line strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--ink);
}
.summary-line span,
.summary-line em {
    font-style: normal;
    color: var(--muted);
    font-size: 0.78rem;
}
.summary-line em {
    color: var(--ink);
    font-family: var(--font-m);
    white-space: nowrap;
}

.line-list {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.line {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 0.95rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
}
.line:last-child { border-bottom: 0; }
.line img {
    width: 4.5rem; height: 4.5rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.line__name {
    margin: 0 0 0.25rem;
    font-family: var(--font-m);
    font-size: 0.95rem;
}
.line__name a { color: var(--ink); }
.line__name a:hover { color: var(--accent); }
.line__meta { margin: 0; color: var(--muted); font-size: 0.85rem; }
.line__price { font-family: var(--font-b); white-space: nowrap; }
.line__actions {
    grid-column: 1 / -1;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}

.summary {
    position: sticky;
    top: calc(var(--header) + 2.75rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.35rem;
}
.summary h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.summary__row span:last-child {
    color: var(--ink);
    font-family: var(--font-m);
    text-align: right;
}
.summary__total {
    display: flex;
    justify-content: space-between;
    margin: 0.85rem 0 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-b);
    font-size: 1.15rem;
    color: var(--ink);
}
.meta-list { margin: 0 0 1.15rem; }
.meta-list li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}
.meta-list strong {
    color: var(--ink);
    font-family: var(--font-m);
    font-weight: 500;
}
.status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.78rem;
    font-family: var(--font-m);
}
.status--cancel {
    background: #fef2f2;
    color: var(--sale);
}

/* Cart drawer lines */
.cart-line {
    display: grid;
    grid-template-columns: 3.75rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}
.cart-line img {
    width: 3.75rem; height: 3.75rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.cart-line h3 { margin: 0 0 0.2rem; font-family: var(--font-m); font-size: 0.88rem; }
.cart-line h3 a { color: var(--ink); }
.cart-line p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.cart-sum {
    display: flex; justify-content: space-between;
    margin-bottom: 0.9rem;
    font-family: var(--font-b);
    font-size: 1.05rem;
}

/* Profile / auth */
.profile-layout { max-width: 64rem; }
.profile-nav {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-bottom: 1.35rem;
    padding: 0.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.profile-nav button,
.profile-nav a {
    border: 0;
    background: transparent;
    padding: 0.65rem 0.95rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-m);
    font-size: 0.88rem;
    color: var(--muted);
    cursor: pointer;
    text-decoration: none;
}
.profile-nav button.is-on,
.profile-nav button:hover,
.profile-nav a:hover {
    background: var(--accent-soft);
    color: var(--accent);
}
.profile-panel { display: none; }
.profile-panel.is-on { display: block; }
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.35rem;
}
.panel__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}
.order-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem 1.25rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}
.order-row:hover { color: inherit; }
.order-row:last-child { border-bottom: 0; }
.order-row__id { font-family: var(--font-b); color: var(--ink); }
.order-row__info { color: var(--muted); font-size: 0.9rem; }
.order-row__info .status { display: inline-block; margin-top: 0.3rem; margin-left: 0.35rem; }

.auth-wrap {
    display: grid;
    place-items: center;
    padding: 2.5rem 1rem 4rem;
    min-height: 60vh;
}
.auth-card {
    width: min(100%, 26rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
}
.auth-card h1 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.auth-card > p { color: var(--muted); margin-bottom: 1.35rem; }
.auth-alt {
    margin: 1.25rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Wishlist rows */
.wish-list {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.wish-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
}
.wish-row:last-child { border-bottom: 0; }
@media (min-width: 40rem) {
    .wish-row { grid-template-columns: 5.5rem 1fr auto; }
}
.wish-row__media {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}
.wish-row__media img { width: 100%; height: 100%; object-fit: cover; }
.wish-row__body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}
.wish-row__body h3 a { color: var(--ink); }
.wish-row__body h3 a:hover { color: var(--accent); }
.wish-row__price {
    margin: 0;
    font-family: var(--font-b);
    color: var(--ink);
}
.wish-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    grid-column: 1 / -1;
}
@media (min-width: 40rem) {
    .wish-row__actions { grid-column: auto; justify-content: end; }
}

/* CTA band */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 90% 20%, rgba(15, 118, 110, 0.18), transparent 45%),
        var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.cta-band p { margin: 0; color: var(--muted); max-width: 32rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.empty {
    padding: 2.5rem 1.25rem;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}
.empty h3 { font-size: 1.1rem; }
.empty p { margin: 0; color: var(--muted); }

.muted { color: var(--muted); }

/* Footer */
.site-footer {
    margin-top: 2rem;
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.75rem;
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
    display: grid;
    gap: 2rem;
}
@media (min-width: 48rem) {
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer__brand {
    font-family: var(--font-l);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.site-footer h3 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.site-footer ul li { margin-bottom: 0.45rem; }
.site-footer__copy {
    width: min(100% - 2rem, var(--max));
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.42);
}

/* Flash */
.flash {
    position: fixed;
    top: calc(2.25rem + var(--header) + 0.75rem);
    right: 1rem;
    z-index: 120;
    width: min(100% - 2rem, 22rem);
    display: flex; flex-direction: column; gap: 0.45rem;
}
.flash__item {
    display: flex; justify-content: space-between; gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
}
.flash__item--error { background: var(--sale); }
.flash__item--warning { background: var(--warning); }
.flash__close {
    border: 0; background: transparent; color: inherit;
    cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.flash__item.is-hide { opacity: 0; transition: opacity 0.25s ease; }

@media (max-width: 64rem) {
    .pdp__gallery, .summary { position: static; }
    .order-row { grid-template-columns: 1fr; }
}
