:root {
    --sf-bg: #f7f8fa;
    --sf-bg-deep: #0a1220;
    --sf-surface: rgba(255, 255, 255, 0.94);
    --sf-surface-strong: #ffffff;
    --sf-text: #0f172a;
    --sf-text-soft: #5b6475;
    --sf-border: rgba(148, 163, 184, 0.18);
    --sf-border-strong: rgba(148, 163, 184, 0.28);
    --sf-accent: #17b7d6;
    --sf-accent-strong: #1287c6;
    --sf-accent-soft: rgba(23, 183, 214, 0.12);
    --sf-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --sf-shadow-md: 0 14px 38px rgba(10, 18, 32, 0.12);
    --sf-shadow-lg: 0 20px 52px rgba(10, 18, 32, 0.14);
    --sf-radius-lg: 14px;
    --sf-radius-md: 12px;
    --sf-radius-sm: 10px;
}

body {
    background: #f6f7f9;
    color: var(--sf-text);
}

.sf-page {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 88px;
    font-family: Aptos, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", sans-serif;
}

.sf-topbar-shell {
    margin-bottom: 24px;
}

.sf-topbar {
    display: grid;
    grid-template-columns: auto minmax(420px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sf-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #111111;
    text-decoration: none;
}

.sf-brand:hover {
    color: #111111;
    text-decoration: none;
}

.sf-brand-mark {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
}

.sf-brand-mark span {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
}

.sf-brand-mark span:first-child {
    width: 22px;
    height: 8px;
    left: 13px;
    top: 13px;
}

.sf-brand-mark span:last-child {
    width: 14px;
    height: 14px;
    right: 10px;
    bottom: 10px;
}

.sf-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sf-brand-copy strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sf-brand-copy small {
    color: #888888;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sf-nav-links {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.sf-nav-links a {
    color: #444444;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sf-nav-links a:hover {
    color: #111111;
    transform: translateY(-1px);
    text-decoration: none;
}

.sf-nav-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    padding: 5px 10px 5px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
}

.sf-nav-search > i {
    color: #888888;
    font-size: 0.95rem;
}

.sf-nav-search input,
.sf-nav-search select {
    border: 0;
    outline: 0;
    background: transparent;
    color: #111111;
    -webkit-text-fill-color: #111111;
    caret-color: #111111;
}

.sf-nav-search input {
    width: 100%;
    font-size: 0.98rem;
}

.sf-nav-search input::placeholder {
    color: #aaaaaa;
    -webkit-text-fill-color: #aaaaaa;
}

.sf-nav-search input:-webkit-autofill,
.sf-nav-search input:-webkit-autofill:hover,
.sf-nav-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111111;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    caret-color: #111111;
    transition: background-color 9999s ease;
}

.sf-nav-search:focus-within {
    background: #ffffff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.sf-select-wrap {
    position: relative;
    min-width: 150px;
    padding-left: 12px;
    border-left: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
}

.sf-select-wrap::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #888888;
    border-bottom: 2px solid #888888;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.sf-select-wrap select {
    width: 100%;
    appearance: none;
    padding: 5px 24px 5px 0;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #111111;
    -webkit-text-fill-color: #111111;
    background: transparent;
    cursor: pointer;
}

.sf-select-wrap select option {
    color: #0f172a;
    background: #ffffff;
    -webkit-text-fill-color: #0f172a;
}

.sf-nav-clear,
.sf-icon-link,
.sf-icon-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sf-nav-clear {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #555555;
    background: rgba(0, 0, 0, 0.05);
}

.sf-nav-clear:hover {
    color: #111111;
    background: rgba(0, 0, 0, 0.10);
    text-decoration: none;
}

.sf-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sf-icon-link {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #444444;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #d8d8d8;
}

.sf-icon-link:hover,
.sf-icon-cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.sf-icon-link:hover {
    color: #111111;
    background: rgba(0, 0, 0, 0.08);
}

.sf-cart-link span {
    position: absolute;
    right: -4px;
    top: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #0ea5e9;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.28);
}

.sf-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 28px;
    margin-bottom: 40px;
    max-height: none;
    overflow: visible;
}

.sf-hero-copy,
.sf-hero-visual-panel,
.sf-section {
    border-radius: var(--sf-radius-lg);
    background: var(--sf-surface);
    border: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow-sm);
}

.sf-hero-copy {
    padding: 20px 24px;
    background: #ffffff;
}

.sf-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.sf-hero-copy h1,
.sf-section-head h2 {
    margin: 0;
    letter-spacing: -0.04em;
}

.sf-hero-copy h1 {
    max-width: 24ch;
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    line-height: 1.1;
    margin-bottom: 10px;
}

