/*
Theme Name: sensedispense
Author: sensedispense
Description: sensedispense
Version: 1.0
*/

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    color: #333;
}

body:not(.home) {
    padding-top: 110px !important;
    /* Compensación para que el contenido no quede oculto bajo el cabezal fijo */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:not(.home) main {
    flex: 1 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Top Bar (Azul) - Clon Perfecto */
.top-bar {
    background-color: #0f8ccd !important;
    color: #fff !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    /* font-size: 18px !important; */
    font-weight: 700 !important;
    position: relative !important;
}

.top-bar .container {
    display: flex;

    align-items: center;
    width: 100%;
    height: 100%;
}

.top-bar-left {
    position: absolute;
    left: 15%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
}

.top-bar-left span {
    margin: 0 15px;
}

.top-bar-right {
    position: absolute;
    right: 40px;
    display: flex;
    align-items: center;
}

.social-icon {
    text-decoration: none !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.3s ease !important;
    border: none !important;
    background: none !important;
}

.social-icon img {
    display: block !important;
    width: 35px !important;
    height: auto !important;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Main Navigation (Blanca) - Clon Perfecto */
.main-navigation {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-left: auto;
}

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 17px;
    transition: color 0.3s;
    position: relative;
    /* Necesario para la línea animada */
}

/* Línea animada oculta por defecto */
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    /* Separación debajo del texto */
    left: 0;
    background-color: #0086B3;
    transition: width 0.3s ease;
}

/* Estilo para el link activo dinámico */
.nav-menu a.active {
    color: #0086B3 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

.nav-menu a:hover {
    color: #0086B3;
}

/* Mostrar la línea al hacer hover o si está activo */
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Footer - Clon Perfecto */
.site-footer {
    padding: 60px 0 40px 0;
    background-color: #fff;
}

.footer-box {
    background-color: #f0f2f5 !important;
    border-radius: 15px !important;
    padding: 50px !important;
    margin-bottom: 40px !important;
    max-width: 1200px !important;
    /* Ajustado para coincidir con el contenido de arriba */
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer-main {
    display: flex !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

.footer-col {
    flex: 1;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-title {
    color: #0f8ccd;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.footer-abn {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 25px;
    color: #333;
}

.footer-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-icon {
    color: #0f8ccd;
    font-size: 18px;
    margin-top: 4px;
}

.info-label {
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.info-text {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.footer-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 200px;
}

.eway-logo {
    max-width: 250px;
    height: auto;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-icon img {
    width: 40px;
    height: auto;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #333;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    /* Necesario para la línea animada */
}

/* Línea animada oculta por defecto */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    /* Separación para el texto del footer */
    left: 0;
    background-color: #0086B3;
    /* Azul del logo */
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #0086B3;
}

/* Mostrar la línea al hacer hover */
.footer-links a:hover::after {
    width: 100%;
}

.footer-links .separator {
    margin: 0 10px;
    color: #ccc;
}

/* Header Actions & Cart */
.header-actions {
    display: flex;
    align-items: center;
    margin-left: 35px;
}

.cart-contents {
    text-decoration: none;
    color: #2c3e50;
    /* Color oscuro del carrito de Astra */
    position: relative;
    font-size: 22px;
    /* Ligeramente más pequeño para igualar proporción */
    display: flex;
    align-items: center;
    gap: 8px;
    /* Espacio entre el precio y el icono */
}

.cart-total-amount {
    font-size: 16px;
    font-weight: 600;
    color: #003853;
    /* Color azul oscuro del precio */
}

.cart-count {
    background-color: #2c3e50;
    /* Azul oscuro corporativo de Astra */
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -10px;
    font-weight: bold;
}

/* ==========================================================================
   MINI CART DROPDOWN (ON HOVER)
   ========================================================================== */
.site-header-cart {
    position: relative;
    padding-bottom: 20px;
    /* Tolerancia para hover */
    margin-bottom: -20px;
}

.custom-mini-cart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 4px;
}

.site-header-cart:hover .custom-mini-cart {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Estilos internos: Transformación total a diseño Astra */
.custom-mini-cart .widget_shopping_cart_content {
    font-size: 14px;
    color: #333;
}

.custom-mini-cart ul.cart_list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-mini-cart ul.cart_list li {
    position: relative;
    padding: 15px 0 15px 75px !important;
    /* Espacio para la imagen a la izquierda */
    min-height: 80px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Botón de eliminar (X) */
.custom-mini-cart ul.cart_list li a.remove {
    position: absolute !important;
    top: 15px !important;
    right: 0 !important;
    left: auto !important;
    color: #999 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    font-family: Arial, sans-serif !important;
    /* Fuente del sistema para centrado perfecto de la X */
    text-decoration: none !important;
    width: 22px !important;
    height: 22px !important;
    line-height: 20px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    border-radius: 50% !important;
    background: transparent !important;
    transition: all 0.2s;
    z-index: 10;
}

.custom-mini-cart ul.cart_list li a.remove:hover {
    background-color: #f0f0f0 !important;
    color: #333 !important;
}

/* Imagen del producto */
.custom-mini-cart ul.cart_list li img {
    position: absolute !important;
    top: 15px !important;
    left: 0 !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    background: #f8f8f8;
    border: 1px solid #eaeaea;
    padding: 5px;
    float: none !important;
    margin: 0 !important;
}

/* Título del producto */
.custom-mini-cart ul.cart_list li>a:not(.remove) {
    display: block;
    color: #003853 !important;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 5px;
    padding-right: 25px;
    /* Evitar que choque con la X */
}

.custom-mini-cart ul.cart_list li>a:not(.remove):hover {
    color: #0086B3 !important;
}

/* Cantidad y Precio */
.custom-mini-cart ul.cart_list li .quantity {
    color: #555 !important;
    font-size: 13px !important;
}

/* Subtotal */
.custom-mini-cart .woocommerce-mini-cart__total {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eaeaea !important;
    margin: 0 0 15px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.custom-mini-cart .woocommerce-mini-cart__total strong {
    font-weight: normal !important;
    color: #333 !important;
}

.custom-mini-cart .woocommerce-mini-cart__total .amount {
    font-weight: 600 !important;
    color: #003853 !important;
}

/* Botones */
.custom-mini-cart .woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-mini-cart .woocommerce-mini-cart__buttons .button {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    padding: 12px 0 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Botón View Cart (Transparente) */
.custom-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout) {
    background-color: transparent !important;
    color: #003853 !important;
}

.custom-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
    color: #0086B3 !important;
}

/* Botón Checkout (Azul) */
.custom-mini-cart .woocommerce-mini-cart__buttons .checkout {
    background-color: #0086B3 !important;
    color: #fff !important;
}

.custom-mini-cart .woocommerce-mini-cart__buttons .checkout:hover {
    background-color: #006b90 !important;
}

/* ==========================================================================
   HERO SECTION - Custom Scratch Implementation
   ========================================================================== */

.hero-section {
    background: linear-gradient(180deg, #eaf6fd 0%, #ffffff 100%);
    padding: 20px 0 80px 0;
    /* Arriba reducido a 20px */
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    max-width: 1600px !important;
    width: 95% !important;
}

/* Badge superior */
.hero-badge,
a.hero-badge,
.hero-badge a {
    background: linear-gradient(90deg, #0f8ccd 0%, #17a2d7 100%) !important;
    color: #ffffff !important;
    padding: 12px 60px;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 25px;
    width: 400px;
    margin: 0 auto 40px auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 140, 205, 0.2);
    position: relative;
    z-index: 20;
    text-decoration: none !important;
    display: block;
    margin-top: 70px;
    letter-spacing: 0.03em;
}

.hero-badge:hover,
a.hero-badge:hover,
a.hero-badge:link,
a.hero-badge:visited,
a.hero-badge:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 550px;
}

/* Círculos con Borde Giratorio */
.hero-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    z-index: 1;
}

/* El "Borde" que gira */
.hero-circle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(15, 140, 205, 0.6);
    border-bottom-color: rgba(15, 140, 205, 0.6);
    animation: rotate-border 1s linear infinite;
    /* VELOCIDAD MÁXIMA */
}

/* Segundo arco para efecto de segmentos */
.hero-circle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-left-color: rgba(15, 140, 205, 0.2);
    border-right-color: rgba(15, 140, 205, 0.2);
}

.circle-inner {
    z-index: 2;
    padding: 20px;
}

.text-blue {
    color: #0f8ccd;
    font-weight: 800;
    line-height: 1.1;
    display: block;
}

/* POSICIONAMIENTO EXTREMO A LOS LADOS */
.circle-lg {
    width: 420px;
    height: 420px;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
}

.hero-circles-right {
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    width: 450px;
}

.circle-md {
    width: 280px;
    height: 280px;
    font-size: 24px;
    top: 20px;
    right: 0;
}

.circle-sm {
    width: 220px;
    height: 220px;
    font-size: 18px;
    bottom: 20px;
    left: 0;
}

/* Animación de Rotación del Borde */
@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Producto central */
.hero-product {
    z-index: 10;
    position: relative;
    pointer-events: none;
}

.product-img {
    max-width: 820px;
    height: 650px;
    object-fit: contain;
    /* Para que no se deforme */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.features-title {
    text-align: center;
    color: #2c3e50;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 280px;
    letter-spacing: 0.5px;
}

.features-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-width: 200px;
}

.feature-icon {
    width: 80px !important;
    height: 80px !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}

.feature-icon img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
}

/* ESTILOS DEL SLIDER */
.slider-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.slider-item {
    position: relative;
    padding: 0;
    /* Eliminado para que el título no se salga */
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-container__sd-text {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 90% !important;
    transform: translateY(-50%) !important;
    background-color: rgba(15, 140, 205, 0.95) !important;
    color: #fff !important;
    padding: 15px 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    pointer-events: none !important;
    letter-spacing: 1px !important;
    z-index: 99 !important;
}

.slider-item:hover,
.slider-image:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   INDUSTRIES SECTION (NEW SLIDER)
   ========================================================================== */

.industries-section {
    padding: 80px 100px;
    /* Aumentado a 100px para márgenes laterales potentes */
    background-color: #fff;
    overflow: hidden;
}

/* Forzar espacio entre diapositivas de forma limpia */
.glide__slide {
    display: flex !important;
    justify-content: center !important;
}

.slider-image {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    background-color: #fff;
    opacity: 1 !important;
    overflow: hidden !important;
    border-radius: 20px !important;
}

.slider-image img {
    width: 100% !important;
    height: 500px !important;
    /* Subida la altura para que luzcan las 2 fotos */
    object-fit: cover !important;
    display: block !important;
}

.feature-text h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.feature-text p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   SPECIFICATIONS MODULE (NEW)
   ========================================================================== */

/* Reset Agresivo para eliminar cualquier línea fantasma */
.sd-spec-section,
.sd-spec-section *,
.sd-spec-container,
.sd-spec-container * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Matar específicamente los divisores de temas comunes */
.sd-spec-section div,
.sd-spec-section span,
.sd-spec-section section {
    border: 0px solid transparent !important;
    outline: 0px solid transparent !important;
}

.sd-spec-section ::before,
.sd-spec-section ::after {
    display: none !important;
    content: none !important;
}

.sd-spec-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.sd-spec-container {
    max-width: 1200px !important;
    margin: 0 auto;
    /* La altura se controlará de forma manual para clavar la proporción de la Imagen 1 */
}

/* Caja Superior */
.sd-spec-top-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    /* SECRETO: Columna de texto ancha, columna de vídeo estrecha (formato vertical) */
    gap: 40px;
    align-items: center;
    background-color: #231e1f !important;
    padding: 50px 60px !important;
    /* Padding elegante restaurado */
    border-radius: 15px;
    color: #fff;
    margin-bottom: 40px !important;
    overflow: hidden;
    height: 700px !important;
    /* ALTURA ALTA PARA QUE EL VÍDEO VERTICAL QUEPA ENTERO */
    box-sizing: border-box !important;
}

/* Forzar que ninguna columna tenga borde lateral o divisores */
.sd-spec-top-grid>div,
.sd-spec-top-grid>div::before,
.sd-spec-top-grid>div::after {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.sd-spec-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff !important;
}

.sd-spec-title,
.sd-spec-info h1,
.sd-spec-info h1.sd-spec-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
    color: #ffffff !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

.sd-spec-text,
.sd-spec-text p,
.sd-spec-info p {
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #e2e8f0 !important;
    margin-bottom: 8px !important;
}

.sd-spec-leadtime {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 18px !important;
    margin-top: 18px !important;
}

.sd-spec-leadtime strong {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #38bdf8 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.02em !important;
}

.sd-spec-leadtime p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #cbd5e1 !important;
    margin-bottom: 5px !important;
}

.sd-spec-info a,
.sd-spec-info span,
.sd-spec-info b {
    color: #ffffff !important;
}

.sd-spec-video-wrapper {
    align-self: stretch !important;
    /* ORDEN ESTRICTA: ESTÍRATE A LO ALTO PARA MOSTRAR EL VÍDEO COMPLETO */
    overflow: hidden !important;
    position: relative;
    border: none !important;
}

.sd-spec-video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    object-fit: cover;
    object-position: center;
    /* Como la caja ahora es ancha (Imagen 1), el centro es perfecto */
    border-radius: 0 !important;
    clip-path: inset(1px);
}

.sd-spec-bottom-video video {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    clip-path: inset(1px);
}


.sd-main-cta-wrapper {
    text-align: center;
    background-color: #fff;
}

.sd-main-cta {
    display: inline-flex !important;
    justify-content: center;
    position: relative;
    /* Clave para que la flecha se posicione respecto al botón */
    background-color: #0f8ccd;
    color: #fff !important;
    padding: 18px 60px !important;
    /* Espacio de sobra para que no choque la flecha */
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(15, 140, 205, 0.25);
    min-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
}

.sd-main-cta:hover {
    background-color: #0b7bb4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 140, 205, 0.4);
}

.sd-cta-arrow {
    position: absolute;
    right: 30px;
    /* Siempre a 30px del borde derecho, imposible que pise el texto */
    top: 50%;
    margin-top: -6px;
    /* Centrado vertical exacto */
    display: inline-block;
    width: 9px;
    height: 9px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
}

/* Caja Inferior Independiente */
.sd-spec-bottom-video {
    width: 100%;
    background-color: #231e1f !important;
    padding: 0 !important;
    border-radius: 15px;
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    overflow: hidden !important;
    height: 700px !important;
    /* CLONADA A LA CAJA SUPERIOR EXACTAMENTE */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive para el módulo de Specs */
@media (max-width: 1100px) {
    .sd-spec-section {
        padding: 60px 40px;
    }

    .sd-spec-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sd-spec-title {
        font-size: 36px;
    }
}


#home-head>.fixed {
    position: fixed;
    left: 0;
    right: 0;
}

/* ==========================================================================
   ABOUT US PAGE - LUXURY INDUSTRIAL DESIGN REDESIGN
   ========================================================================== */

/* Container Expansion for Rich About Us Page */
.content-area:has(.about-page),
main:has(.about-page) .content-area,
body.page-id-24 .content-area,
.content-area.about-wide {
    max-width: 1400px !important;
    padding: 0 20px !important;
    margin: 20px auto 60px auto !important;
}

.article-full:has(.about-page),
main:has(.about-page) .article-full,
body.page-id-24 .article-full,
.article-full.about-wide {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.about-page {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #1e293b;
    overflow-x: hidden;
}

.about-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* 1. Hero Header */
.about-hero {
    background: linear-gradient(180deg, #edf6fc 0%, #ffffff 100%);
    padding: 70px 0 55px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #eef2f6;
    border-radius: 20px;
    margin-bottom: 40px;
}

.about-badge {
    display: inline-block;
    background: rgba(15, 140, 205, 0.12);
    color: #0f8ccd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.about-hero__title {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 18px 0;
    line-height: 1.2;
}

.about-hero__subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: #475569;
    max-width: 860px;
    margin: 0 auto;
}

.about-link {
    color: #0f8ccd !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.about-link:hover {
    color: #09689a !important;
}

/* 2. Pillars Section */
.about-pillars-section {
    padding: 40px 0 70px 0;
    background: transparent;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 42px 34px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 140, 205, 0.12);
    border-color: #bae6fd;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0f8ccd 0%, #17a2d7 100%);
    color: #ffffff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin: 0 auto 24px auto;
    box-shadow: 0 8px 20px rgba(15, 140, 205, 0.3);
}

.pillar-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.pillar-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* 3. Showcase Grid */
.about-showcase-section {
    padding: 70px 0 85px 0;
    background: #ffffff;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    border-radius: 24px;
    margin-bottom: 50px;
}

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.section-heading p {
    font-size: 17px;
    color: #64748b;
    margin: 0;
}

.about-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    align-items: stretch;
}

