/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ============================================================
   POPUPS — overlay sólido + botón cerrar coherente con la marca
   ============================================================ */

/* Overlay oscuro de fondo cuando se abre un popup.
   El sitio usa popups de Elementor Pro (clases .dialog-widget / .dialog-lightbox-*).
   Cubrimos también clases de Popup Maker (.pum-*) por si se usan en otro punto. */
.dialog-widget.elementor-popup-modal,
.dialog-type-lightbox.dialog-lightbox-widget,
.dialog-widget.dialog-lightbox-widget,
.elementor-popup-modal {
    background-color: rgba(0, 0, 0, .55) !important;
}

.pum-overlay,
.pum-overlay.popmake-overlay {
    background-color: rgba(0, 0, 0, .55) !important;
}

/* Card del popup — sombra + recorta scrollbar sin romper posicionamiento interno */
.dialog-widget-content.dialog-lightbox-widget-content,
.elementor-popup-modal .dialog-widget-content,
.pum-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25) !important;
}

/* El OVERLAY externo del popup no debe scrollear — es el que generaba
   el scrollbar "volando" fuera de la card */
.dialog-widget.elementor-popup-modal,
.elementor-popup-modal.dialog-type-lightbox {
    overflow: hidden !important;
    align-items: center !important;
}

/* La card blanca: recorta el scrollbar dentro del border-radius */
.elementor-popup-modal .dialog-widget-content {
    overflow: hidden !important;
    max-height: 90vh !important;
}

/* El scroll vive aquí — queda contenido dentro de la card */
.elementor-popup-modal .dialog-message {
    overflow-y: auto !important;
    max-height: 90vh !important;
    overscroll-behavior: contain;
}

.elementor-popup-modal .dialog-message::-webkit-scrollbar {
    width: 5px;
}
.elementor-popup-modal .dialog-message::-webkit-scrollbar-track {
    background: transparent;
}
.elementor-popup-modal .dialog-message::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .18);
    border-radius: 10px;
}

/* Fluent Forms submit button — naranja de marca */
.ff-btn-submit,
.frm-fluent-form .ff-btn,
.ff-message-wrapper .ff-btn-submit {
    background-color: #FF9933 !important;
    border-color: #FF9933 !important;
    color: #fff !important;
}
.ff-btn-submit:hover,
.frm-fluent-form .ff-btn:hover,
.ff-message-wrapper .ff-btn-submit:hover {
    background-color: #e67e00 !important;
    border-color: #e67e00 !important;
}

/* Botón CERRAR de Popup Maker: por defecto es cyan #00B7CD. Lo cambiamos
   a un look transparente con borde, neutral, que funciona en cualquier
   popup independientemente del color de fondo. */
.pum-container .pum-close,
.popmake-close {
    background: transparent !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, .15) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 30px !important;
    text-align: center !important;
    top: 12px !important;
    right: 12px !important;
    box-shadow: none !important;
    text-indent: 0 !important;
    transition: background .15s, border-color .15s, transform .15s;
}

.pum-container .pum-close:hover,
.popmake-close:hover {
    background: rgba(0, 0, 0, .06) !important;
    border-color: rgba(0, 0, 0, .25) !important;
    color: #000 !important;
    transform: rotate(90deg);
}

/* Si el botón tiene texto "CERRAR", lo reemplazamos visualmente por un "×"
   sin tocar el contenido editable. Esto vía pseudo-elementos. */
.pum-container .pum-close {
    font-size: 0 !important;
}

.pum-container .pum-close::before {
    content: "\00d7";
    font-size: 22px;
    line-height: 1;
    display: block;
}

/* ============================================================
   REQ 1/2 — Privacidad y consentimiento en formularios
   ============================================================ */

/* Aviso de privacidad */
.fc-privacy-notice {
    background: #f8f8f8;
    border-left: 3px solid #c8a96e;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.fc-privacy-notice strong {
    color: #333;
}

