/* =========================================================================
   ecommbase — Home
   -------------------------------------------------------------------------
   Ámbito: index
   theme.css sigue siendo la base global; aquí van SOLO las customizaciones
   específicas de esta página/sección (sobrescribe la base por especificidad
   y orden de carga definidos en config/theme.yml).
   ========================================================================= */


/* === Herdasa: cabeceras de seccion (eyebrow .t1 / titulo h2 / subtitulo .t2) como el preview === */
/* Se repite en varias secciones de la home (featured, novedades, etc.) */

/* Eyebrow: "SELECCION PREMIUM" */
.t1 .elementor-heading-title {
    font-family: 'Quicksand', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 2.86px !important;
    text-transform: uppercase !important;
    color: #b98a4e !important;
    margin: 0 !important;
}

/* Titulo de seccion (h2) */
h2.elementor-heading-title {
    font-family: 'Quicksand', system-ui, sans-serif !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.72px !important;
    color: var(--color3) !important;
    margin: 0 !important;
}

/* Subtitulo */
.t2 .elementor-heading-title {
    font-family: 'Quicksand', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
    color: #3d2f24 !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    h2.elementor-heading-title {
        font-size: 28px !important;
    }
    .t1 .elementor-heading-title {
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
}


/* =========================================================================
   Herdasa: "COMPRAR POR ESTANCIA" — tarjetas de estancia
   Diseno de referencia: herdasa-preview.ecomm360.net
   Seccion Elementor de las 4 tarjetas (id cfcd52c): cada columna col-25 es
   un widget image-box (figura + titulo h3). Scopeado a esa seccion para NO
   afectar a otros image-box de la home. El emoji/etiqueta es contenido de
   Elementor (no se toca aqui).
   La cabecera (eyebrow .t1 / titulo h2) ya la estilizan las reglas de arriba.
   ========================================================================= */

/* Tarjeta */
.elementor-element-cfcd52c .elementor-image-box-wrapper {
    display: block;
    background: #ffffff;
    border: 1px solid #efe7db;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px -30px rgba(159, 187, 212, 0.30);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    height: 100%;
}

.elementor-element-cfcd52c .elementor-image-box-wrapper:hover {
    box-shadow: 0 26px 54px -26px rgba(159, 187, 212, 0.42);
    transform: translateY(-3px);
}

/* Imagen (recorte uniforme 4:3) */
.elementor-element-cfcd52c .elementor-image-box-img {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.elementor-element-cfcd52c .elementor-image-box-img a {
    display: block;
    width: 100%;
}

.elementor-element-cfcd52c .elementor-image-box-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

/* Pie de la tarjeta con la etiqueta */
.elementor-element-cfcd52c .elementor-image-box-content {
    padding: 16px 20px 20px;
    text-align: left;
}

.elementor-element-cfcd52c .elementor-image-box-title {
    margin: 0 !important;
    font-family: 'Quicksand', system-ui, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    color: #251f1a !important;
}

.elementor-element-cfcd52c .elementor-image-box-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.elementor-element-cfcd52c .elementor-image-box-title a:hover {
    color: var(--color3) !important;
    text-decoration: none !important;
}

/* Separacion vertical cuando las columnas se apilan (Elementor gestiona el
   gap horizontal con elementor-column-gap-default; solo aseguramos el hueco
   vertical al envolver en tablet/movil). */
@media (max-width: 1024px) {
    .elementor-element-cfcd52c .elementor-col-25 {
        margin-bottom: 24px;
    }
}

@media (max-width: 575px) {
    .elementor-element-cfcd52c .elementor-image-box-title {
        font-size: 17px !important;
    }
}


/* =========================================================================
   Herdasa: BLOQUE BLOG en la home (ybc_blog -> latest_posts_block.tpl)
   Diseno de referencia: herdasa-preview.ecomm360.net
   Solo aplica al bloque de la home (marcado con .herdasa-blog en el override
   del tpl: themes/herdasa/modules/ybc_blog/views/templates/hook/).
   ========================================================================= */
.herdasa-blog {
    --hb-navy: var(--color3);
    --hb-peach: #faeede;
    --hb-peach-border: #f0e1cf;
    --hb-gold: #9c6f4c;
    /* reset del wrapper heredado del modulo/tema */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0px auto !important;
    width: 100%;
    box-sizing: border-box;
}
.block_newsletter {

    background: transparent
}
.herdasa-blVer.artículos.destacadosog__actions {
    margin-top: 40px;
}
.herdasa-blog__inner {
    background: #ffffff;
    border: 1px solid #efe7db;
    border-radius: 28px;
    padding: 42px 46px 49px;
    /*box-shadow: 0 26px 60px -34px rgba(159, 187, 212, 0.30);*/
    box-sizing: border-box;
}

/* --- Cabecera --- */
.herdasa-blog__head {
    margin-bottom: 6px;
}

.herdasa-blog__eyebrow {
    display: inline-block;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #8a6f52; /* fallback si no hay background-clip */
    background: linear-gradient(90deg, #b98a4e 0%, #8a6f52 45%, var(--color3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.herdasa-blog__title {
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--hb-navy);
    margin: 0 0 14px;
}

.herdasa-blog__sub {
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #4a3f34;
    margin: 0;
    max-width: 640px;
}

/* --- Lista de entradas --- */
.herdasa-blog__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.herdasa-blog__row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--hb-peach);
    border: 1px solid var(--hb-peach-border);
    border-radius: 18px;
    padding: 14px 18px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.herdasa-blog__row:hover {
    box-shadow: 0 14px 30px -20px rgba(159, 187, 212, 0.35);
    transform: translateY(-1px);
}

