/* BlackLayer3D - Guía de color (grayscale + accesibilidad) */
:root {
    /* Escala grayscale */
    --gray-100: #F4F4F4;   /* Background */
    --gray-200: #DCDCDC;   /* Hover state */
    --gray-300: #BFBFBF;   /* Input border */
    --gray-400: #9B9B9B;   /* Form border */
    --gray-500: #7A7A7A;   /* Border hover */
    --gray-600: #5A5A5A;   /* Disabled background */
    --gray-700: #3C3C3C;   /* Disabled text */
    --gray-800: #1C1C1C;   /* AA text */
    --gray-900: #0F0F0F;   /* AAA text */

    /* Semánticos (mapeados a la guía) */
    --color-bg: var(--gray-100);
    --color-bg-card: #ffffff;
    --color-text: var(--gray-900);
    --color-text-muted: var(--gray-700);
    --color-border: var(--gray-300);
    --color-border-hover: var(--gray-500);
    --color-form-border: var(--gray-400);
    --color-accent: var(--gray-900);
    --color-accent-hover: var(--gray-800);
    --color-hover-bg: var(--gray-200);
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(15,15,15,0.04);
    --shadow: 0 4px 12px rgba(15,15,15,0.06);
    --shadow-lg: 0 12px 28px rgba(15,15,15,0.08);
}

html { overflow-x: hidden; }

/* Evita advertencia H1UserAgentFontSizeInSection: tamaño explícito en todos los h1 (no depender del UA) */
h1,
section h1,
article h1,
main h1,
nav h1,
aside h1,
.hero-home h1,
section .hero-title {
    font-size: 2rem;
    font-weight: 700;
}
/* Las clases .section-title, .hero-title, .product-info__title etc. sobrescriben con su propio font-size */

body {
    /* Fondo más clarito para que las franjas laterales no se vean grises oscuras */
    background-color: #fafafa;
    overflow-x: hidden;
    min-width: 0;
}
body.cookie-banner-visible { padding-bottom: 80px; }