.showcase-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 140, 205, 0.15);
}

.showcase-media {
    position: relative;
    width: 100%;
    height: 320px;
    background: #0f172a;
    overflow: hidden;
}

.showcase-media img,
.showcase-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cycling Gallery (Smooth automatic crossfade slideshow) */
.cycling-gallery {
    position: relative;
    width: 100%;
    height: 320px;
    background: #0f172a;
    overflow: hidden;
}

.cycling-gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cycling-gallery img.active {
    opacity: 1;
    pointer-events: auto;
}

.showcase-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 10;
}

.showcase-tag.tag-blue {
    background: #0f8ccd;
}

.showcase-content {
    padding: 28px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.showcase-content p {
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* 4. Partnership Section (Rejuvinate) */
.about-partner-section {
    padding: 20px 0 60px 0;
    background: transparent;
}

.partner-card {
    background: linear-gradient(135deg, #071f38 0%, #031122 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 28px !important;
    padding: 65px 70px !important;
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    box-shadow: 0 24px 60px rgba(7, 31, 56, 0.4) !important;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(15, 140, 205, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.partner-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.18) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.partner-info h2,
.partner-card h2,
.about-page .partner-card h2,
.about-page .partner-info h2 {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 18px 0 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}

.partner-logo-wrap {
    margin-bottom: 22px;
}

.partner-logo {
    max-height: 50px;
    width: auto !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.partner-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #cbd5e1 !important;
    margin: 0 0 26px 0;
}

.partner-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
}

.partner-specs li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0 !important;
}

.partner-specs li i {
    color: #38bdf8 !important;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.partner-specs li strong {
    color: #ffffff !important;
}

.partner-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f8ccd;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(15, 140, 205, 0.4);
}

.btn-primary:hover {
    background: #09689a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 140, 205, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.partner-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.partner-image-wrapper {
    position: relative;
    background: #ffffff;
    padding: 16px;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-product-img {
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    display: block;
    transform: scale(1.06);
    transition: transform 0.4s ease;
}

.partner-image-wrapper:hover .partner-product-img {
    transform: scale(1.1);
}

.partner-image-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background: linear-gradient(135deg, #0f8ccd 0%, #17a2d7 100%);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 140, 205, 0.45);
    text-align: center;
    z-index: 5;
}

.partner-image-badge span {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff !important;
}

.partner-image-badge small {
    display: block;
    font-size: 11px;
    opacity: 0.95;
    color: #ffffff !important;
}

/* 5. Bottom CTA Strip */
.about-cta-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7fc 100%);
    border-top: 1px solid #eef2f6;
    border-radius: 24px;
    margin-bottom: 40px;
}

