/*
 Theme Name:   GeneratePress Child
 Description:  Mi tema personalizado basado en GeneratePress
 Template:     generatepress
 Version:      1.0.0
*/




/* =======================================================
   ESTILOS DE CARRITO WOOCOMMERCE BLOCKS - TEMA OSCURO
   ======================================================= */

/* 1. Eliminar el fondo blanco del contenedor principal de GeneratePress */
body.woocommerce-cart .site-content,
body.woocommerce-cart .inside-article,
body.woocommerce-cart .entry-content {
    background-color: transparent !important; 
    border: none !important;
}

/* 2. Convertir las columnas en Tarjetas Oscuras (Estilo ADEG) */
/* Columna Izquierda (Productos) y Derecha (Totales) */
.wc-block-cart__main,
.wc-block-cart__sidebar {
    background-color: #262c36 !important; /* Fondo oscuro de la tarjeta */
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    transition: border-color 0.3s ease;
}

/* Efecto hover tipo "Identidad Visual" para la barra de totales */
.wc-block-cart__sidebar:hover {
    border-color: #7dc2a5 !important;
}

/* 3. Colores de Texto y Títulos */
.wc-block-cart, 
.wc-block-cart span, 
.wc-block-cart p, 
.wc-block-cart div,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item__label {
    color: #a0aab2 !important; /* Gris claro para lectura */
}

