:root {
    --accent: #0d9488;
    --accent-dark: #0f766e;
    --accent-soft: #f0fdfa;
    --accent-glow: rgba(13, 148, 136, 0.15);
    --sale: #ef4444;
    --sale-soft: #fef2f2;
    --bg: #f4f6f9;
    --surface: #ffffff;
    --border: #e8edf3;
    --text: #0f172a;
    --muted: #64748b;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 6px 20px rgba(15, 23, 42, 0.05);
    --header-h: 68px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }

/* ── Header ── */
.store-nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
html.store-nav-open { overflow: hidden; }

.store-chrome { position: relative; }

.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg, rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--header-border, var(--border));
    color: var(--header-text, var(--text));
}
.store-header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.store-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--header-text, var(--text));
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}
.store-logo {
    max-height: 40px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    display: block;
}

.store-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 101;
}
.store-burger-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.15rem;
    height: 1rem;
}
.store-burger-lines span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.store-nav-toggle:checked ~ .store-header .store-burger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.store-nav-toggle:checked ~ .store-header .store-burger-lines span:nth-child(2) {
    opacity: 0;
}
.store-nav-toggle:checked ~ .store-header .store-burger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.store-nav--desktop { display: flex; }
.store-drawer { display: none; }

.store-subnav {
    display: none;
    overflow-x: auto;
    gap: 0.35rem;
    padding: 0.45rem 1rem 0.65rem;
    border-top: 1px solid var(--header-border, var(--border));
    -webkit-overflow-scrolling: touch;
}
.store-subnav a {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--header-text, var(--muted));
    padding: 0.3rem 0.65rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}
.store-subnav a:hover { background: rgba(255,255,255,0.08); color: var(--header-text, var(--text)); }

.store-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.store-nav a {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--header-text, var(--muted));
    opacity: 0.9;
    transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.store-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); opacity: 1; }
.store-nav .nav-cart {
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 600;
}
.store-nav .nav-cart:hover { background: #ccfbf1; }

.store-nav-backdrop { display: none; }

.store-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

/* ── Promo bar ── */
.store-promo-bar {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.01em;
}
.store-promo-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem 1rem;
}

/* ── Search ── */
.store-search {
    flex: 1;
    max-width: 420px;
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.25rem 0.2rem 1rem;
    margin: 0 0.5rem;
}
.store-search input {
    flex: 1;
    width: auto;
    margin-top: 0;
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-radius: 0;
    box-shadow: none;
}
.store-search input:focus { box-shadow: none; outline: none; border: none; }
.store-search button {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-cart {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}
.nav-cart-badge {
    background: var(--sale);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

/* ── Price blocks ── */
.price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-top: 0.35rem;
}
.price-sale, .price-current {
    font-weight: 800;
    color: var(--sale);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}
.price-block--sale .price-sale { font-size: 1.15rem; }
.price-old {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}
.price-badge {
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--sale-soft);
    color: var(--sale);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}
.product-card .price-sale, .product-card .price-current { font-size: 1rem; }

