/* Tema hijo demo — cromo y motion. Tokens --brand-* vienen del customizer / layout. */

.theme-demo {
    --demo-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --demo-ease-in: cubic-bezier(0.32, 0, 0.67, 0);
    --demo-fast: 150ms;
    --demo-normal: 220ms;
    --demo-slow: 320ms;
    /* Móvil estrecho · tablet · desktop (antes 40px fijo en todos los anchos) */
    --demo-page-gutter: 1rem;
    --demo-page-max: 1360px;
    /* Sticky asides (carrito / checkout) bajo cabecera 1–3 niveles */
    --demo-sticky-offset: 5.25rem;
    /* Sticky con cabecera en flujo (no fija): catálogo, ficha servicio, etc. */
    --demo-in-flow-sticky-top: 0.75rem;
    /* Ritmo vertical único del cuerpo (Grocery: más compacto que el núcleo) */
    --demo-section-y: 1.75rem;
    --demo-section-y-md: 2.25rem;
    --demo-surface: #f8fafc;
    --demo-line: #e5e7eb;
    --demo-line-strong: #d4d4d8;
    --iw-sf-line: #e5e7eb;
    /* Tipografía local (sin Google Fonts). Apariencia → fuente del sitio pisa esto. */
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Barra soft-nav bajo el header (anclada al cromo). */
.theme-demo .demo-header {
    isolation: isolate;
    position: relative;
}

.theme-demo .demo-header__nav-progress,
.theme-demo .iw-sf-nav-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 30;
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 18%, transparent);
    transition: opacity 60ms linear, visibility 60ms linear;
}

body.theme-demo.sf-nav-pending .demo-header__nav-progress,
body.theme-demo.sf-nav-pending .iw-sf-nav-progress,
body.iw-sf-body.sf-nav-pending .iw-sf-nav-progress,
html.theme-demo body.sf-nav-pending .iw-sf-nav-progress {
    opacity: 1 !important;
    visibility: visible !important;
}