/* Checkbox de términos y condiciones (Fluent Forms) */
.ff-el-group .ff-el-tc .ff-el-tc-text {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
}

.ff-el-group .ff-el-tc .ff-el-tc-text a {
    color: #c8a96e;
    text-decoration: underline;
}

.ff-el-group .ff-el-tc .ff-el-tc-text a:hover {
    color: #a07840;
}

/* Destacar checkbox requerido (Fluent Forms) */
.ff-el-group.ff-el-is-required .ff-el-tc {
    border: 1px solid #e8d5b0;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fffdf7;
}

/* Checkbox de consentimiento (Contact Form 7) */
.fc-consent-wrap {
    margin: 8px 0 16px;
}

.fc-consent-wrap .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fc-consent-wrap .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #c8a96e;
    width: 16px;
    height: 16px;
}

.fc-consent-wrap .wpcf7-acceptance .wpcf7-list-item-label,
.fc-consent-wrap .wpcf7-acceptance span {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
}

.fc-consent-wrap .wpcf7-acceptance a {
    color: #c8a96e;
    text-decoration: underline;
}

.fc-consent-wrap .wpcf7-acceptance a:hover {
    color: #a07840;
}

.fc-consent-wrap .wpcf7-not-valid-tip {
    color: #d63638;
    font-size: 12px;
    margin-top: 4px;
}

/* ============================================================
   REQ 5/6 — Ficha de franquicia (single product)
   ============================================================ */

/* ----- Elementor product widget visual improvements ----- */
.single-product .elementor-widget-woocommerce-product-title .elementor-heading-title,
.single-product .elementor-widget-woocommerce-product-title h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
    color: #1a1a1a !important;
    margin-bottom: 16px !important;
}

.single-product .elementor-widget-woocommerce-product-short-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.single-product .elementor-widget-woocommerce-product-content .woocommerce-product-details__short-description,
.single-product .elementor-widget-woocommerce-product-content .woocommerce-Tabs-panel {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

/* Improve the existing CTA button in Elementor template del hero del producto.
   Color de marca: naranjo #FF9933 (mismo que home + listado). Mantenemos los
   estilos editables desde Elementor: el admin puede cambiar texto/icono desde
   el widget; solo forzamos colores/dimensiones para mantener consistencia. */
.single-product .elementor-widget-button .elementor-button {
    background: #FF9933 !important;
    border-color: #FF9933 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 14px 28px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(255, 153, 51, .25);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.single-product .elementor-widget-button .elementor-button:hover {
    background: #e67e00 !important;
    border-color: #e67e00 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 126, 0, .35);
}

/* ----- Injected sections wrapper ----- */
#fc-product-extra {
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 0 5%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    #fc-product-extra {
        margin-top: 40px;
    }
}

/* ----- Page wrapper (for WC template override, kept as fallback) ----- */
.fc-product-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- HERO ----- */
.fc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0 48px;
}

.fc-hero__img {
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.fc-hero__img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f4f4f4;
    border-radius: 8px;
}

.fc-hero__gallery {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.fc-hero__gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}

.fc-hero__gallery-thumb:hover {
    border-color: #c8a96e;
}

.fc-tagline {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c8a96e;
    font-weight: 600;
    margin: 0 0 8px;
}

.fc-product-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.fc-product-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.fc-product-excerpt p { margin: 0 0 10px; }

.fc-investment-badge {
    display: inline-flex;
    flex-direction: column;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    padding: 12px 20px;
    margin-bottom: 28px;
}

.fc-investment-badge__label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c8a96e;
    margin-bottom: 4px;
}