/* Forzar títulos a blanco */
.wc-block-cart h1, 
.wc-block-cart h2, 
.wc-block-cart th,
.wc-block-components-title {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enlaces (Nombres de productos) */
.wc-block-cart a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.wc-block-cart a:hover {
    color: #7dc2a5 !important; /* Acento verde */
}

/* 4. Líneas divisorias internas */
.wc-block-cart-items td, 
.wc-block-cart-items th,
.wc-block-components-totals-item,
.wc-block-components-order-summary-item {
    border-color: #38424e !important;
}

/* 5. Estilizar el input de Cupones */
.wc-block-components-text-input input {
    background-color: #313b47 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
    border-radius: 8px !important;
}

/* 6. Botón Principal (Finalizar Compra) */
.wc-block-cart .wc-block-components-checkout-button {
    background-color: #7dc2a5 !important; /* Color verde de tu marca */
    color: #1a2027 !important; /* Texto oscuro para contraste */
    border-radius: 50px !important; /* Estilo píldora */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px 30px !important;
    border: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.wc-block-cart .wc-block-components-checkout-button:hover {
    background-color: #65a88c !important;
    transform: translateY(-2px);
}

/* Icono de papelera (Eliminar) */
.wc-block-cart-item__remove-link {
    color: #ff6b6b !important;
}
.wc-block-cart-item__remove-link:hover {
    color: #ff4c4c !important;
}

/* =======================================================
   ESTILOS DE CHECKOUT WOOCOMMERCE BLOCKS - TEMA OSCURO
   ======================================================= */

/* 1. Contenedores principales (Formulario izquierdo y Resumen derecho) */
.wc-block-checkout__main,
.wc-block-checkout__sidebar {
    background-color: #262c36 !important; /* Fondo oscuro de tarjeta */
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* 2. Textos, descripciones y etiquetas generales */
.wc-block-checkout span, 
.wc-block-checkout p, 
.wc-block-checkout div,
.wc-block-components-checkout-step__description {
    color: #a0aab2 !important; /* Gris claro */
}

/* Títulos de cada paso (Contacto, Envío, Pago) */
.wc-block-checkout h1, 
.wc-block-checkout h2, 
.wc-block-checkout h3,
.wc-block-components-title,
.wc-block-components-checkout-step__title {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3. Campos de Formulario (Inputs, Selects y Textareas) */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-textarea textarea,
.wc-block-components-select-input select {
    background-color: #313b47 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
    border-radius: 8px !important;
}

/* Etiquetas flotantes dentro de los inputs */
.wc-block-components-text-input label,
.wc-block-components-combobox-control label {
    color: #a0aab2 !important;
}

/* 4. Líneas divisorias en el Resumen del Pedido */
.wc-block-components-order-summary-item,
.wc-block-components-totals-item {
    border-color: #38424e !important;
}

/* Nombres de productos y precios en el resumen */
.wc-block-components-order-summary-item__name,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
    color: #ffffff !important;
}

/* 5. Sección de Opciones de Pago */
.wc-block-components-radio-control__label {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.wc-block-components-radio-control__description {
    color: #a0aab2 !important;
}
.wc-block-components-radio-control-accordion-content {
    background-color: transparent !important;
}

/* 6. Botón Principal (Realizar Pedido / Pagar) */
.wc-block-checkout .wc-block-components-checkout-place-order-button {
    background-color: #7dc2a5 !important; /* Verde de tu marca */
    color: #1a2027 !important; /* Texto oscuro */
    border-radius: 50px !important; /* Estilo píldora */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px 30px !important;
    border: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    width: 100% !important; /* Botón de ancho completo */
    margin-top: 20px !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: #65a88c !important;
    transform: translateY(-2px);
}
/* =======================================================
   ELIMINAR FONDO BLANCO DE GENERATEPRESS (CARRITO Y CHECKOUT)
   ======================================================= */

body.woocommerce-checkout .inside-article,
body.woocommerce-cart .inside-article,
body.woocommerce-checkout.separate-containers .inside-article,
body.woocommerce-cart.separate-containers .inside-article {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =======================================================
   PÁGINA DE PRODUCTO WOOCOMMERCE & DESCRIPCIÓN ADEG
   ======================================================= */

/* 1. Limpiar fondo blanco de GeneratePress en Single Product */
body.single-product .inside-article,
body.single-product.separate-containers .inside-article {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. Estilos base del producto (Títulos, Precio, Meta) */
.single-product div.product .product_title {
    color: #ffffff;
    font-size: 2.2em;
    font-weight: 700;
}

.single-product div.product p.price {
    color: #7dc2a5 !important; /* Precio en verde cyan */
    font-size: 1.5em;
    font-weight: 700;
}

.single-product div.product .product_meta {
    color: #a0aab2;
}

.single-product div.product .product_meta a {
    color: #7dc2a5;
}

/* Botón Añadir al Carrito */
.single-product div.product form.cart .button {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.single-product div.product form.cart .button:hover {
    background-color: #65a88c !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 194, 165, 0.3);
}

/* 3. Pestañas (Descripción, Valoraciones) */
.woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #38424e !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #a0aab2 !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
    margin-right: 30px !important;
    transition: color 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: #7dc2a5 !important;
    box-shadow: inset 0 -2px 0 #7dc2a5; /* Línea inferior estilo moderno */
}

/* =======================================================
   4. DISEÑO IMPACTANTE: CAJA DE SERVICIO INTEGRAL
   ======================================================= */

.adeg-premium-service {
    background: linear-gradient(145deg, #252b34 0%, #1e232a 100%);
    border: 1px solid #38424e;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #a0aab2;
}

.adeg-premium-service h3 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.adeg-premium-service .adeg-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Grid de Características */
.adeg-features-grid {
    display: grid;
    gap: 16px;
}

/* Tarjetas internas de cada punto */
.adeg-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #2a313c;
    border: 1px solid #38424e;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

/* Efecto Hover Impactante */
.adeg-feature-item:hover {
    background: #313b47;
    border-color: #7dc2a5;
    transform: translateX(5px); /* Pequeño salto hacia la derecha */
    box-shadow: -5px 5px 15px rgba(0,0,0,0.15);
}

/* Icono de Check (Palomita) */
.adeg-feature-item .adeg-check {
    display: inline-flex;
    width: 32px;
    height: 32px;
    min-width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(125, 194, 165, 0.1); /* Fondo translúcido */
    color: #7dc2a5; /* Verde cyan */
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #7dc2a5;
    transition: all 0.3s ease;
}

.adeg-feature-item:hover .adeg-check {
    background: #7dc2a5;
    color: #1a2027;
    box-shadow: 0 0 10px rgba(125, 194, 165, 0.5); /* Resplandor */
}

/* Textos internos */
.adeg-feature-content strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.adeg-feature-content span {
    font-size: 14px;
    line-height: 1.6;
}

/* Pie de la caja */
.adeg-service-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #38424e;
}

.adeg-service-footer p {
    margin: 0;
    font-size: 14px;
    color: #7D828A;
    font-style: italic;
}
/* =======================================================
   PÁGINA DE TIENDA Y ARCHIVOS WOOCOMMERCE - TEMA OSCURO
   ======================================================= */

/* 1. Eliminar los fondos blancos principales de GeneratePress */
body.archive.woocommerce .inside-article,
body.archive.woocommerce.separate-containers .inside-article {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Título principal de la página (Ej. "Tienda") y Breadcrumbs */
.woocommerce .woocommerce-products-header__title.page-title {
    color: #ffffff !important;
    font-size: 2.8em;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
}

.woocommerce-breadcrumb, 
.woocommerce-breadcrumb a {
    color: #a0aab2 !important;
    font-size: 14px;
}
.woocommerce-breadcrumb a:hover {
    color: #7dc2a5 !important;
}

/* =======================================================
   2. MAGIA: TARJETAS DE CATEGORÍAS Y PRODUCTOS
   ======================================================= */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: linear-gradient(145deg, #252b34 0%, #1e232a 100%) !important;
    border: 1px solid #38424e !important;
    border-radius: 20px !important;
    padding: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* Animación fluida con rebote */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Efecto Hover para las tarjetas */
.woocommerce ul.products li.product:hover {
    border-color: #7dc2a5 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(125, 194, 165, 0.2) !important;
}

/* Imagen de la categoría/producto */
.woocommerce ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 20px !important;
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.03); /* Ligero zoom a la imagen */
}

/* Título de la categoría ("Servicios ADEG", "Web Design") */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    padding: 10px 0 5px !important;
}

/* 3. El Contador de Categorías (Arreglando el fondo amarillo) */
.woocommerce ul.products li.product mark.count {
    background-color: rgba(125, 194, 165, 0.1) !important; /* Fondo translúcido verde */
    color: #7dc2a5 !important; /* Texto verde de tu marca */
    padding: 4px 10px !important;
    border-radius: 20px !important; /* Forma de píldora */
    font-size: 0.8em !important;
    font-weight: 800 !important;
    margin-left: 8px !important;
    display: inline-block;
    border: 1px solid rgba(125, 194, 165, 0.3);
}

/* =======================================================
   4. BARRA LATERAL (SIDEBAR) ESTILO DASHBOARD
   ======================================================= */

/* Cajas de los widgets */
.sidebar .widget {
    background-color: #262c36 !important;
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    padding: 25px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    margin-bottom: 25px !important;
}

/* Títulos de los widgets ("Buscar", "Recent Posts") */
.sidebar .widget .widget-title {
    color: #ffffff !important;
    font-size: 1.1em !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #38424e;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Enlaces del Sidebar y textos vacíos ("No hay comentarios...") */
.sidebar .widget a,
.sidebar .widget p {
    color: #a0aab2 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .widget a:hover {
    color: #7dc2a5 !important;
}

/* Estilizar la barra de búsqueda del Sidebar */
.sidebar .widget_search input.search-field {
    background-color: #1e232a !important;
    color: #ffffff !important;
    border: 1px solid #38424e !important;
    border-radius: 8px !important;
    padding: 12px !important;
    width: 100%;
}

.sidebar .widget_search input.search-submit {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.sidebar .widget_search input.search-submit:hover {
    background-color: #65a88c !important;
}
/* =======================================================
   REDISEÑO ESTRUCTURAL: PÁGINA DE PRODUCTO INDIVIDUAL
   ======================================================= */

/* 1. Ajustar el tamaño de las columnas (Imagen vs Contenido) solo en PC */
@media (min-width: 769px) {
    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page div.product div.images {
        width: 35% !important; /* Reducimos la imagen al 35% del ancho */
    }
    
    .woocommerce #content div.product div.summary, 
    .woocommerce div.product div.summary, 
    .woocommerce-page div.product div.summary {
        width: 60% !important; /* Le damos más espacio al texto y la caja (60%) */
        padding-left: 20px !important;
    }
}

/* 2. Estilizar la imagen del producto (Bordes y sombra) */
.woocommerce div.product div.images img {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    border: 1px solid #38424e !important;
}

/* 3. Darle respiro a la descripción corta (Separarla del botón) */
.woocommerce div.product .woocommerce-product-details__short-description {
    margin-top: 25px !important;
    margin-bottom: 40px !important; /* Este es el padding/margen que pediste */
}

/* 4. Separador elegante antes del botón de "Comenzar Contratación" */
.woocommerce div.product form.cart {
    border-top: 1px solid #38424e !important; /* Línea divisoria sutil */
    padding-top: 30px !important;
    margin-bottom: 30px !important;
    display: flex;
    align-items: center;
}

/* 5. Transformar el feo círculo amarillo de "Oferta" en una etiqueta premium */
.woocommerce span.onsale {
    background-color: #7dc2a5 !important; /* Verde cyan de tu marca */
    color: #1a2027 !important;
    border-radius: 8px !important; /* Forma rectangular redondeada */
    padding: 6px 16px !important;
    min-height: auto !important;
    min-width: auto !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    top: 20px !important;
    left: 20px !important;
    box-shadow: 0 4px 15px rgba(125, 194, 165, 0.3) !important;
    z-index: 9 !important;
}
/* =======================================================
   AVISOS DE WOOCOMMERCE (NOTICES) - ESTILO PREMIUM
   ======================================================= */

.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    background-color: #262c36 !important; /* Fondo oscuro tipo tarjeta */
    color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #38424e !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    padding: 20px 20px 20px 50px !important;
    margin-bottom: 30px !important;
}

/* Indicadores de color en el borde izquierdo (Éxito, Error, Info) */
.woocommerce-message { 
    border-left: 5px solid #7dc2a5 !important; /* Verde de tu marca */
}
.woocommerce-error { 
    border-left: 5px solid #ff6b6b !important; /* Rojo alerta */
}
.woocommerce-info { 
    border-left: 5px solid #3b83bd !important; /* Azul informativo */
}

/* Botones dentro de los avisos (Ej. "Ver carrito") */
.woocommerce-message .button, 
.woocommerce-info .button, 
.woocommerce-error .button {
    background-color: transparent !important;
    color: #7dc2a5 !important;
    border: 1px solid #7dc2a5 !important;
    border-radius: 50px !important;
    padding: 6px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-message .button:hover, 
.woocommerce-info .button:hover {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
}

/* =======================================================
   ESTADO DE CARRITO VACÍO (EMPTY CART)
   ======================================================= */

/* Mensaje principal */
.cart-empty.woocommerce-info,
.wc-empty-cart-message {
    background: transparent !important;
    border: none !important;
    text-align: center;
    font-size: 1.3em;
    color: #a0aab2 !important;
    margin-top: 40px;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Centrar el botón y darle estilo de marca */
p.return-to-shop {
    text-align: center;
    margin-top: 30px;
}

p.return-to-shop a.button.wc-backward,
.wc-block-components-button.wc-block-cart__submit-button {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
    border-radius: 50px !important;
    padding: 15px 35px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    border: none !important;
}

p.return-to-shop a.button.wc-backward:hover {
    background-color: #65a88c !important;
    transform: translateY(-2px);
}

/* =======================================================
   BOTÓN "CONTINUAR AL PAGO" - ALTA CONVERSIÓN
   ======================================================= */

.wc-block-cart .wc-block-components-checkout-button,
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-cart__submit-container a.wc-block-components-button,
.wc-block-cart__submit-container a {
    background-color: #7dc2a5 !important; /* Tu verde marca */
    color: #1a2027 !important; /* Texto oscuro para contraste máximo */
    border-radius: 50px !important; /* Diseño de píldora */
    padding: 16px 32px !important;
    font-weight: 800 !important; /* Texto grueso */
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    width: 100% !important; /* Ocupa todo el ancho de la tarjeta */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(125, 194, 165, 0.2) !important; /* Resplandor sutil */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    margin-top: 20px !important;
}

/* Efecto magnético al pasar el cursor (Hover) */
.wc-block-cart .wc-block-components-checkout-button:hover,
.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container a.wc-block-components-button:hover,
.wc-block-cart__submit-container a:hover {
    background-color: #65a88c !important; /* Un tono más oscuro al tocar */
    transform: translateY(-3px) !important; /* Se levanta hacia el usuario */
    box-shadow: 0 8px 25px rgba(125, 194, 165, 0.4) !important; /* El resplandor crece */
    color: #1a2027 !important;
}

/* Opcional: Darle un poco de estilo a la etiqueta gris de "Ahorra $2,500" */
.wc-block-components-sale-badge {
    background-color: rgba(125, 194, 165, 0.15) !important;
    color: #7dc2a5 !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
}

/* =======================================================
   FORZAR COLOR DE TEXTO EN BOTONES DE BLOQUES (CARRITO Y CHECKOUT)
   ======================================================= */

/* Apuntamos al botón Y al span interno que tiene el texto */
.wc-block-cart .wc-block-components-checkout-button,
.wc-block-cart .wc-block-components-checkout-button span,
.wc-block-cart .wc-block-cart__submit-container a,
.wc-block-cart .wc-block-cart__submit-container a span,
.wc-block-checkout .wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button span {
    color: #1a2027 !important;
}

/* Lo mismo para el efecto hover */
.wc-block-cart .wc-block-components-checkout-button:hover,
.wc-block-cart .wc-block-components-checkout-button:hover span,
.wc-block-cart .wc-block-cart__submit-container a:hover,
.wc-block-cart .wc-block-cart__submit-container a:hover span,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover span {
    color: #1a2027 !important;
}

/* =======================================================
   PLANTILLA DE ENTRADAS DE BLOG (SINGLE POST) - MODO OSCURO
   ======================================================= */

/* 1. Contenedor principal del artículo (Convertirlo en tarjeta oscura) */
body.single-post .inside-article,
body.single-post.separate-containers .inside-article {
    background: #252b34 !important; /* Fondo de tarjeta oscuro, un poco más claro que el fondo general */
    border: 1px solid #38424e !important;
    border-radius: 20px !important;
    padding: 50px 8% !important; /* Espaciado amplio y elegante */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* 2. Título principal y Meta datos (Fecha, Autor, Categoría) */
.single-post .entry-header h1.entry-title {
    color: #ffffff !important;
    font-size: 3em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.single-post .entry-meta {
    color: #7D828A;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    border-bottom: 1px solid #38424e;
    padding-bottom: 20px;
}

.single-post .entry-meta a {
    color: #7dc2a5 !important;
    font-weight: 600;
    text-decoration: none;
}

.single-post .entry-meta a:hover {
    color: #ffffff !important;
}

/* 3. Imagen Destacada */
.single-post .featured-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 40px;
    width: 100%;
}

/* 4. Tipografía del contenido (Alta legibilidad) */
.single-post .entry-content p,
.single-post .entry-content li {
    color: #a0aab2 !important;
    font-size: 18px; /* Tamaño ideal para lectura en pantallas */
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Subtítulos dentro del post (H2, H3, H4) */
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    color: #ffffff !important;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
}

/* Enlaces dentro del texto */
.single-post .entry-content p a,
.single-post .entry-content li a {
    color: #7dc2a5;
    text-decoration: none;
    border-bottom: 1px dashed #7dc2a5;
    transition: all 0.3s ease;
}

.single-post .entry-content p a:hover {
    color: #65a88c;
    border-bottom: 1px solid #65a88c;
}

/* 5. Citas Destacadas (Blockquotes) */
.single-post .entry-content blockquote {
    background: linear-gradient(145deg, #2a313c 0%, #252b34 100%);
    border-left: 5px solid #7dc2a5;
    border-radius: 0 12px 12px 0;
    padding: 30px 40px;
    margin: 50px 0;
    font-style: italic;
    font-size: 1.2em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.single-post .entry-content blockquote p {
    color: #ffffff !important;
    margin-bottom: 0;
}

/* 6. Zona de Comentarios */
.single-post .comments-area {
    background: transparent !important;
    border-top: 2px dashed #38424e;
    margin-top: 60px;
    padding-top: 50px;
}

.single-post .comments-title,
.single-post .comment-reply-title {
    color: #ffffff !important;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.single-post .comment-content p {
    color: #a0aab2 !important;
}

/* Campos del formulario de comentarios */
.single-post #respond input[type="text"],
.single-post #respond input[type="email"],
.single-post #respond input[type="url"],
.single-post #respond textarea {
    background-color: #313b47 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
    border-radius: 8px !important;
    padding: 15px;
    width: 100%;
}

/* Botón de Enviar Comentario */
.single-post #respond input[type="submit"] {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-top: 20px;
}

.single-post #respond input[type="submit"]:hover {
    background-color: #65a88c !important;
    transform: translateY(-2px);
}
/* =======================================================
   PÁGINA PRINCIPAL DEL BLOG (ARCHIVE) - ESTILO METRO ADEG
   ======================================================= */

/* 1. Forzar una cuadrícula (Grid) de 2 columnas en Escritorio */
body.blog .site-main, 
body.archive:not(.woocommerce) .site-main {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
}

/* En móviles, pasamos a 1 sola columna */
@media (max-width: 768px) {
    body.blog .site-main, 
    body.archive:not(.woocommerce) .site-main {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* 2. Limpiar estilos por defecto de GP en las columnas */
body.blog .site-main article, 
body.archive:not(.woocommerce) .site-main article {
    width: 100% !important;
    margin-bottom: 0 !important;
    float: none !important;
}

/* 3. La Tarjeta (Ficha) del Artículo */
body.blog .inside-article, 
body.archive:not(.woocommerce) .inside-article {
    background: #252b34 !important;
    border: 1px solid #38424e !important;
    border-radius: 20px !important;
    padding: 0 !important; /* Quitamos el padding para que la imagen toque los bordes */
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Corta la imagen si se sale de las esquinas redondeadas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Efecto "Metro" al pasar el cursor (Hover) */
body.blog .inside-article:hover, 
body.archive:not(.woocommerce) .inside-article:hover {
    border-color: #7dc2a5 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(125, 194, 165, 0.2) !important;
}

/* 4. Imagen Destacada (Proporción elegante panorámica) */
body.blog .post-image, 
body.archive:not(.woocommerce) .post-image {
    margin: 0 !important;
    overflow: hidden;
}

body.blog .post-image img, 
body.archive:not(.woocommerce) .post-image img {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important; /* Proporción moderna (no es ni muy cuadrada ni muy alargada) */
    object-fit: cover !important;
    border-radius: 0 !important; /* Las esquinas de arriba las redondea el contenedor padre */
    transition: transform 0.6s ease !important;
}

/* Ligero Zoom a la imagen al hacer hover en la tarjeta */
body.blog .inside-article:hover .post-image img, 
body.archive:not(.woocommerce) .inside-article:hover .post-image img {
    transform: scale(1.05) !important;
}

/* 5. Contenedor de Textos (Añadimos el padding que quitamos arriba) */
body.blog .entry-header, 
body.archive:not(.woocommerce) .entry-header,
body.blog .entry-summary, 
body.archive:not(.woocommerce) .entry-summary {
    padding: 0 30px !important;
}

body.blog .entry-header, 
body.archive:not(.woocommerce) .entry-header {
    margin-top: 25px !important;
}

/* Títulos de las fichas */
body.blog .entry-title, 
body.archive:not(.woocommerce) .entry-title {
    font-size: 1.6em !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

body.blog .entry-title a, 
body.archive:not(.woocommerce) .entry-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.blog .entry-title a:hover, 
body.archive:not(.woocommerce) .entry-title a:hover {
    color: #7dc2a5 !important;
}

/* Extracto de texto y Meta datos */
body.blog .entry-summary p, 
body.archive:not(.woocommerce) .entry-summary p,
body.blog .entry-meta, 
body.archive:not(.woocommerce) .entry-meta {
    color: #a0aab2 !important;
}

body.blog .entry-meta, 
body.archive:not(.woocommerce) .entry-meta {
    font-size: 13px !important;
    margin-bottom: 15px !important;
}

/* 6. Botón de "Leer Más" (Alineado siempre abajo) */
body.blog .entry-summary, 
body.archive:not(.woocommerce) .entry-summary {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Empuja el botón hacia abajo si el texto es corto */
    padding-bottom: 30px !important;
}

body.blog .read-more, 
body.archive:not(.woocommerce) .read-more {
    margin-top: auto !important; /* Mantiene el botón pegado abajo */
    display: inline-block;
    background-color: transparent !important;
    color: #7dc2a5 !important;
    border: 1px solid #7dc2a5 !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
    text-align: center;
    width: max-content;
}

body.blog .read-more:hover, 
body.archive:not(.woocommerce) .read-more:hover {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
}

/* =======================================================
   ESTRUCTURA DE TARJETAS (BLOG Y CATEGORÍAS) - PREMIUM
   ======================================================= */

/* 1. Contenedor de la tarjeta (Flexbox para control total) */
body.blog .inside-article, 
body.archive:not(.woocommerce) .inside-article {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    background: #252b34 !important;
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

body.blog .inside-article:hover, 
body.archive:not(.woocommerce) .inside-article:hover {
    border-color: #7dc2a5 !important;
    transform: translateY(-5px) !important;
}

/* 2. Forzar la Imagen Destacada hasta arriba */
body.blog .post-image, 
body.archive:not(.woocommerce) .post-image {
    order: -1 !important; /* Esto mueve la imagen al inicio del todo */
    margin: 0 !important;
    width: 100% !important;
}

body.blog .post-image img, 
body.archive:not(.woocommerce) .post-image img {
    width: 100% !important;
    height: 240px !important; /* Altura fija para que todas las tarjetas sean idénticas */
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* 3. Cabecera (Título y Fecha) */
body.blog .entry-header, 
body.archive:not(.woocommerce) .entry-header {
    padding: 25px 30px 10px !important;
    margin: 0 !important;
}

body.blog .entry-title, 
body.archive:not(.woocommerce) .entry-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
}

body.blog .entry-meta, 
body.archive:not(.woocommerce) .entry-meta {
    font-size: 13px !important;
    color: #7D828A !important;
}

/* 4. Resumen y Botón de Leer Más */
body.blog .entry-summary, 
body.archive:not(.woocommerce) .entry-summary {
    padding: 0 30px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* Expande este bloque para empujar el pie de página hacia abajo */
}

body.blog .entry-summary p:not(.read-more-container), 
body.archive:not(.woocommerce) .entry-summary p:not(.read-more-container) {
    margin-bottom: 25px !important;
    font-size: 15px !important;
    color: #a0aab2 !important;
    line-height: 1.6 !important;
}

/* Alinear Botón "Leer Más" */
body.blog .read-more, 
body.archive:not(.woocommerce) .read-more {
    margin-top: auto !important; /* Obliga al botón a irse al fondo de su contenedor */
    align-self: flex-start !important; /* Alineado a la izquierda */
    background-color: transparent !important;
    color: #7dc2a5 !important;
    border: 1px solid #7dc2a5 !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

body.blog .read-more:hover, 
body.archive:not(.woocommerce) .read-more:hover {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
}

/* 5. Pie de Tarjeta (Categorías y Etiquetas modo Premium) */
body.blog footer.entry-meta, 
body.archive:not(.woocommerce) footer.entry-meta {
    padding: 15px 30px !important;
    background-color: #1e232a !important; /* Un tono ligeramente más oscuro para separar */
    border-top: 1px solid #38424e !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Ocultar los feos iconos de carpeta/etiqueta de GeneratePress */
body.blog footer.entry-meta .gp-icon, 
body.archive:not(.woocommerce) footer.entry-meta .gp-icon {
    display: none !important;
}

/* Estilo de etiqueta (Badge) para las categorías */
body.blog footer.entry-meta a, 
body.archive:not(.woocommerce) footer.entry-meta a {
    background: rgba(125, 194, 165, 0.1) !important; /* Fondo translúcido verde */
    color: #7dc2a5 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important; /* Botón tipo píldora pequeña */
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(125, 194, 165, 0.2) !important;
    transition: all 0.2s ease !important;
}

body.blog footer.entry-meta a:hover, 
body.archive:not(.woocommerce) footer.entry-meta a:hover {
    background: #7dc2a5 !important;
    color: #1a2027 !important;
}

/* =======================================================
   CORRECCIÓN CABECERA DE CATEGORÍA (ARCHIVE HEADER)
   ======================================================= */

/* 1. Forzar a que la cabecera ocupe todo el ancho (romper el grid) y limpiar fondo */
body.archive:not(.woocommerce) .site-main .page-header {
    grid-column: 1 / -1 !important; /* Le dice que ocupe desde la primera hasta la última columna */
    background: transparent !important; /* Adiós al cuadro blanco */
    border: none !important;
    padding: 0 0 30px 0 !important; /* Solo dejamos un poco de espacio hacia abajo */
    margin: 0 !important;
    box-shadow: none !important;
}

/* 2. Estilizar el título de la categoría (H1) */
body.archive:not(.woocommerce) .page-header .page-title {
    color: #ffffff !important;
    font-size: 3em !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    margin: 0 !important;
}

/* 3. Estilizar la descripción de la categoría (si llegas a ponerle una) */
body.archive:not(.woocommerce) .page-header .taxonomy-description,
body.archive:not(.woocommerce) .page-header .taxonomy-description p {
    color: #a0aab2 !important;
    font-size: 1.1em !important;
    margin-top: 15px !important;
}
/* =======================================================
   SCROLL INFINITO (LOADER Y BOTÓN) - MODO OSCURO ADEG
   ======================================================= */

/* Ocultar la paginación tradicional (1, 2, 3) por si acaso queda algún rastro */
.paging-navigation, 
.nav-links {
    display: none !important;
}

/* 1. Estilo para el botón de "Cargar Más" (Si lo activas) */
.masonry-load-more .button,
.infinite-scroll-button,
#catch-infinite-scroll-button {
    background-color: transparent !important;
    color: #7dc2a5 !important;
    border: 2px solid #7dc2a5 !important;
    border-radius: 50px !important;
    padding: 12px 35px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    margin: 50px auto !important;
    display: block !important;
    width: max-content !important;
    cursor: pointer;
}

/* Efecto Hover del botón */
.masonry-load-more .button:hover,
.infinite-scroll-button:hover,
#catch-infinite-scroll-button:hover {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 194, 165, 0.2);
}

/* 2. Estilo para el ícono de carga (Spinner / Loading text) */
.gp-infinite-scroll-loading,
.catch-infinite-scroll-loader {
    margin: 50px auto !important;
    color: #7dc2a5 !important; /* Tu color verde para que se vea integrado */
    text-align: center;
    font-weight: 600;
}
/* =======================================================
   MENSAJE DE "FIN DE ARTÍCULOS" (CATCH INFINITE SCROLL)
   ======================================================= */

#catch-infinite-scroll-end {
    display: block !important;
    text-align: center !important;
    background: #252b34 !important; /* Tarjeta oscura */
    border: 1px dashed #38424e !important;
    border-radius: 12px !important;
    padding: 30px 20px !important;
    margin: 60px auto !important;
    width: 100% !important;
    max-width: 600px !important;
    color: #a0aab2 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Le añadimos un punto verde para mantener la identidad de marca */
#catch-infinite-scroll-end::after {
    content: " •";
    color: #7dc2a5;
    font-size: 20px;
    vertical-align: middle;
}
/* =======================================================
   OPTIMIZACIÓN MÓVIL (SMARTPHONES Y TABLETS PEQUEÑAS)
   ======================================================= */

@media (max-width: 768px) {
    
    /* 1. TIPOGRAFÍA: Reducir los títulos gigantes para que no se corten */
    .single-post .entry-header h1.entry-title,
    body.archive:not(.woocommerce) .page-header .page-title,
    .woocommerce .woocommerce-products-header__title.page-title {
        font-size: 2em !important; /* Pasamos de 3em a 2em */
        line-height: 1.2 !important;
    }

    .single-product div.product .product_title {
        font-size: 1.8em !important;
        margin-top: 20px !important;
    }

    body.blog .entry-title, 
    body.archive:not(.woocommerce) .entry-title {
        font-size: 1.4em !important;
    }

    /* 2. ESPACIADOS: Reducir los márgenes internos (paddings) de las tarjetas */
    
    /* Artículo de Blog Individual */
    body.single-post .inside-article,
    body.single-post.separate-containers .inside-article {
        padding: 30px 20px !important; /* Menos espacio a los lados para aprovechar la pantalla */
    }

    /* Caja de Descripción Premium en Producto */
    .adeg-premium-service {
        padding: 25px 20px !important;
    }
    
    .adeg-premium-service h3 {
        font-size: 22px !important;
    }

    /* Tarjetas de WooCommerce (Carrito y Checkout) */
    .wc-block-cart__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__main,
    .wc-block-checkout__sidebar {
        padding: 20px !important;
    }

    /* 3. TARJETAS DEL BLOG (GRID): Ajustes milimétricos */
    body.blog .post-image img, 
    body.archive:not(.woocommerce) .post-image img {
        height: 200px !important; /* Reducimos un poco la altura de la imagen en móvil */
    }

    body.blog .entry-header, 
    body.archive:not(.woocommerce) .entry-header,
    body.blog .entry-summary, 
    body.archive:not(.woocommerce) .entry-summary,
    body.blog footer.entry-meta, 
    body.archive:not(.woocommerce) footer.entry-meta {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 4. BOTONES: Ancho completo para facilitar el toque con el dedo pulgar */
    .single-post #respond input[type="submit"],
    .single-product div.product form.cart .button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* 5. Citas (Blockquotes) en los artículos */
    .single-post .entry-content blockquote {
        padding: 20px !important;
        font-size: 1.1em !important;
        margin: 30px 0 !important;
    }
}

.adeg-salesplaybook {
  background: #f5f6f7;
  padding: 40px 0 70px;
}

.adeg-salesplaybook * {
  box-sizing: border-box;
}

.adeg-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  color: #2f3a4a;
}

.adeg-hero {
  background: linear-gradient(135deg, #2f3a4a 0%, #3c4858 100%);
  border-radius: 24px;
  padding: 42px;
  color: #f5f6f7;
  box-shadow: 0 18px 40px rgba(47, 58, 74, 0.18);
}

.adeg-eyebrow,
.adeg-kicker {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #60b3a4;
  margin-bottom: 12px;
}

.adeg-hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: #f5f6f7;
}

.adeg-lead {
  font-size: 18px;
  line-height: 1.75;
  max-width: 900px;
  margin: 0;
  color: rgba(245, 246, 247, 0.92);
}

.adeg-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.adeg-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(8px);
}

.adeg-stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #60b3a4;
  margin-bottom: 8px;
  font-weight: 700;
}

.adeg-stat-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #f5f6f7;
}

.adeg-stat-card p {
  margin: 0;
  color: rgba(245, 246, 247, 0.88);
  line-height: 1.65;
  font-size: 14px;
}

.adeg-section {
  margin-top: 30px;
  background: #ffffff;
  border: 1px solid #e3e7ea;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(47, 58, 74, 0.06);
}

.adeg-section-head {
  margin-bottom: 18px;
}

.adeg-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: #2f3a4a;
}

.adeg-message-box {
  background: linear-gradient(180deg, #f8f9fa 0%, #f2f4f6 100%);
  border: 1px solid #e4e8eb;
  border-radius: 18px;
  padding: 24px;
}

.adeg-big-quote {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  color: #2f3a4a;
  font-weight: 800;
}

.adeg-message-box p:last-child {
  margin-bottom: 0;
}

.adeg-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adeg-card {
  background: #f8f9fa;
  border: 1px solid #e3e7ea;
  border-radius: 18px;
  padding: 22px;
}

.adeg-card-top h3 {
  margin: 10px 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.adeg-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2f3a4a;
  background: #dfe6ea;
  padding: 7px 10px;
  border-radius: 999px;
}

.adeg-badge-premium {
  background: #60b3a4;
  color: #f5f6f7;
}

.adeg-card ul {
  margin: 0 0 14px 18px;
  padding: 0;
  line-height: 1.8;
}

.adeg-card-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #62666b;
}

.adeg-insight-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.adeg-insight-main,
.adeg-insight-side {
  border-radius: 18px;
  padding: 22px;
}

.adeg-insight-main {
  background: #2f3a4a;
  color: #f5f6f7;
}

.adeg-insight-main h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  color: #f5f6f7;
}

.adeg-insight-side {
  background: #f8f9fa;
  border: 1px solid #e3e7ea;
}

.adeg-insight-side h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.adeg-insight-side ul {
  margin: 0 0 0 18px;
  padding: 0;
  line-height: 1.8;
}

.adeg-channel-stack {
  display: grid;
  gap: 18px;
}

.adeg-channel-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid #e3e7ea;
  border-radius: 20px;
  padding: 24px;
}

.adeg-channel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.adeg-channel-title-row h3 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.1;
}

.adeg-channel-icon {
  font-size: 34px;
  line-height: 1;
}

.adeg-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2f3a4a;
  color: #f5f6f7;
}

.adeg-channel-desc {
  margin: 0 0 18px;
  color: #62666b;
  line-height: 1.75;
}

.adeg-mini-block {
  background: #f8f9fa;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  padding: 18px;
}

.adeg-mini-block h4,
.adeg-script h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.adeg-mini-block ul {
  margin: 0 0 0 18px;
  padding: 0;
  line-height: 1.8;
}

.adeg-script {
  margin-top: 18px;
}

.adeg-script-box {
  background: #2f3a4a;
  color: #f5f6f7;
  border-radius: 16px;
  padding: 20px;
}

.adeg-script-box p {
  margin-top: 0;
  line-height: 1.8;
}

.adeg-script-box p:last-child {
  margin-bottom: 0;
}

.adeg-script-box ul {
  margin: 0 0 14px 18px;
  line-height: 1.8;
}

.adeg-whatsapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.adeg-full {
  grid-column: 1 / -1;
}

.adeg-whatsapp-card {
  position: relative;
  overflow: hidden;
}

.adeg-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.adeg-copy-btn {
  appearance: none;
  border: 0;
  background: #2f3a4a;
  color: #f5f6f7;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
}

.adeg-copy-btn:hover {
  background: #60b3a4;
  color: #f5f6f7;
}

.adeg-copy-btn.is-copied {
  background: #60b3a4;
  color: #f5f6f7;
}

.adeg-whatsapp-preview {
  background: #ffffff;
  border: 1px solid #e3e7ea;
  border-radius: 14px;
  padding: 16px;
}

.adeg-whatsapp-preview p {
  margin: 0 0 12px;
  line-height: 1.75;
}

.adeg-whatsapp-preview p:last-child {
  margin-bottom: 0;
}

.adeg-whatsapp-preview ul {
  margin: 0 0 12px 18px;
  padding: 0;
  line-height: 1.8;
}

.adeg-copy-source {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.adeg-call-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.adeg-table-wrap {
  overflow-x: auto;
}

.adeg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.adeg-table th,
.adeg-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid #e3e7ea;
  vertical-align: top;
}

.adeg-table th {
  background: #2f3a4a;
  color: #f5f6f7;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.adeg-table td {
  background: #ffffff;
  color: #2f3a4a;
  line-height: 1.6;
}

.adeg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.adeg-step {
  background: #f8f9fa;
  border: 1px solid #e3e7ea;
  border-radius: 18px;
  padding: 20px;
}

.adeg-step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #60b3a4;
  color: #f5f6f7;
  font-weight: 800;
  margin-bottom: 12px;
}

.adeg-step h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.adeg-step p {
  margin: 0;
  color: #62666b;
  line-height: 1.7;
  font-size: 14px;
}

.adeg-footer-panel {
  margin-top: 30px;
  background: linear-gradient(135deg, #2f3a4a 0%, #3e4b5b 100%);
  border-radius: 22px;
  padding: 30px;
  color: #f5f6f7;
  box-shadow: 0 14px 34px rgba(47, 58, 74, 0.16);
}

.adeg-footer-panel h3 {
  margin: 0 0 12px;
  font-size: 30px;
  color: #f5f6f7;
}

.adeg-footer-panel p {
  margin: 0 0 10px;
  line-height: 1.8;
  color: rgba(245, 246, 247, 0.92);
}

.adeg-footer-strong {
  color: #60b3a4 !important;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .adeg-hero-grid,
  .adeg-cards-3,
  .adeg-insight-grid,
  .adeg-steps {
    grid-template-columns: 1fr;
  }

  .adeg-whatsapp-grid,
  .adeg-call-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .adeg-salesplaybook {
    padding: 20px 0 50px;
  }

  .adeg-shell {
    width: min(100% - 20px, 1180px);
  }

  .adeg-hero,
  .adeg-section,
  .adeg-footer-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .adeg-channel-title-row {
    align-items: flex-start;
  }

  .adeg-channel-icon {
    font-size: 28px;
  }

  .adeg-full {
    grid-column: auto;
  }

  .adeg-copy-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =======================================================
   TRANSICIONES GLOBALES PREMIUM (INTERACCIONES SUAVES)
   ======================================================= */

/* 1. Elementos interactivos base (Enlaces, botones, menús, campos de formulario) */
a,
button,
input,
textarea,
select,
.wp-block-button__link,
.main-navigation .menu-item a {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* 2. Suavizado avanzado para contenedores, tarjetas e imágenes (Evita saltos bruscos) */
img,
.inside-article,
.widget,
.wc-block-components-checkout-button,
.wp-block-image img {
    /* Separamos las transformaciones para que el navegador las procese mejor */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease, 
                background-color 0.3s ease !important;
}

/* =======================================================
   BONUS: EFECTO FADE-IN AL CARGAR CUALQUIER PÁGINA
   ======================================================= */

/* Creamos la animación base (Aparece de la nada y sube ligeramente) */
@keyframes fadeInAdeg {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Se lo aplicamos al contenedor principal de todo el sitio */
.site-main {
    animation: fadeInAdeg 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
/* =======================================================
   RESCATE DEL CHECKOUT CLÁSICO (COMPATIBLE CON OPENPAY)
   ======================================================= */

/* 1. Contenedores principales (Convertirlos en tarjetas oscuras) */
.woocommerce-checkout .col2-set,
#customer_details,
#order_review_heading,
#order_review {
    background-color: #262c36 !important;
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    margin-bottom: 30px !important;
}

/* Títulos y textos generales */
.woocommerce-checkout h3, 
#order_review_heading {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.5em !important;
    border-bottom: 1px solid #38424e;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.woocommerce-checkout form .form-row label {
    color: #a0aab2 !important;
    font-weight: 600;
}

/* 2. Campos del Formulario (Inputs, Selects, Textareas) */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    background-color: #313b47 !important;
    color: #ffffff !important;
    border: 1px solid #4a5568 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    height: auto !important; /* Arregla el alto de Select2 */
}

/* Arreglar el desplegable de países/estados (Select2) */
.select2-dropdown {
    background-color: #313b47 !important;
    border: 1px solid #4a5568 !important;
}
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #7dc2a5 !important;
    color: #1a2027 !important;
}
.select2-results__option {
    color: #a0aab2;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

/* 3. Tabla de Resumen del Pedido */
.woocommerce-checkout table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.woocommerce-checkout table.shop_table th, 
.woocommerce-checkout table.shop_table td {
    border-top: 1px solid #38424e !important;
    color: #a0aab2 !important;
    background: transparent !important;
}

.woocommerce-checkout table.shop_table th {
    color: #ffffff !important;
}

.woocommerce-checkout table.shop_table tfoot th, 
.woocommerce-checkout table.shop_table tfoot td {
    border-top: 2px solid #38424e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 4. LA CAJA DE PAGO (Openpay y Tarjetas) */
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
    background: #1e232a !important; /* Fondo gris oscuro, no el gris claro asqueroso por defecto */
    border-radius: 12px !important;
    border: 1px solid #38424e !important;
    padding: 20px !important;
}

/* Cajas internas explicativas de Openpay */
#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
    background-color: #262c36 !important;
    color: #a0aab2 !important;
    border-radius: 8px !important;
    border: 1px solid #38424e !important;
}

/* La flechita que apunta hacia arriba en las cajas de pago */
#add_payment_method #payment div.payment_box::before, 
.woocommerce-cart #payment div.payment_box::before, 
.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #262c36 !important;
}

/* Etiquetas de los métodos de pago (Tarjetas, SPEI) */
#payment .payment_methods li label {
    color: #ffffff !important;
    font-weight: 700;
}

/* CONTENCIÓN DE LOGOS MASIVOS (Especialmente SPEI de Openpay) */
#payment .payment_methods li img,
.payment_method_openpay_spei img,
.payment_method_openpay_stores img {
    max-width: 120px !important; /* Obliga a los logos a ser pequeños y elegantes */
    height: auto !important;
    display: inline-block;
    margin-left: 10px;
    border-radius: 4px;
    background: white; /* Por si el logo es PNG oscuro y se pierde */
    padding: 2px;
}

/* 5. El Botón Final de Pago (Call to Action) */
#place_order {
    background-color: #7dc2a5 !important; 
    color: #1a2027 !important; 
    border-radius: 50px !important; 
    font-weight: 800 !important; 
    font-size: 16px !important; 
    text-transform: uppercase !important; 
    letter-spacing: 1px !important;
    padding: 18px 32px !important; 
    width: 100% !important; 
    border: none !important; 
    box-shadow: 0 4px 15px rgba(125, 194, 165, 0.2) !important; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; 
    margin-top: 20px !important;
}

#place_order:hover {
    background-color: #65a88c !important; 
    transform: translateY(-3px) !important; 
    box-shadow: 0 8px 25px rgba(125, 194, 165, 0.4) !important; 
    color: #1a2027 !important;
}