/* Nombre de marca en navbar: Tektur (Google Font) */
.navbar-brand,
.font-brand {
    font-family: 'Tektur', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.navbar-brand {
    font-size: 1.125rem;
    color: var(--color-text);
}

/* Contenido: en 1920px usa casi todo el ancho; en monitores muy grandes se limita para no pegar a los bordes */
.container-tight {
    margin-left: auto;
    margin-right: auto;
    max-width: min(95rem, calc(100vw - 4rem));
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
@media (min-width: 640px) { .container-tight { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-tight { padding-left: 2rem; padding-right: 2rem; } }
/* En monitores muy anchos (>~1920px) limitar ancho para que haya margen lateral */
@media (min-width: 120rem) {
    .container-tight { max-width: 90rem; }
}

/* Header en tienda: ancho 100% */
.header-inner { width: 100%; box-sizing: border-box; }
.header-inner--full {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) { .header-inner--full { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .header-inner--full { padding-left: 2rem; padding-right: 2rem; } }
/* En pantallas muy grandes el contenido de la navbar no se pega a los bordes */
@media (min-width: 120rem) {
    .header-inner--full {
        max-width: 90rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Cuenta: main como flex column para que sidebar llegue al fondo */
body.page-account > main { display: flex; flex-direction: column; }
body.page-account footer.footer--shop { background: #fff; }

/* Carrito y checkout: fondo blanco continuo */
body.page-cart > main,
body.page-checkout > main { background: #fff; }
body.page-cart footer.footer--shop,
body.page-checkout footer.footer--shop { background: #fff; }

/* Footer en tienda: más bajo, sin enlaces */
.footer--shop .footer-inner--shop {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .footer--shop .footer-inner--shop { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .footer--shop .footer-inner--shop { padding-left: 2rem; padding-right: 2rem; }
}
.footer-shop { padding: 0; }
.footer-shop-legal a { white-space: nowrap; }

/* Tienda: en pantallas grandes ancho contenido y centrado (no 100%) */
.container-shop {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
@media (min-width: 640px) { .container-shop { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) {
    .container-shop { padding-left: 2rem; padding-right: 2rem; max-width: 82rem; }
}
@media (min-width: 1280px) {
    .container-shop { max-width: 88rem; }
}
@media (min-width: 120rem) {
    .container-shop { max-width: 92rem; }
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
}
.btn:focus-visible { box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent); }
.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
    background: var(--color-hover-bg);
    border-color: var(--color-border-hover);
}

/* Inputs */
.input {
    width: 100%;
    border-radius: 10px;
    border: 1.5px solid var(--color-form-border);
    background: var(--color-bg-card);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--gray-400); }
.input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(15,15,15,0.08);
}
.input:hover:not(:focus) { border-color: var(--color-border-hover); }

/* Cards */
.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s;
}
.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--color-border-hover);
}

/* Blog list cards (enlace a la entrada) */
.blog-card {
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    border-color: var(--color-border-hover);
}
.blog-card__image img {
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card__image img {
    transform: scale(1.03);
}

/* Blog cards en home (con imagen arriba) */
.blog-card-home { text-decoration: none; color: inherit; }
.blog-card-home__image img {
    transition: transform 0.35s ease;
}
.blog-card-home:hover .blog-card-home__image img {
    transform: scale(1.05);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product cards: lift on hover (legacy class, new design uses .shop-card) */
.card-product {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: white;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.2s;
}
.card-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-hover);
}
.card-product .card-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--gray-100);
}

/* —— Tienda: hero, toolbar, sidebar, grid y cards —— */
.shop-hero {
    background: #fff;
    padding: 3rem 0 2.5rem;
}
.shop-hero__title {
    font-family: 'Tektur', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
}
.shop-hero__subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 36rem;
}
.shop-content { padding-top: 1.5rem; padding-bottom: 3rem; }
.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.shop-toolbar__search { flex: 1 1 200px; min-width: 0; }
.shop-toolbar__input { margin: 0; }
.shop-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}
.shop-toolbar__select { width: auto; min-width: 10rem; margin: 0; }
.shop-toolbar__price-label { font-size: 0.8125rem; color: var(--color-text-muted); white-space: nowrap; }
.shop-toolbar__price { width: 5rem; margin: 0; text-align: center; }
.shop-toolbar__price-sep { color: var(--color-text-muted); }
.shop-toolbar__btn { white-space: nowrap; }
.shop-toolbar__btn span { margin-left: 0.35rem; }
.shop-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 1024px) {
    .shop-layout { flex-direction: row; gap: 2rem; }
}
.shop-sidebar { flex-shrink: 0; }
@media (min-width: 1024px) { .shop-sidebar { width: 14rem; } }
.shop-sidebar__inner { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); }
@media (max-width: 1023px) { .shop-sidebar__inner.sticky { position: static; } }
.shop-sidebar__title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.shop-sidebar__title:not(:first-child) { margin-top: 1.5rem; }
.shop-sidebar__title::before { content: ''; display: inline-block; width: 4px; height: 1rem; background: var(--color-accent); border-radius: 2px; }
.shop-sidebar__list { list-style: none; margin: 0; padding: 0; }
.shop-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.shop-sidebar__link:hover { background: var(--gray-200); color: var(--color-text); }
.shop-sidebar__link.is-active { background: var(--color-accent); color: #fff; font-weight: 500; }
.shop-sidebar__count { font-size: 0.75rem; opacity: 0.85; }
.shop-main { flex: 1; min-width: 0; }
.shop-filter-tag { font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.shop-filter-tag__clear { color: var(--color-text); margin-left: 0.5rem; text-decoration: underline; }
/* Grid dinámico: tarjetas grandes para aspecto premium */
.shop-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .shop-grid {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    }
}
@media (min-width: 1024px) {
    .shop-grid {
        gap: 1.75rem;
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    }
}
@media (min-width: 1280px) {
    .shop-grid {
        gap: 2rem;
        grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    }
}
.shop-grid--loading {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.shop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.2s;
}
.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,15,15,0.10);
    border-color: var(--color-border-hover);
}
.shop-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}
.shop-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.shop-card:hover .shop-card__image { transform: scale(1.06); }
.shop-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 3rem;
}
.shop-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.25s ease;
    gap: 0.5rem;
}
.shop-card:hover .shop-card__overlay { opacity: 1; }
.shop-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    background: var(--color-accent);
    color: #fff;
}
.shop-card__body { padding: 1rem 1.25rem 1.5rem; }
.shop-card__ref {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin: 0 0 0.35rem 0;
}
.shop-card__name {
    font-family: 'Tektur', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    margin: 0 0 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card__category {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0 0 0.5rem 0;
}
.shop-card__price {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
}
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.shop-empty i { font-size: 3rem; color: var(--gray-300); display: block; margin-bottom: 1rem; }
.shop-empty p { color: var(--color-text-muted); margin-bottom: 1rem; }

/* Títulos de sección */
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}
.section-title-center {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.02em;
    padding-bottom: 0.5rem;
}
.section-title-center::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