.fc-investment-badge__amount {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* Override WooCommerce add-to-cart button in hero */
.fc-hero__cta .single_add_to_cart_button,
.fc-hero__cta .button {
    background: #c8a96e !important;
    color: #fff !important;
    border-color: #c8a96e !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 4px !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    width: 100%;
}

.fc-hero__cta .single_add_to_cart_button:hover,
.fc-hero__cta .button:hover {
    background: #a07840 !important;
    border-color: #a07840 !important;
}

/* ============================================================
   REQ 3b — Cards del listado de productos (catalogo)
   ============================================================ */

/* Woodmart por defecto pone el botón "add to cart" como icono flotante arriba a la
   derecha. Lo bajamos a posición normal y le damos look de botón "Ver más info" inline. */
.wd-product .wd-buttons.wd-pos-r-t {
    position: static !important;
    display: block !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    inset: auto !important;
}

.wd-product .wd-add-btn.wd-style-icon {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Esconder otros iconos de acción que no aportan en contexto franquicia:
   quick view (lupa), wishlist, compare. */
.wd-product .wd-quick-view-icon,
.wd-product .quick-view,
.wd-product .wrap-wishlist-button,
.wd-product .wd-compare-btn,
.wd-product .wd-wishlist-btn {
    display: none !important;
}

/* Quitar el icono de carrito que Woodmart inyecta por defecto en el botón
   (vía pseudo-elementos o <i>). Solo queremos nuestro texto "Ver más info". */
.wd-product .wd-add-btn::before,
.wd-product .wd-add-btn::after,
.wd-product .wd-add-btn .wd-icon,
.wd-product .wd-add-btn > i,
.wd-product .wd-add-btn .wd-tooltip-label,
.wd-product .fc-loop-btn::before,
.wd-product .fc-loop-btn::after,
.wd-product .fc-loop-btn .wd-icon,
.wd-product .fc-loop-btn > i {
    display: none !important;
    content: none !important;
}

/* Etiqueta de inversión: solo el monto, sin label */
.fc-list-invest {
    display: block;
    margin: 0;
}

.fc-list-invest__label {
    display: none !important;
}

.fc-list-invest__amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #FF9933;
    line-height: 1.3;
    letter-spacing: -.005em;
}

/* Botón "Ver más info" — usando naranjo de marca */
.wd-product .fc-loop-btn,
.wd-product a.fc-loop-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    margin-top: 0 !important;
    background: #FF9933 !important;
    border: 1px solid #FF9933 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 13px 18px !important;
    border-radius: 6px !important;
    text-align: center;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 153, 51, .25);
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}

.wd-product .fc-loop-btn:hover {
    background: #e67e00 !important;
    border-color: #e67e00 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 126, 0, .4);
}

.wd-product .fc-loop-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(230, 126, 0, .3);
}

/* Badge sobre la imagen */
.wd-product {
    position: relative;
}

/* Card: la imagen hereda los bordes redondeados de la card via overflow:hidden */
.wd-product .product-wrapper,
.wd-product .product-element-top {
    background: #fff;
}

.wd-product .product-wrapper {
    overflow: hidden;
    padding: 0 !important;
}

.wd-product .product-element-top {
    border-radius: 0 !important;
    overflow: hidden;
}

/* La imagen debe llenar el ancho de la card sin margen interno */
.wd-product .product-image-link,
.wd-product .product-image-link img,
.wd-product .product-element-top img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

/* Layout flex-column con gap explícito: así controlamos exactamente la separación
   entre title → cats → price → button-wrapper, sin depender de margin collapse
   ni de descenders del line-height. */
.wd-product .product-information,
.wd-product .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 12px 14px !important;
}

/* Todos los hijos directos sin márgenes — el gap manda */
.wd-product .product-information > *,
.wd-product .product-element-bottom > * {
    margin: 0 !important;
}

/* Título del producto en la card */
.wd-product .wd-entities-title,
.wd-product .product-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a;
    line-height: 1.25 !important;
}

/* Categoría de Woodmart: sutil */
.wd-product .wd-product-cats {
    font-size: 10px !important;
    color: #aaa !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.2 !important;
}

