/* ═══════════════════════════════════════════════════
   Manteles Personalizados — Landing
   Variables, Hero con imagen + FAQ accordion
═══════════════════════════════════════════════════ */

/* ── Variables compartidas ───────────────────────── */
.hero-fiubags,
.faq-fiubags {
    --hf-green: #3a7d78;
    --hf-green-mid: #6eaba5;
    --hf-green-light: #a8ceca;
    --hf-mint: #e4f2f1;
    --hf-wa: #25D366;
    --hf-wa-dark: #128C7E;
    --hf-text: #1a3634;
    --hf-muted: #4e7b78;
}

/* ═══════════════════════════════════════════════════
   HERO CON IMAGEN DE FONDO OPACA
═══════════════════════════════════════════════════ */
.hero-fiubags {
    position: relative;
    isolation: isolate;
    background: #171313;
    padding: clamp(4rem, 8vw, 6rem) 0;
    min-height: 680px;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    animation: hf-rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    margin-bottom: 0;
}

/* Imagen de fondo */
.hero-fiubags::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hf-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.85;
    transform: scale(1.03);
    z-index: 0;
    pointer-events: none;
}

/* Capa oscura pareja encima de la imagen, sin degradado */
.hero-fiubags::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 12, 12, 0.35);
    z-index: 1;
    pointer-events: none;
}

.hero-fiubags .hf-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    width: min(1140px, calc(100% - 30px));
    margin: 0 auto;
    padding: 0 15px;
}

.hero-fiubags .hf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: hf-fade 0.7s 0.1s ease-out forwards;
}

.hero-fiubags .hf-eyebrow svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hero-fiubags .hf-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5.4vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    max-width: 18ch;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.48);
    opacity: 0;
    animation: hf-rise-text 0.85s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-fiubags .hf-title .accent {
    color: #3cada5;
}

.hero-fiubags .hf-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0 0 18px;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
    opacity: 0;
    animation: hf-rise-text 0.85s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-fiubags .hf-subtitle em {
    font-style: italic;
    color: #fff;
    font-weight: 600;
}

.hero-fiubags .hf-subtitle .mark {
    display: inline-block;
    font-style: italic;
    font-weight: 600;
    color: var(--hf-green);
    background: var(--hf-mint);
    padding: 0.05em 0.4em;
    border-radius: 4px;
    margin: 0 0.05em;
}

.hero-fiubags .hf-lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 0 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
    opacity: 0;
    animation: hf-fade 0.7s 0.45s ease-out forwards;
}

.hero-fiubags .hf-lead strong {
    font-weight: 600;
    color: #fff;
}

.hero-fiubags .hf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 36px;
    opacity: 0;
    animation: hf-fade 0.7s 0.6s ease-out forwards;
}

.hero-fiubags .hf-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hf-wa);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-fiubags .hf-cta:hover {
    background: var(--hf-wa-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.hero-fiubags .hf-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-fiubags .hf-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Botón secundario */
.hero-fiubags .hf-cta-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-fiubags .hf-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: none;
}

.hero-fiubags .hf-micro {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36ch;
    margin: 0;
    line-height: 1.55;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);

    width: 100%;
    flex-basis: 100%;
}

.hero-fiubags .hf-specs {
    list-style: none;
    margin: 0;
    padding: 1.25rem clamp(1rem, 2.5vw, 1.5rem);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem 1.5rem;
    opacity: 0;
    animation: hf-fade 0.8s 0.8s ease-out forwards;
}