.about-cta-section h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.about-cta-section p {
    font-size: 17px;
    color: #64748b;
    margin: 0 0 30px 0;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 38px;
    font-size: 16px;
}

.about-cta-section .btn-outline {
    border-color: #cbd5e1;
    color: #0f172a !important;
}

.about-cta-section .btn-outline:hover {
    background: #f1f5f9;
    border-color: #0f8ccd;
    color: #0f8ccd !important;
}

/* =========================================
   WOOCOMMERCE SHOP PAGE CUSTOM STYLES
   ========================================= */

/* Header & Sorting */
.woocommerce-products-header__title {
    color: #0087bf;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.woocommerce-result-count {
    float: left;
    color: #666;
    margin-top: 10px;
}

.woocommerce-ordering {
    float: right;
    margin-bottom: 30px;
}

.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

/* Clearfix for floats */
.woocommerce-ordering::after {
    content: "";
    display: table;
    clear: both;
}

/* Dropdown (Select) Custom Styling */
.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px dotted #777;
    /* Borde punteado como en la imagen */
    background-color: #fff;
    color: #006b99;
    /* Texto azulado */
    outline: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0;
}

.woocommerce-ordering select:focus {
    border: 1px dotted #333;
}

.woocommerce-ordering select option {
    padding: 10px;
    background-color: #fff;
    color: #006b99;
    /* Texto de las opciones en azul */
}