/* 6. Enlaces de "Términos y condiciones" o "Tienes un cupón" */
.woocommerce-checkout a {
    color: #7dc2a5 !important;
    text-decoration: none;
}
.woocommerce-checkout a:hover {
    color: #ffffff !important;
}

/* Aviso de Cupón (Arriba) */
.woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: #262c36 !important;
    border-left: 5px solid #7dc2a5 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
}

/* =======================================================
   CORRECCIÓN PROFUNDA: CAJA DE SPEI (OPENPAY)
   ======================================================= */

/* 1. Fulminar el fondo blanco inyectado por el plugin */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei {
    background-color: transparent !important;
}

/* 2. Etiqueta superior (Radio button y texto "Pago seguro...") */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei > label {
    color: #ffffff !important;
    background-color: #262c36 !important; /* Tarjeta oscura para el título */
    padding: 15px 20px !important;
    border-radius: 12px 12px 0 0 !important; /* Redondeado solo arriba */
    margin: 0 !important;
    border: 1px solid #38424e !important;
    border-bottom: none !important;
}

/* 3. La caja interna de instrucciones (Donde están los pasos) */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box {
    background-color: #1e232a !important; /* Un tono más profundo */
    border: 1px solid #38424e !important;
    border-radius: 0 0 12px 12px !important; /* Redondeado solo abajo */
    padding: 30px 20px !important;
    margin: 0 !important;
}