/* Hero home: fondo casi blanco; derecha = cuadrado con imagen a altura completa (crop) */
.hero-home {
    position: relative;
    overflow: hidden;
    min-height: 14rem;
    background: #fefefe;
}
@media (min-width: 768px) {
    .hero-home { min-height: 16rem; }
}
@media (min-width: 1024px) {
    .hero-home__inner {
        display: grid;
        /* Carrusel más ancho, crece hacia el centro (columna derecha ~60% del espacio) */
        grid-template-columns: 2fr 3fr;
        grid-gap: 0;
        min-height: 26rem;
        align-items: stretch;
    }
    .hero-home .hero-content-wrap {
        grid-column: 1;
        background: #fefefe;
        display: flex;
        align-items: flex-start;
        z-index: 1;
        position: relative;
        padding: 2rem 1rem 2rem 2rem;
        box-sizing: border-box;
    }
    .hero-home .hero-content-wrap .hero-content {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Columna carrusel: cuadrado 24rem×24rem; imagen de arriba a abajo, crop (object-fit: cover) */
    .hero-home .hero-bg {
        grid-column: 2;
        position: relative;
        min-height: 0;
        background: #fefefe;
        overflow: hidden;
    }
    .hero-home .hero-bg .hero-slideshow {
        position: absolute;
        inset: 0;
    }
    .hero-home .hero-bg .hero-slide {
        position: absolute;
        inset: 0;
    }
    .hero-home .hero-bg .hero-slide__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}
@media (min-width: 120rem) {
    .hero-home__inner {
        max-width: 90rem;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    .hero-home .hero-content-wrap {
        padding-left: clamp(2rem, 4vw, 4rem);
        padding-right: 1rem;
    }
}
@media (min-width: 140rem) {
    .hero-home .hero-content-wrap {
        padding-left: clamp(2.5rem, 5vw, 5rem);
        padding-right: 1rem;
    }
}
.hero-content-wrap {
    background: #fafafa;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fafafa;
}
.hero-slideshow {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    z-index: 2;
}
@media (min-width: 1024px) {
    .hero-overlay {
        background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 100%);
    }
}
.hero-content-wrap {
    position: relative;
    z-index: 10;
}
.hero-content {
    position: relative;
    color: #1a1a1a;
    text-align: left;
    width: 100%;
}
@media (max-width: 1023px) {
    .hero-content { text-align: center; }
}
.hero-msg { margin-bottom: 1.5rem; }
.hero-text-block {
    width: 100%;
    max-width: 36rem;
    padding: 2rem 1.75rem;
    border-radius: 16px;
}
@media (min-width: 1024px) {
    .hero-text-block {
        padding: 0;
        max-width: none;
        background: transparent;
        border: none;
        box-shadow: none;
    }
}
@media (max-width: 1023px) {
    .hero-text-block {
        margin-left: auto;
        margin-right: auto;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-text-block { padding: 2.5rem 2.5rem; }
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-anim {
    opacity: 0;
    animation: heroFadeIn 0.6s ease-out forwards;
}
.hero-title.hero-anim { animation-delay: 0.1s; }
.hero-subtitle.hero-anim { animation-delay: 0.35s; }
.hero-intro.hero-anim { animation-delay: 0.45s; }
.hero-ctas.hero-anim { animation-delay: 0.65s; }
.hero-msg.hero-anim { animation-delay: 0.05s; }
.hero-content .hero-title {
    color: #1a1a1a;
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}
.hero-content .hero-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    margin: 1rem 0 0;
    border-radius: 2px;
}
@media (max-width: 1023px) {
    .hero-content .hero-title::after { margin-left: auto; margin-right: auto; }
}
.hero-content .hero-subtitle {
    color: #5c5c5c;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 32rem;
    margin: 1.25rem 0 0;
}
@media (max-width: 1023px) {
    .hero-content .hero-subtitle { margin-left: auto; margin-right: auto; }
}
.hero-content .hero-intro {
    color: #5c5c5c;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 36rem;
    margin: 1rem 0 0;
}
@media (max-width: 1023px) {
    .hero-content .hero-intro { margin-left: auto; margin-right: auto; }
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
@media (max-width: 1023px) {
    .hero-ctas { justify-content: center; }
}
.hero-content .hero-btn {
    min-width: 10rem;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-content .hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.hero-content .btn-primary { background: #1a1a1a; color: #fff; border: none; }
.hero-content .btn-primary:hover { background: #0F0F0F; color: #fff; }
.hero-content .btn-secondary { border: 2px solid #1a1a1a; color: #1a1a1a; background: transparent; }
.hero-content .btn-secondary:hover { background: rgba(0,0,0,0.06); border-color: #1a1a1a; color: #1a1a1a; }
.hero-content .bg-green-50 { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.hero-content .bg-amber-50 { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.hero-title { color: var(--color-text); }
.hero-subtitle { color: var(--color-text-muted); }

/* Feature cards home */
.feature-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: white;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s;
    height: 100%;
}
.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--color-border-hover);
}
.feature-card .feature-num,
.feature-card .feature-icon,
.home-block-card .feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: var(--color-accent);
    color: white;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-card .feature-icon i { font-size: 1.25rem; }
.home-block-card .feature-icon i { font-size: 1.25rem; }
.home-block-card .feature-icon { margin-bottom: 0; }

/* Nav enlaces */
.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--color-text); }

/* Menú móvil: oculto por defecto, visible con .is-open (no depender de Tailwind) */
#nav-mobile-menu {
    display: none;
}
#nav-mobile-menu.is-open {
    display: block;
}
@media (min-width: 768px) {
    #nav-mobile-menu { display: none !important; }
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    transition: background 0.2s;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.nav-mobile-link:hover {
    background: var(--color-hover-bg);
    color: var(--color-text);
}
.nav-mobile-link i { font-size: 1.25rem; color: var(--color-text-muted); }

/* FAQ acordeón (ancho completo, preguntas y respuestas grandes) */
.faq-accordion {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item.card {
    padding: 0;
    overflow: hidden;
}
.faq-question {
    margin: 0;
}
.faq-question__btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 1rem 1rem 1rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4;
    min-width: 0;
}
.faq-question__btn span {
    min-width: 0;
    flex: 1 1 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
@media (min-width: 640px) {
    .faq-question__btn { padding: 1.125rem 1.25rem; font-size: 1.0625rem; }
}
.faq-question__btn:hover {
    background: var(--color-hover-bg);
}
.faq-question__btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.faq-question__icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    transition: transform 0.2s ease;
    color: var(--color-text-muted);
}
.faq-item.is-open .faq-question__icon {
    transform: rotate(180deg);
}
.faq-answer {
    margin: 0;
    padding: 0 1rem 1rem 1rem;
    padding-left: 1.25rem;
}
@media (min-width: 640px) {
    .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
        padding-left: calc(1.25rem + 1.125rem + 0.75rem);
    }
}
.faq-answer[hidden] {
    display: none;
}
.faq-answer__inner {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}
.faq-answer__inner strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    background: var(--color-accent);
    color: white;
}

/* Blog / artículos: prosa con títulos y listas */
.prose-legal { color: var(--color-text-muted); }
.prose-legal p { margin: 0 0 1rem 0; }
.prose-legal p:last-child { margin-bottom: 0; }
.prose-legal h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 2rem 0 0.75rem 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--color-border);
}
.prose-legal h2:first-child { margin-top: 0; }
.prose-legal h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem 0;
}
.prose-legal ul, .prose-legal ol {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}
.prose-legal li { margin-bottom: 0.35rem; }
.prose-legal li:last-child { margin-bottom: 0; }
.prose-legal a { color: var(--color-text); text-decoration: underline; }
.prose-legal a:hover { color: var(--color-accent-hover); }
.prose-legal strong { color: var(--color-text); font-weight: 600; }

/* Estilos de página de producto: en assets/css/style-product.css (se carga solo en tienda/producto.php) */

/* Tienda: sidebar en móvil no sticky (listado y producto) */
@media (max-width: 1023px) {
    .sidebar-sticky { position: static; }
}

/* Footer: newsletter a la derecha, bloque destacado */
.footer-newsletter {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-newsletter .input { background: #fff; }