.woocommerce-ordering select option:checked {
    background-color: #666;
    /* Fondo gris oscuro para la opción seleccionada */
    color: #fff;
}

/* Product Grid */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 60px auto 0 auto !important;
    max-width: 1100px;
    clear: both;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

/* Individual Product Card */
ul.products li.product {
    position: relative;
    text-align: center;
    flex-direction: column;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding-bottom: 0px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

ul.products li.product:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

/* Product Link Container (Image Wrapper) */
ul.products li.product a.woocommerce-LoopProduct-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Product Image */
ul.products li.product img {
    width: 100%;
    height: 250px !important;
    background-color: #e8f5fb;
    margin-bottom: 15px;
    object-fit: contain;
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
}

/* Sale Badge */
ul.products li.product .onsale {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    background-color: #0f8ccd !important;
    color: #fff !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 42px !important;
}

/* Loop Product Category Label & Generic Category Links */
.loop-product-category {
    display: block !important;
    font-size: 11px !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    margin: 15px 15px 2px 15px !important;
    text-align: center !important;
}

/* Forzar que los enlaces de categoría (visitados o no) sean grises en las tarjetas de producto */
ul.products li.product a[href*="/product-category/"],
ul.products li.product a[href*="/product-category/"]:visited,
.loop-product-category a,
.loop-product-category a:visited {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

ul.products li.product a[href*="/product-category/"]:hover,
.loop-product-category a:hover {
    color: #0f8ccd !important;
    text-decoration: none !important;
}

/* Product Title */
ul.products li.product .woocommerce-loop-product__title {
    color: #003853 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 5px 15px 10px 15px !important;
    line-height: 1.3 !important;
    padding: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Price Section */
ul.products li.product .price {
    display: block;
    margin-bottom: 15px;
    font-size: 16px !important;
    color: #003853 !important;
    font-weight: 700 !important;
}

ul.products li.product .price del {
    color: #94a3b8 !important;
    text-decoration: line-through;
    margin-right: 6px;
    font-size: 13px;
    font-weight: normal;
}

ul.products li.product .price ins {
    text-decoration: none;
    color: #0f8ccd !important;
    font-weight: 700 !important;
}

ul.products li.product .price .woocommerce-price-suffix {
    color: #64748b !important;
    font-size: 11px;
    margin-left: 3px;
    font-weight: 500;
}

/* Add to Cart Button */
ul.products li.product .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #0f8ccd !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    align-self: center;
    margin: auto 15px 15px 15px !important;
    border: none !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

ul.products li.product .button:hover {
    background-color: #0b7bb4 !important;
    transform: translateY(-2px) !important;
}

/* Store Vendor Badge inside loop */
.wcfmmp_sold_by_container {
    margin: 5px 15px 15px 15px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
    display: block !important;
    clear: both !important;
}

.wcfmmp_sold_by_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.wcfmmp_sold_by_logo {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* ==========================================================================
   RELATED PRODUCTS SECTION - Astra Match Style
   ========================================================================== */
.woocommerce .related,
section.related.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 45px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 60px auto !important;
    padding: 40px !important;
    box-sizing: border-box !important;
    background-color: #eaf6fd !important;
    border-radius: 12px !important;
}

.woocommerce .related h2,
section.related.products h2 {
    flex: 0 0 150px !important;
    width: 150px !important;
    font-size: 24px !important;
    color: #2c3e50 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    border: none !important;
}

.woocommerce .related ul.products,
section.related.products ul.products {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
    /* Prevents cards from stretching vertically */
}

/* Individual Card Styling inside Related Products */
.woocommerce .related ul.products li.product,
section.related.products ul.products li.product {
    flex: 0 1 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-bottom: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    transition: none !important;
}

.woocommerce .related ul.products li.product:hover,
section.related.products ul.products li.product:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Hide empty category container to reclaim vertical space */
.woocommerce .related ul.products li.product .loop-product-category,
section.related.products ul.products li.product .loop-product-category {
    display: none !important;
}

/* Product image wrapper & element style inside Related Products */
.woocommerce .related ul.products li.product a.woocommerce-LoopProduct-link,
section.related.products ul.products li.product a.woocommerce-LoopProduct-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    flex-grow: 0 !important;
    flex: none !important;
}

.woocommerce .related ul.products li.product img,
section.related.products ul.products li.product img {
    background-color: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
}

/* Sale badge style inside Related Products */
.woocommerce .related ul.products li.product .onsale,
section.related.products ul.products li.product .onsale {
    background-color: #2c3e50 !important;
    font-size: 10px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-weight: 600 !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
}

/* Category links inside Related Products */
.woocommerce .related ul.products li.product a[href*="/product-category/"],
section.related.products ul.products li.product a[href*="/product-category/"] {
    display: block !important;
    font-size: 11px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #64748b !important;
    font-weight: 400 !important;
    margin: 5px auto 2px auto !important;
    text-align: center !important;
    text-decoration: none !important;
}

.woocommerce .related ul.products li.product a[href*="/product-category/"]:hover,
section.related.products ul.products li.product a[href*="/product-category/"]:hover {
    color: #0f8ccd !important;
}

/* Title inside Related Products */
.woocommerce .related ul.products li.product .woocommerce-loop-product__title,
section.related.products ul.products li.product .woocommerce-loop-product__title {
    color: #2c3e50 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin: 2px auto 10px auto !important;
    line-height: 1.3 !important;
    height: 40px !important;
    /* Altura fija para que todas las tarjetas midan lo mismo */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* Price inside Related Products */
.woocommerce .related ul.products li.product .price,
section.related.products ul.products li.product .price {
    font-size: 14px !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    margin: 0 auto 10px auto !important;
    text-align: center !important;
    width: 180px !important;
    max-width: 180px !important;
    display: block !important;
    white-space: nowrap !important;
}

.woocommerce .related ul.products li.product .price del,
section.related.products ul.products li.product .price del {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin-right: 6px !important;
}

.woocommerce .related ul.products li.product .price ins,
section.related.products ul.products li.product .price ins {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Add to cart button inside Related Products */
.woocommerce .related ul.products li.product .button,
section.related.products ul.products li.product .button {
    background-color: #0f8ccd !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    width: 180px !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
    margin: 0 auto 10px auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    white-space: nowrap !important;
    align-self: center !important;
    border: none !important;
    cursor: pointer !important;
}

.woocommerce .related ul.products li.product .button:hover,
section.related.products ul.products li.product .button:hover {
    background-color: #0b7bb4 !important;
    transform: translateY(-2px) !important;
}

/* Store Vendor Badge inside Related Products */
.woocommerce .related ul.products li.product .wcfmmp_sold_by_container,
section.related.products ul.products li.product .wcfmmp_sold_by_container {
    border-top: none !important;
    margin: 5px 0 0 0 !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    width: 100% !important;
}

.woocommerce .related ul.products li.product .wcfmmp_sold_by_wrapper,
section.related.products ul.products li.product .wcfmmp_sold_by_wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.woocommerce .related ul.products li.product .wcfmmp_sold_by_logo,
.woocommerce .related ul.products li.product .wcfmmp_sold_by_container img,
section.related.products ul.products li.product .wcfmmp_sold_by_logo,
section.related.products ul.products li.product .wcfmmp_sold_by_container img {
    width: auto !important;
    height: 12px !important;
    max-height: 12px !important;
    margin: 0 4px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce .related ul.products li.product .wcfmmp_sold_by_container a,
section.related.products ul.products li.product .wcfmmp_sold_by_container a {
    color: #0086B3 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Store Rating inside Related Products */
.woocommerce .related ul.products li.product .wcfmmp-store-rating,
section.related.products ul.products li.product .wcfmmp-store-rating {
    margin: 4px auto 0 auto !important;
    display: block !important;
    text-align: center !important;
    float: none !important;
    width: 100% !important;
}

/* Mobile responsiveness for Related Products */
@media (max-width: 768px) {

    .woocommerce .related,
    section.related.products {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 25px !important;
        padding: 20px !important;
    }

    .woocommerce .related h2,
    section.related.products h2 {
        flex: 0 0 auto !important;
        width: 100% !important;
        text-align: center !important;
    }

    .woocommerce .related ul.products,
    section.related.products ul.products {
        justify-content: center !important;
    }
}

/* Store Vendor Info */
.wcfmmp_sold_by_container {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center store info */
}

.wcfmmp_sold_by_logo {
    width: 18px !important;
    height: 18px !important;
    margin: 0 5px !important;
    vertical-align: middle;
    background: transparent !important;
}

.wcfm_dashboard_item_title {
    color: #00b4d8;
    text-decoration: none;
    font-weight: bold;
}


.content-area,
.site-main {
    margin: 60px auto !important;
    padding: 0 20px;
}


.home .content-area,
.home .site-main {
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Centrar y limitar el contenedor principal en páginas de tienda y producto */
body.woocommerce .site-main,
body.archive .site-main {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-product .site-main {
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Alineación de cabecera de categoría */
.woocommerce-products-header {
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    clear: both !important;
}

/* Migas de pan (Breadcrumbs) alineadas a la izquierda */
body.woocommerce nav.woocommerce-breadcrumb,
body.archive nav.woocommerce-breadcrumb,
.woocommerce-breadcrumb,
.woocommerce-breadcrumbs,
.yoast-breadcrumbs,
.breadcrumbs,
.breadcrumb,
.ast-breadcrumbs,
.ast-breadcrumbs-wrapper,
#breadcrumbs,
#breadcrumb,
.breadcrumbs-container {
    display: block !important;
    float: none !important;
    clear: both !important;
    text-align: left !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
}

/* Ocultar migas de pan en página de producto único */
body.single-product nav.woocommerce-breadcrumb {
    display: none !important;
}

/* Contador de resultados alineado a la izquierda */
.woocommerce-result-count {
    float: left !important;
    clear: left !important;
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
}

/* Selector de ordenamiento alineado a la derecha en la misma fila */
.woocommerce-ordering {
    float: right !important;
    clear: right !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
}

/* OCULTAR BARRA LATERAL (PAGES / SEARCH) */
#secondary,
.widget-area,
.sidebar,
#sidebar,
aside,
.widget,
.widget_search,
.widget_pages,
.widget_archive,
.widget_categories,
aside#secondary,
div#secondary {
    display: none !important;
}

/* Responsive Grid */
@media (max-width: 992px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    ul.products {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
    }
}

/* ==========================================================================
   BRAND FILTER CARDS (SHOP PAGE)
   ========================================================================== */
.brand-cards-container {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #eaeaea;
}

.brand-cards-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #003853;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.brand-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 134, 179, 0.15);
    border-color: #0086B3;
}

.brand-card-img {
    height: 220px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
}

.brand-card-img img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-card-img img {
    transform: scale(1.05);
}

.brand-card-title {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.brand-card-title h3 {
    margin: 0 0 10px 0;
    color: #003853;
    font-size: 20px;
    font-weight: 700;
}

.brand-card-title .view-products {
    color: #0086B3;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-card-title .view-products {
    color: #003853;
}

/* Mobile Responsiveness for Brand Cards */
@media (max-width: 768px) {
    .brand-cards-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

/* ==========================================================================
   WOOCOMMERCE SINGLE PRODUCT PAGE - Astra Match Style
   ========================================================================== */

/* Sale Badge - Circular Blue Style */
.woocommerce span.onsale,
span.onsale {
    background-color: #0f8ccd !important;
    /* Blue background */
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 0 !important;
    min-height: 40px !important;
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 99 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Product gallery borders & shadows */
.woocommerce-product-gallery__image a img {
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    background-color: #fff !important;
}

/* Thumbnails spacing */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin-bottom: 20px !important;
}

/* Zoom search icon styling */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 99 !important;
    background: #fff !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    color: #666 !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f002" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
}

/* Single Product Title */
.single-product .product_title {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #003853 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px !important;
}

/* Single Product Price */
.single-product p.price,
.single-product span.price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #003853 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.single-product p.price del,
.single-product span.price del {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    text-decoration: line-through !important;
}

.single-product p.price ins,
.single-product span.price ins {
    text-decoration: none !important;
    color: #0f8ccd !important;
    /* Blue active price */
}

.single-product .woocommerce-price-suffix {
    font-size: 16px !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

/* Product short description & list styling */
.single-product .woocommerce-product-details__short-description {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin-bottom: 30px !important;
}

.single-product .woocommerce-product-details__short-description ul {
    padding-left: 20px !important;
    margin-top: 15px !important;
}

.single-product .woocommerce-product-details__short-description li {
    list-style-type: disc !important;
}

/* Availability & Stock status */
.single-product .stock {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.single-product .stock.in-stock {
    color: #16a34a !important;
    /* Green */
}

/* Quantity input & Add to Cart wrapper */
.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.single-product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    width: fit-content !important;
    margin: 0 !important;
    height: 44px !important;
    background-color: #fff !important;
}

.single-product .quantity input.qty {
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    text-align: center !important;
    font-size: 15px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    background: #fff !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: none !important;
}

.single-product .quantity input.qty::-webkit-inner-spin-button,
.single-product .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.single-product .quantity .qty-btn {
    background: #f4f4f4 !important;
    border: none !important;
    width: 36px !important;
    height: 44px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #555 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.15s ease !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.single-product .quantity .qty-btn:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.single-product .quantity .qty-minus {
    border-right: 1px solid #ccc !important;
}

.single-product .quantity .qty-plus {
    border-left: 1px solid #ccc !important;
}

/* Add to Cart Button Style */
.single-product form.cart .button.single_add_to_cart_button {
    height: 44px !important;
    background-color: #0f8ccd !important;
    /* Blue background */
    color: #fff !important;
    padding: 0 35px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product form.cart .button.single_add_to_cart_button:hover {
    background-color: #0b7bb4 !important;
}

/* Product Metadata (SKU, Categories, Tags, Brands) */
.single-product .product_meta {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 20px !important;
    margin-top: 25px !important;
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.8 !important;
}

.single-product .product_meta>span {
    display: block !important;
    margin-bottom: 6px !important;
}

.single-product .product_meta a {
    color: #0f8ccd !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.single-product .product_meta a:hover {
    color: #0b7bb4 !important;
    text-decoration: underline !important;
}

/* Bloquear y atenuar botón "Add to cart" mientras está cargando */
.woocommerce a.button.loading,
.woocommerce button.button.loading,
.woocommerce a.button.is-adding-to-cart,
.woocommerce button.button.is-adding-to-cart,
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after {
    pointer-events: none !important;
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    transition: opacity 0.2s ease !important;
}

/* =============================================
   CART PAGE STYLES
   ============================================= */

/* Override purple/default Astra button colors → brand blue */
.woocommerce-cart .woocommerce a.button,
.woocommerce-cart .woocommerce button.button,
.woocommerce-cart .woocommerce input.button,
.woocommerce-cart .button,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.checkout-button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-proceed-to-checkout .checkout-button {
    background-color: #0f8ccd !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce-cart .woocommerce a.button:hover,
.woocommerce-cart .woocommerce button.button:hover,
.woocommerce-cart .button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce a.button.alt:hover,
.wc-proceed-to-checkout .checkout-button:hover {
    background-color: #0b6fa3 !important;
    color: #fff !important;
}

/* Cart table general */
.woocommerce-cart table.shop_table {
    border: 1px solid #e0e0e0 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    vertical-align: middle !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-cart table.shop_table thead th {
    background-color: #f8f8f8 !important;
    color: #333 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: center !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.woocommerce-cart table.shop_table tbody .product-name {
    font-weight: 600 !important;
    color: #333 !important;
}

.woocommerce-cart table.shop_table tbody .product-name a {
    color: #333 !important;
    text-decoration: none !important;
}

.woocommerce-cart table.shop_table tbody .product-name a:hover {
    color: #0f8ccd !important;
}

/* Product thumbnail in cart */
.woocommerce-cart table.shop_table .product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

/* Remove button (×) */
.woocommerce-cart table.shop_table .product-remove a.remove {
    color: #999 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.woocommerce-cart table.shop_table .product-remove a.remove:hover {
    color: #e74c3c !important;
}

/* Quantity stepper with +/- buttons */
.woocommerce-cart .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    width: fit-content !important;
    margin: 0 auto !important;
}

.woocommerce-cart .quantity input.qty {
    width: 42px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    height: 36px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    background: #fff !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Inject +/- via JS-friendly approach using CSS siblings */
.woocommerce-cart .quantity::before,
.woocommerce-cart .quantity::after {
    display: none !important;
}

/* Coupon section */
.woocommerce-cart .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-cart .coupon input#coupon_code {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #333 !important;
    background: #fff !important;
    width: 160px !important;
    height: 38px !important;
    box-sizing: border-box !important;
}

.woocommerce-cart .coupon input#coupon_code::placeholder {
    color: #aaa !important;
    font-size: 13px !important;
}

.woocommerce-cart .coupon .button[name="apply_coupon"] {
    height: 38px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* Update cart button */
.woocommerce-cart td.actions .button[name="update_cart"] {
    float: right !important;
    height: 38px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
}

/* Cart totals section */
.woocommerce-cart .cart-collaterals {
    margin-top: 30px !important;
}

.woocommerce-cart .cart_totals {
    float: right !important;
    width: 45% !important;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 12px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-cart .cart_totals table {
    width: 100% !important;
    border: 1px solid #e0e0e0 !important;
    border-collapse: collapse !important;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    vertical-align: top !important;
}

.woocommerce-cart .cart_totals table th {
    color: #555 !important;
    font-weight: 600 !important;
    width: 38% !important;
}

.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td {
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 15px !important;
}

.woocommerce-cart .cart_totals table small.includes_tax {
    color: #888 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

/* Proceed to checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 16px !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Shipping calculator link */
.woocommerce-cart .shipping-calculator-button {
    color: #0f8ccd !important;
    text-decoration: underline !important;
    font-size: 13px !important;
}

/* Remove Astra icon next to shipping calculator if shown */
.woocommerce-cart .shipping-calculator-button::after {
    display: none !important;
}

/* Quantity +/- stepper buttons */
.woocommerce-cart .quantity .qty-btn {
    background: #f4f4f4 !important;
    border: none !important;
    width: 32px !important;
    height: 36px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #555 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background 0.15s ease !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-cart .quantity .qty-btn:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.woocommerce-cart .quantity .qty-minus {
    border-right: 1px solid #ccc !important;
}

.woocommerce-cart .quantity .qty-plus {
    border-left: 1px solid #ccc !important;
}

/* =============================================
   CHECKOUT PAGE STYLES
   ============================================= */

/* ── Info bars (Returning customer / Have a coupon?) ── */
.woocommerce-checkout .woocommerce-info,
.woocommerce-cart .woocommerce-info {
    background-color: #f7f7f7 !important;
    border-left: 4px solid #333 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding: 14px 18px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #333 !important;
    box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-cart .woocommerce-info::before {
    content: '' !important;
    display: none !important;
}

.woocommerce-checkout .woocommerce-info a,
.woocommerce-cart .woocommerce-info a {
    color: #0f8ccd !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-checkout .woocommerce-info a:hover,
.woocommerce-cart .woocommerce-info a:hover {
    text-decoration: underline !important;
}

/* ── Login form on checkout ── */
.woocommerce-form-login {
    padding: 20px 0 !important;
    background: none !important;
    border: none !important;
}

.woocommerce-form-login>p:first-of-type {
    font-size: 14px !important;
    color: #555 !important;
    font-weight: 600 !important;
    margin-bottom: 18px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Two-column layout for username/password */
.woocommerce-form-login .form-row-first,
.woocommerce-form-login .form-row-last {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
}

.woocommerce-form-login .form-row-first {
    margin-right: 2% !important;
}

/* ── General WooCommerce input fields ── */
.woocommerce-checkout .input-text,
.woocommerce-form-login .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #333 !important;
    background: #fff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 40px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-form-login .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #0f8ccd !important;
    box-shadow: 0 0 0 2px rgba(15, 140, 205, 0.12) !important;
}

.woocommerce-checkout textarea {
    height: auto !important;
    resize: vertical !important;
}

/* Labels */
.woocommerce-checkout label,
.woocommerce-form-login label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #444 !important;
    display: block !important;
    margin-bottom: 5px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-checkout label .required,
.woocommerce-form-login label .required {
    color: #e74c3c !important;
}

/* ── All checkout/login buttons → brand blue ── */
.woocommerce-checkout .button,
.woocommerce-checkout input.button,
.woocommerce-checkout button.button,
.woocommerce-form-login .button,
.woocommerce-form-coupon .button,
#place_order {
    background-color: #0f8ccd !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    letter-spacing: 0.3px !important;
}

.woocommerce-checkout .button:hover,
.woocommerce-checkout input.button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-form-login .button:hover,
.woocommerce-form-coupon .button:hover,
#place_order:hover {
    background-color: #0b6fa3 !important;
    color: #fff !important;
}

/* ── Checkout section headings ── */
.woocommerce-checkout h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ── Main checkout 2-column grid: billing left / order right ── */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 0 40px !important;
    align-items: start !important;
}

/* Error notices span full width */
.woocommerce-checkout form.checkout .woocommerce-NoticeGroup {
    grid-column: 1 / -1 !important;
}

/* billing+shipping left column, spans multiple rows */
.woocommerce-checkout form.checkout .col2-set {
    grid-column: 1 !important;
    grid-row: 2 / 5 !important;
    display: block !important;
}

/* 'Your order' heading - right column */
.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Order review + payment - right column */
.woocommerce-checkout form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 3 !important;
}

/* col-1 and col-2 inside col2-set are stacked vertically */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    display: block !important;
}

/* Side-by-side first/last name rows */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    display: inline-block !important;
    width: 48% !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .form-row-first {
    margin-right: 3% !important;
}

.woocommerce-checkout .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

.woocommerce-checkout .form-row {
    margin-bottom: 14px !important;
}

/* ── Order Review table ── */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: 1px solid #e0e0e0 !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    font-size: 14px !important;
}

.woocommerce-checkout-review-order-table thead th {
    background: #f8f8f8 !important;
    font-weight: 700 !important;
    color: #333 !important;
}

.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #333 !important;
}

.woocommerce-checkout-review-order-table tfoot small.includes_tax {
    color: #888 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

/* ── Payment section ── */
.woocommerce-checkout-payment {
    background: #f8f8f8 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 20px !important;
}

.woocommerce-checkout-payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.woocommerce-checkout-payment ul.payment_methods li {
    padding: 10px 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.woocommerce-checkout-payment .payment_box {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 3px !important;
    padding: 12px 14px !important;
    margin-top: 8px !important;
    font-size: 13px !important;
    color: #555 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* eWay card icons */
.woocommerce-checkout-payment .eway-icon {
    height: 28px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
}

/* Place Order button — full width, prominent */
#place_order {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
    margin-top: 10px !important;
    letter-spacing: 0.4px !important;
}

/* Terms & conditions text */
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 12px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #0f8ccd !important;
    text-decoration: underline !important;
}

/* Select2 dropdown matching input style */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    height: 40px !important;
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.4 !important;
    color: #333 !important;
    padding: 0 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

/* Error messages */
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
    background: #fff3f3 !important;
    border-left: 4px solid #e74c3c !important;
    padding: 14px 18px !important;
    list-style: none !important;
    margin-bottom: 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li a {
    color: #e74c3c !important;
    font-weight: 600 !important;
}

/* Password toggle button */
.woocommerce-form-login .password-input {
    position: relative !important;
    display: block !important;
}

.woocommerce-form-login .show-password-input {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: #888 !important;
    font-size: 16px !important;
}

/* Remember me checkbox */
.woocommerce-form-login .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #555 !important;
    cursor: pointer !important;
    margin-bottom: 12px !important;
}

/* Lost password link */
.woocommerce-form-login .lost_password a {
    font-size: 13px !important;
    color: #0f8ccd !important;
    text-decoration: underline !important;
}

.fl-node-65b1b89d11296>.fl-row-content-wrap {
    margin-top: 0 !important;
}

/* =============================================
   SINGLE PRODUCT – TWO COLUMN LAYOUT
   ============================================= */

.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
    margin-top: 20px !important;
    background-color: #d9eaf2 !important;
    border-radius: 12px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 40px !important;
}

/* Gallery – left column ~48% */
.single-product div.product .woocommerce-product-gallery {
    flex: 0 0 48% !important;
    max-width: 48% !important;
    float: none !important;
}

/* Summary – right column, takes rest */
.single-product div.product .summary.entry-summary {
    flex: 0 0 calc(52% - 40px) !important;
    max-width: calc(52% - 40px) !important;
    float: none !important;
    overflow: visible !important;
}

/* Tabs & related – full width below */
.single-product div.product .woocommerce-tabs {
    flex: 0 0 100% !important;
    width: 100% !important;
    clear: both !important;
}

.single-product .related.products {
    width: 100% !important;
    clear: both !important;
}

/* Gallery: images fill their column */
.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Thumbnails */
.single-product .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 8px 0 0 !important;
    margin: 0 !important;
}

.single-product .flex-control-thumbs li {
    flex: 0 0 auto !important;
}

.single-product .flex-control-thumbs img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 2px solid #eaeaea !important;
    cursor: pointer !important;
}

.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover {
    border-color: #0f8ccd !important;
}

/* ==========================================================================
   Page & Policy Templates (Delivery, Privacy, Refund, Standard Pages)
   ========================================================================== */
.content-area.content-thin,
main .content-area {
    max-width: 960px;
    margin: 40px auto 80px auto;
    padding: 0 30px;
    box-sizing: border-box;
    width: 100%;
}

.article-full {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 24px rgba(15, 140, 205, 0.06);
    padding: 48px 56px;
    box-sizing: border-box;
    width: 100%;
}

.article-full h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 28px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.25;
}

.article-full h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0f8ccd;
    border-radius: 3px;
}

.article-full h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 16px 0;
    padding-top: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-full h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 30px 0 14px 0;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.article-full h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f8ccd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 30px 0 12px 0;
    line-height: 1.4;
    border-left: 3px solid #0f8ccd;
    padding-left: 12px;
}

.article-full .lead-text {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 24px;
}

.article-full p,
.article-full .wp-block-paragraph {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 16px 0;
}

.article-full ul,
.article-full ol,
.article-full .wp-block-list {
    margin: 12px 0 24px 20px;
    padding-left: 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.article-full li {
    margin-bottom: 8px;
}

.article-full b,
.article-full strong {
    color: #1e293b;
    font-weight: 700;
}

.article-full h4,
.article-full > b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 22px 0 8px 0;
}

.article-full a {
    color: #0f8ccd;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-full a:hover {
    color: #09689a;
}

/* Informative highlight / notice box */
.policy-notice {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 28px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #0369a1;
    font-size: 14px;
    line-height: 1.6;
}

.policy-notice i {
    font-size: 18px;
    color: #0f8ccd;
    margin-top: 2px;
    flex-shrink: 0;
}

.policy-notice strong {
    color: #0c4a6e;
}

/* Contact / Support Callout Box */
.policy-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 36px;
    text-align: center;
}