.herdasa-blog__thumb {
    flex: 0 0 auto;
    display: block;
    width: 96px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #efe3d3;
}

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

.herdasa-blog__body {
    flex: 1 1 auto;
    min-width: 0;
}

.herdasa-blog__ptitle {
    display: block;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2433;
    text-decoration: none;
    margin: 0 0 6px;
}

.herdasa-blog__ptitle:hover {
    color: var(--hb-navy);
    text-decoration: none;
}

.herdasa-blog__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--hb-gold);
}

.herdasa-blog__dot {
    opacity: 0.55;
}

/* --- Boton "Leer" --- */
.herdasa-blog__read {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hb-navy);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 22px;
    border-radius: 999px;
    transition: background 0.15s ease;
}

.herdasa-blog__read:hover {
    background: #232e54;
    color: #ffffff;
    text-decoration: none;
}

.herdasa-blog__arrow {
    display: inline-block;
    transition: transform 0.15s ease;
}

.herdasa-blog__read:hover .herdasa-blog__arrow {
    transform: translateX(3px);
}

/* --- Botones inferiores --- */
.herdasa-blog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.herdasa-blog__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.herdasa-blog__btn--dark {
    background: var(--hb-navy);
    color: #ffffff;
    border: 1px solid var(--hb-navy);
}

.herdasa-blog__btn--dark:hover {
    background: #232e54;
    color: #ffffff;
    text-decoration: none;
}

.herdasa-blog__btn--ghost {
    background: #ffffff;
    color: #2a2118;
    border: 1px solid #d9cfc2;
}

.herdasa-blog__btn--ghost:hover {
    border-color: var(--hb-navy);
    color: var(--hb-navy);
    text-decoration: none;
}
.elementor-row .products {
    padding: 0px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .herdasa-blog__inner {
        padding: 26px 20px;
        border-radius: 22px;
    }
    .herdasa-blog__title {
        font-size: 30px;
    }
    .herdasa-blog__row {
        flex-wrap: wrap;
    }
    .herdasa-blog__thumb {
        width: 64px;
        height: 64px;
    }
    .herdasa-blog__body {
        flex: 1 1 60%;
    }
    .herdasa-blog__read {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
    .herdasa-blog__actions .herdasa-blog__btn {
        flex: 1 1 auto;
    }
    .featured-products {
        margin-top: 43px;
    }
    .elementor-widget-container {
        text-align: center;
    }
    .herdasa-blog__ptitle {
        text-align: left;
    }
    .herdasa-nl .herdasa-nl__ftext {
        text-align: left;
    }
    .megainstagram__headtext {
        text-align: center;
    }
}


p.elementor-image-box-description {
    padding-top: 10px;
}
.elementor-element .custom-checkbox a {
    color: white;
    text-decoration: underline;
}


p.herdasa-nl__footnote {
    display: none;
}
.herdasa-nl__form .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
    color: white !important;
}
section.elementor-element.elementor-element-3f9fcd5.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section .elementor-widget-text-editor p:not([class]):not(#e), section.elementor-element.elementor-element-3f9fcd5.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section .elementor-tab-content p:not([class]):not(#e) {
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-size: 15px;
    line-height: 1.6;
    color: #4a3f34;
}
#index h2.mfuyi-gallery__title {
    display: none;
}

