/* =========================================================================
   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: 'Outfit', 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: 'Outfit', 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: 'Outfit', 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(26, 35, 64, 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(26, 35, 64, 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: 'Outfit', 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: #1a2340 !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: #1a2340;
    --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(26, 35, 64, 0.30);*/
    box-sizing: border-box;
}

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

.herdasa-blog__eyebrow {
    display: inline-block;
    font-family: 'Outfit', 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%, #1a2340 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.herdasa-blog__title {
    font-family: 'Outfit', 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: 'Outfit', 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(26, 35, 64, 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: 'Outfit', 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: 'Outfit', 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: 'Outfit', 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: 'Outfit', 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;
}