/* ─────────────────────────────────────────────
   ARFES — FONDO CARRITO = MISMO QUE LANDING
   ───────────────────────────────────────────── */

body.woocommerce-cart,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart main,
body.woocommerce-cart .wp-site-blocks {
    background: radial-gradient(circle at top center,
        #1c2a4a 0%,
        #0d1730 40%,
        #050b1a 100%) !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce-page,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-cart table,
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .shop_table {
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-cart,
body.woocommerce-cart h1,
body.woocommerce-cart h2,
body.woocommerce-cart h3,
body.woocommerce-cart td,
body.woocommerce-cart th {
    color: #fff !important;
}

body.woocommerce-cart input,
body.woocommerce-cart select {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}


/* ─────────────────────────────────────────────
   ARFES — FONDO FICHA PROYECTO (PAGE ID 115)
   ───────────────────────────────────────────── */

body.page-id-115,
body.page-id-115 .wp-site-blocks,
body.page-id-115 .site,
body.page-id-115 .site-content,
body.page-id-115 .content-area,
body.page-id-115 .site-main,
body.page-id-115 main,
body.page-id-115 .entry-content,
body.page-id-115 .wp-block-post-content {
    background: radial-gradient(circle at top center,
        #1c2a4a 0%,
        #0d1730 40%,
        #050b1a 100%) !important;
}

body.page-id-115 .is-layout-flow,
body.page-id-115 .wp-block-group,
body.page-id-115 .wp-block-columns,
body.page-id-115 .wp-block-column,
body.page-id-115 article,
body.page-id-115 .post,
body.page-id-115 .page {
    background: transparent !important;
}

body.page-id-115,
body.page-id-115 h1,
body.page-id-115 h2,
body.page-id-115 h3,
body.page-id-115 h4,
body.page-id-115 p,
body.page-id-115 li,
body.page-id-115 label,
body.page-id-115 a {
    color: #ffffff !important;
}


/* ─────────────────────────────────────────────
   ARFES — FONDO PÁGINAS (105, 106, 107)
   ───────────────────────────────────────────── */

body.page-id-105,
body.page-id-106,
body.page-id-107,
body.page-id-105 .wp-site-blocks,
body.page-id-106 .wp-site-blocks,
body.page-id-107 .wp-site-blocks,
body.page-id-105 .site,
body.page-id-106 .site,
body.page-id-107 .site,
body.page-id-105 .site-content,
body.page-id-106 .site-content,
body.page-id-107 .site-content,
body.page-id-105 .content-area,
body.page-id-106 .content-area,
body.page-id-107 .content-area,
body.page-id-105 .site-main,
body.page-id-106 .site-main,
body.page-id-107 .site-main,
body.page-id-105 main,
body.page-id-106 main,
body.page-id-107 main,
body.page-id-105 .entry-content,
body.page-id-106 .entry-content,
body.page-id-107 .entry-content,
body.page-id-105 .wp-block-post-content,
body.page-id-106 .wp-block-post-content,
body.page-id-107 .wp-block-post-content {
    background: radial-gradient(circle at top center,
        #1c2a4a 0%,
        #0d1730 40%,
        #050b1a 100%) !important;
}

body.page-id-105 .is-layout-flow,
body.page-id-106 .is-layout-flow,
body.page-id-107 .is-layout-flow,
body.page-id-105 .wp-block-group,
body.page-id-106 .wp-block-group,
body.page-id-107 .wp-block-group,
body.page-id-105 .wp-block-columns,
body.page-id-106 .wp-block-columns,
body.page-id-107 .wp-block-columns,
body.page-id-105 .wp-block-column,
body.page-id-106 .wp-block-column,
body.page-id-107 .wp-block-column,
body.page-id-105 article,
body.page-id-106 article,
body.page-id-107 article {
    background: transparent !important;
}

body.page-id-105,
body.page-id-106,
body.page-id-107,
body.page-id-105 h1,
body.page-id-106 h1,
body.page-id-107 h1,
body.page-id-105 h2,
body.page-id-106 h2,
body.page-id-107 h2,
body.page-id-105 h3,
body.page-id-106 h3,
body.page-id-107 h3,
body.page-id-105 p,
body.page-id-106 p,
body.page-id-107 p,
body.page-id-105 li,
body.page-id-106 li,
body.page-id-107 li,
body.page-id-105 a,
body.page-id-106 a,
body.page-id-107 a {
    color: #ffffff !important;
}


/* ─────────────────────────────────────────────
   ARFES — FONDO TIENDA (SHOP)
   ───────────────────────────────────────────── */

body.post-type-archive-product,
body.post-type-archive-product .wp-site-blocks,
body.post-type-archive-product .site,
body.post-type-archive-product .site-content,
body.post-type-archive-product .content-area,
body.post-type-archive-product .site-main,
body.post-type-archive-product main,
body.post-type-archive-product .entry-content {
    background: radial-gradient(circle at top center,
        #1c2a4a 0%,
        #0d1730 40%,
        #050b1a 100%) !important;
}

body.post-type-archive-product .is-layout-flow,
body.post-type-archive-product .wp-block-group,
body.post-type-archive-product .wp-block-columns,
body.post-type-archive-product .wp-block-column,
body.post-type-archive-product .woocommerce,
body.post-type-archive-product ul.products,
body.post-type-archive-product li.product {
    background: transparent !important;
}

body.post-type-archive-product,
body.post-type-archive-product h1,
body.post-type-archive-product h2,
body.post-type-archive-product h3,
body.post-type-archive-product p,
body.post-type-archive-product a {
    color: #ffffff !important;
}


/* ─────────────────────────────────────────────
   ARFES — FIX VISIBILIDAD CHECKOUT WOOCOMMERCE
   ───────────────────────────────────────────── */

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout .woocommerce-input-wrapper textarea,
body.woocommerce-checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    background: #ffffff !important;
    color: #0a1530 !important;
    -webkit-text-fill-color: #0a1530 !important;
    border-color: rgba(115, 165, 255, 0.28) !important;
    caret-color: #0a1530 !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
body.woocommerce-checkout .woocommerce-input-wrapper label,
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0a1530 !important;
    -webkit-text-fill-color: #0a1530 !important;
    opacity: 0.78 !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-text-input textarea::placeholder,
body.woocommerce-checkout .woocommerce-input-wrapper input::placeholder,
body.woocommerce-checkout .woocommerce-input-wrapper textarea::placeholder {
    color: rgba(10, 21, 48, 0.58) !important;
    -webkit-text-fill-color: rgba(10, 21, 48, 0.58) !important;
}

body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-checkout__payment-method,
body.woocommerce-checkout .wc-block-components-checkout-step__container {
    color: #ffffff !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-payment-method-label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-checkbox label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestions-list,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestions-list li,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestion,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestion span,
body.woocommerce-checkout .components-form-token-field__suggestions-list,
body.woocommerce-checkout .components-form-token-field__suggestions-list li,
body.woocommerce-checkout .components-form-token-field__suggestion,
body.woocommerce-checkout .components-form-token-field__suggestion span,
body.woocommerce-checkout .components-combobox-control__suggestions-container,
body.woocommerce-checkout .components-combobox-control__suggestions-container li,
body.woocommerce-checkout .components-combobox-control__suggestions-container span {
    background: #ffffff !important;
    color: #0a1530 !important;
    -webkit-text-fill-color: #0a1530 !important;
}

body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestion.is-selected,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__suggestion:hover,
body.woocommerce-checkout .components-form-token-field__suggestion.is-selected,
body.woocommerce-checkout .components-form-token-field__suggestion:hover,
body.woocommerce-checkout .components-combobox-control__suggestions-container li.is-selected,
body.woocommerce-checkout .components-combobox-control__suggestions-container li:hover {
    background: #e8eefb !important;
    color: #0a1530 !important;
    -webkit-text-fill-color: #0a1530 !important;
}

body.woocommerce-checkout select,
body.woocommerce-checkout select option {
    background: #ffffff !important;
    color: #0a1530 !important;
    -webkit-text-fill-color: #0a1530 !important;
}


/* ─────────────────────────────────────────────
   ARFES — FOOTER CLICABLE
   ───────────────────────────────────────────── */

.arfes-footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #050b1a;
    color: #ffffff;
    padding: 72px 24px 34px;
    box-sizing: border-box;
}

.arfes-footer__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    text-align: center;
}

.arfes-footer__col h3 {
    margin: 0 0 26px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
}

.arfes-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.arfes-footer__col a,
.arfes-footer__legal a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.35;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.arfes-footer__col a:hover,
.arfes-footer__legal a:hover {
    color: #39d6ff !important;
    -webkit-text-fill-color: #39d6ff !important;
}

.arfes-footer__legal {
    width: min(1180px, 100%);
    margin: 54px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.arfes-footer__legal a,
.arfes-footer__legal span {
    font-size: 15px;
}

@media (max-width: 760px) {
    .arfes-footer {
        padding: 52px 20px 28px;
    }

    .arfes-footer__inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .arfes-footer__col h3 {
        font-size: 25px;
        margin-bottom: 18px;
    }

    .arfes-footer__col a {
        font-size: 19px;
    }
}
/* ARFES - footer a ancho completo real */
html,
body {
    overflow-x: hidden;
}

body .arfes-footer {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

body .arfes-footer,
body .arfes-footer * {
    box-sizing: border-box;
}

body .wp-block-template-part:has(.arfes-footer),
body .wp-block-group:has(.arfes-footer),
body .entry-content:has(.arfes-footer),
body .wp-block-post-content:has(.arfes-footer) {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.arfes-footer__copy {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.58);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.58);
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

/* ARFES - Paginas legales */
.arfes-legal-page {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
}

.arfes-legal-page h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    font-weight: 800;
}

.arfes-legal-page h2 {
    margin: 42px 0 12px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
}

.arfes-legal-page p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.75;
}

.arfes-legal-page a {
    color: #39d6ff !important;
    -webkit-text-fill-color: #39d6ff !important;
    text-decoration: none;
}

.arfes-legal-page a:hover {
    text-decoration: underline;
}

/* ─────────────────────────────────────────────
   ARFES — PÁGINAS LEGALES
   ───────────────────────────────────────────── */

body:has(.arfes-legal-page),
body:has(.arfes-legal-page) .wp-site-blocks,
body:has(.arfes-legal-page) .site,
body:has(.arfes-legal-page) .site-content,
body:has(.arfes-legal-page) .content-area,
body:has(.arfes-legal-page) .site-main,
body:has(.arfes-legal-page) main,
body:has(.arfes-legal-page) article,
body:has(.arfes-legal-page) .entry-content,
body:has(.arfes-legal-page) .wp-block-post-content {
    background: radial-gradient(circle at top center,
        #1c2a4a 0%,
        #0d1730 40%,
        #050b1a 100%) !important;
}

body:has(.arfes-legal-page) .wp-site-blocks,
body:has(.arfes-legal-page) .site-content,
body:has(.arfes-legal-page) .content-area,
body:has(.arfes-legal-page) .site-main,
body:has(.arfes-legal-page) main,
body:has(.arfes-legal-page) article,
body:has(.arfes-legal-page) .entry-content,
body:has(.arfes-legal-page) .wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body:has(.arfes-legal-page) .arfes-legal-page {
    width: min(980px, calc(100% - 48px)) !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 88px 0 110px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, sans-serif;
}

body:has(.arfes-legal-page) .arfes-legal-page h1 {
    margin: 0 0 20px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 1.02;
    font-weight: 800;
}

body:has(.arfes-legal-page) .arfes-legal-page h2 {
    margin: 46px 0 14px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}

body:has(.arfes-legal-page) .arfes-legal-page p,
body:has(.arfes-legal-page) .arfes-legal-page li {
    margin: 0 0 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px;
    line-height: 1.8;
}

body:has(.arfes-legal-page) .arfes-legal-page strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body:has(.arfes-legal-page) .arfes-legal-page a {
    color: #39d6ff !important;
    -webkit-text-fill-color: #39d6ff !important;
    text-decoration: none;
}

body:has(.arfes-legal-page) .arfes-legal-page a:hover {
    text-decoration: underline;
}

body:has(.arfes-legal-page) .arfes-legal-page__intro {
    color: rgba(225, 234, 255, 0.88) !important;
    -webkit-text-fill-color: rgba(225, 234, 255, 0.88) !important;
    font-size: 20px !important;
    line-height: 1.75 !important;
    margin-bottom: 36px !important;
}

body:has(.arfes-legal-page) .arfes-legal-page__updated {
    margin-top: 48px !important;
    color: rgba(255, 255, 255, 0.52) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.52) !important;
}