.sf-hero-copy p {
    max-width: 48ch;
    margin: 0 0 18px;
    color: var(--sf-text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.sf-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.sf-hero-visual {
    position: relative;
    min-height: 0;
}

.sf-hero-visual-panel {
    position: relative;
    min-height: 0;
    height: 100%;
    padding: 18px;
    background: #ffffff;
    color: var(--sf-text);
    overflow: hidden;
}

.sf-hero-stack {
    display: grid;
    gap: 10px;
    height: 100%;
}

.sf-hero-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--sf-text);
    background: #f8fafc;
    border: 1px solid var(--sf-border);
    transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.sf-hero-product:hover {
    transform: translateY(-2px);
    color: var(--sf-text);
    text-decoration: none;
    background: #ffffff;
    border-color: rgba(56, 189, 248, 0.22);
}

.sf-hero-product-media {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef2f7;
}

.sf-hero-product-media img,
.sf-card-media img,
.sf-product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sf-hero-product:hover img,
.sf-card:hover img,
.sf-product-card:hover img {
    transform: scale(1.06);
}

.sf-hero-product-fallback,
.sf-card-no-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaecf0;
    color: #9ba3af;
    font-size: 1.4rem;
}

.sf-hero-product-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sf-hero-product-copy small {
    color: var(--sf-text-soft);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sf-hero-product-copy strong {
    font-size: 1rem;
    line-height: 1.3;
}

.sf-hero-product-copy span {
    color: var(--sf-accent-strong);
    font-weight: 700;
}

.sf-section {
    padding: 20px;
    margin-bottom: 14px;
}

#categorias {
    margin-top: 0;
}

.sf-section-head,
.sf-catalog-toolbar,
.sf-card-bottom,
.sf-product-bottom,
.sf-product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sf-section-head {
    margin-bottom: 10px;
}

.sf-section-head h2 {
    font-size: clamp(1.0rem, 1.4vw, 1.3rem);
    line-height: 1.15;
}

.sf-inline-link {
    color: #0f6ea6;
    font-weight: 700;
    text-decoration: none;
}

.sf-inline-link:hover {
    color: #0d5f8f;
    text-decoration: none;
}

.sf-category-grid,
.sf-feature-grid,
.sf-product-grid {
    display: grid;
    gap: 20px;
}

.sf-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sf-category-card {
    position: relative;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--sf-text);
    background: #ffffff;
    border: 1px solid var(--sf-border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.sf-category-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--sf-text);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.sf-category-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    box-shadow: none;
}

.sf-category-card strong,
.sf-card-body h3,
.sf-product-body h3 {
    display: block;
    letter-spacing: -0.03em;
}

.sf-category-card strong {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.sf-category-card p,
.sf-card-body p,
.sf-product-body p,
.sf-empty-state p {
    margin: 0;
    color: var(--sf-text-soft);
    line-height: 1.65;
}

.sf-category-meta {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 14px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 700;
}

.sf-accent-cyan .sf-category-icon,
.sf-accent-cyan .sf-category-meta {
    background: rgba(34, 211, 238, 0.18);
    color: #0f7490;
}

.sf-accent-violet .sf-category-icon,
.sf-accent-violet .sf-category-meta {
    background: rgba(129, 140, 248, 0.18);
    color: #4f46e5;
}

.sf-accent-blue .sf-category-icon,
.sf-accent-blue .sf-category-meta {
    background: rgba(59, 130, 246, 0.16);
    color: #1d4ed8;
}

.sf-accent-emerald .sf-category-icon,
.sf-accent-emerald .sf-category-meta {
    background: rgba(16, 185, 129, 0.16);
    color: #047857;
}

.sf-accent-orange .sf-category-icon,
.sf-accent-orange .sf-category-meta {
    background: rgba(249, 115, 22, 0.16);
    color: #c2410c;
}

.sf-accent-slate .sf-category-icon,
.sf-accent-slate .sf-category-meta {
    background: rgba(100, 116, 139, 0.15);
    color: #334155;
}

.sf-feature-shell {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: none;
}

.sf-feature-shell:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.sf-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-card,
.sf-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: var(--sf-surface-strong);
    border: 1px solid var(--sf-border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sf-card:hover,
.sf-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

.sf-card-media,
.sf-product-media {
    position: relative;
    display: block;
    height: auto !important;
    padding-top: 100%;
    border-radius: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f3f6f9, #fafbfd);
}

.sf-card-body,
.sf-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
}

.sf-card-category,
.sf-product-topline span,
.sf-product-topline small {
    color: var(--sf-text-soft);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-card-body h3,
.sf-product-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.sf-card-bottom,
.sf-product-bottom {
    margin-top: auto;
}

.sf-card-price-wrap strong,
.sf-product-price {
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.sf-card-price-wrap small,
.sf-product-price-old {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 0.88rem;
    text-decoration: line-through;
}

.sf-product-stock {
    margin-top: 4px;
    color: var(--sf-text-soft);
    font-size: 0.88rem;
}

.sf-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--sf-text);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sf-card-button:hover {
    transform: translateY(-1px);
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    text-decoration: none;
}

.sf-icon-cta {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 0;
    color: #ffffff;
    background: #0ea5e9;
    box-shadow: none;
}

.sf-icon-cta:hover {
    color: #ffffff;
}

.sf-badge-row {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sf-text);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.sf-badge-dark {
    background: rgba(15, 23, 42, 0.88);
    color: #f8fbff;
}

.sf-badge-sale {
    background: linear-gradient(135deg, #22d3ee, #38bdf8);
    color: #042f3e;
}

.sf-badge-new {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #eff6ff;
}

.sf-catalog-section {
    background: #ffffff;
}

.sf-catalog-head {
    align-items: end;
}

.sf-count-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(23, 183, 214, 0.1);
    color: #0d7490;
    font-weight: 800;
}

.sf-catalog-toolbar {
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sf-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sf-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--sf-text-soft);
    border: 1px solid var(--sf-border);
    text-decoration: none;
    font-weight: 700;
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sf-chip:hover,
.sf-chip.is-active {
    text-decoration: none;
    transform: translateY(-1px);
}

.sf-chip:hover {
    color: var(--sf-text);
    border-color: rgba(56, 189, 248, 0.28);
}

.sf-chip.is-active {
    color: #f8fbff;
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
    border-color: transparent;
}

.sf-results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-results-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--sf-text-soft);
    font-size: 0.88rem;
    font-weight: 600;
}

