:root {
    --bg: #fdfdfd;
    --surface: #ffffff;
    --text: #1c1917;
    --text-muted: #78716c;
    --border: #f0eeeb;
    --primary: #c93b4a; /* Rojo Sonrojo sobrio */
    --primary-hover: #b02a39;
    --accent: #25d366; /* WhatsApp oficial */
    --accent-hover: #1ebd5a;
    --tag-bg: #f6f5f3;
    --tag-hover: #ebe8e4;
    --radius: 8px;
    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container: 1520px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
    opacity: 0.85;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
}

.site-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.nav-whatsapp-btn {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-weight: 600 !important;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-whatsapp-btn:hover {
    background: #065f46 !important;
    color: #ffffff !important;
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 0.85rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    gap: 0.4rem;
}

.breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.breadcrumb-nav li:last-child {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.breadcrumb-nav li:last-child span,
.breadcrumb-nav li:last-child a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-nav li+li::before {
    content: "/";
    margin-right: 0.4rem;
    color: var(--border);
    flex-shrink: 0;
}

/* Page Intro & Outro (SEO Blocks) */
.seo-block-top {
    padding: 2.5rem 0 1.25rem;
}

.seo-block-top h1 {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.seo-block-top .intro-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 760px;
    line-height: 1.6;
}

.seo-block-bottom {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin: 3.5rem 0 2rem;
}

.seo-block-bottom h2 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    color: var(--text);
}

.seo-block-bottom h3 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5rem 0 0.65rem;
    letter-spacing: -0.2px;
    color: var(--text);
}

.seo-block-bottom p {
    color: #44403c;
    font-size: 0.96rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}

.seo-block-bottom p:last-child {
    margin-bottom: 0;
}

.seo-block-bottom strong {
    font-weight: 600;
    color: var(--text);
}

.seo-block-bottom ul {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.4rem;
    color: #44403c;
    font-size: 0.95rem;
    line-height: 1.7;
}

.seo-block-bottom li {
    margin-bottom: 0.45rem;
}


/* Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.75rem;
}

.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pill {
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: var(--tag-bg);
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.pill:hover,
.pill.active {
    background: var(--primary);
    color: #fff;
}

.sort-select {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 400;
    color: var(--text);
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    column-gap: 2rem;
    row-gap: 3.25rem; /* Separación vertical generosa para estilo editorial */
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.product-card-link:hover {
    color: inherit;
}

.product-card-img-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 12px;
    background: #f5f5f4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.35s ease;
}

.product-card:hover .product-card-img-wrap {
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.12);
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.product-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    max-width: calc(100% - 24px);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sale-badge.badge-nuevo {
    background: #0f766e;
}

.product-sale-badge.badge-preventa {
    background: #d97706;
}

.product-sale-badge.badge-premium,
.product-sale-badge.badge-custom {
    background: #1c1917;
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.05);
}

/* Categoría discreta debajo de la imagen (estilo editorial de moda / flores) */
.product-card-badge {
    position: static;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    background: transparent;
    padding: 0;
    margin-bottom: 0.2rem;
    backdrop-filter: none;
    transition: color 0.2s ease;
}

.product-card:hover .product-card-badge {
    color: var(--primary);
    background: transparent;
}

/* Contenedor de información Editorial DEBAJO de la imagen */
.product-card-content {
    padding: 0.75rem 0.2rem 0.2rem;
    display: flex;
    flex-direction: column;
    background: transparent;
    gap: 0.2rem; /* Espaciado compacto y uniforme entre categoría, título y precio */
}

.product-card-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.2px;
    color: var(--text);
    margin: 0;
    transition: color 0.2s ease;
}

.product-card:hover .product-card-title {
    color: var(--primary);
}

/* En estilo Editorial ocultamos la descripción para máxima limpieza */
.product-card-desc {
    display: none;
}