.policy-contact-box h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.policy-contact-box p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px 0;
}

.policy-contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.policy-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f8ccd;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.policy-contact-btn:hover {
    background: #09689a;
    transform: translateY(-1px);
}

/* ==========================================================================
   Contact Form 7 & Forms Styling
   ========================================================================== */

/* Hide accidental Gutenberg code blocks if placed as page headers */
.article-full pre.wp-block-code {
    display: none;
}

.wpcf7 {
    margin: 24px 0 0 0;
    width: 100%;
}

.wpcf7-form {
    width: 100%;
}

.wpcf7-form p {
    margin: 0 0 20px 0 !important;
}

.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    transition: all 0.2s ease-in-out;
    outline: none;
    line-height: 1.5;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: #94a3b8;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    background: #ffffff;
    border-color: #0f8ccd;
    box-shadow: 0 0 0 4px rgba(15, 140, 205, 0.15);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f8ccd;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 14px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 140, 205, 0.25);
    margin-top: 5px;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #09689a;
    box-shadow: 0 6px 20px rgba(15, 140, 205, 0.35);
    transform: translateY(-2px);
}

.wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    font-weight: 500;
}

.wpcf7-response-output {
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin: 24px 0 0 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #86efac !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border: 1px solid #fca5a5 !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
}

/* Google Maps Embed iframe */
.article-full iframe[src*="google.com/maps"] {
    width: 100% !important;
    height: 400px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    margin: 40px 0 10px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
}