body.rhystic-home-page {
    background:
        radial-gradient(circle at top center, rgba(var(--rb-primary-rgb), 0.12), transparent 24%),
        radial-gradient(circle at 84% 10%, rgba(var(--rb-primary-light-rgb), 0.18), transparent 16%),
        linear-gradient(180deg, var(--rb-surface-elevated) 0%, var(--rb-bg) 58%, var(--rb-bg-soft) 100%);
    color: var(--rb-text);
}

body.rhystic-home-page .site-main {
    padding-top: 0;
}


.rhystic-home {
    width: min(1240px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 28px 0 96px;
}

@media (max-width: 768px) {
    .rhystic-home {
        padding-top: 16px;
    }
}

.rhystic-home__hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rb-border-soft);
    border-radius: 28px;
    background: var(--rb-gradient-hero);
    box-shadow: var(--rb-shadow-card);
}

.rhystic-home__hero::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(var(--rb-primary-rgb), 0.1);
    border-radius: 22px;
    pointer-events: none;
}

.rhystic-home__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    padding: 52px 40px 44px;
}

.rhystic-home__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(var(--rb-primary-rgb), 0.16);
    border-radius: 999px;
    background: rgba(var(--rb-primary-rgb), 0.08);
    color: var(--rb-primary-dark);
    box-shadow: 0 10px 22px rgba(4, 16, 24, 0.08);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rhystic-home__hero h1 {
    margin: 18px 0 12px;
    color: var(--rb-text);
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.rhystic-home__hero p {
    max-width: 640px;
    margin: 0;
    color: var(--rb-text-secondary);
    font-size: 1.03rem;
    line-height: 1.65;
}

.rhystic-home__search {
    margin-top: 28px;
}

.rhystic-home__search form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.rhystic-home__search input[type="search"] {
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid var(--rb-border);
    border-radius: 18px;
    background: var(--rb-input-bg);
    color: var(--rb-text);
    box-shadow: inset 0 1px 0 rgba(var(--rb-primary-light-rgb), 0.08);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.rhystic-home__search input[type="search"]::placeholder {
    color: var(--rb-text-muted);
}

.rhystic-home__search input[type="search"]:focus {
    border-color: var(--rb-primary);
    outline: none;
    box-shadow: var(--rb-glow-cyan);
}

.rhystic-home__search button,
.rhystic-home__search input[type="submit"] {
    min-height: 58px;
    padding: 0 24px;
    border: 0;
    border-radius: 18px;
    background: var(--rb-gradient-primary);
    color: var(--rb-text-on-primary);
    box-shadow: var(--rb-shadow-soft);
    font-weight: 800;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.rhystic-home__search button:hover,
.rhystic-home__search input[type="submit"]:hover {
    box-shadow: var(--rb-glow-cyan);
    filter: saturate(1.05);
    transform: translateY(-1px);
}

.rhystic-home__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.rhystic-home__quick-link {
    display: inline-flex;
    align-items: center;
    padding: 11px 16px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 999px;
    background: rgba(var(--rb-surface-rgb), 0.84);
    color: var(--rb-text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.rhystic-home__quick-link:hover {
    transform: translateY(-2px);
    border-color: var(--rb-card-hover-border);
    background: rgba(var(--rb-primary-rgb), 0.12);
    color: var(--rb-primary-dark);
    box-shadow: var(--rb-glow-cyan);
}

/* ── Mana color buttons section ──────────────────────────────── */
.rhystic-home__mana-title {
    width: 100%;
    text-align: center;
    margin: 0 0 12px;
    color: var(--rb-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rhystic-home__mana-colors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 12px 0 20px 0;
}

@media (min-width: 768px) {
    .rhystic-home__mana-colors {
        margin: 0 0 18px;
        gap: 14px;
        /* en desktop no necesita espacio superior extra */
        padding: 0 0 24px 0;
    }
}

.rhystic-home__mana-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        filter 0.16s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    background: transparent;
}

@media (min-width: 768px) {
    .rhystic-home__mana-btn {
        width: 50px;
        height: 50px;
    }
}

.rhystic-home__mana-btn img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.rhystic-home__mana-btn:hover {
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* ── Card filter panel (ultra-compacto) ─────────────────── */
.rhystic-home__card-filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 14px;
    padding: 7px 10px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 12px;
    background: var(--rb-gradient-card);
    box-shadow: var(--rb-shadow-card);
}

@media (min-width: 768px) {
    .rhystic-home__card-filter {
        gap: 6px;
        padding: 8px 12px;
        border-radius: 12px;
        margin: 0 0 18px;
    }
}

/* Search row */
/* ── Dual range slider de precio ─────────────────────────── */
.rhystic-home__cf-price-slider {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px;
}

.rhystic-home__cf-price-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rhystic-home__cf-price-slider-label {
    color: var(--rb-text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhystic-home__cf-price-slider-values {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--rb-text);
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rhystic-home__cf-price-slider-divider {
    color: var(--rb-text-muted);
}

.rhystic-home__cf-price-slider-track {
    position: relative;
    height: 14px;
    margin: 0 6px;
}

.rhystic-home__cf-price-slider-track::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
    background: var(--rb-border);
    border-radius: 999px;
}

.rhystic-home__cf-price-slider-range {
    position: absolute;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    background: var(--rb-gradient-primary);
    border-radius: 999px;
    pointer-events: none;
}

.rhystic-home__cf-price-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
    appearance: none;
    pointer-events: none;
    z-index: 2;
}

.rhystic-home__cf-price-slider-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.rhystic-home__cf-price-slider-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.rhystic-home__cf-price-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 14px;
    height: 14px;
    margin-top: -5px;
    border: 2px solid var(--rb-primary);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.14s ease;
}

.rhystic-home__cf-price-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.rhystic-home__cf-price-slider-input::-moz-range-thumb {
    pointer-events: auto;
    width: 14px;
    height: 14px;
    border: 2px solid var(--rb-primary);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Search row */
.rhystic-home__cf-search-wrap {
    position: relative;
}

.rhystic-home__cf-search-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.rhystic-home__cf-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 16px !important;
    height: 16px !important;
    color: var(--rb-text-muted);
    pointer-events: none;
    flex-shrink: 0;
    z-index: 2;
}

.rhystic-home__cf-search-input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 32px !important;
    padding: 0 38px 0 40px !important;
    text-indent: 0 !important;
    border: 1px solid var(--rb-border);
    border-radius: 8px;
    background: var(--rb-input-bg);
    color: var(--rb-text);
    font-size: 0.8rem;
    box-shadow: inset 0 1px 0 rgba(var(--rb-primary-light-rgb), 0.06);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

@media (min-width: 768px) {
    .rhystic-home__cf-search-input {
        min-height: 34px !important;
        padding: 0 42px 0 44px !important;
        border-radius: 10px;
        font-size: 0.86rem;
    }
}

.rhystic-home__cf-search-input::placeholder {
    color: var(--rb-text-muted);
}

.rhystic-home__cf-search-input:focus {
    border-color: var(--rb-primary);
    outline: none;
    box-shadow: var(--rb-glow-cyan);
}

.rhystic-home__cf-clear-search {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(var(--rb-primary-rgb), 0.1);
    color: var(--rb-text-muted);
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.rhystic-home__cf-clear-search:hover {
    background: rgba(var(--rb-primary-rgb), 0.18);
    color: var(--rb-text);
}

/* Autocomplete dropdown */
.rhystic-home__cf-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--rb-border);
    border-radius: 16px;
    background: var(--rb-surface-elevated);
    box-shadow: 0 8px 32px rgba(4, 16, 24, 0.18);
    overflow: hidden;
}

.rhystic-home__cf-dropdown li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.14s ease;
}

.rhystic-home__cf-dropdown li:hover,
.rhystic-home__cf-dropdown li[aria-selected="true"] {
    background: rgba(var(--rb-primary-rgb), 0.1);
}

.rhystic-home__cf-dropdown-thumb {
    flex-shrink: 0;
    width: 36px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background: rgba(var(--rb-primary-rgb), 0.08);
}

.rhystic-home__cf-dropdown-thumb-placeholder {
    flex-shrink: 0;
    width: 36px;
    height: 50px;
    border-radius: 6px;
    background: rgba(var(--rb-primary-rgb), 0.08);
}

.rhystic-home__cf-dropdown-info {
    flex: 1;
    min-width: 0;
}

.rhystic-home__cf-dropdown-name {
    display: block;
    color: var(--rb-text);
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rhystic-home__cf-dropdown-price {
    display: block;
    color: var(--rb-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 2px;
}

.rhystic-home__cf-dropdown-empty {
    padding: 14px 12px;
    color: var(--rb-text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Filter selects: grid mobile-first */
.rhystic-home__cf-selects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 7px;
}

@media (min-width: 600px) {
    .rhystic-home__cf-selects {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 8px;
    }
}

@media (min-width: 980px) {
    .rhystic-home__cf-selects {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rhystic-home__cf-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rhystic-home__cf-select-label {
    color: var(--rb-text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rhystic-home__cf-select-inner {
    position: relative;
}

.rhystic-home__cf-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 28px;
    padding: 0 22px 0 8px;
    border: 1px solid var(--rb-border);
    border-radius: 6px;
    background-color: var(--rb-input-bg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 11px 11px;
    color: var(--rb-text);
    font-size: 0.76rem;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .rhystic-home__cf-select {
        min-height: 30px;
        padding: 0 24px 0 10px;
        font-size: 0.8rem;
        border-radius: 7px;
    }
}

.rhystic-home__cf-select:focus {
    border-color: var(--rb-primary);
    outline: none;
    box-shadow: var(--rb-glow-cyan);
}

.rhystic-home__cf-chevron {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rb-text-muted);
    pointer-events: none;
    width: 12px;
    height: 12px;
}

/* Bottom row: condition buttons + actions */
.rhystic-home__cf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

/* Quick condition buttons */
.rhystic-home__cf-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.rhystic-home__cf-quick-label {
    color: var(--rb-text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 2px;
}

.rhystic-home__cf-quick-btn {
    padding: 2px 7px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 999px;
    background: transparent;
    color: var(--rb-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.rhystic-home__cf-quick-btn:hover {
    border-color: rgba(var(--rb-primary-rgb), 0.3);
    background: rgba(var(--rb-primary-rgb), 0.08);
    color: var(--rb-primary-dark);
}

.rhystic-home__cf-quick-btn[aria-pressed="true"] {
    border-color: var(--rb-primary);
    background: rgba(var(--rb-primary-rgb), 0.14);
    color: var(--rb-primary-dark);
    box-shadow: var(--rb-glow-cyan);
}

/* Action buttons */
.rhystic-home__cf-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 0;
}

.rhystic-home__cf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: var(--rb-gradient-primary);
    color: var(--rb-text-on-primary);
    font-size: 0.81rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--rb-shadow-soft);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.rhystic-home__cf-btn-primary svg {
    width: 14px;
    height: 14px;
}

.rhystic-home__cf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--rb-glow-cyan);
    filter: saturate(1.06);
}

.rhystic-home__cf-btn-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 8px;
    background: transparent;
    color: var(--rb-text-secondary);
    font-size: 0.81rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.rhystic-home__cf-btn-secondary:hover {
    border-color: rgba(var(--rb-primary-rgb), 0.24);
    background: rgba(var(--rb-primary-rgb), 0.06);
    color: var(--rb-primary-dark);
}

/* Focus rings */
.rhystic-home__cf-search-input:focus-visible,
.rhystic-home__cf-select:focus-visible,
.rhystic-home__cf-quick-btn:focus-visible,
.rhystic-home__cf-btn-primary:focus-visible,
.rhystic-home__cf-btn-secondary:focus-visible {
    outline: 2px solid var(--rb-primary);
    outline-offset: 3px;
}

/* Mobile (<640px): acciones apiladas full-width para fácil tap */
@media (max-width: 640px) {
    .rhystic-home__cf-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .rhystic-home__cf-btn-primary,
    .rhystic-home__cf-btn-secondary {
        justify-content: center;
    }
}

/* Mobile: ocultar filtros inline, mostrar solo dentro del sidebar */
@media (max-width: 640px) {
    .rhystic-home__card-filter {
        display: none;
    }

    .rhystic-home__cf-sidebar .rhystic-home__card-filter {
        display: flex;
    }
}

/* Mobile filters sidebar & button */
.rhystic-home__cf-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--rb-border-soft);
    background: var(--rb-gradient-card);
    color: var(--rb-text);
    font-weight: 700;
    margin: 0 0 8px;
}

@media (min-width: 641px) {
    .rhystic-home__cf-open-btn {
        display: none;
    }
}

/* Sidebar overlay */
.rhystic-home__cf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.36);
    z-index: 1300;
    display: none;
}

.rhystic-home__cf-overlay.is-open {
    display: block;
}

.rhystic-home__cf-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(92vw, 420px);
    background: var(--rb-surface-elevated);
    box-shadow: -6px 0 30px rgba(4, 16, 24, 0.2);
    z-index: 1301;
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
    overflow-y: auto;
    padding: 18px;
}

.rhystic-home__cf-sidebar.is-open {
    transform: translateX(0);
}

.rhystic-home__cf-sidebar .rhystic-home__card-filter {
    margin: 0;
    gap: 10px;
    padding: 12px;
}

/* Dentro del sidebar: columna única, más espacio vertical */
.rhystic-home__cf-sidebar .rhystic-home__cf-selects {
    grid-template-columns: 1fr;
    gap: 8px;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-select {
    min-height: 44px;
    font-size: 0.92rem;
    padding: 0 32px 0 12px;
    border-radius: 10px;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-search-input {
    min-height: 44px;
    font-size: 0.92rem;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-price-slider {
    padding: 4px 6px;
    gap: 6px;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-price-slider-label,
.rhystic-home__cf-sidebar .rhystic-home__cf-price-slider-values {
    font-size: 0.78rem;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-active-tags {
    gap: 6px;
    padding: 4px 0;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-bottom {
    margin-top: 4px;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.rhystic-home__cf-sidebar .rhystic-home__cf-btn-primary,
.rhystic-home__cf-sidebar .rhystic-home__cf-btn-secondary {
    justify-content: center;
    min-height: 44px;
    font-size: 0.92rem;
    border-radius: 10px;
}

/* ensure main home area moves below header when fixed (JS will set --rhystic-header-height) */
.rhystic-header-fixed .rhystic-home {
    padding-top: calc(var(--rhystic-header-height, 96px) + 24px);
}

.rhystic-home__section {
    margin-top: 42px;
}

.rhystic-home__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.rhystic-home__section-head h2 {
    margin: 0;
    color: var(--rb-text);
    font-size: clamp(1.7rem, 2vw, 2.35rem);
    letter-spacing: -0.04em;
}

.rhystic-home__section-head p {
    margin: 8px 0 0;
    color: var(--rb-text-secondary);
}

.rhystic-home__section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(var(--rb-primary-rgb), 0.22);
    border-radius: 14px;
    background: rgba(var(--rb-primary-rgb), 0.08);
    color: var(--rb-primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.rhystic-home__section-link:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--rb-primary-rgb), 0.32);
    background: rgba(var(--rb-primary-rgb), 0.12);
    box-shadow: var(--rb-glow-cyan);
}

.rhystic-home__product-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* thin scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--rb-primary-rgb), 0.18) transparent;
}

.rhystic-home__product-grid::-webkit-scrollbar {
    height: 4px;
}

.rhystic-home__product-grid::-webkit-scrollbar-track {
    background: transparent;
}

.rhystic-home__product-grid::-webkit-scrollbar-thumb {
    background: rgba(var(--rb-primary-rgb), 0.18);
    border-radius: 4px;
}

.rhystic-home__product-card {
    flex: 0 0 186px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 22px;
    background: var(--rb-gradient-card-muted);
    box-shadow: var(--rb-shadow-card);
    scroll-snap-align: start;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* CTA card — end of carousel */
.rhystic-home__product-grid-cta {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 16px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 22px;
    background: var(--rb-gradient-card);
    box-shadow: var(--rb-shadow-card);
    text-align: center;
    scroll-snap-align: start;
}

.rhystic-home__product-grid-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--rb-primary-rgb), 0.1);
    color: var(--rb-primary-dark);
}

.rhystic-home__product-grid-cta-text {
    color: var(--rb-text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
}

.rhystic-home__product-grid-cta .rhystic-home__section-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
    white-space: nowrap;
}

.rhystic-home__product-card:hover {
    transform: translateY(-4px);
    border-color: var(--rb-card-hover-border);
    box-shadow:
        var(--rb-shadow-card),
        0 0 0 1px rgba(var(--rb-primary-rgb), 0.08);
}

.rhystic-home__product-image {
    display: block;
    position: relative;
    aspect-ratio: 0.72;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at top, rgba(var(--rb-primary-rgb), 0.14), transparent 45%),
        linear-gradient(180deg, rgba(var(--rb-bg-soft-rgb), 0.72), rgba(var(--rb-surface-rgb), 0.98));
}

.rhystic-home__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

.rhystic-home__badge--foil {
    background: linear-gradient(135deg, #c9a227, #e8d48a, #c9a227);
    color: #3d2800;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.rhystic-home__badge--nuevo {
    top: auto;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

/* ── Sección "Stock Nuevo" (grid fijo de 2 filas) ──────────── */
.rhystic-home__nuevo-stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
    gap: 14px;
    margin-top: 4px;
}

@media (max-width: 1180px) {
    .rhystic-home__nuevo-stock-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

@media (max-width: 768px) {
    .rhystic-home__nuevo-stock-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* En el grid fijo las cartas no necesitan ancho fijo de carrusel */
.rhystic-home__nuevo-stock-grid .rhystic-home__product-card {
    flex: unset;
    scroll-snap-align: unset;
}

.rhystic-home__condicion {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(var(--rb-primary-rgb), 0.1);
    color: var(--rb-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

.rhystic-home__product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.rhystic-home__product-card:hover .rhystic-home__product-image img {
    transform: scale(1.03);
}

.rhystic-home__product-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--rb-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rhystic-home__product-copy h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.rhystic-home__product-copy h3 a {
    color: var(--rb-text);
    text-decoration: none;
    transition: color 0.18s ease;
}

.rhystic-home__product-copy h3 a:hover {
    color: var(--rb-primary-dark);
}

.rhystic-home__price {
    margin-top: 12px;
    color: var(--rb-primary-dark);
    font-size: 1rem;
    font-weight: 800;
}

.rhystic-home__price ins {
    color: inherit;
    text-decoration: none;
}

.rhystic-home__price del {
    color: var(--rb-text-secondary);
    opacity: 0.76;
}

.rhystic-home__product-card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    border-radius: 14px;
    background: var(--rb-gradient-primary);
    color: var(--rb-text-on-primary);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--rb-shadow-soft);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.rhystic-home__product-card .button:hover {
    transform: translateY(-1px);
    box-shadow: var(--rb-glow-cyan);
    filter: saturate(1.06);
}

.rhystic-home__quick-link:focus-visible,
.rhystic-home__section-link:focus-visible,
.rhystic-home__product-card .button:focus-visible,
.rhystic-home__search button:focus-visible,
.rhystic-home__search input[type="submit"]:focus-visible,
.rhystic-home__product-copy h3 a:focus-visible,
.rhystic-home__product-image:focus-visible {
    outline: 2px solid var(--rb-primary);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .rhystic-home__quick-link,
    .rhystic-home__section-link,
    .rhystic-home__product-card,
    .rhystic-home__product-card .button,
    .rhystic-home__search button,
    .rhystic-home__search input[type="submit"],
    .rhystic-home__product-image img,
    .rhystic-home__product-copy h3 a {
        transition: none;
    }

    .rhystic-home__quick-link:hover,
    .rhystic-home__section-link:hover,
    .rhystic-home__product-card:hover,
    .rhystic-home__product-card .button:hover,
    .rhystic-home__search button:hover,
    .rhystic-home__search input[type="submit"]:hover {
        transform: none;
    }

    .rhystic-home__product-card:hover .rhystic-home__product-image img {
        transform: none;
    }
}

@media (max-width: 980px) {
    .rhystic-home {
        width: min(100vw - 24px, 1240px);
        padding: 20px 0 72px;
    }

    .rhystic-home__hero-inner {
        padding: 34px 22px 28px;
    }

    .rhystic-home__section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Selling CTA section ──────────────────────────────────────── */
.rhystic-home__sell-cta {
    margin: 20px 0 28px;
    padding: 20px 18px;
    border: 1px solid rgba(var(--rb-primary-rgb), 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--rb-primary-rgb), 0.08), rgba(var(--rb-primary-light-rgb), 0.06));
}

@media (min-width: 768px) {
    .rhystic-home__sell-cta {
        margin: 28px 0 36px;
        padding: 28px 24px;
        border-radius: 22px;
    }
}

.rhystic-home__sell-cta-content {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.rhystic-home__sell-cta-content h3 {
    margin: 0 0 8px;
    color: var(--rb-text);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .rhystic-home__sell-cta-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
}

.rhystic-home__sell-cta-content p {
    margin: 0 0 14px;
    color: var(--rb-text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .rhystic-home__sell-cta-content p {
        font-size: 1.02rem;
        margin-bottom: 16px;
    }
}

.rhystic-home__sell-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: var(--rb-gradient-primary);
    color: var(--rb-text-on-primary);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--rb-shadow-soft);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

@media (min-width: 768px) {
    .rhystic-home__sell-cta-btn {
        min-height: 48px;
        padding: 0 28px;
        font-size: 1rem;
        border-radius: 14px;
    }
}

.rhystic-home__sell-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--rb-glow-cyan);
    filter: saturate(1.06);
}

/* ── WhatsApp floating button ──────────────────────────────────── */

@media (max-width: 640px) {
    .rhystic-home__search form {
        grid-template-columns: 1fr;
    }

    .rhystic-home__product-card {
        flex: 0 0 156px;
    }

    .rhystic-home__product-grid-cta {
        flex: 0 0 128px;
    }

    .rhystic-home__quick-links {
        gap: 10px;
    }

    .rhystic-home__quick-link {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Página: Todas las cartas (.rhystic-cartas)
   ═══════════════════════════════════════════════════════════════════ */

.rhystic-cartas {
    width: min(1240px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 28px 0 96px;
}

@media (max-width: 980px) {
    .rhystic-cartas {
        width: min(100vw - 24px, 1240px);
        padding: 20px 0 72px;
    }
}

/* Encabezado de página */
.rhystic-cartas__header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rhystic-cartas__title {
    margin: 0;
    color: var(--rb-text);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.rhystic-cartas__count {
    margin: 0;
    color: var(--rb-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Barra de ordenamiento */
.rhystic-sort-bar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

.rhystic-sort-bar__btn {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--rb-border);
    background: var(--rb-surface);
    color: var(--rb-text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    line-height: 1;
}

.rhystic-sort-bar__btn:hover {
    border-color: var(--rb-primary-crystal);
    color: var(--rb-primary-dark);
}

.rhystic-sort-bar__btn.is-active {
    background: var(--rb-primary-dark);
    border-color: var(--rb-primary-dark);
    color: var(--rb-text-on-primary);
}

@media (max-width: 640px) {
    .rhystic-sort-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rhystic-sort-bar__btn {
        text-align: center;
    }
}

/* Grid de productos: responsive multi-columna (no carrusel) */
.rhystic-cartas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

@media (max-width: 1180px) {
    .rhystic-cartas__grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

@media (max-width: 768px) {
    .rhystic-cartas__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Las tarjetas del grid no necesitan ancho de carrusel */
.rhystic-cartas__grid .rhystic-home__product-card {
    flex: unset;
    scroll-snap-align: unset;
}

/* Estado vacío */
.rhystic-cartas__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 64px 24px;
    text-align: center;
    color: var(--rb-text-secondary);
}

/* Paginación */
.rhystic-cartas__pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.rhystic-cartas__pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rhystic-cartas__pagination .page-numbers li {
    display: contents;
}

.rhystic-cartas__pagination .page-numbers a,
.rhystic-cartas__pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--rb-border-soft);
    border-radius: 8px;
    background: var(--rb-gradient-card);
    color: var(--rb-text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.rhystic-cartas__pagination .page-numbers a:hover {
    border-color: rgba(var(--rb-primary-rgb), 0.3);
    background: rgba(var(--rb-primary-rgb), 0.08);
    color: var(--rb-primary-dark);
    box-shadow: var(--rb-glow-cyan);
}

.rhystic-cartas__pagination .page-numbers .current {
    border-color: var(--rb-primary);
    background: rgba(var(--rb-primary-rgb), 0.12);
    color: var(--rb-primary-dark);
    font-weight: 800;
    box-shadow: var(--rb-glow-cyan);
}

/* Cuando el header está fijo, compensar el padding de la página de cartas */
.rhystic-header-fixed .rhystic-cartas {
    padding-top: calc(var(--rhystic-header-height, 96px) + 24px);
}

/* Zona de contenido editable (Elementor / bloques) */
.rhystic-cartas__content {
    margin-top: 48px;
}

.rhystic-cartas__content:empty {
    display: none;
}

/* ── Trust bar ─────────────────────────────────────────────────────── */
.rhystic-home__trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--rb-text-secondary);
    border-radius: 18px;
    margin-bottom: 28px;
    overflow: hidden;
}

.rhystic-home__trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.rhystic-home__trust-item:last-child {
    border-right: none;
}

.rhystic-home__trust-icon {
    flex-shrink: 0;
    color: var(--rb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rhystic-home__trust-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rhystic-home__trust-copy strong {
    color: var(--rb-text-on-primary);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.rhystic-home__trust-copy span {
    color: rgba(247, 251, 255, 0.62);
    font-size: 0.76rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .rhystic-home__trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .rhystic-home__trust-item:nth-child(2) {
        border-right: none;
    }

    .rhystic-home__trust-item:nth-child(1),
    .rhystic-home__trust-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 520px) {
    .rhystic-home__trust-bar {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .rhystic-home__trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rhystic-home__trust-item:last-child {
        border-bottom: none;
    }
}