.product-card-bottom {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding-top: 0.15rem;
    border-top: none;
    margin-top: 0;
}

.price-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
}

.product-card-bottom .price {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text);
    line-height: 1.2;
}

.price-regular {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.2;
}

/* En estilo Editorial el botón "Ver arreglo" se oculta: toda la tarjeta es el enlace */
.product-card-action {
    display: none;
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin: 2.75rem 0;
}

.pagination a, .pagination span {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.88rem;
    font-weight: 500;
}

.pagination a:hover {
    background: var(--tag-bg);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Home & Taxonomy Hero con efecto Lámpara de Magma */
.home-hero-wrapper,
.taxonomy-hero-wrapper {
    position: relative;
    overflow: hidden;
    background: #9E2A2B;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-wrapper {
    padding: 5rem 0 4.5rem;
}

.taxonomy-hero-wrapper {
    padding: 3.75rem 0 3.25rem;
}

.home-hero-overlay,
.taxonomy-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(11, 9, 10, 0.25) 0%, rgba(11, 9, 10, 0.88) 100%);
    z-index: 3;
    pointer-events: none;
}

.home-hero-container,
.taxonomy-hero-container {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.home-hero-badge,
.taxonomy-hero-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fda4af;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 0.32rem 0.95rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.home-hero-badge-yellow {
    color: #fef08a;
    background: rgba(234, 179, 8, 0.18);
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
}

.home-hero-title,
.taxonomy-hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.75px;
    color: #ffffff;
    margin-bottom: 0.85rem;
    /*text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);*/
}

.taxonomy-hero-title {
    font-size: 2.45rem;
}

.home-hero-subtitle,
.taxonomy-hero-subtitle {
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
}

.home-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0c0a09;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.btn-hero-primary:hover {
    background: #f4f4f5;
    transform: translateY(-2px);
    color: #0c0a09;
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-hero-whatsapp:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-hero-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(234, 179, 8, 0.35);
}

.btn-hero-yellow:hover {
    background: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(234, 179, 8, 0.5);
    color: #0c0a09;
}

/* Hero Solar / Editorial Claro para Día de las Flores Amarillas */
.hero-yellow-bright {
    background: radial-gradient(circle at 50% -20%, #fffbeb 0%, #fef3c7 45%, #fffdf7 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: inset 0 -20px 40px -20px rgba(245, 158, 11, 0.08);
}

.hero-yellow-bright .home-hero-overlay {
    background: radial-gradient(circle at 50% 30%, rgba(254, 243, 199, 0.4) 0%, rgba(255, 253, 247, 0.85) 100%);
}

.home-hero-badge-solar {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
}

.hero-title-solar {
    color: #1c1917 !important;
    text-shadow: none !important;
    font-size: 3rem;
}

.hero-text-sunflower {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-solar {
    color: #57534e !important;
    font-size: 1.15rem;
    line-height: 1.65;
}

.hero-subtitle-solar strong {
    color: #1c1917;
    font-weight: 600;
}

.btn-hero-solar-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #f59e0b;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.9rem 1.95rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-hero-solar-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
    color: #ffffff;
}

.hero-yellow-editorial {
    min-height: 560px;
    padding: 4.75rem 0 4rem;
    background: #17130b;
    display: flex;
    align-items: stretch;
    border-bottom: 0;
}

.hero-editorial-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 45%;
    transform: scale(1.02);
}

.hero-editorial-wash {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 251, 235, 0.96) 0%, rgba(255, 247, 211, 0.88) 40%, rgba(255, 247, 211, 0.28) 67%, rgba(23, 19, 11, 0.05) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(28, 25, 23, 0.2) 100%);
    z-index: 2;
}

.hero-editorial-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: var(--container);
    width: 100%;
    min-height: 500px;
}