.sf-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-sentinel {
    display: flex;
    justify-content: center;
    padding-top: 28px;
}

.sf-spinner {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    color: var(--sf-accent-strong);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.sf-empty-state {
    padding: 28px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(148, 163, 184, 0.36);
    text-align: center;
}

.sf-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 183, 214, 0.1);
    color: var(--sf-accent-strong);
    font-size: 1.5rem;
}

.sf-empty-state h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1320px) {
    .sf-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-feature-grid,
    .sf-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .sf-topbar {
        grid-template-columns: 1fr;
    }

    .sf-nav-links,
    .sf-top-actions {
        justify-content: space-between;
    }

    .sf-hero-shell {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }
}

@media (max-width: 900px) {
    .sf-page {
        width: min(100% - 24px, 100%);
        padding-top: 14px;
    }

    .sf-hero-copy,
    .sf-hero-visual-panel,
    .sf-section,
    .sf-feature-shell {
        border-radius: 12px;
    }

    .sf-hero-copy,
    .sf-section,
    .sf-feature-shell,
    .sf-hero-visual-panel {
        padding: 24px;
    }

    .sf-category-grid,
    .sf-feature-grid,
    .sf-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-hero-shell {
        margin-bottom: 24px;
    }

}

@media (max-width: 640px) {
    .sf-topbar {
        padding: 16px;
    }

    .sf-nav-search {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 14px 16px;
    }

    .sf-select-wrap,
    .sf-nav-clear {
        grid-column: 1 / -1;
    }

    .sf-select-wrap {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(226, 232, 240, 0.12);
        padding-top: 12px;
    }

    .sf-top-actions {
        justify-content: flex-start;
    }

    .sf-hero-copy h1 {
        max-width: none;
        font-size: clamp(2.1rem, 9vw, 3.2rem);
    }

    .sf-section-head,
    .sf-catalog-toolbar,
    .sf-card-bottom,
    .sf-product-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .sf-category-grid,
    .sf-feature-grid,
    .sf-product-grid {
        grid-template-columns: 1fr;
    }

    .sf-card-body,
    .sf-product-body {
        padding: 18px;
    }
}

/* ── Dark mode ───────────────────────────────────────── */
[data-theme="dark"] {
    --sf-surface: var(--bg-card);
    --sf-surface-strong: var(--bg-card);
    --sf-text: var(--text-main);
    --sf-text-soft: var(--text-secondary);
    --sf-border: var(--border-soft);
    --sf-border-strong: var(--border-color);
    --sf-shadow-sm: 0 8px 24px rgba(0,0,0,.22);
    --sf-shadow-md: 0 14px 38px rgba(0,0,0,.30);
    --sf-shadow-lg: 0 20px 52px rgba(0,0,0,.36);
}