/* ── Product card (marketplace) ── */
.product-card {
    position: relative;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.product-card .img-wrap { position: relative; }
.product-ribbon {
    position: absolute;
    top: 0.65rem;
    left: 0;
    z-index: 2;
    background: var(--sale);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem 0.25rem 0.45rem;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.88rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-stock {
    font-size: 0.72rem;
    color: #0f766e;
    margin-top: 0.35rem;
    font-weight: 500;
}
.product-card-stock--out { color: #94a3b8; }
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.img-placeholder--lg { min-height: 320px; }

/* ── Hero modern ── */
.hero--modern {
    display: grid;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 3rem);
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stats strong { display: block; font-size: 1.25rem; }
.hero-stats span { font-size: 0.78rem; opacity: 0.85; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hero-carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.hero-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hero-carousel-track::-webkit-scrollbar { display: none; }
.hero-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 21/9;
    min-height: 180px;
}
.hero-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Sections ── */
.store-section { margin-bottom: 2.5rem; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-dark);
    white-space: nowrap;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.75rem;
}
.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.category-tile:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: var(--accent-dark);
}
.category-tile-icon { font-size: 1.5rem; opacity: 0.7; }
.category-tile-media {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}
.category-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.category-chip {
    display: inline-flex;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.15s;
}
.category-chip:hover, .category-chip.active {
    background: var(--accent-soft);
    border-color: #99f6e4;
    color: var(--accent-dark);
    font-weight: 600;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}
.trust-bar-item span { font-size: 1.1rem; }

.page-head h1 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.page-head p { margin: 0 0 1rem; color: var(--muted); }

/* ── PDP ── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
    margin-bottom: 2rem;
}
.pdp-buybox {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.pdp-buybox h1 {
    margin: 0.5rem 0 0.75rem;
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.badge--lg { font-size: 0.75rem; padding: 0.25rem 0.65rem; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1.25rem; }
.stock-pill, .promo-pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}
.stock-pill--ok { background: #ecfdf5; color: #0f766e; }
.stock-pill--out { background: #f1f5f9; color: #94a3b8; }
.promo-pill { background: var(--sale-soft); color: var(--sale); }
.field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin: 0.85rem 0 0.4rem;
}
.variant-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.variant-chip {
    cursor: pointer;
}
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip span {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s;
}
.variant-chip input:checked + span {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 600;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-stepper input {
    width: 3rem;
    text-align: center;
    margin: 0;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
}
.qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: var(--bg);
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
}
.pdp-form .btn { margin-top: 0.65rem; }
.pdp-trust {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--muted);
    display: grid;
    gap: 0.35rem;
}
.pdp-desc-card h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.pdp-desc { color: #475569; line-height: 1.7; white-space: pre-wrap; }

.pdp-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.pdp-thumb {
    width: 4.25rem;
    height: 4.25rem;
    padding: 0;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--surface);
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--accent); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdp-video { margin-top: 1.25rem; }
.pdp-video-title {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
}
.pdp-video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #0f172a;
}
.pdp-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.pdp-short-desc {
    margin: 0.35rem 0 0.85rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}
.pdp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0;
}
.pdp-tags .tag-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 500;
}
.promo-pill--ship { background: #ecfdf5; color: #0f766e; }
.promo-pill--pre { background: #eff6ff; color: #1d4ed8; }

.pdp-specs-mini {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.45rem;
    font-size: 0.85rem;
}
.pdp-specs-mini div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}
.pdp-specs-mini span { color: var(--muted); }
.pdp-specs-mini strong { color: var(--text); text-align: right; }

.pdp-tabs { display: grid; gap: 1rem; }
.pdp-info-card h2 { margin: 0 0 0.65rem; font-size: 1rem; }
.pdp-info-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #475569;
    line-height: 1.65;
}
.pdp-info-list li { margin-bottom: 0.25rem; }

.price-lg .price-sale, .price-lg .price-current { font-size: 1.5rem; }

/* ── Footer ── */
.store-footer {
    text-align: left;
    padding: 2.5rem 1rem 1.5rem;
    margin-top: 2rem;
    background: var(--footer-bg, #0f172a);
    color: var(--footer-muted, #94a3b8);
    border-top: none;
}
.store-footer a { color: var(--footer-muted, #cbd5e1); }
.store-footer a:hover { color: var(--footer-text, #fff); }
.store-footer-grid {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
}
.store-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.store-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.store-footer-grid > div:not(.store-footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.trust-list li { margin-bottom: 0.35rem; }
.store-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 0.82rem;
}

@media (max-width: 768px) {
    .store-search { display: none; }
    .store-header-inner { gap: 0.5rem; }
    .pdp-layout { grid-template-columns: 1fr; }
    .pdp-buybox { position: static; }
    .store-footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 1rem; }
}
@media (max-width: 480px) {
    .store-footer-grid { grid-template-columns: 1fr; }
}

/* ── Product grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 1.1rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    color: inherit;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--chip-border);
}
.product-card .img-wrap {
    aspect-ratio: 1;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.product-card:hover img { transform: scale(1.02); }
.product-card-body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.product-card .title { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.product-card .price {
    font-weight: 800;
    color: var(--accent-dark);
    margin-top: auto;
    padding-top: 0.6rem;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.product-card .price-old {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
    margin-right: 0.35rem;
}
.product-card .badge {
    display: inline-block;
    font-size: 0.68rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 0.4rem;
    width: fit-content;
}

/* ── Product detail ── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 4vw, 2rem);
    align-items: start;
}
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    aspect-ratio: 1;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.product-detail-info .stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--muted);
    background: var(--bg);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.product-detail-info .desc {
    color: #475569;
    line-height: 1.65;
    margin: 1rem 0 1.5rem;
}

/* ── Cards & buttons ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    font: inherit;
    transition: transform 0.12s, box-shadow 0.15s;
    text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--accent-text, #fff);
    box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover { color: var(--accent-text, #fff); filter: brightness(1.05); }
.btn-secondary { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn-block { width: 100%; }

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.85rem;
    color: #475569;
}
input, textarea, select {
    width: 100%;
    padding: 0.72rem 0.9rem;
    margin-top: 0.35rem;
    border: 1px solid #d7dee8;
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { resize: vertical; min-height: 88px; }

.price-lg {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
    color: var(--accent-dark);
    letter-spacing: -0.03em;
}

/* ── Cart & tables ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: #fafbfc; }
.card-flush { padding: 0; overflow: hidden; }

.cart-qty-form { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.cart-qty-form input { width: 4rem; margin: 0; text-align: center; }

.empty {
    color: var(--muted);
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}
.empty a { font-weight: 600; }

.order-success {
    text-align: center;
    padding: 2rem 1.5rem;
}
.order-success-icon {
    width: 4rem;
    height: 4rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    font-weight: 700;
}
.order-total-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-size: 1.1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1rem;
}
.back-link:hover { color: var(--accent-dark); }

.err {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid #fecaca;
    font-size: 0.9rem;
}

.hero--modern {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 60%, #2dd4bf 100%);
    border-radius: var(--radius);
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.2);
}
.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}
.cart-summary h3 { margin: 0 0 1rem; font-size: 1rem; }
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.cart-summary-note { font-size: 0.82rem; color: var(--muted); margin: 0 0 1rem; }
.price-cell { font-weight: 700; color: var(--accent-dark); }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.82rem; }
.empty--cart { padding: 4rem 1.5rem; }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 0.75rem; }

@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .store-burger { display: flex; color: var(--header-text, var(--text)); }
    .store-nav--desktop { display: none; }
    .store-search--desktop { display: none; }
    .store-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 92vw);
        background: var(--surface);
        z-index: 120;
        padding: 0;
        box-shadow: -16px 0 48px rgba(15, 23, 42, 0.22);
        transform: translateX(105%);
        transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
        overflow: hidden;
        font-family: var(--font);
    }
    .store-nav-toggle:checked ~ .store-drawer { transform: translateX(0); }
    .store-drawer-accent {
        height: 4px;
        background: linear-gradient(90deg, var(--accent), var(--secondary, var(--accent)));
        flex-shrink: 0;
    }
    .store-drawer-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 1.1rem 1.15rem 0.85rem;
        background: var(--surface);
    }
    .store-drawer-brand strong {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: var(--text);
        letter-spacing: -0.02em;
        line-height: 1.3;
    }
    .store-drawer-brand small {
        display: block;
        margin-top: 0.2rem;
        font-size: 0.78rem;
        color: var(--muted);
        font-weight: 500;
    }
    .store-drawer-close {
        flex-shrink: 0;
        width: 2.35rem;
        height: 2.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--bg);
        border: 1px solid var(--border);
        cursor: pointer;
        color: var(--muted);
        padding: 0;
        position: relative;
        z-index: 2;
        -webkit-tap-highlight-color: transparent;
    }
    .store-drawer-close:hover { background: var(--border); color: var(--text); }
    .store-drawer-close:active { transform: scale(0.96); }
    .store-drawer-search {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        margin: 0 1rem 0.5rem;
        padding: 0 0.75rem;
        height: 2.5rem;
        border-radius: 8px;
        background: var(--bg);
        border: 1px solid var(--border);
        flex-shrink: 0;
    }
    .store-drawer-search input {
        flex: 1;
        width: auto;
        min-width: 0;
        height: 100%;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        font-size: 0.88rem;
        line-height: 1.2;
        box-shadow: none;
    }
    .store-drawer-search input:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }
    .store-drawer-search-icon {
        color: var(--muted);
        flex-shrink: 0;
        opacity: 0.75;
    }
    .store-nav--drawer {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0.35rem 0.65rem;
        gap: 0.15rem;
        overflow-y: auto;
    }
    .store-nav--drawer a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.8rem 0.85rem;
        border-radius: 10px;
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
    }
    .store-nav--drawer a:hover { background: var(--accent-soft); color: var(--accent-dark); }
    .store-nav--drawer .nav-link-icon {
        width: 1.75rem;
        height: 1.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--bg);
        font-size: 0.95rem;
        flex-shrink: 0;
    }
    .store-nav--drawer .nav-link-chevron {
        color: var(--muted);
        font-size: 1.1rem;
        font-weight: 400;
        opacity: 0.6;
    }
    .store-nav--drawer .nav-cart {
        margin-top: 0.35rem;
        background: var(--accent-soft);
        border: 1px solid transparent;
    }
    .store-nav--drawer .nav-cart .nav-link-icon { background: rgba(255,255,255,0.6); }
    .store-drawer-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0.65rem 1rem 1.15rem;
        border-top: 1px solid var(--border);
        background: var(--bg-alt, var(--bg));
    }
    .store-drawer-chip {
        font-size: 0.68rem;
        font-weight: 600;
        padding: 0.28rem 0.55rem;
        border-radius: 999px;
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--muted);
    }
    .store-nav-toggle:checked ~ .store-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 110;
        backdrop-filter: blur(4px);
    }
    .theme-modern .store-subnav { display: flex; }
    .product-detail { grid-template-columns: 1fr; }
}

/* ── Highlight & trust (semua template) ── */
.store-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}
.store-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.32rem 0.65rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
}
a.store-highlight:hover { border-color: var(--accent); color: var(--accent); }
.store-highlights--theme-professional .store-highlight { border-radius: 0.375rem; }
.store-highlights--theme-marketplace .store-highlight {
    background: #fff4f0;
    border: 1px dashed var(--secondary, #ee4d2d);
    color: var(--secondary, #ee4d2d);
    border-radius: 0.2rem;
}
.store-trust .trust-bar-item { text-decoration: none; color: inherit; }
a.trust-bar-item:hover { color: var(--accent); }

.store-nav--desktop .nav-link-icon,
.store-nav--desktop .nav-link-chevron { display: none; }
.nav-link-body { display: inline-flex; align-items: center; gap: 0.35rem; }

@media (max-width: 480px) {
    .store-main { padding: 1rem 0.85rem 2.5rem; }
    .hero { border-radius: var(--radius-sm); }
    .cart-qty-form .btn { padding: 0.55rem 0.75rem; font-size: 0.82rem; }
}

/* ── Kartu produk: compact & minimal ── */
.card-compact .product-grid { gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.card-compact .product-card { box-shadow: none; }
.card-compact .product-card-body { padding: 0.65rem 0.75rem 0.85rem; }
.card-compact .product-card .title { font-size: 0.88rem; }
.card-compact .product-card-overlay { display: none; }
.card-compact .product-card:hover { transform: none; }

.card-minimal .product-card {
    box-shadow: none;
    border-color: var(--border);
}
.card-minimal .product-card:hover {
    transform: none;
    border-color: var(--accent);
}
.card-minimal .product-card-body { padding: 0.75rem 0.85rem; }
.card-minimal .product-card .img-wrap { background: var(--surface-alt); }

.store-theme .section-title { font-weight: 700; letter-spacing: -0.02em; }
.store-theme .store-main { padding-top: 1rem; }

/* ── Customer pages (cart, checkout, order, account) ── */
.store-main--narrow { max-width: 720px; margin: 0 auto; }
.store-main--checkout { max-width: 960px; margin: 0 auto; }

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.checkout-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    position: relative;
}
.checkout-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--border);
}
.checkout-step-num {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg);
    border: 1.5px solid var(--border);
    flex-shrink: 0;
}
.checkout-step--active { color: var(--accent-dark); background: var(--accent-soft); }
.checkout-step--active .checkout-step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.checkout-step--done { color: var(--accent-dark); }
.checkout-step--done .checkout-step-num {
    background: #ecfdf5;
    border-color: #99f6e4;
    color: #0f766e;
}

.cart-items { display: grid; gap: 0.85rem; }
.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cart-item-img {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-body { min-width: 0; }
.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}
.cart-item-title:hover { color: var(--accent-dark); }
.cart-item-price {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 0.95rem;
}
.cart-item-sub {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.15rem;
}
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}
.cart-qty-form { display: flex; align-items: center; gap: 0.35rem; }
.cart-qty-form input {
    width: 3.25rem;
    text-align: center;
    padding: 0.35rem;
    margin: 0;
}
.cart-remove-form { margin: 0; }

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}
.checkout-form-card { padding: 1.35rem; }
.checkout-form-card label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin: 0.85rem 0 0.4rem;
}
.checkout-form-card label:first-child { margin-top: 0; }
.checkout-form-card input,
.checkout-form-card select,
.checkout-form-card textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface);
}
.checkout-form-card input:focus,
.checkout-form-card select:focus,
.checkout-form-card textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.checkout-summary {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.checkout-summary-items {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
    max-height: 220px;
    overflow-y: auto;
}
.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
}
.checkout-summary-item strong { font-weight: 600; color: var(--text); }
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}
.checkout-summary-row--total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-dark);
    border-top: 2px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}