.hero-editorial-copy {
    max-width: 680px;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.hero-yellow-editorial .home-hero-badge-solar {
    margin-bottom: 0;
    color: #7c2d12;
    background: rgba(255, 247, 211, 0.86);
    border-color: rgba(217, 119, 6, 0.28);
    backdrop-filter: blur(8px);
}

.hero-yellow-editorial .hero-badge-soft {
    color: #7f1d1d;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(190, 18, 60, 0.16);
}

.hero-yellow-editorial .home-hero-badge-solar i {
    color: #d97706;
}

.hero-yellow-editorial .hero-title-solar {
    font-size: 4.15rem;
    max-width: 720px;
    margin-bottom: 1rem;
}

.hero-yellow-editorial .hero-subtitle-solar {
    max-width: 590px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    font-size: 1.18rem;
}

.hero-yellow-editorial .home-hero-actions {
    justify-content: flex-start;
}

.hero-campaign-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 760px;
    margin-top: 2.6rem;
}

.hero-campaign-product {
    min-width: 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 28px rgba(120, 53, 15, 0.13);
    backdrop-filter: blur(12px);
}

.hero-campaign-product:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-campaign-product img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    background: #fff;
}

.hero-campaign-product span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.hero-campaign-product strong {
    color: #1c1917;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-campaign-product .price {
    color: #9a3412;
    font-size: 0.95rem;
    font-weight: 800;
}

.hero-campaign-product .price-regular {
    font-size: 0.72rem;
}

.btn-hero-solar-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.9rem 1.95rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-hero-solar-whatsapp:hover {
    background: #1ebd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* ==========================================================================
   Product Ambient Background: Copia ampliada y desenfocada de la imagen
   ========================================================================== */
.product-hero-wrapper {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3.75rem;
    background-color: #0c0a09;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Capa de fondo desenfocado */
.product-ambient {
    position: absolute;
    inset: -30px; /* Ligeramente ampliado para evitar bordes blancos/duros del filtro blur */
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.product-ambient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(40px) saturate(1.35) brightness(1.05);
    opacity: 0.65; /* Más luminoso y visible */
    transform: scale(1.15); /* Ampliado para cubrir bordes y proyectar color */
    transition: opacity 0.4s ease;
    will-change: transform, filter;
}

/* Oscurecimiento sutil para contraste sin apagar los colores */
.product-ambient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 35% 50%,
        rgba(12, 10, 9, 0.1) 0%,
        rgba(12, 10, 9, 0.35) 60%,
        rgba(12, 10, 9, 0.65) 100%
    );
    z-index: 2;
}

.product-hero-container {
    position: relative;
    z-index: 3;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 3.5rem;
    align-items: center;
}

.gallery-main {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #1c1917;
    border-radius: 16px;
    overflow: hidden;
    /*border: 1px solid rgba(255, 255, 255, 0.15);*/
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
}

.thumb-item {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumb-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
}

.thumb-item.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.04);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Panel de información con espaciados estandarizados y jerarquía armónica */
.product-info-panel {
    display: flex;
    flex-direction: column;
}

.product-hero-wrapper .product-info-cat {
    color: #f87171;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.product-hero-wrapper .product-info-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0.45rem; /* Espaciado compacto y natural hacia el precio */
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.product-hero-wrapper .product-info-prices {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem; /* Separación armónica antes de la descripción */
}

.product-hero-wrapper .product-info-prices .price {
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.product-hero-wrapper .product-info-prices .price-regular {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
}

.product-hero-wrapper .product-short-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 1.75rem; /* Aire generoso antes del botón de WhatsApp */
}

.product-hero-wrapper .product-delivery-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.83rem;
    font-weight: 300;
    margin-top: 0.85rem;
    margin-bottom: 1.75rem; /* Espacio antes de la sección de ocasiones */
}

/* Sección de Ocasiones recomendadas */
.product-hero-wrapper .product-tags-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12); /* Línea divisoria translúcida */
}

.product-hero-wrapper .tags-title {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 0.85rem; /* Espacio cómodo entre el texto y las píldoras de tags */
    display: block;
}