/* Wrappers Woodmart alrededor del price: sin márgenes propios. */
.wd-product .price,
.wd-product .wd-product-price,
.wd-product .wrapp-product-price {
    margin: 0 !important;
    padding: 0 !important;
}

.wd-product .product-rating-price,
.wd-product .fade-in-block.wd-scroll {
    margin: 0 !important;
}

@media (max-width: 767px) {
    .fc-list-invest__amount {
        font-size: 15px;
    }

    /* En móvil el card es angosto: bajar tamaño y letter-spacing
       para que "VER MÁS INFO" entre en una sola línea. */
    .wd-product .fc-loop-btn {
        font-size: 10px !important;
        letter-spacing: .08em !important;
        padding: 12px 10px !important;
        white-space: nowrap;
    }
}

/* ----- HIGHLIGHTS ROW (chips compactos) ----- */
.fc-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 36px;
}

.fc-highlights--count-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.fc-highlights--count-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ----- INVERSIÓN SPLIT (cuando solo hay 1 highlight) ----- */
.fc-invest-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

.fc-invest-split__primary {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Acento dorado vertical izquierdo */
.fc-invest-split__primary::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background: linear-gradient(180deg, #c8a96e, #a07840);
    border-radius: 0 4px 4px 0;
}

.fc-invest-split__label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c8a96e;
    font-weight: 600;
    margin-bottom: 10px;
}

.fc-invest-split__value {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.fc-invest-split__benefits {
    list-style: none;
    margin: 0;
    padding: 36px 36px;
    background: #faf7f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.fc-invest-split__benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.fc-invest-split__benefits svg {
    flex: none;
    width: 22px;
    height: 22px;
    color: #c8a96e;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(200, 169, 110, .25);
}

@media (max-width: 767px) {
    .fc-invest-split {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
    }

    .fc-invest-split__primary {
        padding: 28px 24px;
        text-align: center;
        align-items: center;
    }

    .fc-invest-split__primary::before {
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        border-radius: 4px 4px 0 0;
    }

    .fc-invest-split__value {
        font-size: 24px;
    }

    .fc-invest-split__benefits {
        padding: 24px 24px;
        gap: 12px;
    }

    .fc-invest-split__benefits li {
        font-size: 14px;
    }
}

.fc-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #ece3d2;
    border-radius: 10px;
    padding: 16px 18px;
    transition: box-shadow .2s, transform .2s;
}

.fc-highlight:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    transform: translateY(-2px);
}

.fc-highlight__icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fdf6e9;
    color: #c8a96e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fc-highlight__icon svg {
    width: 22px;
    height: 22px;
}

.fc-highlight__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fc-highlight__label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.fc-highlight__value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* ----- BENEFITS (Por qué invertir) ----- */
/* ----- "¿POR QUÉ INVERTIR?" — rediseño moderno ----- */
.fc-benefits {
    margin-bottom: 56px;
    text-align: center;
}

.fc-benefits .fc-section-title {
    margin: 0 auto 36px;
    display: inline-block;
}

.fc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.fc-benefit-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 32px 26px 28px;
    text-align: left;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
    overflow: hidden;
}

.fc-benefit-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9933 0%, #FFB366 100%);
    transform: scaleX(.2);
    transform-origin: left;
    transition: transform .3s ease;
}

.fc-benefit-card:hover {
    box-shadow: 0 14px 34px rgba(255, 153, 51, .12);
    transform: translateY(-4px);
    border-color: #FF9933;
}

.fc-benefit-card:hover::before {
    transform: scaleX(1);
}

.fc-benefit-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(255, 153, 51, .25);
}