.checkout-hint {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0.35rem 0 0;
}

.courier-rate-select-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.courier-rate-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.courier-rate-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.courier-rate-card:hover { border-color: var(--accent); }

.courier-rate-card.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 1px var(--accent-glow);
}

.courier-rate-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.courier-rate-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border);
}

.courier-rate-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.courier-rate-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.courier-rate-meta {
    font-size: 0.82rem;
    color: var(--muted);
}

.pickup-info-box {
    margin-top: 0.5rem;
    padding: 0.75rem 0.85rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-glow);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

.pickup-info-box.hidden { display: none; }

.multi-package-wrap { margin-top: 0.75rem; display: grid; gap: 1rem; }
.multi-package-wrap.hidden { display: none; }
.multi-package-section {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fafbfc;
}
.multi-package-title { margin: 0 0 0.35rem; font-size: 0.95rem; }

.checkout-address-pick {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.checkout-address-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
}
.checkout-address-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.checkout-address-option input { margin-top: 0.2rem; flex-shrink: 0; }

.order-success {
    text-align: center;
    padding: 2rem 1.5rem;
}
.order-success-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-total-box {
    margin: 1.25rem 0;
    padding: 1rem;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
}
.order-total-box strong { color: var(--accent-dark); font-size: 1.25rem; }