/* 4. Forzar legibilidad de los textos (Quitar el azul oscuro de Openpay) */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box p,
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box span,
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box div {
    color: #a0aab2 !important; /* Gris claro de lectura */
    text-shadow: none !important;
}

/* Apuntar específicamente a los textos que Openpay pinta de colores por defecto (como los títulos de los pasos) */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box [style*="color"] {
    color: #7dc2a5 !important; /* Cambiamos sus colores feos por tu Verde Marca */
    font-weight: 600 !important;
}

/* Forzar títulos a blanco */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box h1,
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box h2,
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box h3,
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box strong {
    color: #ffffff !important;
}

/* 5. Convertir las imágenes cuadradas de los pasos en "Iconos de App" */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box img {
    background-color: #ffffff !important; 
    border-radius: 16px !important; /* Suaviza las esquinas de sus feos JPGs cuadrados */
    padding: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    margin: 15px 0 !important;
}

/* Excepción: Dejar el logo de Openpay del final sin fondo blanco */
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box img[src*="openpay"],
body .woocommerce-checkout #payment ul.payment_methods li.payment_method_openpay_spei div.payment_box img[src*="logo"] {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* =======================================================
   PÁGINA DE PEDIDO RECIBIDO (THANK YOU PAGE / OPENPAY)
   ======================================================= */