.product-hero-wrapper .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-hero-wrapper .tags-list .pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.84rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.product-hero-wrapper .tags-list .pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 0.9rem 1.85rem;
    border-radius: var(--radius);
    transition: background-color 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Long Description & Related */
.product-long-desc-section {
    margin: 3.5rem 0 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
}

.section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.3px;
}

.prose {
    font-size: 1rem;
    font-weight: 300;
    color: #44403c;
    line-height: 1.75;
}

.prose strong {
    font-weight: 600;
    color: var(--text);
}

.prose p {
    margin-bottom: 1.15rem;
}

.prose ul {
    margin-bottom: 1.15rem;
    padding-left: 1.4rem;
}

.prose li {
    margin-bottom: 0.45rem;
}

.related-products-section {
    margin: 3.5rem 0 2.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
}

/* 1. Carrusel de Reseñas */
.home-reviews-section {
    margin: 4.5rem 0 3.5rem;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #e11d48;
    background: #ffe4e6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.65rem;
}

.reviews-badge i {
    font-size: 0.75rem;
}

.reviews-nav-controls {
    display: flex;
    gap: 0.6rem;
}

.review-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.review-arrow-btn:hover {
    background: var(--text);
    color: #ffffff;
    border-color: var(--text);
}

.reviews-track-wrap {
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0.5rem;
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
    height: 6px;
}

.reviews-track::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 9999px;
}