.order-status-timeline {
    display: flex;
    gap: 0;
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
}
.order-status-step {
    flex: 1;
    min-width: 4.5rem;
    text-align: center;
    position: relative;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    padding-top: 1.5rem;
}
.order-status-step::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: var(--border);
    border: 2px solid var(--surface);
    z-index: 1;
}
.order-status-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.82rem;
    left: calc(50% + 0.5rem);
    width: calc(100% - 1rem);
    height: 2px;
    background: var(--border);
}
.order-status-step--done { color: var(--accent-dark); }
.order-status-step--done::before { background: var(--accent); }
.order-status-step--done:not(:last-child)::after { background: var(--accent); }
.order-status-step--current { color: var(--text); font-weight: 700; }
.order-status-step--current::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.order-detail-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.order-detail-block h3 {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
}
.order-detail-block p {
    margin: 0.25rem 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}
.order-bank-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    margin-top: 0.75rem;
}
.order-bank-box strong { display: block; font-size: 1.05rem; margin: 0.25rem 0; }
.order-bank-box code {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #92400e;
}

.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
    align-items: start;
}
.account-sidebar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.account-sidebar a,
.account-sidebar button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
}
.account-sidebar a:hover,
.account-sidebar a.account-nav--active {
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 600;
}
.account-panel { min-width: 0; }
.account-panel h2 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
}
.address-card {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}
.address-card:last-of-type { border-bottom: none; }
.address-card strong { font-size: 0.92rem; }
.address-card-meta { color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }
.address-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin-left: 0.35rem;
}