/* 1. Mensaje principal de éxito */
.woocommerce-order > p.woocommerce-notice.woocommerce-notice--success,
.woocommerce-order > p.woocommerce-thankyou-order-received {
    background-color: #262c36 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #38424e !important;
    border-left: 5px solid #7dc2a5 !important; /* Tu verde de éxito */
    padding: 20px 20px 20px 50px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    font-size: 1.1em;
}

/* 2. Resumen rápido del pedido (Lista de Fecha, Total, etc.) */
ul.woocommerce-order-overview {
    background-color: #262c36 !important;
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 40px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    list-style: none !important;
}

ul.woocommerce-order-overview li {
    border-right: 1px solid #38424e !important;
    padding-right: 30px !important;
    margin-right: 0 !important;
    color: #a0aab2 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

ul.woocommerce-order-overview li:last-child {
    border-right: none !important;
}

ul.woocommerce-order-overview li strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 18px !important;
    margin-top: 8px !important;
    text-transform: none !important;
}

/* 3. Títulos de las secciones (Detalles, Dirección) */
.woocommerce-order h2 {
    color: #ffffff !important;
    font-size: 1.5em !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #38424e !important;
    padding-bottom: 10px !important;
    margin-top: 40px !important;
}

/* 4. Tablas de detalles de la compra */
.woocommerce-order table.shop_table.order_details,
.woocommerce-order table.customer_details {
    background-color: #262c36 !important;
    border: 1px solid #38424e !important;
    border-radius: 12px !important;
    margin-bottom: 40px !important;
    border-collapse: separate !important; /* Permite bordes redondeados en la tabla */
    overflow: hidden !important;
    width: 100% !important;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
    border-top: 1px solid #38424e !important;
    color: #a0aab2 !important;
    padding: 15px 20px !important;
    background: transparent !important;
}

/* Cabecera de la tabla */
.woocommerce-order table.shop_table thead th {
    border-top: none !important;
    background-color: #1e232a !important; /* Un poco más oscuro para diferenciar */
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Pie de la tabla (Totales) */
.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
    border-top: 2px solid #38424e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* 5. El famoso Iframe del recibo SPEI de Openpay */
.woocommerce-order iframe {
    border: 1px solid #38424e !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    background-color: #ffffff !important; /* Forzamos blanco detrás del PDF/HTML de Openpay por si tiene fondo transparente */
    display: block;
}

/* Ajuste móvil para el resumen en fila */
@media (max-width: 768px) {
    ul.woocommerce-order-overview {
        flex-direction: column !important;
    }
    ul.woocommerce-order-overview li {
        border-right: none !important;
        border-bottom: 1px solid #38424e !important;
        padding-right: 0 !important;
        padding-bottom: 15px !important;
    }
    ul.woocommerce-order-overview li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
}