.fc-benefit-card__icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.fc-benefit-card__title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.fc-benefit-card__text {
    font-size: 14.5px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* ----- "DATOS DE LA FRANQUICIA" — stats limpios, sin cards anidadas ----- */
.fc-data-section {
    background: transparent;
    border: none;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    padding: 48px 0;
    margin-bottom: 56px;
    position: relative;
}

.fc-data-section .fc-section-title {
    margin-bottom: 36px;
}

.fc-data-group {
    margin-bottom: 36px;
}

.fc-data-group:last-child {
    margin-bottom: 0;
}

.fc-data-group__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FF9933;
    margin: 0 0 22px;
    padding: 0;
    border: none;
}

.fc-data-group__title::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #FF9933;
    border-radius: 2px;
    flex-shrink: 0;
}

.fc-data-group__title::after {
    display: none;
}

.fc-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 32px;
    padding: 0;
    border: none;
    display: inline-block;
    letter-spacing: -0.02em;
    position: relative;
}

.fc-section-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    background: #FF9933;
    border-radius: 2px;
    margin-top: 12px;
}

.fc-benefits .fc-section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.fc-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px 48px;
}

.fc-data-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    transition: none;
}

.fc-data-card::before {
    display: none;
}

.fc-data-card:hover {
    transform: none;
}

.fc-data-card--highlight {
    background: transparent;
    border: none;
}

.fc-data-card--highlight .fc-data-card__label {
    color: #888;
}

.fc-data-card--highlight .fc-data-card__value {
    color: #1a1a1a;
}

.fc-data-card__label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.fc-data-card__value {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* ----- DESCRIPTION ----- */
.fc-desc-section {
    margin-bottom: 48px;
}

.fc-desc-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
}

.fc-desc-content p {
    margin-bottom: 16px;
}

.fc-desc-content strong {
    color: #1a1a1a;
}


.fc-contact-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 56px 48px;
    margin-bottom: 56px;
    text-align: center;
}

/* Acento dorado decorativo arriba */
.fc-contact-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c8a96e, #a07840);
    border-radius: 0 0 4px 4px;
}

.fc-contact-cta__title {
    font-size: 28px;
    color: #fff;
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.fc-contact-cta__text {
    font-size: 15px;
    color: #c9c9c9;
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 520px;
}

.fc-contact-cta__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

.fc-contact-cta__buttons > * {
    flex: 0 1 auto;
}

/* Add-to-cart button inside CTA section — naranjo de marca */
.fc-contact-cta .single_add_to_cart_button,
.fc-contact-cta .button {
    background: #FF9933 !important;
    color: #fff !important;
    border-color: #FF9933 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    min-width: 200px;
}

.fc-contact-cta .single_add_to_cart_button:hover,
.fc-contact-cta .button:hover {
    background: #e67e00 !important;
    border-color: #e67e00 !important;
}

.fc-wa-btn,
.fc-info-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 15px 28px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s, transform .15s, box-shadow .2s;
    min-width: 220px;
    box-sizing: border-box;
    line-height: 1;
}

.fc-wa-btn svg,
.fc-info-btn svg {
    flex: none;
    width: 18px;
    height: 18px;
}

.fc-wa-btn {
    background: #25d366;
    color: #fff !important;
    border: none;
}