.review-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.review-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.review-text {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.65;
    color: #44403c;
    flex: 1;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f43f5e;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.author-district {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* 2. Sección FAQ en Inicio */
.home-faq-section {
    margin: 4.5rem auto 3.5rem;
    max-width: 820px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item[open] {
    border-color: #f43f5e;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.06);
}

.faq-accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-accordion-header::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.faq-accordion-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-accordion-body {
    padding: 0 1.5rem 1.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

.faq-accordion-body strong {
    font-weight: 600;
    color: var(--text);
}

/* 3. Bloque SEO Mini Nosotros */
.home-about-seo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    margin: 4.5rem 0 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.about-seo-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--tag-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.about-seo-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 1.25rem;
}

.about-seo-content p {
    color: #44403c;
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}

.about-seo-content p strong {
    font-weight: 600;
    color: var(--text);
}

.about-seo-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.highlight-item i {
    font-size: 1.65rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.highlight-item strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
}

.highlight-item span {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Content Pages */
.page-content {
    max-width: 800px;
    margin: 2.25rem auto 3.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.75rem;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.35rem;
    letter-spacing: -0.5px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.2px;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.65;
}

/* Footer & Redes Sociales & Contacto */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 3rem 0 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.55;
}

.footer-socials {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tag-bg);
    color: var(--text);
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 0.65rem;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
}

.footer-contact-list li a:hover {
    color: var(--text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.55rem;
}

.footer-col ul a {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* Responsive & Mobile First */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease;
}

.mobile-btn-whatsapp:hover {
    transform: scale(1.05);
    color: #ffffff;
}

.menu-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.menu-toggle-btn:hover {
    background-color: var(--tag-bg);
}

/* Mobile Sidebar Drawer */
.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: var(--surface);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

body.sidebar-locked {
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.sidebar-logo-img {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.sidebar-close-btn:hover {
    background: var(--tag-bg);
    color: var(--text);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    flex: 1;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-nav a i {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--tag-bg);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
    color: var(--primary);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: #fafaf9;
}

.btn-whatsapp-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    margin-bottom: 0.85rem;
}

.sidebar-delivery-info {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Media Queries Responsivas (Mobile-First) */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }

    .container {
        padding: 0 1rem;
    }

    .header-inner {
        height: 64px;
    }

    .site-logo-img {
        height: 32px;
    }

    .seo-block-top {
        padding: 1.75rem 0 1rem;
    }

    .seo-block-top h1 {
        font-size: 1.75rem;
        letter-spacing: -0.4px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .seo-block-top .intro-text {
        font-size: 0.95rem;
    }

    /* Grids en móvil: 2 columnas limpias con separación vertical holgada */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 2rem; /* Aire generoso entre filas de tarjetas */
    }

    .home-hero-wrapper,
    .taxonomy-hero-wrapper {
        padding: 3.25rem 0 2.75rem;
    }

    .home-hero-title,
    .taxonomy-hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.5px;
    }

    .home-hero-subtitle,
    .taxonomy-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .home-hero-subtitle {
        margin-bottom: 1.75rem;
    }

    .home-hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-hero-primary, .btn-hero-whatsapp, .btn-hero-yellow, .btn-hero-solar-primary, .btn-hero-solar-whatsapp {
        width: 100%;
        padding: 0.9rem;
    }

    .hero-yellow-editorial {
        min-height: auto;
        padding: 4rem 0 3.25rem;
    }

    .hero-editorial-bg {
        object-position: 58% 35%;
        opacity: 0.42;
    }

    .hero-editorial-wash {
        background:
            linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0%, rgba(255, 247, 211, 0.9) 44%, rgba(255, 251, 235, 0.82) 100%),
            rgba(255, 251, 235, 0.32);
    }

    .hero-editorial-container {
        min-height: auto;
        text-align: center;
    }

    .hero-badge-row {
        justify-content: center;
        gap: 0.45rem;
        margin-bottom: 1rem;
    }

    .hero-yellow-editorial .home-hero-badge-solar {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        padding: 0.34rem 0.7rem;
    }

    .hero-editorial-copy {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-yellow-editorial .hero-title-solar {
        font-size: 2.45rem;
        max-width: 100%;
    }

    .hero-yellow-editorial .hero-subtitle-solar {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-yellow-editorial .home-hero-actions {
        justify-content: center;
    }

    .hero-campaign-products {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-top: 2.5rem;
    }

    .hero-campaign-product {
        grid-template-columns: 64px minmax(0, 1fr);
        text-align: left;
    }

    .hero-campaign-product img {
        width: 64px;
        height: 64px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-card-content {
        padding: 0.65rem 0.1rem 0.1rem;
    }

    .product-card-badge {
        font-size: 0.62rem;
        padding: 0;
        margin-bottom: 0.15rem;
    }

    .product-card-title {
        font-size: 0.92rem;
        margin: 0;
    }

    .product-card-desc {
        display: none;
    }

    .product-card-bottom {
        padding-top: 0.1rem;
        margin-top: 0;
    }

    .product-card-bottom .price {
        font-size: 1.05rem;
    }


    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .product-info-title {
        font-size: 1.75rem;
    }

    .product-info-prices .price {
        font-size: 1.65rem;
    }

    .btn-whatsapp {
        width: 100%;
        padding: 0.95rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem 0;
    }

    .cat-pills {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-bottom: 0.4rem;
        -webkit-overflow-scrolling: touch;
    }

    .cat-pills::-webkit-scrollbar {
        display: none;
    }

    .page-content {
        padding: 1.5rem 1.25rem;
        margin: 1.5rem auto 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Ajustes responsivos móviles para secciones inferiores */
    .home-reviews-section {
        margin: 3rem 0 2rem;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .review-card {
        flex: 0 0 280px;
        padding: 1.35rem;
    }

    .home-faq-section {
        margin: 3rem auto 2rem;
    }

    .faq-accordion-header {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .faq-accordion-body {
        padding: 0 1.2rem 1.15rem;
        font-size: 0.9rem;
    }

    .home-about-seo-card {
        padding: 1.75rem 1.25rem;
        margin: 3rem 0 2rem;
    }

    .about-seo-header h2 {
        font-size: 1.35rem;
    }

    .about-seo-highlights {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