/* Slider en movil: sin flechas de navegacion. Pisaban el texto del banner y en
   pantalla tactil se pasa deslizando. En escritorio se mantienen. */
@media (max-width: 767px) {
    #megaslider .owl-nav,
    #megaslider .owl-prev,
    #megaslider .owl-next {
        display: none !important;
    }
}


/* Home en movil: dos productos por fila en todos los bloques.
   ps_newproducts marca sus tarjetas con col-xs-12 (una por fila) mientras que
   ps_featuredproducts no, asi que los bloques de la home salian desiguales y la
   pagina quedaba larguisima. Se acota a .page-home para no tocar los listados. */
@media (max-width: 575px) {
    .page-home .featured-products .products:not(.owl-carousel) > .product,
    .page-home .featured-products .products:not(.owl-carousel) > .js-product {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        padding-left: 6px;
        padding-right: 6px;
    }
    .page-home .featured-products .products:not(.owl-carousel) {
        display: flex;
        flex-wrap: wrap;
    }
}


/* Separacion entre filas de productos en la home (Novedades, Destacados, Ofertas):
   las tarjetas de una fila y la siguiente iban pegadas (0px). Se acota a .page-home
   y se excluyen los carruseles, que no envuelven filas. */
.page-home .featured-products .products:not(.owl-carousel) {
    row-gap: 36px;
}
@media (max-width: 575px) {
    .page-home .featured-products .products:not(.owl-carousel) {
        row-gap: 24px;
    }
}

/* Bolitas del slider: visibles y en el color corporativo. En movil son la unica
   forma de saber que hay mas de un banner, porque las flechas van ocultas. */
#megaslider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
#megaslider .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid var(--color3);
    transition: background .2s ease, transform .2s ease;
}
#megaslider .owl-dot.active span {
    background: var(--color3);
    transform: scale(1.15);
}

/* ==========================================================================
   Sobre nosotros en la home (rev2, 24-sep-2026) — maqueta enviada por la clienta
   ========================================================================== */
.senan-about {
    background: #f7f0e6;
    margin: 48px 0 0;
    padding: 56px 16px 60px;
    /* fondo a todo lo ancho aunque viva dentro del .container, sin crear scroll horizontal */
    box-shadow: 0 0 0 100vmax #f7f0e6;
    clip-path: inset(0 -100vmax);
}
.senan-about__inner {
    max-width: 760px;
    margin: 0 auto;
}
.senan-about__title {
    margin: 0 0 22px;
    line-height: 1;
    color: var(--color3);
    text-transform: none;
}
.senan-about__hola {
    display: block;
    font-family: 'Quicksand', system-ui, sans-serif !important;
    font-weight: 500;
    font-size: 40px;
    letter-spacing: .01em;
}
.senan-about__firma {
    display: block;
    font-family: 'Allura', cursive !important;
    font-weight: 400;
    font-size: 50px;
    line-height: .9;
    margin: 2px 0 0 132px;
}
.senan-about__text {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: #6087A9;   /* un punto más oscuro que el corporativo: sobre crema se lee mejor */
    text-align: justify;
    hyphens: auto;
    margin: 0 0 16px;
}
.senan-about__btn {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 28px;
    background: #d9e5ef;
    color: #6087A9 !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 0;
    transition: background .2s ease;
}
.senan-about__btn:hover {
    background: #c6d7e6;
}
@media (max-width: 767px) {
    .senan-about { margin-top: 32px; padding: 40px 20px 44px; }
    .senan-about__hola { font-size: 32px; }
    .senan-about__firma { font-size: 42px; margin-left: 96px; }
    .senan-about__text { font-size: 15px; text-align: left; }
    /* el primer bloque de Creative Elements traía 80px de margen: en móvil dejaba un hueco vacío bajo el slider */
    .elementor-1020101 .elementor-element-02f6bc0 { margin-top: 20px !important; }
}