.fc-wa-btn:hover {
    background: #1eb854;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

.fc-info-btn {
    background: #FF9933 !important;
    border: none !important;
    color: #fff !important;
}

.fc-info-btn:hover {
    background: #e67e00 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 153, 51, .4);
}

/* ----- HIDE EXTRA WC ELEMENTS ----- */
/* Hide WC tabs (description/additional info) since we render inline */
.fc-product-wrap ~ .woocommerce-tabs,
.fc-product-wrap .woocommerce-tabs {
    display: none !important;
}

/* ----- RELATED PRODUCTS ----- */
.fc-product-wrap .related.products h2 {
    font-size: 22px;
    margin-bottom: 24px;
}

/* ----- DESKTOP: WhatsApp widget no debe tapar CTA del hero ----- */
@media (min-width: 768px) {
    /* Subimos el widget de WhatsApp para que no se solape con el botón "Más info aquí" */
    body.single-product .qlwapp__container {
        bottom: 24px !important;
    }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
    .fc-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px 0 32px;
    }

    .fc-hero__img {
        max-height: 320px;
    }

    .fc-product-title {
        font-size: 26px;
    }

    .fc-data-section {
        padding: 36px 0;
    }

    .fc-data-grid {
        gap: 24px 32px;
    }

    .fc-data-card__value {
        font-size: 20px;
    }

    .fc-contact-cta {
        padding: 36px 24px;
    }

    .fc-contact-cta__title {
        font-size: 22px;
    }

    .fc-data-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fc-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 28px;
    }

    .fc-benefits__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fc-benefit-card {
        padding: 26px 22px 22px;
    }

    .fc-benefit-card__icon {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
    }

    .fc-benefit-card__icon svg {
        width: 26px;
        height: 26px;
    }

    .fc-benefit-card__title {
        font-size: 17px;
    }

    .fc-section-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .fc-product-title {
        font-size: 22px;
    }

    .fc-investment-badge__amount {
        font-size: 18px;
    }

    .fc-data-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fc-highlight {
        padding: 12px 14px;
        gap: 12px;
    }

    .fc-highlight__icon {
        width: 36px;
        height: 36px;
    }

    .fc-highlight__icon svg {
        width: 18px;
        height: 18px;
    }

    .fc-highlight__value {
        font-size: 13px;
    }

    .fc-data-group__title {
        font-size: 12px;
    }

    .fc-contact-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .fc-contact-cta .single_add_to_cart_button,
    .fc-contact-cta .button,
    .fc-wa-btn {
        width: 100%;
    }
}


@media (max-width: 767px) {

    /* --- WhatsApp widget: pegado justo encima del toolbar --- */
    .qlwapp__container {
        bottom: 64px !important;
        right: 14px !important;
    }

    /* Botón WhatsApp: sombra más visible y sin margen derecho del plugin */
    .qlwapp__button {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
        margin-right: 0 !important;
    }

    /* --- Woodmart bottom toolbar: altura mayor para iconos + label con buen aire --- */
    .wd-toolbar {
        height: 66px !important;
    }

    /* Que cada item ocupe 1/n del ancho */
    .wd-toolbar .wd-tools-element {
        flex: 1 1 0 !important;
        min-width: 0 !important;
    }

    .wd-toolbar .wd-tools-element > a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 8px 4px !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    /* Icono: margin-bottom explícito en lugar de gap para separar bien del label */
    .wd-toolbar .wd-tools-element .wd-tools-icon {
        flex: none !important;
        font-size: 22px !important;
        line-height: 1 !important;
        margin: 0 0 8px 0 !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
        overflow: visible !important;
    }

    .wd-toolbar .wd-toolbar-label {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        display: block !important;
    }

    /* --- Botones CTA del sitio: mayor área de toque en móvil --- */
    .wd-btn,
    .wd-info-box-btn,
    .elementor-button,
    .woocommerce a.button,
    .woocommerce button.button,
    .wpcf7 input[type="submit"],
    .ff-btn-submit {
        min-height: 48px !important;
        padding-top: 13px !important;
        padding-bottom: 13px !important;
        font-size: 14px !important;
    }
}

/* ----- REQ 1 & 2 — Consent checkbox + privacy notice ----- */
.fc-consent-wrap {
    margin-bottom: 18px;
}

.fc-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.65;
    color: #444;
}

.fc-consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #FF9933;
    cursor: pointer;
}

.fc-consent-error {
    display: none;
    color: #d63638;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 26px;
}

.fc-privacy-notice {
    margin-top: 20px;
    padding: 14px 16px;
    background: #f7f7f7;
    border-left: 3px solid #FF9933;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    line-height: 1.65;
    color: #666;
}

.fc-privacy-notice strong {
    color: #333;
}