/* Search box */
[data-theme="dark"] .sf-nav-search {
    background: var(--input-bg);
    border-color: var(--input-border);
}
[data-theme="dark"] .sf-nav-search input,
[data-theme="dark"] .sf-nav-search select {
    color: var(--input-text);
    -webkit-text-fill-color: var(--input-text);
    caret-color: var(--input-text);
}
[data-theme="dark"] .sf-nav-search input::placeholder {
    color: var(--input-placeholder);
    -webkit-text-fill-color: var(--input-placeholder);
}
[data-theme="dark"] .sf-nav-search input:-webkit-autofill,
[data-theme="dark"] .sf-nav-search input:-webkit-autofill:hover,
[data-theme="dark"] .sf-nav-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--input-text);
    -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
    caret-color: var(--input-text);
}
[data-theme="dark"] .sf-nav-search:focus-within {
    background: var(--input-bg);
    border-color: var(--primary-color);
}
[data-theme="dark"] .sf-select-wrap {
    border-left-color: var(--border-soft);
}
[data-theme="dark"] .sf-select-wrap select option {
    color: var(--input-text);
    background: var(--bg-elevated);
    -webkit-text-fill-color: var(--input-text);
}

/* Nav icons */
[data-theme="dark"] .sf-icon-link {
    color: var(--text-secondary);
    background: rgba(255,255,255,.06);
    border-color: var(--border-soft);
}
[data-theme="dark"] .sf-icon-link:hover {
    color: var(--text-main);
    background: rgba(255,255,255,.10);
}
[data-theme="dark"] .sf-nav-clear { color: var(--text-secondary); background: rgba(255,255,255,.06); }
[data-theme="dark"] .sf-nav-clear:hover { color: var(--text-main); background: rgba(255,255,255,.10); }

/* Hero panels */
[data-theme="dark"] .sf-hero-copy,
[data-theme="dark"] .sf-hero-visual-panel { background: var(--bg-card); }
[data-theme="dark"] .sf-hero-product { background: var(--bg-elevated); }
[data-theme="dark"] .sf-hero-product:hover { background: var(--bg-elevated); border-color: rgba(56,189,248,.22); }
[data-theme="dark"] .sf-hero-product-media { background: var(--bg-elevated); }
[data-theme="dark"] .sf-hero-product-fallback,
[data-theme="dark"] .sf-card-no-image { background: var(--bg-elevated); color: var(--text-muted); }
[data-theme="dark"] .sf-card-media,
[data-theme="dark"] .sf-product-media { background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card)); }

/* Category cards */
[data-theme="dark"] .sf-category-card { background: var(--bg-card); }
[data-theme="dark"] .sf-category-meta { background: rgba(255,255,255,.06); }
[data-theme="dark"] .sf-accent-cyan  .sf-category-icon, [data-theme="dark"] .sf-accent-cyan  .sf-category-meta { background: rgba(34,211,238,.13); color:#67e8f9; }
[data-theme="dark"] .sf-accent-violet .sf-category-icon,[data-theme="dark"] .sf-accent-violet .sf-category-meta { background: rgba(129,140,248,.13); color:#a5b4fc; }
[data-theme="dark"] .sf-accent-blue  .sf-category-icon, [data-theme="dark"] .sf-accent-blue  .sf-category-meta { background: rgba(59,130,246,.13);  color:#93c5fd; }
[data-theme="dark"] .sf-accent-emerald .sf-category-icon,[data-theme="dark"] .sf-accent-emerald .sf-category-meta { background: rgba(16,185,129,.13); color:#6ee7b7; }
[data-theme="dark"] .sf-accent-orange .sf-category-icon,[data-theme="dark"] .sf-accent-orange .sf-category-meta { background: rgba(249,115,22,.13);  color:#fdba74; }
[data-theme="dark"] .sf-accent-slate .sf-category-icon, [data-theme="dark"] .sf-accent-slate .sf-category-meta { background: rgba(148,163,184,.10); color:#94a3b8; }

/* Catalog & cards */
[data-theme="dark"] .sf-catalog-section { background: var(--bg-card); }
[data-theme="dark"] .sf-card-button { background: rgba(255,255,255,.08); color: var(--text-main); }
[data-theme="dark"] .sf-count-pill { background: rgba(23,183,214,.12); color: #67e8f9; }
[data-theme="dark"] .sf-chip { background: var(--bg-elevated); }
[data-theme="dark"] .sf-results-meta span { background: rgba(255,255,255,.06); }
[data-theme="dark"] .sf-inline-link { color: #38bdf8; }
[data-theme="dark"] .sf-inline-link:hover { color: #7dd3fc; }

/* Misc */
[data-theme="dark"] .sf-spinner { background: rgba(255,255,255,.07); }
[data-theme="dark"] .sf-empty-state { background: rgba(255,255,255,.03); }