.login-card { max-width: 420px; margin: 0 auto; }
.login-card .card { padding: 1.35rem; }
.login-demo {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.catalog-search-hint {
    font-size: 0.88rem;
    color: var(--muted);
}

.cms-content {
    padding: 1.5rem 1.75rem;
    line-height: 1.75;
    color: #334155;
}
.cms-content h2, .cms-content h3 { color: var(--text); margin: 1.25rem 0 0.65rem; }
.cms-content p { margin: 0 0 0.85rem; }
.cms-content ul, .cms-content ol { padding-left: 1.25rem; margin: 0 0 0.85rem; }
.cms-content a { text-decoration: underline; }

.page-trust-wrap { margin: 1.5rem 0 0; }

.status-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}
.status-pill--pending { background: #fef3c7; color: #92400e; }
.status-pill--processing { background: #dbeafe; color: #1d4ed8; }
.status-pill--shipped { background: #e0e7ff; color: #4338ca; }
.status-pill--completed { background: #ecfdf5; color: #0f766e; }
.status-pill--cancelled { background: #f1f5f9; color: #64748b; }
.status-pill--paid { background: #ecfdf5; color: #0f766e; }

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 72px 1fr;
        grid-template-rows: auto auto;
    }
    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
    }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 0.35rem;
    }
    .account-sidebar a,
    .account-sidebar button { white-space: nowrap; width: auto; }
    .checkout-step-label { display: none; }
}