.hero-fiubags .hf-specs li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-fiubags .hf-specs .n {
    font-style: italic;
    font-weight: 500;
    color: #e7bfd9;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.hero-fiubags .hf-specs .label {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

/* Hero animations */
@keyframes hf-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hf-rise-text {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hf-fade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-fiubags {
    --ff-bg: #f6fbfb;
    --ff-white: #fff;
    --ff-rule: rgba(110, 171, 165, 0.20);
    --ff-shadow: 0 4px 24px rgba(61, 125, 120, 0.10);

    clear: both;
    width: 100%;
    background: var(--ff-bg);
    padding: clamp(3rem, 6vw, 5rem) 0;
    font-family: 'Poppins', sans-serif;
    color: var(--hf-text);
}

.faq-fiubags .ff-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-fiubags .ff-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.faq-fiubags .ff-badge {
    display: inline-block;
    background: var(--hf-mint);
    color: var(--hf-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.faq-fiubags .ff-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--hf-text);
    line-height: 1.2;
    margin: 0 0 12px;
}

.faq-fiubags .ff-desc {
    font-size: 1rem;
    color: var(--hf-muted);
    max-width: 560px;
    line-height: 1.65;
    margin: 0 auto;
}

.faq-fiubags .ff-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-fiubags .ff-item {
    background: var(--ff-white);
    border: 1px solid var(--ff-rule);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-fiubags .ff-item:hover {
    border-color: var(--hf-green-mid);
    box-shadow: var(--ff-shadow);
}

.faq-fiubags .ff-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    color: var(--hf-text);
    transition: color 0.2s ease, background 0.2s ease;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
}

.faq-fiubags .ff-question:hover {
    color: var(--hf-green);
    background: rgba(228, 242, 241, 0.35);
}

.faq-fiubags .ff-question[aria-expanded="true"] {
    color: var(--hf-green);
    background: rgba(228, 242, 241, 0.55);
}

.faq-fiubags .ff-question:focus-visible {
    outline: 2px solid var(--hf-green-mid);
    outline-offset: -2px;
}

.faq-fiubags .ff-question h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    color: inherit;
}

.faq-fiubags .ff-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hf-mint);
    color: var(--hf-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.faq-fiubags .ff-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-fiubags .ff-question[aria-expanded="true"] .ff-icon {
    background: var(--hf-green);
    color: #fff;
}

.faq-fiubags .ff-question[aria-expanded="true"] .ff-icon svg {
    transform: rotate(180deg);
}

.faq-fiubags .ff-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--hf-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-fiubags .ff-answer::before {
    content: "";
    display: block;
    height: 1px;
    background: var(--ff-rule);
    margin: 0 0 1rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .hero-fiubags {
        min-height: auto;
        padding: 4.5rem 0 3.8rem;
        align-items: flex-start;
    }

    .hero-fiubags::before {
        opacity: 0.44;
        background-position: center center;
        transform: scale(1.06);
    }

    .hero-fiubags::after {
        background: rgba(16, 12, 12, 0.68);
    }

    .hero-fiubags .hf-title {
        max-width: 100%;
    }

    .hero-fiubags .hf-subtitle,
    .hero-fiubags .hf-lead {
        max-width: 100%;
    }

    .hero-fiubags .hf-actions {
        align-items: stretch;
        gap: 0.8rem;
    }

    .hero-fiubags .hf-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-fiubags .hf-micro {
        max-width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 575px) {
    .hero-fiubags {
        padding: 4rem 0 3.4rem;
    }

    .hero-fiubags .hf-container {
        width: min(100% - 24px, 1140px);
        padding: 0 12px;
    }

    .hero-fiubags .hf-eyebrow {
        font-size: 11px;
        line-height: 1.4;
        letter-spacing: 0.05em;
        padding: 6px 12px;
    }

    .hero-fiubags .hf-title {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .hero-fiubags .hf-subtitle {
        font-size: 1rem;
    }

    .hero-fiubags .hf-lead {
        font-size: 0.94rem;
    }

    .hero-fiubags .hf-specs {
        grid-template-columns: 1fr;
    }

    .faq-fiubags .ff-question { 
        padding: 1rem; 
        gap: 0.75rem; 
    }

    .faq-fiubags .ff-question h3 { 
        font-size: 0.95rem; 
    }

    .faq-fiubags .ff-answer { 
        padding: 0 1rem 1rem; 
        font-size: 0.92rem; 
    }

    .faq-fiubags .ff-icon { 
        width: 32px; 
        height: 32px; 
    }
}

/* ── Bloque de precio estola ─────────────────────── */
.estola-precio-bloque {
    background: #f8f5f0;
    border: 1px solid #e8ddd0;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

/* ── Banner envío gratis ─────────────────────────── */
.estola-envio-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 60%, #22c55e 100%);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15);
    animation: envio-pulse 2.8s ease-in-out infinite;
}
.estola-envio-banner svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.estola-envio-banner span:not(.estola-envio-banner__sub) {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    line-height: 1;
}
.estola-envio-banner__sub {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 2px 8px;
}
@keyframes envio-pulse {
    0%, 100% { box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15), 0 0 0 0 rgba(22,163,74,0); }
    50%       { box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15), 0 0 0 6px rgba(22,163,74,0.18); }
}

.estola-precio-principal {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 14px 20px 0;
}
.estola-precio-monto {
    font-size: 2rem;
    font-weight: 700;
    color: #2d1420;
    line-height: 1;
}
.estola-precio-unidad {
    font-size: 0.95rem;
    color: #666;
}
.estola-precio-nota {
    font-size: 0.88rem;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.5;
    padding: 0 20px;
}
.estola-btn-formulario {
    display: inline-block;
    background: #69aeb0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}
.estola-btn-formulario:hover {
    background: #4d9496;
    color: #fff;
    text-decoration: none;
}

/* ── Tabla de variaciones dentro del include ─────── */
.product-variations,
.product-variations table,
.product-variations td {
    text-align: left;
}

/* ── Precio Strip (anuncio de precio entre hero y producto) ─── */
.precio-strip-estolas {
    background: #1a3634;
    padding: 18px 0;
    font-family: 'Poppins', sans-serif;
    border-bottom: 3px solid #3a7d78;
    border-radius: 12px;
}

.precio-strip-estolas .pse-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    justify-content: center;
}

.precio-strip-estolas .pse-precio-group {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.precio-strip-estolas .pse-label {
    font-size: 0.8rem;
    color: #a8ceca;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.precio-strip-estolas .pse-monto {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.precio-strip-estolas .pse-unit {
    font-size: 0.88rem;
    color: #a8ceca;
    font-weight: 400;
}

.precio-strip-estolas .pse-divider {
    width: 1px;
    height: 36px;
    background: rgba(168, 206, 202, 0.3);
    flex-shrink: 0;
}

.precio-strip-estolas .pse-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px 20px;
    flex-wrap: wrap;
}

.precio-strip-estolas .pse-benefits li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    white-space: nowrap;
}

.precio-strip-estolas .pse-benefits li svg {
    color: #6eaba5;
    flex-shrink: 0;
}

.precio-strip-estolas .pse-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.precio-strip-estolas .pse-cta:hover {
    background: #128C7E;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .precio-strip-estolas .pse-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .precio-strip-estolas .pse-divider {
        display: none;
    }

    .precio-strip-estolas .pse-benefits {
        justify-content: center;
    }

    .precio-strip-estolas .pse-benefits li {
        white-space: normal;
        justify-content: center;
    }

    .precio-strip-estolas .pse-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero-fiubags,
    .hero-fiubags * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .faq-fiubags * {
        transition: none !important;
    }
}