.theme-demo .iw-sf-nav-progress__bar {
    height: 100%;
    width: 32%;
    background: var(--brand-primary, #4f46e5);
    box-shadow: 0 0 14px color-mix(in srgb, var(--brand-primary, #4f46e5) 60%, transparent);
    transform-origin: left center;
    animation: demo-sf-nav-progress 0.95s var(--demo-ease-out) infinite;
}

@keyframes demo-sf-nav-progress {
    0% { transform: translateX(-100%); width: 28%; }
    50% { transform: translateX(160%); width: 48%; }
    100% { transform: translateX(360%); width: 28%; }
}

body.theme-demo.sf-nav-pending #contenido-principal,
html.theme-demo body.sf-nav-pending #contenido-principal {
    opacity: 0.55;
    transition: opacity 120ms linear;
    pointer-events: none;
    cursor: wait;
}

body.theme-demo.sf-nav-pending,
html.theme-demo body.sf-nav-pending {
    cursor: progress;
}

@media (prefers-reduced-motion: reduce) {
    .theme-demo .iw-sf-nav-progress__bar {
        animation: none;
        width: 100%;
        transform: none;
    }

    body.theme-demo.sf-nav-pending #contenido-principal,
    html.theme-demo body.sf-nav-pending #contenido-principal {
        opacity: 0.72;
        transition: none;
    }
}

@media (min-width: 640px) {
    .theme-demo {
        --demo-page-gutter: 1.5rem;
        --demo-sticky-offset: 5.75rem;
        --demo-in-flow-sticky-top: 1rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo {
        --demo-page-gutter: 2.5rem; /* 40px en desktop */
        --demo-sticky-offset: 9rem; /* topbar + main + nav */
    }
}

/*
 * Box model: total 1360px · gutter responsive · margin auto.
 */
.theme-demo .iw-sf-container {
    box-sizing: border-box;
    margin-inline: auto;
    width: 100%;
    min-width: 0;
    max-width: var(--demo-page-max);
    padding-inline: var(--demo-page-gutter);
}

.theme-demo .iw-widget-ec-category-carousel > .px-0,
.theme-demo .iw-widget-ec-brand-carousel > .px-0 {
    box-sizing: border-box;
    margin-inline: auto;
    width: 100%;
    min-width: 0;
    max-width: var(--demo-page-max);
    padding-inline: var(--demo-page-gutter);
}

.theme-demo .iw-sf-container .iw-widget-ec-category-carousel > .px-0,
.theme-demo .iw-sf-container .iw-widget-ec-brand-carousel > .px-0,
.theme-demo .iw-sf-container .iw-widget-ec-category-carousel > .iw-sf-container,
.theme-demo .iw-sf-container .iw-widget-ec-brand-carousel > .iw-sf-container {
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__track {
    padding-inline: 0;
}

/* Espaciado vertical uniforme entre bloques del cuerpo */
.theme-demo .iw-sf-main > .iw-sf-section,
.theme-demo .iw-sf-main > section.iw-sf-section,
.theme-demo .iw-sf-main > .iw-widget.iw-sf-section,
.theme-demo .iw-sf-section {
    padding-block: var(--demo-section-y);
}

@media (min-width: 768px) {
    .theme-demo .iw-sf-section {
        padding-block: var(--demo-section-y-md);
    }
}

.theme-demo .iw-sf-section--tight {
    padding-block: var(--demo-section-y);
}

@media (min-width: 768px) {
    .theme-demo .iw-sf-section--tight {
        padding-block: var(--demo-section-y-md);
    }
}

/* Carrusel de categorías — mismo fondo que el cuerpo */
.theme-demo .iw-widget-ec-category-carousel {
    background-color: transparent;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories {
    padding-bottom: 0.35rem;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__arrow {
    display: none;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__track {
    gap: 0.625rem;
    scroll-snap-type: x mandatory;
    padding-block: 0.25rem 0.5rem;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item {
    display: flex;
    width: 6.25rem;
    min-width: 6.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: color var(--demo-fast) var(--demo-ease-out);
}

@media (min-width: 640px) {
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item {
        width: 7rem;
        min-width: 7rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item {
        width: 7.5rem;
        min-width: 7.5rem;
    }
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar {
    display: block;
    width: 4.75rem;
    height: 4.75rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 9999px;
    background: #eff2f5;
    box-shadow: none;
    transition:
        border-color var(--demo-fast) var(--demo-ease-out),
        box-shadow var(--demo-normal) var(--demo-ease-out);
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item:hover .iw-sf-catalog-categories__avatar {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 32%, var(--demo-line-strong, #d4d4d8));
    box-shadow: 0 14px 32px -22px color-mix(in srgb, var(--brand-primary, #4f46e5) 50%, transparent);
}

@media (min-width: 640px) {
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar {
        width: 5.25rem;
        height: 5.25rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar {
        width: 5.75rem;
        height: 5.75rem;
    }
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform var(--demo-slow) var(--demo-ease-out);
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item:hover .iw-sf-catalog-categories__avatar img {
    transform: scale(1.04);
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item > .iw-sf-catalog-categories__avatar + span {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    transition: color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item:hover > .iw-sf-catalog-categories__avatar + span {
    color: var(--brand-primary, #4f46e5);
}

@media (min-width: 640px) {
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item > .iw-sf-catalog-categories__avatar + span {
        font-size: 0.8125rem;
    }
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item > .iw-sf-catalog-categories__avatar + span + span {
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.3;
    color: #64748b;
}

.theme-demo .demo-cat-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    padding-top: 0.75rem;
}

.theme-demo .demo-cat-carousel__dots[hidden] {
    display: none;
}

.theme-demo .demo-cat-carousel__dot {
    height: 0.5rem;
    width: 0.5rem;
    flex-shrink: 0;
    border: none;
    border-radius: 9999px;
    background-color: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition:
        background-color var(--demo-fast) var(--demo-ease-out),
        transform var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .demo-cat-carousel__dot:hover {
    background-color: #94a3b8;
}

.theme-demo .demo-cat-carousel__dot--active {
    background-color: var(--brand-primary, #0d9488);
    transform: scale(1.05);
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__arrow--prev {
    left: 0;
}

.theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__arrow--next {
    right: 0;
}

html.theme-demo body.iw-sf-body {
    background:
        radial-gradient(1200px 480px at 8% -10%, color-mix(in srgb, var(--brand-primary, #4F46E5) 14%, transparent), transparent 60%),
        var(--demo-surface, #f8fafc);
}

.theme-demo .iw-sf-main {
    background: transparent;
}

.theme-demo .iw-sf-footer {
    margin-top: 0;
}

/* Header en flujo normal (anula sticky del núcleo; relative para la barra de progreso). */
.theme-demo .demo-header.iw-sf-header,
.theme-demo header.iw-sf-header {
    position: relative;
    top: auto;
    z-index: 20;
    transition: none;
}

/*
 * Soft-nav mantiene el cromo. VT MPA + view-transition-name en logo
 * provoca ghost/duplicado al navegar. Off en tema demo.
 */
@view-transition {
    navigation: none;
}

.theme-demo .iw-sf-header,
.theme-demo .demo-header.iw-sf-header,
.theme-demo .iw-sf-header-logo,
.theme-demo .demo-header__logo,
.theme-demo .iw-sf-footer,
.theme-demo .iw-sf-home-logo-mark {
    view-transition-name: none !important;
}

.theme-demo [data-demo-reveal] {
    opacity: 0;
    transform: translateY(10px);
    animation: demo-reveal var(--demo-slow) var(--demo-ease-out) forwards;
}

@keyframes demo-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Huecos internos de widgets: alinear con el ritmo de sección */
.theme-demo .iw-ec-campaign-carousel .relative.mt-8 {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .theme-demo .iw-ec-campaign-carousel .relative.mt-8 {
        margin-top: 1.5rem;
    }
}

.theme-demo .iw-ec-campaign-carousel__track {
    padding-block: 0.35rem 0.65rem;
}

.theme-demo .shop-related-scroller {
    padding-top: 0.35rem;
    padding-bottom: 0.85rem;
}

/* Cuenta / acceso / registro / recuperación (blades heredados de default) */
.theme-demo .iw-sf-main > .w-full.bg-neutral-100 {
    background-color: transparent;
}

.theme-demo .iw-sf-page-shell .max-w-lg > .rounded-3xl,
.theme-demo .iw-sf-page-shell .max-w-md > .rounded-3xl {
    border-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 28%, #e2e8f0);
    box-shadow: 0 28px 56px -32px color-mix(in srgb, var(--brand-primary, #4F46E5) 45%, transparent);
}

.theme-demo .iw-sf-page-shell .max-w-lg header p:first-child,
.theme-demo .iw-sf-page-shell .max-w-md header p:first-child {
    color: var(--brand-primary, #4F46E5);
}

.theme-demo [role="tablist"][aria-label="Tipo de acceso"] {
    border-color: var(--brand-primary, #4F46E5) !important;
}

.theme-demo [role="tablist"][aria-label="Tipo de acceso"] > span[aria-hidden="true"] {
    background-color: var(--brand-primary, #4F46E5) !important;
}

.theme-demo .iw-sf-input:focus,
.theme-demo .iw-sf-textarea:focus {
    border-color: var(--brand-primary, #4F46E5);
    --tw-ring-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 18%, transparent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary, #4F46E5) 18%, transparent);
}

.theme-demo .iw-sf-link {
    color: var(--brand-primary, #4F46E5);
    text-decoration-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 35%, transparent);
}

.theme-demo .iw-sf-link:hover {
    color: var(--brand-accent, #7C3AED);
    text-decoration-color: var(--brand-accent, #7C3AED);
}

.theme-demo input[type="checkbox"] {
    accent-color: var(--brand-primary, #4F46E5);
}

.theme-demo .iw-sf-page-shell .rounded-full.border-neutral-950 {
    border-color: var(--brand-primary, #4F46E5);
    color: var(--brand-primary, #4F46E5);
}

/* Carrusel de marcas — solo miniatura, centrado y con aire */
.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__arrow {
    display: none;
}

.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories {
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 5.5rem;
    padding-block: 0.75rem;
}

.theme-demo .iw-widget-ec-brand-carousel .demo-brand-marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.theme-demo .iw-widget-ec-brand-carousel .demo-brand-marquee__track,
.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__track {
    align-items: center;
}

.theme-demo .iw-widget-ec-brand-carousel .demo-brand-marquee__track {
    display: flex;
    width: max-content;
    gap: 2.75rem;
    padding: 1rem 0;
    overflow: visible;
    scroll-snap-type: none;
    animation: demo-brand-marquee-scroll var(--demo-marquee-duration, 28s) linear infinite;
    will-change: transform;
    padding-inline: 0.5rem;
}

.theme-demo .iw-widget-ec-brand-carousel .demo-brand-marquee:hover .demo-brand-marquee__track {
    animation-play-state: paused;
}

@keyframes demo-brand-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__item {
    display: flex;
    width: auto;
    min-width: 5.5rem;
    max-width: 11rem;
    align-items: center;
    justify-content: center;
    padding-inline: 0.25rem;
}

.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__item > .iw-sf-catalog-categories__avatar + span {
    display: none;
}

/* Sin logo = inicial fantasma (tema oculta el nombre). No mostrar en el marquee. */
.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__item:not(:has(img)) {
    display: none;
}

.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__avatar {
    display: flex;
    width: auto;
    height: auto;
    min-height: 3.5rem;
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
}

.theme-demo .iw-widget-ec-brand-carousel .iw-sf-catalog-categories__avatar img {
    display: block;
    width: auto;
    height: auto;
    max-width: 10rem;
    max-height: 4.75rem;
    margin-inline: auto;
    object-fit: contain;
    padding: 0;
}

/* Cabecera demo · 3 niveles (referencia Grocery) */
.theme-demo .demo-header.iw-sf-header {
    background-color: #fff;
    border-bottom: none;
}

.theme-demo .demo-header .iw-sf-container {
    padding-inline: var(--demo-page-gutter);
}

.theme-demo .demo-header__main-inner {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.65rem;
}

@media (min-width: 640px) {
    .theme-demo .demo-header__main-inner {
        gap: 0.75rem;
        padding-block: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo .demo-header__main-inner {
        gap: 1.25rem;
        padding-block: 0.9rem;
    }
}

.theme-demo .demo-header__logo {
    max-width: min(42vw, 10rem);
}

.theme-demo .demo-header__logo img,
.theme-demo .demo-header__logo svg {
    max-width: 100%;
    height: auto;
}

@media (min-width: 640px) {
    .theme-demo .demo-header__logo {
        max-width: 12rem;
    }
}

.theme-demo .demo-header__topbar {
    background-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 12%, #fff);
    color: #404040;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-primary, #4F46E5) 10%, #e5e7eb);
}

.theme-demo .demo-header__topbar .iw-sf-container {
    min-height: 2.125rem;
}

@media (max-width: 639px) {
    .theme-demo .demo-header__topbar {
        display: none;
    }
}

.theme-demo .demo-header__utility-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .demo-header__utility-link:hover {
    color: var(--brand-primary, #4F46E5);
    opacity: 1;
}

.theme-demo .demo-header__topbar .iw-sf-currency-switcher {
    scale: 0.92;
    transform-origin: right center;
}

.theme-demo .demo-header__topbar .iw-sf-segment {
    background-color: #fff;
    border-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 18%, #d4d4d4);
}

.theme-demo .demo-header__topbar .iw-sf-segment__btn {
    color: #525252;
}

.theme-demo .demo-header__topbar .iw-sf-segment__btn.is-on {
    color: var(--brand-primary, #4F46E5);
}

.theme-demo .demo-header__topbar .iw-sf-segment__thumb {
    background-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 12%, #fff);
}

.theme-demo .demo-header__location-btn {
    display: flex;
    max-width: 14rem;
    align-items: center;
    gap: 0.625rem;
    border: 1px solid rgb(212 212 212 / 0.85);
    border-radius: 0.625rem;
    background: #fff;
    padding: 0.5rem 0.75rem;
    color: inherit;
    text-decoration: none;
    transition:
        border-color var(--demo-fast) var(--demo-ease-out),
        box-shadow var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .demo-header__location-btn:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 35%, #d4d4d4);
}

.theme-demo .demo-header__location-btn--static {
    cursor: default;
    pointer-events: none;
}

.theme-demo .demo-header__location-btn--static:hover {
    border-color: rgb(212 212 212 / 0.85);
}

.theme-demo .demo-header__location-icon {
    display: flex;
    color: var(--brand-primary, #4F46E5);
}

.theme-demo .demo-header__location-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.125rem;
}

.theme-demo .demo-header__location-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;
    color: #64748b;
}

.theme-demo .demo-header__location-name {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.theme-demo .demo-header__location {
    position: relative;
    max-width: 16rem;
}

.theme-demo .demo-header__location-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 60;
    min-width: 12rem;
    overflow: hidden;
    border: 1px solid rgb(212 212 212 / 0.85);
    border-radius: 0.625rem;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 16px 40px -24px rgb(15 23 42 / 35%);
}

.theme-demo .demo-header__location-option {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0.375rem;
    padding: 0.5rem 0.625rem;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.theme-demo .demo-header__location-option:hover {
    background: #f1f5f9;
    color: var(--brand-primary, #4F46E5);
}

.theme-demo .demo-header__location-option.is-active {
    background: #eef2ff;
    color: var(--brand-primary, #4F46E5);
}

.theme-demo .demo-header__location-form {
    margin: 0;
}

.theme-demo .demo-header__search {
    position: relative;
}

.theme-demo .demo-header__search-widget.iw-widget-ec-search-advanced--inline {
    position: relative;
}

.theme-demo .demo-header__search-widget .iw-ec-search-form {
    gap: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-q {
    height: 2.75rem;
    border-radius: 0.5rem 0 0 0.5rem;
    border-right-width: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-form > .iw-brand-btn {
    height: 2.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    padding-inline: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

.theme-demo .demo-header__search-widget .iw-ec-search-panel--inline {
    margin-top: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-panel--inline:not(.hidden) {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 70;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid rgb(212 212 212 / 0.85);
    border-radius: 0.625rem;
    background: #fff;
    box-shadow: 0 20px 48px -28px rgb(15 23 42 / 40%);
}

.theme-demo .demo-header__search-widget .iw-ec-search-panel--inline .iw-ec-search-panel__inner {
    max-height: min(22rem, 60vh);
    padding: 0.5rem 0.75rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.theme-demo .demo-header__search-widget .iw-ec-search-dd__section-label {
    padding: 0.375rem 0 0.25rem;
}

.theme-demo .demo-header__search-widget .iw-ec-search-panel--inline .iw-ec-search-dd__section:first-child .iw-ec-search-dd__section-label {
    padding-top: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-dd__section + .iw-ec-search-dd__section {
    margin-top: 0.375rem;
    padding-top: 0.375rem;
    border-top: 1px solid rgb(229 229 229 / 0.85);
}

.theme-demo .demo-header__search-widget .iw-ec-search-dd__section .divide-y > :first-child {
    border-top-width: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-list-card {
    padding-inline: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-dd__empty,
.theme-demo .demo-header__search-widget .iw-ec-search-dd__loading {
    padding: 0.75rem 0;
    text-align: center;
}

.theme-demo .demo-header__search-widget .iw-ec-search-skeleton {
    padding: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-skeleton__row {
    padding-inline: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-idle {
    padding: 0;
}

.theme-demo .demo-header__search-widget .iw-ec-search-idle__panel {
    border: 0;
    border-radius: 0.5rem;
    background: #f8fafc;
    padding: 1.5rem 1rem;
}

/* Modal de búsqueda (móvil) — alinear márgenes con el diálogo */
.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal.iw-widget-ec-search-advanced--inline {
    gap: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-panel--modal {
    margin-top: 0.75rem;
    padding-top: 0;
    border-top: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-panel--inline .iw-ec-search-panel__inner {
    margin-inline: 0;
    padding: 0.25rem 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-list-card {
    padding-inline: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-dd__section-label {
    padding-inline: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-idle {
    padding: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-idle__panel {
    border: 0;
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 2rem 1.25rem;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-skeleton {
    padding: 0;
}

.theme-demo .iw-sf-dialog .iw-widget-ec-search-advanced--modal .iw-ec-search-skeleton__row {
    padding-inline: 0;
}

/* Acciones: iconos siempre visibles (carrito / wishlist / menú) */
.theme-demo .demo-header__actions {
    gap: 0.15rem;
}

@media (min-width: 640px) {
    .theme-demo .demo-header__actions {
        gap: 0.35rem;
    }
}

.theme-demo .demo-header__action.iw-sf-header-action {
    position: relative;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    overflow: visible;
}

@media (min-width: 640px) {
    .theme-demo .demo-header__action.iw-sf-header-action {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
    }
}

.theme-demo .demo-header__action.iw-sf-header-action .iw-sf-header-action__icon,
.theme-demo .demo-header__action.iw-sf-header-action .iw-sf-header-action__icon--nav {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .theme-demo .demo-header__action.iw-sf-header-action .iw-sf-header-action__icon--nav {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Cuenta: píldora outline / relleno (sin mezclar con w-10 del action) */
.theme-demo .demo-header__account {
    display: none;
    align-items: center;
    gap: 0.4rem;
    max-width: 10rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color var(--demo-fast) var(--demo-ease-out),
        color var(--demo-fast) var(--demo-ease-out),
        border-color var(--demo-fast) var(--demo-ease-out);
}

@media (min-width: 768px) {
    .theme-demo .demo-header__account {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .theme-demo .demo-header__account {
        max-width: 11rem;
        min-height: 2.75rem;
        padding-inline: 1rem;
    }
}

.theme-demo .demo-header__account-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.theme-demo .demo-header__account-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-demo .demo-header__account--outline {
    border: 1px solid #171717;
    background: #fff;
    color: #171717;
}

.theme-demo .demo-header__account--outline:hover {
    background: #171717;
    color: #fff;
}

.theme-demo .demo-header__account--filled {
    border: 1px solid var(--brand-primary, #4f46e5);
    background-color: var(--brand-primary, #4f46e5);
    color: #fff;
}

.theme-demo .demo-header__account--filled:hover {
    background-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 88%, #000);
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 88%, #000);
    color: #fff;
}

.theme-demo .demo-header__delivery {
    color: #525252;
}

.theme-demo .demo-header__nav-bar {
    display: none;
}

@media (min-width: 1024px) {
    .theme-demo .demo-header__nav-bar {
        display: block;
        padding-block: 0 0.5rem;
        border-top: 1px solid var(--demo-line, #e5e7eb);
    }
}

.theme-demo .demo-header__nav-inner {
    min-height: 2.5rem;
    padding-block: 0;
}

.theme-demo .demo-header__nav {
    overflow: visible;
}

.theme-demo .demo-header__nav-list.iw-sf-nav-list--horizontal {
    justify-content: flex-start;
    gap: 0.35rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.theme-demo .demo-header__nav-list.iw-sf-nav-list--horizontal::-webkit-scrollbar {
    display: none;
}

.theme-demo .demo-header__nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    padding-inline: 0.875rem;
}

.theme-demo .demo-header__nav-link.is-current,
.theme-demo .demo-header__nav-link[aria-current="page"] {
    background-color: color-mix(in srgb, var(--brand-primary, #4F46E5) 12%, transparent);
    color: var(--brand-primary, #4F46E5);
}

.theme-demo .demo-header__nav-sale {
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-primary, #4f46e5);
    text-decoration: none;
    background-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 10%, #fff);
    transition:
        background-color var(--demo-fast) var(--demo-ease-out),
        color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .demo-header__nav-sale:hover {
    background-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 16%, #fff);
}

.theme-demo .demo-header__nav-sale.is-current,
.theme-demo .demo-header__nav-sale[aria-current="page"] {
    background-color: var(--brand-primary, #4f46e5);
    color: #fff;
}

.theme-demo .demo-header__nav-sale-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* —— Drawers móviles (menú + filtros): mismo ancho y bloqueo de fondo —— */
.theme-demo {
    --demo-drawer-w: min(86vw, 21.5rem);
    --demo-drawer-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --demo-drawer-ms: 300ms;
}

@media (min-width: 640px) {
    .theme-demo {
        --demo-drawer-w: min(70vw, 24rem);
    }
}

.theme-demo .demo-mobile-drawer.iw-sf-drawer,
.theme-demo .demo-mobile-drawer {
    width: var(--demo-drawer-w);
    max-width: var(--demo-drawer-w);
    background: #fff;
    box-shadow: -18px 0 48px -28px rgb(15 23 42 / 45%);
    overscroll-behavior: contain;
    touch-action: pan-y;
}

html.theme-demo.iw-sf-mobile-nav-open,
html.theme-demo.iw-sf-mobile-nav-open body,
html.theme-demo.iw-sf-filters-open,
html.theme-demo.iw-sf-filters-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
}

html.theme-demo body.is-demo-drawer-locked {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .theme-demo .demo-catalog__sidebar.demo-filter-drawer {
        transition: none;
    }
}

.theme-demo .demo-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-mobile-drawer__brand {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.theme-demo .demo-mobile-drawer__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.theme-demo .demo-mobile-drawer__title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.theme-demo .demo-mobile-drawer__close {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
}

.theme-demo .demo-mobile-drawer__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.1rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.theme-demo .demo-mobile-drawer__account {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
}

.theme-demo .demo-mobile-drawer__account--outline {
    border: 1px solid #171717;
    color: #171717;
    background: #fff;
}

.theme-demo .demo-mobile-drawer__account--filled {
    border: 1px solid var(--brand-primary, #4f46e5);
    background: var(--brand-primary, #4f46e5);
    color: #fff;
}

.theme-demo .demo-mobile-drawer__branch {
    margin-top: 0.75rem;
}

.theme-demo .demo-mobile-drawer__branch .iw-sf-branch-selector {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
    background: #fafafa;
}

.theme-demo .demo-mobile-drawer__branch .iw-sf-branch-selector select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

.theme-demo .demo-mobile-drawer__nav .iw-sf-nav-list--compact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.theme-demo .demo-mobile-drawer__nav .iw-sf-nav-link {
    display: block;
    width: 100%;
    border-radius: 0.625rem;
    padding: 0.8rem 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #171717;
    text-decoration: none;
}

.theme-demo .demo-mobile-drawer__nav .iw-sf-nav-link.is-current,
.theme-demo .demo-mobile-drawer__nav .iw-sf-nav-link[aria-current="page"] {
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 12%, #fff);
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-mobile-drawer__section {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-mobile-drawer__section-title {
    margin: 0 0 0.35rem;
    padding-inline: 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.theme-demo .demo-mobile-drawer__link {
    display: block;
    border-radius: 0.625rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}

.theme-demo .demo-mobile-drawer__sale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    margin-top: 0.25rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 12%, #fff);
    color: var(--brand-primary, #4f46e5);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.theme-demo .demo-mobile-drawer__section--muted {
    margin-top: auto;
}

.theme-demo .demo-mobile-drawer__meta {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
}

.theme-demo .demo-mobile-drawer__meta:hover,
.theme-demo .demo-mobile-drawer__link:hover {
    color: var(--brand-primary, #4f46e5);
}

/* Tablet: menos ruido, cuenta visible desde md */
@media (min-width: 768px) and (max-width: 1023px) {
    .theme-demo .demo-header__location {
        display: none !important;
    }

    .theme-demo .demo-header__account-label {
        max-width: 5.5rem;
    }
}

/* Inicio · franja de cupón (Grocery) */
.theme-demo .demo-coupon-strip-wrap {
    padding-block: 0.25rem;
}

@media (min-width: 768px) {
    .theme-demo .demo-coupon-strip-wrap {
        padding-block: 0.35rem;
    }
}

.theme-demo .demo-coupon-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    background: #ffe8e8;
    color: #c81e1e;
}

.theme-demo .demo-coupon-strip__line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.9rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.theme-demo .demo-coupon-strip__msg em {
    font-style: normal;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.theme-demo .demo-coupon-strip__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.2rem 0.85rem;
    border: 1px dashed #c81e1e;
    border-radius: 0.2rem;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #c81e1e;
}

.theme-demo .demo-coupon-strip__hint {
    font-weight: 600;
}

/* Inicio · banners promocionales de marca (demo-promo-banner ×3) */
.theme-demo .demo-promo-banners__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .theme-demo .demo-promo-banners__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.theme-demo .demo-promo-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(7rem, 42%);
    align-items: stretch;
    min-height: 10.5rem;
    border-radius: 0.75rem;
    background: #eff2f5;
    overflow: hidden;
}

/* Sin imagen: no reservar columna vacía (evita hueco gris a la derecha). */
.theme-demo .demo-promo-banner:not(:has(.demo-promo-banner__media)) {
    grid-template-columns: minmax(0, 1fr);
}

.theme-demo .demo-promo-banner__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.125rem 1rem 1.125rem 1.125rem;
    min-width: 0;
    z-index: 1;
}

.theme-demo .demo-promo-banner__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #16a34a;
}

.theme-demo .demo-promo-banner__title {
    margin: 0;
    font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #171717;
}

.theme-demo .demo-promo-banner__desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #737373;
}

.theme-demo .demo-promo-banner__metric {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.375rem 0 0;
}

.theme-demo .demo-promo-banner__metric-label {
    font-size: 0.8125rem;
    color: #737373;
}

.theme-demo .demo-promo-banner__metric-value {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #171717;
}

/* Media a sangre: sin padding; llena alto/ancho de la columna derecha. */
.theme-demo .demo-promo-banner__media {
    position: relative;
    min-height: 0;
    align-self: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #eff2f5;
}

.theme-demo .demo-promo-banner__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 767px) {
    .theme-demo .demo-promo-banner {
        min-height: 9.5rem;
        grid-template-columns: minmax(0, 1.1fr) minmax(6rem, 40%);
    }

    .theme-demo .demo-promo-banner:not(:has(.demo-promo-banner__media)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .theme-demo .demo-promo-banner__body {
        padding: 1rem 0.75rem 1rem 1rem;
    }
}

/* —— Tienda / catálogo · cromo Grocery —— */
.theme-demo .iw-storefront-breadcrumb {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.theme-demo .iw-sf-page-shell--after-breadcrumb {
    padding-top: 1.25rem;
}

.theme-demo .demo-catalog {
    gap: 0;
}

/*
 * Filtros: cromo de drawer oculto por defecto.
 * Solo se muestra bajo 1024px (después de estas reglas).
 * No depender de utilidades Tailwind lg:hidden del build.
 */
.theme-demo .demo-filter-drawer__head,
.theme-demo .demo-filter-drawer__submit,
.theme-demo .demo-catalog-toolbar__filters {
    display: none !important;
}

.theme-demo .demo-filter-drawer__head {
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--demo-line, #e5e7eb);
    background: #fff;
}

.theme-demo .demo-filter-drawer__brand {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.theme-demo .demo-filter-drawer__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

.theme-demo .demo-filter-drawer__title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.theme-demo .demo-filter-drawer__head-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.theme-demo .demo-filter-drawer__clear {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 0.35rem 0.5rem;
}

.theme-demo .demo-filter-drawer__clear:hover {
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-filter-drawer__close {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #334155;
}

.theme-demo .demo-catalog__clear {
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #737373;
    text-decoration: none;
}

.theme-demo .demo-catalog__clear:hover {
    color: #171717;
    text-decoration: underline;
}

@media (max-width: 1023px) {
    .theme-demo .demo-catalog__sidebar.demo-filter-drawer {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2147483646;
        display: flex;
        flex-direction: column;
        width: var(--demo-drawer-w);
        max-width: var(--demo-drawer-w);
        margin: 0;
        padding: 0;
        background: #fff;
        border: 0;
        box-shadow: 18px 0 48px -28px rgb(15 23 42 / 45%);
        transform: translate3d(-105%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition:
            transform var(--demo-drawer-ms) var(--demo-drawer-ease),
            visibility var(--demo-drawer-ms) var(--demo-drawer-ease);
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    .theme-demo .demo-catalog__sidebar.demo-filter-drawer.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    .theme-demo .demo-filter-drawer__head {
        display: flex !important;
    }

    .theme-demo .demo-filter-drawer__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
        padding: 0.85rem 1.1rem 1.25rem;
    }

    .theme-demo .demo-filter-drawer__submit {
        display: block !important;
        position: sticky;
        bottom: 0;
        z-index: 1;
        margin-top: 1rem;
        box-shadow: 0 -12px 24px -16px rgb(15 23 42 / 35%);
    }

    .theme-demo .demo-catalog__clear {
        display: none !important;
    }

    .theme-demo .demo-catalog-toolbar__filters {
        display: inline-flex !important;
    }
}

@media (min-width: 1024px) {
    .theme-demo .demo-catalog__sidebar,
    .theme-demo .demo-catalog__sidebar.demo-filter-drawer {
        position: sticky;
        top: var(--demo-in-flow-sticky-top, 0.75rem);
        align-self: flex-start;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        display: block;
        width: 16.5rem;
        max-width: 16.5rem;
        margin: 0 1.5rem 0 0;
        padding: 0 1.5rem 0 0;
        border: 0;
        border-right: 1px solid var(--demo-line, #e5e7eb);
        background: transparent;
        box-shadow: none;
        transform: none !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: none;
        overscroll-behavior: auto;
        touch-action: auto;
    }

    .theme-demo .demo-catalog__sidebar.demo-filter-drawer.is-open {
        transform: none !important;
    }

    .theme-demo .demo-catalog__main {
        padding-left: 0;
    }

    .theme-demo .demo-filter-drawer__head,
    .theme-demo .demo-filter-drawer__submit,
    .theme-demo .demo-filter-drawer__overlay,
    .theme-demo .demo-catalog-toolbar__filters {
        display: none !important;
    }

    .theme-demo .demo-filter-drawer__body {
        display: block;
        padding: 0;
        overflow: visible;
        flex: none;
        min-height: 0;
    }

    .theme-demo .demo-catalog__clear {
        display: inline-flex !important;
    }
}

/* Blog: sidebar sticky con cabecera en flujo (mismo criterio que filtros catálogo) */
@media (min-width: 1024px) {
    .theme-demo .notes-layout--with-sidebar {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .theme-demo .notes-layout--with-sidebar > :first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .theme-demo .notes-sidebar {
        position: sticky;
        top: var(--demo-in-flow-sticky-top, 0.75rem);
        flex: 0 0 min(20rem, 100%);
        width: min(20rem, 100%);
        min-width: 0;
        align-self: flex-start;
        margin-top: 0;
    }
}

.theme-demo .iw-sf-catalog-filter-title {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #171717;
}

.theme-demo .iw-sf-catalog-filter-block {
    padding-bottom: 1.125rem;
    border-bottom-color: var(--demo-line, #e5e7eb);
}

.theme-demo .iw-sf-catalog-filter-block + .iw-sf-catalog-filter-block {
    padding-top: 1.125rem;
}

/* Filtros catálogo: checks y filas seleccionadas en color marca */
.theme-demo .iw-sf-catalog-filter-check {
    accent-color: var(--brand-primary, #4f46e5) !important;
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 28%, #d4d4d8);
}

.theme-demo .iw-sf-catalog-filter-check:focus {
    outline: none;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary, #4f46e5) 22%, transparent);
}

.theme-demo .iw-sf-catalog-filter-row:has(.iw-sf-catalog-filter-check:checked) > span:first-of-type,
.theme-demo .iw-sf-catalog-filter-row:has(.iw-sf-catalog-filter-check:checked) > span.text-neutral-800 {
    color: var(--brand-primary, #4f46e5);
    font-weight: 600;
}

.theme-demo .iw-sf-catalog-color-option:has(:checked) .iw-sf-catalog-color-swatch {
    border-color: var(--brand-primary, #4f46e5);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary, #4f46e5) 28%, transparent);
}

.theme-demo .iw-sf-catalog-color-option:has(:checked) > span.text-neutral-800 {
    color: var(--brand-primary, #4f46e5);
    font-weight: 600;
}

/* Filtro precio: tramo activo y controles en color marca */
.theme-demo .iw-sf-catalog-price-dual__fill {
    background: var(--brand-primary, #4f46e5) !important;
}

.theme-demo .iw-sf-catalog-filter .iw-sf-catalog-price-range::-webkit-slider-thumb {
    background: var(--brand-primary, #4f46e5) !important;
    border-color: #fff;
}

.theme-demo .iw-sf-catalog-filter .iw-sf-catalog-price-range::-moz-range-thumb {
    background: var(--brand-primary, #4f46e5) !important;
    border-color: #fff;
}

.theme-demo .iw-sf-catalog-toolbar--divided {
    margin-bottom: 1.25rem;
    padding-bottom: 0;
    border-bottom: none;
}

.theme-demo .demo-catalog-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.theme-demo .demo-catalog-toolbar__start,
.theme-demo .demo-catalog-toolbar__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    min-width: 0;
}

.theme-demo .demo-catalog-toolbar__branch-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #525252;
}

.theme-demo .demo-catalog-toolbar__branch-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-catalog-toolbar__branch-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
}

.theme-demo .demo-catalog-toolbar__branch-kicker {
    flex-shrink: 0;
    font-weight: 500;
    color: #737373;
}

.theme-demo .demo-catalog-toolbar__branch-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-demo .demo-catalog-toolbar__empty {
    margin: 0;
    font-size: 0.8125rem;
    color: #737373;
}

/* Mismo cromo que sucursal: label solo en sr-only; el select lleva el significado. */
.theme-demo .demo-catalog-toolbar__sort {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.theme-demo .demo-catalog-toolbar__sort .iw-sf-catalog-select {
    min-width: 9rem;
}

.theme-demo .demo-catalog-toolbar__views {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-catalog-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: #a3a3a3;
    cursor: pointer;
}

.theme-demo .demo-catalog-view-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.theme-demo .demo-catalog-view-btn:hover,
.theme-demo .demo-catalog-view-btn.is-active {
    color: #171717;
    background: #eff2f5;
}

/* Altura igual solo dentro de cada fila; filas independientes (sin auto-rows-fr). */
.theme-demo .demo-catalog-grid {
    align-items: stretch;
    grid-auto-rows: auto;
}

.theme-demo .demo-catalog-grid > .demo-product-card,
.theme-demo .demo-catalog-grid > .iw-sf-product-card {
    height: 100%;
    min-height: 0;
}

.theme-demo .demo-product-card {
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: none;
    transition:
        border-color var(--demo-fast) var(--demo-ease-out),
        box-shadow var(--demo-normal) var(--demo-ease-out),
        transform var(--demo-normal) var(--demo-ease-out);
}

.theme-demo .demo-catalog-grid > .demo-product-card {
    animation: demo-catalog-product-card-in 0.5s var(--demo-ease-out) both;
    animation-delay: calc(var(--iw-sf-card-index, 0) * 55ms);
}

@keyframes demo-catalog-product-card-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-demo .demo-product-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 32%, var(--demo-line-strong, #d4d4d8));
    box-shadow: 0 14px 32px -22px color-mix(in srgb, var(--brand-primary, #4f46e5) 50%, transparent);
}

/* Elevación solo en grid catálogo; carruseles tienen overflow y recortan translateY */
.theme-demo .demo-catalog-grid > .demo-product-card:hover {
    transform: translateY(-3px);
}

.theme-demo .iw-ec-campaign-carousel .demo-product-card:hover,
.theme-demo .shop-related-scroller .demo-product-card:hover {
    transform: none;
}

.theme-demo .demo-product-card .iw-sf-product-card__image-link img {
    transition: transform var(--demo-slow) var(--demo-ease-out);
}

.theme-demo .demo-product-card:hover .iw-sf-product-card__image-link img {
    transform: scale(1.04);
}

/* Tarjetas servicio en catálogo: mismo hover/animación que productos */
.theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog {
    transition:
        border-color var(--demo-fast) var(--demo-ease-out),
        box-shadow var(--demo-normal) var(--demo-ease-out),
        transform var(--demo-normal) var(--demo-ease-out);
}

.theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 32%, var(--demo-line-strong, #d4d4d8));
    box-shadow: 0 14px 32px -22px color-mix(in srgb, var(--brand-primary, #4f46e5) 50%, transparent);
    transform: translateY(-3px);
}

.theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog .iw-sf-service-card__media img {
    transition: transform var(--demo-slow) var(--demo-ease-out);
}

.theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog:hover .iw-sf-service-card__media img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .theme-demo .demo-catalog-grid > .demo-product-card {
        animation: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .theme-demo .demo-catalog-grid > .demo-product-card:hover {
        transform: none;
    }

    .theme-demo .demo-product-card .iw-sf-product-card__image-link img,
    .theme-demo .demo-product-card:hover .iw-sf-product-card__image-link img {
        transform: none;
        transition: none;
    }

    .theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog:hover {
        transform: none;
    }

    .theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog .iw-sf-service-card__media img,
    .theme-demo .demo-catalog-grid > .iw-sf-service-plan-card--catalog:hover .iw-sf-service-card__media img {
        transform: none;
        transition: none;
    }

    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__avatar img,
    .theme-demo .iw-widget-ec-category-carousel .iw-sf-catalog-categories__item:hover .iw-sf-catalog-categories__avatar img {
        transform: none;
        transition: none;
    }
}

.theme-demo .demo-product-card__media {
    background: #fff;
}

.theme-demo .demo-product-card__badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    display: inline-flex;
    min-width: 2.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    background: #16a34a;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .demo-product-card:hover .demo-product-card__badge:not(.demo-product-card__badge--quote),
.theme-demo .iw-widget-ec-list .iw-ec-list-card:hover .demo-product-card__badge {
    background: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-product-card__badge--quote {
    background: #171717;
    font-weight: 600;
}

/* Widget lista de productos (portada): título con hover como tarjetas grid */
.theme-demo .iw-widget-ec-list .iw-ec-list-card h3 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #171717;
}

.theme-demo .iw-widget-ec-list .iw-ec-list-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .iw-widget-ec-list .iw-ec-list-card:hover h3 a,
.theme-demo .iw-widget-ec-list .iw-ec-list-card h3 a:hover {
    color: var(--brand-primary, #4f46e5);
    text-decoration: none;
}

.theme-demo .iw-widget-ec-list .iw-ec-list-card .demo-product-card__badge {
    top: 0.4rem;
    left: 0.4rem;
}

.theme-demo .iw-widget-ec-list .iw-sf-product-price-current,
.theme-demo .iw-widget-ec-list .iw-sf-product-price-current--md {
    font-weight: 800;
    color: #171717;
}

.theme-demo .iw-widget-ec-list .iw-sf-product-price-was {
    color: #a3a3a3;
}

.theme-demo .demo-product-card__wish {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
}

.theme-demo .demo-product-card__wish button {
    display: flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #a3a3a3;
    cursor: pointer;
}

.theme-demo .demo-product-card__wish button:hover {
    color: #e11d48;
    background: #fff;
}

.theme-demo .demo-product-card__wish svg {
    width: 1rem;
    height: 1rem;
}

.theme-demo .demo-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem 0.9rem 1rem;
}

.theme-demo .demo-product-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #171717;
}

.theme-demo .demo-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.theme-demo .demo-product-card__title a:hover {
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-product-card__rating {
    display: flex;
    gap: 0.1rem;
}

.theme-demo .demo-product-card__rating svg {
    width: 0.8rem;
    height: 0.8rem;
    color: #e5e5e5;
}

.theme-demo .demo-product-card__rating svg.is-on {
    color: #f59e0b;
}

.theme-demo .demo-product-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.theme-demo .demo-product-card__stock span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background: currentColor;
}

.theme-demo .demo-product-card__stock.is-in {
    color: #16a34a;
}

.theme-demo .demo-product-card__stock.is-out {
    color: #a3a3a3;
}

.theme-demo .demo-product-card .iw-sf-product-price-current {
    font-size: 1rem;
    font-weight: 800;
    color: #171717;
}

.theme-demo .demo-product-card .iw-sf-product-price-was {
    font-size: 0.75rem;
    color: #a3a3a3;
}

.theme-demo .demo-product-card__quote {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
}

.theme-demo .demo-product-card__installment {
    margin: 0;
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid color-mix(in srgb, var(--brand-primary, #4f46e5) 22%, var(--demo-line, #e5e7eb));
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 14%, transparent) 0,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 14%, transparent) 3px,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 6%, #fff) 3px,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 6%, #fff) 100%
        );
    font-size: 0.75rem;
    line-height: 1.35;
    color: #525252;
}

.theme-demo .demo-product-card__installment-amount {
    font-weight: 800;
    color: var(--brand-primary, #4f46e5);
}

/* Ficha producto/servicio (clases del default): cromo marca demo */
.theme-demo .iw-sf-product-installment {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.15rem;
    padding: 0.9rem 1rem 0.9rem 1.05rem;
    border: 1px solid color-mix(in srgb, var(--brand-primary, #4f46e5) 28%, var(--demo-line, #e5e7eb));
    border-radius: 0.5rem;
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 18%, transparent) 0,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 18%, transparent) 4px,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 7%, #fff) 4px,
            color-mix(in srgb, var(--brand-primary, #4f46e5) 7%, #fff) 100%
        );
    box-shadow: 0 1px 0 color-mix(in srgb, var(--brand-primary, #4f46e5) 8%, transparent);
}

.theme-demo .iw-sf-product-installment__label {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--brand-primary, #4f46e5) 75%, #737373);
}

.theme-demo .iw-sf-product-installment__value {
    margin: 0.3rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: #171717;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-product-installment__value {
        font-size: 1.25rem;
    }
}

.theme-demo .iw-sf-product-installment__amount {
    font-weight: 800;
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .iw-sf-product-installment__hint {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #737373;
}

.theme-demo .demo-product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.theme-demo .demo-product-card__actions > form,
.theme-demo .demo-product-card__actions > a {
    margin: 0;
    width: 100%;
}

.theme-demo .demo-product-card__cart,
.theme-demo .demo-product-card__alt {
    display: inline-flex;
    width: 100%;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding-block: 0.45rem;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.375rem;
    box-sizing: border-box;
    text-decoration: none;
}

.theme-demo .iw-ec-campaign-carousel .demo-product-card__actions {
    display: none;
}

/* Catálogo servicios: solo botones de marca (tarjeta default sin cambios) */
.theme-demo .iw-sf-service-plan-card--catalog .mt-auto > a.iw-brand-btn,
.theme-demo .iw-sf-service-plan-card--catalog .mt-auto .iw-brand-btn--outline,
.theme-demo .iw-sf-service-plan-card--catalog .mt-auto form button[type="submit"] {
    display: inline-flex;
    width: 100%;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding-block: 0.45rem;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.375rem;
    box-sizing: border-box;
    text-decoration: none;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-service-plan-card--catalog .mt-auto > a.iw-brand-btn,
    .theme-demo .iw-sf-service-plan-card--catalog .mt-auto .iw-brand-btn--outline,
    .theme-demo .iw-sf-service-plan-card--catalog .mt-auto form button[type="submit"] {
        font-size: 0.8125rem;
    }
}

.theme-demo .iw-sf-service-plan-card--catalog .mt-auto > a.rounded-lg.border.border-neutral-200 {
    display: inline-flex;
    width: 100%;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    padding-block: 0.45rem;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 0.375rem;
    border: 1px solid var(--brand-primary, #4f46e5);
    background: transparent;
    color: var(--brand-primary, #4f46e5);
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-service-plan-card--catalog .mt-auto > a.rounded-lg.border.border-neutral-200 {
        font-size: 0.8125rem;
    }
}

.theme-demo .iw-sf-service-plan-card--catalog .mt-auto > a.rounded-lg.border.border-neutral-200:hover {
    border-color: var(--brand-primary, #4f46e5);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 8%, #fff);
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-catalog-view--list .demo-catalog-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.theme-demo .demo-catalog-view--list .demo-product-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    animation: none;
}

.theme-demo .demo-catalog-view--list .demo-product-card:hover {
    transform: none;
    box-shadow: none;
}

.theme-demo .demo-catalog-view--list .demo-product-card:first-child {
    border-top: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-catalog-view--list .demo-product-card__media {
    max-width: 7.5rem;
}

.theme-demo .demo-catalog-view--list .demo-product-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 1rem;
    padding: 0.85rem 0.25rem 0.85rem 0.5rem;
}

.theme-demo .demo-catalog-view--list .demo-product-card__title {
    grid-column: 1;
}

.theme-demo .demo-catalog-view--list .demo-product-card__rating,
.theme-demo .demo-catalog-view--list .demo-product-card__stock,
.theme-demo .demo-catalog-view--list .demo-product-card__installment {
    grid-column: 1;
}

.theme-demo .demo-catalog-view--list .demo-product-card__price-row {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    text-align: right;
}

.theme-demo .demo-catalog-view--list .demo-product-card__actions {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: end;
    width: 8.5rem;
    padding-top: 0;
    gap: 0.375rem;
}

@media (max-width: 639px) {
    .theme-demo .demo-catalog-toolbar__views {
        display: none;
    }

    .theme-demo .demo-catalog-view--list .demo-product-card {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .theme-demo .demo-catalog-view--list .demo-product-card__media {
        max-width: 5.5rem;
    }

    .theme-demo .demo-catalog-view--list .demo-product-card__body {
        display: flex;
    }

    .theme-demo .demo-catalog-view--list .demo-product-card__actions {
        width: 100%;
    }
}

.theme-demo .iw-sf-catalog-pagination {
    padding-top: 0.5rem;
    border-top: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .iw-sf-catalog-pagination__page,
.theme-demo .iw-sf-catalog-pagination__arrow {
    border-radius: 0.375rem;
}

.theme-demo .iw-sf-catalog-pagination__page:hover,
.theme-demo .iw-sf-catalog-pagination__arrow:hover {
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 12%, #fff);
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .iw-sf-catalog-pagination__page--active {
    background: var(--brand-primary, #4f46e5);
    color: #fff;
}

.theme-demo .iw-sf-catalog-pagination__page--active:hover {
    background: var(--brand-primary, #4f46e5);
    color: #fff;
}

/* —— Ficha de producto / servicio · tipografía y ritmo responsive —— */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery),
.theme-demo .iw-sf-page-shell:has(#service-checkout) {
    --demo-pdp-gap: 1.25rem;
    --demo-pdp-title: 1.25rem;
    --demo-pdp-price: 1.25rem;
    --demo-pdp-body: 0.875rem;
    --demo-pdp-meta: 0.75rem;
    padding-bottom: 2rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery),
    .theme-demo .iw-sf-page-shell:has(#service-checkout) {
        --demo-pdp-gap: 1.5rem;
        --demo-pdp-title: 1.5rem;
        --demo-pdp-price: 1.375rem;
        --demo-pdp-body: 0.9375rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery),
    .theme-demo .iw-sf-page-shell:has(#service-checkout) {
        --demo-pdp-gap: 2rem;
        --demo-pdp-title: 1.75rem;
        --demo-pdp-price: 1.5rem;
        --demo-pdp-body: 0.9375rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid.grid-cols-1,
.theme-demo .iw-sf-page-shell:has(#service-checkout) > .grid.grid-cols-1,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .grid.grid-cols-1.gap-8 {
    gap: var(--demo-pdp-gap);
}

@media (min-width: 1024px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid.grid-cols-1,
    .theme-demo .iw-sf-page-shell:has(#service-checkout) > .grid.grid-cols-1,
    .theme-demo .iw-sf-page-shell:has(#service-checkout) .grid.grid-cols-1.gap-8 {
        gap: 2.25rem 2.75rem;
    }
}

/* Galería */
.theme-demo #product-storefront-gallery {
    gap: 0.65rem;
}

.theme-demo #product-storefront-gallery > .relative.aspect-square {
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
    background: #fff;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) .space-y-3 > .relative.aspect-square.w-full.overflow-hidden {
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
    background: #fff;
}

.theme-demo #product-storefront-gallery .absolute.right-3.top-3.z-10 {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) .absolute.right-3.top-3.z-10 {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .theme-demo #product-storefront-gallery .absolute.right-3.top-3.z-10 {
        width: 2.5rem;
        height: 2.5rem;
    }

    .theme-demo .iw-sf-page-shell:has(#service-checkout) .absolute.right-3.top-3.z-10 {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.theme-demo #product-storefront-gallery [role="tablist"] button {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .theme-demo #product-storefront-gallery [role="tablist"] button {
        width: 4rem;
        height: 4rem;
    }
}

/* Columna de compra */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col {
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col {
        gap: 0.9rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > p.text-xs.font-semibold.uppercase {
    margin: 0;
    font-size: var(--demo-pdp-meta);
    letter-spacing: 0.06em;
    color: #737373;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) h1,
.theme-demo .iw-sf-page-shell:has(#service-checkout) h1 {
    margin: 0;
    font-size: var(--demo-pdp-title) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #171717;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > .flex.flex-wrap.items-center.gap-x-4 {
    gap: 0.35rem 0.85rem;
    font-size: var(--demo-pdp-meta);
    color: #737373;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > .flex.flex-wrap.items-center.gap-x-4 svg {
    width: 0.85rem;
    height: 0.85rem;
}

#product-storefront-price-block .text-lg,
#product-storefront-price-block .text-xl,
#product-storefront-price-block .text-2xl,
#product-storefront-price-block .sm\:text-2xl,
.theme-demo #product-storefront-price,
.theme-demo #product-storefront-price .iw-sf-price-sale {
    font-size: var(--demo-pdp-price) !important;
    font-weight: 800;
    line-height: 1.2;
    color: #171717;
}

.theme-demo #product-storefront-price .iw-sf-price-strike,
.theme-demo #product-storefront-price .text-lg.font-normal,
.theme-demo #service-storefront-price .iw-sf-price-strike {
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: #a3a3a3;
    text-decoration: line-through;
}

.theme-demo #service-storefront-price .iw-sf-price-sale,
.theme-demo #service-storefront-price {
    font-size: var(--demo-pdp-price) !important;
    font-weight: 800;
    line-height: 1.2;
    color: #171717;
}

.theme-demo .demo-service-pdp__price-block #service-storefront-price.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.theme-demo #product-storefront-price-block .text-sm {
    font-size: var(--demo-pdp-meta);
    color: #737373;
}

.theme-demo #product-storefront-stock-chip {
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
}

.theme-demo #product-variation-short-desc,
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > p.text-sm.sm\:text-base,
.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout > p.mt-4.text-sm,
.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout > p.text-sm.leading-relaxed,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .min-w-0.space-y-5 > p.leading-relaxed {
    margin: 0;
    font-size: var(--demo-pdp-body) !important;
    line-height: 1.5;
    color: #525252;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout > p.text-sm.font-medium.text-neutral-500,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .min-w-0.space-y-5 > p.text-sm.font-medium.text-neutral-500 {
    margin: 0;
    font-size: var(--demo-pdp-meta) !important;
    letter-spacing: 0.06em;
    color: #737373;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) p.font-mono.text-xs.text-neutral-500 {
    font-size: var(--demo-pdp-meta) !important;
    color: #737373;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .text-2xl.font-bold.text-neutral-950,
.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .text-xl.font-semibold.text-neutral-950,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .min-w-0.space-y-5 .text-xl.font-semibold.text-neutral-950,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .min-w-0.space-y-5 .text-2xl.font-bold.text-neutral-950 {
    font-size: var(--demo-pdp-price) !important;
    font-weight: 800;
    line-height: 1.2;
    color: #171717;
}

/* PDP producto: valoraciones visibles bajo el título */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > .flex.flex-wrap.items-center.gap-x-4 {
    gap: 0.35rem 0.75rem;
    font-size: var(--demo-pdp-meta, 0.75rem);
    font-weight: 600;
    color: #525252;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > .flex.flex-wrap.items-center.gap-x-4 svg.text-neutral-400 {
    color: #f59e0b !important;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > .flex.flex-wrap.items-center.gap-x-4 svg.text-neutral-200 {
    color: #e5e5e5 !important;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider #reviews-tab-btn {
    font-weight: 600;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .text-sm.text-neutral-500,
.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .text-sm.text-neutral-600 {
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: #a3a3a3;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .text-lg.font-semibold.text-neutral-950 {
    font-size: var(--demo-pdp-price) !important;
    font-weight: 800;
    color: #171717;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .iw-sf-chip,
.theme-demo .iw-sf-page-shell:has(#service-checkout) .min-w-0.space-y-5 .iw-sf-chip {
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) .iw-sf-product-btn,
.theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .iw-brand-btn {
    min-height: 2.5rem;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em;
    text-transform: none;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#service-checkout) .iw-sf-product-btn,
    .theme-demo .iw-sf-page-shell:has(#service-checkout) #service-checkout .iw-brand-btn {
        min-height: 2.65rem;
        padding: 0.5rem 0.9rem !important;
        font-size: 0.8125rem !important;
    }
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) section.mt-12.border-t h2.text-2xl,
.theme-demo .iw-sf-page-shell:has(#service-checkout) section.mt-12.border-t .prose {
    font-size: var(--demo-pdp-body);
    line-height: 1.55;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) section.mt-12.border-t h2.text-2xl {
    font-size: var(--demo-pdp-title) !important;
    font-weight: 800;
}

.theme-demo .iw-sf-page-shell:has(#service-checkout) table.min-w-full.text-sm th,
.theme-demo .iw-sf-page-shell:has(#service-checkout) table.min-w-full.text-sm td {
    padding: 0.65rem 0.75rem;
    font-size: var(--demo-pdp-body);
}

.theme-demo .iw-sf-product-actions--primary {
    gap: 0.5rem;
}

.theme-demo .iw-sf-product-btn {
    min-height: 2.5rem;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em;
    text-transform: none;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-product-btn {
        min-height: 2.65rem;
        padding: 0.5rem 0.9rem !important;
        font-size: 0.8125rem !important;
    }
}

.theme-demo .iw-sf-product-actions--primary + .iw-sf-product-actions--secondary {
    margin-top: 0.4rem;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) form.inline.mt-1 button {
    font-size: var(--demo-pdp-meta);
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .border-t.border-neutral-200.pt-3.mt-1 {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    gap: 0.65rem;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .border-t.border-neutral-200.pt-3.mt-1 > span {
    font-size: 0.6875rem;
}

/* Upsells dentro de la columna */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .mt-8.border-t.border-neutral-200.pt-6 {
    margin-top: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .mt-8.border-t.border-neutral-200.pt-6 {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
}

/* Pestañas descripción / specs / reviews */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider.pt-4 {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

@media (min-width: 1024px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider.pt-4 {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider .flex.flex-nowrap button {
    padding-block: 0.55rem;
    font-size: 0.8125rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider .flex.flex-nowrap button {
        font-size: 0.875rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider .pt-6.sm\:pt-8 {
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider .pt-6.sm\:pt-8 {
        padding-top: 1.35rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider h2.text-lg {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .mt-6.iw-sf-divider h2.text-lg {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .prose.prose-sm {
    font-size: var(--demo-pdp-body);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) table.min-w-full.text-sm th,
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) table.min-w-full.text-sm td {
    padding: 0.65rem 0.75rem;
    font-size: var(--demo-pdp-body);
}

.theme-demo .demo-product-pdp__specs-table th,
.theme-demo .demo-product-pdp__specs-table td {
    padding: 0.65rem 0;
    font-size: var(--demo-pdp-body, 0.875rem);
    border: none;
}

.theme-demo #product-specs-anchor tr.iw-sf-divider {
    border-top: none;
}

@media (max-width: 639px) {
    .theme-demo .demo-product-pdp__specs-table th {
        width: 40%;
    }
}

/* Selector de variaciones */
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) [data-iw-variation],
.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) .space-y-3 > label,
.theme-demo #product-variation-extra-attrs {
    font-size: var(--demo-pdp-body);
}

.theme-demo #product-variation-extra-attrs {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

/* —— Carrito / checkout · cromo marca (blades heredados del default; no omitir hooks plugin) —— */
.theme-demo .iw-sf-page-shell:has([data-sbc-cart-page]) > .iw-sf-page-body,
.theme-demo .iw-sf-page-shell:has(#checkout-form) > .iw-sf-page-body {
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .theme-demo .iw-sf-page-shell:has([data-sbc-cart-page]) > .iw-sf-page-body,
    .theme-demo .iw-sf-page-shell:has(#checkout-form) > .iw-sf-page-body {
        margin-top: 1.5rem;
    }
}

.theme-demo .iw-sf-page-shell:has([data-sbc-cart-page]) .iw-sf-heading,
.theme-demo .iw-sf-page-shell:has(#checkout-form) .iw-sf-heading {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Carrito: en tablet apilar (el núcleo pasa a 2 cols desde 640px y queda estrecho) */
@media (min-width: 640px) and (max-width: 1023px) {
    .theme-demo .cart-layout {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
    }

    .theme-demo .cart-layout__aside {
        flex: none !important;
        width: 100% !important;
        max-width: none !important;
    }

    .theme-demo .cart-summary-sticky {
        position: static !important;
        top: auto !important;
    }
}

@media (min-width: 1024px) {
    .theme-demo .cart-summary-sticky {
        top: var(--demo-sticky-offset);
    }

    .theme-demo .cart-layout {
        gap: 2rem;
    }

    .theme-demo .cart-layout__aside > .iw-sf-divider {
        border-left-color: var(--demo-line, #e5e7eb);
    }
}

.theme-demo [data-sbc-cart-page] table.min-w-full {
    border-collapse: collapse;
}

.theme-demo [data-sbc-cart-page] thead th {
    border-bottom: 1px solid var(--demo-line, #e5e7eb);
    color: #64748b;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
}

.theme-demo [data-sbc-cart-page] tbody {
    border-color: var(--demo-line, #e5e7eb);
}

.theme-demo [data-sbc-cart-page] tbody td {
    border-color: var(--demo-line, #e5e7eb);
}

@media (max-width: 639px) {
    .theme-demo [data-sbc-cart-page] thead th,
    .theme-demo [data-sbc-cart-page] tbody td {
        padding-inline: 0.35rem;
    }

    .theme-demo [data-sbc-cart-page] thead th:first-child,
    .theme-demo [data-sbc-cart-page] tbody td:first-child {
        padding-left: 0;
    }

    .theme-demo [data-sbc-cart-page] thead th:last-child,
    .theme-demo [data-sbc-cart-page] tbody td:last-child {
        padding-right: 0;
    }

    .theme-demo [data-sbc-cart-page] img.h-16 {
        height: 3.5rem;
        width: 3.5rem;
        border-radius: 0.75rem;
    }
}

.theme-demo [data-sbc-cart-page] .inline-flex.items-stretch.overflow-hidden.rounded-xl {
    border-color: var(--demo-line-strong, #d4d4d8);
    border-radius: 0.625rem;
}

.theme-demo .cart-layout__aside .space-y-4 > * + *,
.theme-demo .checkout-order-col .space-y-3 > * + * {
    border-color: var(--demo-line, #e5e7eb);
}

.theme-demo .iw-sf-coupon-panel {
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .iw-sf-coupon-panel__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
}

.theme-demo .iw-sf-coupon-form__submit.iw-brand-btn--outline {
    border-radius: 0.625rem;
    font-weight: 700;
}

.theme-demo .cart-cross-sells-list {
    border-top-color: var(--demo-line, #e5e7eb);
}

/* Checkout */
.theme-demo .checkout-layout {
    gap: 1.5rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .theme-demo .checkout-layout {
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .theme-demo .checkout-layout {
        gap: 2rem;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 22rem);
    }

    .theme-demo .checkout-order-col {
        top: var(--demo-sticky-offset);
        border-left-color: var(--demo-line, #e5e7eb);
        padding-left: 1.5rem;
    }
}

.theme-demo .checkout-col-title {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.theme-demo .checkout-subtitle,
.theme-demo .checkout-payment-title {
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

.theme-demo .checkout-field label {
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.theme-demo #checkout-form .iw-sf-input,
.theme-demo #checkout-form .iw-sf-textarea,
.theme-demo #checkout-form select.iw-sf-input {
    border-color: var(--demo-line-strong, #d4d4d8);
    border-radius: 0.625rem;
}

.theme-demo #checkout-form .iw-sf-input:focus,
.theme-demo #checkout-form .iw-sf-textarea:focus,
.theme-demo #checkout-form select.iw-sf-input:focus {
    border-color: var(--brand-primary, #4f46e5);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary, #4f46e5) 18%, transparent);
}

.theme-demo .checkout-payment-card {
    border-color: var(--demo-line-strong, #d4d4d8);
    border-radius: 0.75rem;
}

.theme-demo .checkout-payment-card:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 45%, #a3a3a3);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 4%, #fff);
}

.theme-demo .checkout-payment-card--selected,
.theme-demo .checkout-payment-card:has(:checked) {
    border-color: var(--brand-primary, #4f46e5);
    outline-color: var(--brand-primary, #4f46e5);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 8%, #fff);
}

.theme-demo .checkout-payment-carousel__arrow:hover {
    border-color: var(--brand-primary, #4f46e5);
}

.theme-demo .checkout-shipping-option {
    border-color: var(--demo-line-strong, #d4d4d8);
    border-radius: 0.75rem;
}

.theme-demo .checkout-shipping-option:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 40%, #a3a3a3);
}

.theme-demo .checkout-shipping-option:has(:checked) {
    border-color: var(--brand-primary, #4f46e5);
    box-shadow: 0 0 0 1px var(--brand-primary, #4f46e5);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 6%, #fff);
}

.theme-demo .checkout-payment-carousel__track {
    gap: 0.5rem;
    padding-block: 0.35rem;
}

@media (max-width: 639px) {
    .theme-demo .checkout-payment-card {
        width: 6.5rem;
        min-height: 5.75rem;
        padding: 0.75rem 0.4rem;
    }

    .theme-demo .checkout-col-title {
        font-size: 1.0625rem;
    }

    .theme-demo #checkout-form .grid.gap-4 {
        gap: 0.85rem;
    }
}

/* Modal pago manual por encima del chrome / drawers */
.theme-demo .qr-modal-overlay {
    z-index: 2147483000;
}

.theme-demo .qr-modal-panel {
    border-color: var(--demo-line-strong, #d4d4d8);
    border-radius: 0.875rem;
}

.theme-demo .qr-modal-head {
    border-bottom-color: var(--demo-line, #e5e7eb);
}

/* —— Checkout · modal QR / transferencia (tema demo) —— */
.theme-demo .demo-qr-modal__panel {
    max-width: 26rem;
    border: 1px solid var(--demo-line-strong, #d4d4d8);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.theme-demo .demo-qr-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.9rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #171717;
}

.theme-demo .demo-qr-modal__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #737373;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-demo .demo-qr-modal__x:hover {
    background: #f4f4f5;
    color: #171717;
}

.theme-demo .demo-qr-modal__body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.theme-demo .demo-qr-modal__step {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.theme-demo .demo-qr-modal__img {
    margin: 0;
    text-align: center;
}

.theme-demo .demo-qr-modal__img img {
    display: block;
    width: min(100%, 17.5rem);
    max-width: 17.5rem;
    height: auto;
    margin: 0 auto;
    padding: 0.65rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
    background: #fff;
    box-sizing: border-box;
}

.theme-demo .demo-qr-modal__hint {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #737373;
    text-align: center;
    white-space: normal;
}

.theme-demo .demo-qr-modal__phone {
    margin: 0;
    text-align: center;
    font-size: 0.8125rem;
}

.theme-demo .demo-qr-modal__pay {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 0.625rem;
    background: #f4f4f5;
    border: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-qr-modal__pay-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #525252;
}

.theme-demo .demo-qr-modal__pay-value {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #171717;
}

.theme-demo .demo-qr-modal__fx {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: #a3a3a3;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-demo .demo-qr-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.15rem;
}

.theme-demo .demo-qr-modal__actions--single {
    grid-template-columns: 1fr;
}

.theme-demo .demo-qr-modal__actions--single #manual-payment-download-qr[hidden] + #manual-payment-continue,
.theme-demo .demo-qr-modal__actions--single #manual-payment-continue {
    grid-column: 1 / -1;
}

.theme-demo .demo-qr-modal__btn {
    width: 100%;
    min-height: 2.65rem;
    margin: 0;
    justify-content: center;
}

.theme-demo .demo-qr-modal__dropzone {
    margin: 0;
    padding: 1.35rem 1rem;
    border-radius: 0.75rem;
    border: 1px dashed #a1a1aa;
    background: #fafafa;
    color: #737373;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.theme-demo .demo-qr-modal__dropzone.qr-dragover {
    border-color: var(--brand-primary, #4f46e5);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 8%, #fff);
}

.theme-demo .demo-qr-modal__account {
    padding: 0.75rem 0.85rem;
    border-radius: 0.625rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    background: #fff;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #404040;
}

.theme-demo .demo-qr-modal__empty {
    margin: 0;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    background: #f4f4f5;
    font-size: 0.8125rem;
    color: #525252;
}

.theme-demo .demo-qr-modal .qr-modal-total:not(.sr-only) {
    display: none;
}

.theme-demo .demo-qr-modal .qr-modal-limit-msg {
    margin: 0;
    border-radius: 0.625rem;
}

/* Éxito pedido: alinear tipografía */
.theme-demo .iw-sf-page-shell .font-mono.text-2xl {
    letter-spacing: 0.04em;
}

/* Modal ubicación — cromo marca (estructura en public/css/iw-location-picker.css) */
.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__dialog {
    max-height: min(92dvh, 40rem);
    border-radius: 1rem;
    border-color: var(--demo-line, #e5e7eb);
    box-shadow: 0 24px 48px -12px rgb(15 23 42 / 22%);
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__header,
.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__footer {
    border-color: var(--demo-line, #e5e7eb);
    background: #fff;
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__title {
    font-size: 1rem;
    font-weight: 700;
    color: #171717;
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__close {
    border-radius: 0.5rem;
    transition:
        border-color var(--demo-fast) var(--demo-ease-out),
        color var(--demo-fast) var(--demo-ease-out),
        background-color var(--demo-fast) var(--demo-ease-out);
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__close:hover {
    border-color: color-mix(in srgb, var(--brand-primary, #4f46e5) 35%, #e5e7eb);
    color: var(--brand-primary, #4f46e5);
    background: color-mix(in srgb, var(--brand-primary, #4f46e5) 8%, #fff);
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__body .iw-core-map-picker {
    flex: 1 1 auto;
    min-height: 12rem;
    height: min(52dvh, 22rem) !important;
    border-color: var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__footer {
    flex-shrink: 0;
    padding-bottom: 1.15rem;
}

.theme-demo .iw-core-location-map-modal--storefront .iw-core-location-map-modal__actions {
    gap: 0.5rem;
}

/* -------------------------------------------------------------------------
   Valoraciones (plugin ecommerce · #product-review-anchor)
   Cromo de marca: denso grocery, estrellas ámbar, foco brand en form.
   ------------------------------------------------------------------------- */
.theme-demo #product-review-anchor > .flex.flex-wrap.items-end {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-color: #e5e5e5;
}

.theme-demo #product-review-anchor h2.text-xl {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.theme-demo #product-review-anchor h2 + p,
.theme-demo #product-review-anchor #product-review-form-heading + p {
    font-size: 0.8125rem;
    color: #737373;
}

.theme-demo #product-review-anchor .text-3xl.font-bold {
    font-size: 1.75rem;
    font-variant-numeric: tabular-nums;
}

.theme-demo #product-review-anchor .rounded-2xl.border.border-neutral-200.bg-neutral-50 {
    border-radius: 0.75rem;
    border-color: #e5e5e5;
    background: #fafafa;
}

.theme-demo #product-review-anchor .text-amber-400,
.theme-demo #product-review-anchor svg.text-amber-400 {
    color: #f59e0b;
}

.theme-demo #product-review-anchor .bg-amber-400 {
    background-color: #f59e0b;
}

.theme-demo #product-review-anchor .h-2.flex-1.rounded-full.bg-neutral-200 {
    height: 0.4rem;
    background: #e5e5e5;
}

.theme-demo #product-review-anchor article.py-5 {
    padding-block: 1rem;
}

.theme-demo #product-review-anchor article .rounded-full.bg-emerald-50 {
    border-radius: 0.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
}

.theme-demo #product-review-anchor .rounded-2xl.border-dashed {
    border-radius: 0.75rem;
    border-color: #d4d4d4;
    background: #fafafa;
    padding: 1.5rem 1.25rem;
}

.theme-demo #product-review-anchor > section.rounded-2xl.border {
    border-radius: 0.75rem;
    border-color: #e5e5e5;
    padding: 1.15rem 1.25rem;
    box-shadow: none;
}

@media (min-width: 640px) {
    .theme-demo #product-review-anchor > section.rounded-2xl.border {
        padding: 1.35rem 1.5rem;
    }
}

.theme-demo #product-review-anchor #product-review-form-heading {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.theme-demo #product-review-anchor label.inline-flex.cursor-pointer {
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    padding: 0.45rem 0.7rem;
}

.theme-demo #product-review-anchor label.inline-flex.cursor-pointer:has(input:checked),
.theme-demo #product-review-anchor label.inline-flex[class*="border-neutral-950"] {
    border-color: var(--brand-primary, #4f46e5);
    background: var(--brand-primary, #4f46e5);
    color: #fff;
}

.theme-demo #product-review-anchor .iw-brand-btn {
    min-height: 2.5rem;
    padding-inline: 1.15rem;
    font-size: 0.875rem;
}

.theme-demo #product-review-anchor .mb-6.rounded-2xl.border-emerald-300\/70 {
    border-radius: 0.75rem;
    font-size: 0.8125rem;
}

/* —— Ficha servicio · layout 3 columnas (demo) —— */
.theme-demo .demo-service-pdp {
    /* Cabecera demo no es fija: reutiliza offset de sticky en flujo */
    --demo-service-pdp-sticky-top: var(--demo-in-flow-sticky-top, 0.75rem);
}

@media (min-width: 640px) {
    .theme-demo .demo-service-pdp {
        --demo-service-pdp-sticky-top: var(--demo-in-flow-sticky-top, 1rem);
    }
}

.theme-demo .demo-service-pdp__header {
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .theme-demo .demo-service-pdp__header {
        margin-bottom: 1.25rem;
    }
}

.theme-demo .demo-service-pdp__header .demo-service-pdp__title {
    margin: 0;
}

.theme-demo .demo-service-pdp__header .demo-service-pdp__ref {
    margin: 0.4rem 0 0;
}

.theme-demo .demo-service-pdp__grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    /* Flex (no grid): evita celdas altas que dejan hueco con position:sticky */
    .theme-demo .demo-service-pdp__grid {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem 2rem;
    }

    .theme-demo .demo-service-pdp__gallery {
        flex: 0 0 30%;
        max-width: 30%;
        align-self: flex-start;
        height: fit-content;
        position: sticky;
        top: var(--demo-service-pdp-sticky-top);
    }

    .theme-demo .demo-service-pdp__body {
        flex: 1 1 auto;
        min-width: 0;
    }

    .theme-demo .demo-service-pdp__aside {
        flex: 0 0 min(20rem, 26%);
        width: min(20rem, 26%);
        max-width: 20rem;
        align-self: flex-start;
        height: fit-content;
        position: sticky;
        top: var(--demo-service-pdp-sticky-top);
    }
}

.theme-demo .demo-service-pdp__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.theme-demo .demo-service-pdp__intro:empty {
    display: none;
}

.theme-demo .demo-service-pdp__intro:not(:has(*)) {
    display: none;
}

.theme-demo .demo-service-pdp__eyebrow {
    margin: 0 0 0.35rem;
    font-size: var(--demo-pdp-meta, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .iw-sf-page-shell:has(#product-storefront-gallery) > .grid > .min-w-0.flex.flex-col > p.text-xs.font-semibold.uppercase.tracking-wide.text-neutral-500 {
    color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-service-pdp__title {
    margin: 0;
    font-size: var(--demo-pdp-title, 1.25rem) !important;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #171717;
}

.theme-demo .demo-service-pdp__ref {
    margin: 0.35rem 0 0;
    font-family: ui-monospace, monospace;
    font-size: var(--demo-pdp-meta, 0.75rem);
    color: #737373;
}

.theme-demo .demo-service-pdp__lede {
    margin: 0.85rem 0 0;
    font-size: var(--demo-pdp-body, 0.875rem) !important;
    line-height: 1.55;
    color: #525252;
}

.theme-demo .demo-service-pdp__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.65rem;
}

.theme-demo .demo-service-pdp__price-range {
    margin: 0;
    font-size: var(--demo-pdp-price, 1.25rem) !important;
    font-weight: 800;
    line-height: 1.2;
    color: #171717;
}

.theme-demo .demo-service-pdp__price-range > span {
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: #737373;
}

.theme-demo .demo-service-pdp__long-inline {
    margin-top: 1rem;
    font-size: var(--demo-pdp-body, 0.875rem);
    line-height: 1.55;
    color: #525252;
}

.theme-demo .demo-service-pdp__aside {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.theme-demo .demo-service-pdp__aside-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.theme-demo .demo-service-pdp__aside-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #171717;
}

.theme-demo .demo-service-pdp__aside-hint {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: #737373;
}

.theme-demo .demo-service-pdp__price-block .iw-sf-price-sale,
.theme-demo .demo-service-pdp__price-block #service-storefront-price:not(.flex) {
    margin: 0;
    font-size: var(--demo-pdp-price, 1.25rem) !important;
    font-weight: 800;
    line-height: 1.2;
    color: #171717;
}

.theme-demo .demo-service-pdp__price-block .iw-sf-price-strike {
    font-size: 0.8125rem !important;
    font-weight: 500;
    color: #a3a3a3;
    text-decoration: line-through;
}

.theme-demo .demo-service-pdp__price-block .text-sm.text-neutral-600 {
    margin: 0.2rem 0 0;
    font-size: var(--demo-pdp-meta, 0.75rem) !important;
    color: #737373;
}

.theme-demo .demo-service-pdp__status {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.theme-demo .demo-service-pdp__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0;
}

.theme-demo .demo-service-pdp__actions > form,
.theme-demo .demo-service-pdp__actions > a {
    width: 100%;
}

.theme-demo .demo-service-pdp__cart-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.theme-demo .demo-service-pdp__qty-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .theme-demo .demo-service-pdp__qty-row {
        flex-direction: row;
        align-items: stretch;
    }
}

.theme-demo .demo-service-pdp__qty {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--demo-line-strong, #d4d4d8);
    border-radius: 0.5rem;
    background: #fff;
}

.theme-demo .demo-service-pdp__qty button {
    width: 2.5rem;
    border: 0;
    background: transparent;
    color: #525252;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.theme-demo .demo-service-pdp__qty button:hover {
    background: #f5f5f5;
}

.theme-demo .demo-service-pdp__qty span {
    display: flex;
    min-width: 2.5rem;
    align-items: center;
    justify-content: center;
    padding-inline: 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #171717;
}

.theme-demo .demo-service-pdp__cta-primary,
.theme-demo .demo-service-pdp__cta-secondary {
    display: inline-flex;
    width: 100%;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    box-sizing: border-box;
}

.theme-demo .demo-service-pdp__qty-row .demo-service-pdp__cta-primary {
    flex: 1;
}

.theme-demo .demo-service-pdp__notice {
    margin: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
    background: #fffbeb;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #78350f;
}

.theme-demo .demo-service-pdp__details .iw-sf-panel {
    margin-top: 0;
}

.theme-demo .demo-service-pdp__specs {
    margin: 0;
    padding: 0;
}

.theme-demo .demo-service-pdp__specs-title {
    margin: 0 0 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--demo-line, #e5e7eb);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #171717;
}

.theme-demo .demo-service-pdp__specs-groups {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.theme-demo .demo-service-pdp__specs-group-label {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #737373;
}

.theme-demo .demo-service-pdp__specs-table th,
.theme-demo .demo-service-pdp__specs-table td {
    padding: 0.65rem 0.75rem;
    font-size: var(--demo-pdp-body, 0.875rem);
}

.theme-demo .demo-service-pdp__specs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 639px) {
    .theme-demo .demo-service-pdp__specs-table th,
    .theme-demo .demo-service-pdp__specs-table td {
        padding: 0.55rem 0.5rem;
    }

    .theme-demo .demo-service-pdp__specs-table th {
        width: 40%;
    }
}

.theme-demo .demo-service-pdp__parent-link {
    margin: 1rem 0 0;
    font-size: var(--demo-pdp-body, 0.875rem);
    color: #525252;
}

.theme-demo .demo-service-pdp__parent-link a {
    font-weight: 600;
    color: var(--brand-primary, #4f46e5);
    text-decoration: none;
}

.theme-demo .demo-service-pdp__parent-link a:hover {
    text-decoration: underline;
}

.theme-demo .demo-service-pdp__plan-list {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: min(22rem, 52vh);
    overflow-y: auto;
}

.theme-demo .demo-service-pdp__plan-item {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
}

.theme-demo .demo-service-pdp__plan-btn {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.6rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.5rem;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.theme-demo .demo-service-pdp__plan-btn:hover {
    border-color: var(--demo-line-strong, #d4d4d8);
}

.theme-demo .demo-service-pdp__plan-btn.is-selected {
    border-color: var(--brand-primary, #4f46e5);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary, #4f46e5) 18%, transparent);
}

.theme-demo .demo-service-pdp__plan-radio {
    display: flex;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 2px solid #d4d4d8;
    border-radius: 9999px;
}

.theme-demo .demo-service-pdp__plan-btn.is-selected .demo-service-pdp__plan-radio {
    border-color: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-service-pdp__plan-radio > span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: var(--brand-primary, #4f46e5);
}

.theme-demo .demo-service-pdp__plan-thumb {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.375rem;
    object-fit: cover;
}

.theme-demo .demo-service-pdp__plan-copy {
    min-width: 0;
    flex: 1;
}

.theme-demo .demo-service-pdp__plan-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #171717;
}

.theme-demo .demo-service-pdp__plan-desc {
    display: block;
    margin-top: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6875rem;
    color: #737373;
}

.theme-demo .demo-service-pdp__plan-price {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: #171717;
    text-align: right;
}

.theme-demo .demo-service-pdp__plan-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    align-self: center;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.375rem;
    background: #fafafa;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #404040;
    text-decoration: none;
    white-space: nowrap;
}

.theme-demo .demo-service-pdp__plan-link:hover {
    border-color: var(--demo-line-strong, #d4d4d8);
    background: #fff;
}

.theme-demo .demo-service-pdp__plan-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.theme-demo .demo-service-pdp__gallery .space-y-3 > .relative.aspect-square.w-full.overflow-hidden {
    border: 1px solid var(--demo-line, #e5e7eb);
    border-radius: 0.75rem;
    background: #fff;
}

.theme-demo .demo-service-pdp__long-desc {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--demo-line, #e5e7eb);
}

.theme-demo .demo-service-pdp__long-desc-body {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: var(--demo-pdp-body, 0.875rem);
    line-height: 1.65;
    text-align: left;
    color: #525252;
}

@media (prefers-reduced-motion: reduce) {
    .theme-demo *,
    .theme-demo *::before,
    .theme-demo *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .theme-demo [data-demo-reveal] {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .theme-demo .iw-widget-ec-brand-carousel .demo-brand-marquee__track {
        animation: none;
        transform: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}
