* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff;
}


.sancar-tire-fields,
.sancar-rim-fields {
    margin-top: 15px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
}

/* =========================
   GUTENBERG LAYOUT FIX
========================= */
.home-content {
    max-width: 1300px;
    width: 100%;
    padding: 40px;
    margin: 0 auto;
}

.home-content p {
    font-size: 18px;
    padding-bottom: 10px;
}

.home-content ul {
    padding-left: 40px;
}

.home-content ul li {
    font-size: 18px;
    padding-bottom: 10px;
}

.wp-block-columns {
    display: flex;
    gap: 2rem;
}

.wp-block-buttons {
    padding: 20px 0;
}

.wp-block-column {
    flex: 1;
}

.wp-block-image {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .home-content {
        padding: 40px 15px;
    }

    .wp-block-columns {
        flex-direction: column;
    }
}

/* =========================================================
   HOME BANNERS – RESPONSIVE
========================================================= */

.home-banners {
    max-width: 100%;
    width: 100%;
    padding: 48px 100px !important;
}

.home-banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.home-banner-item.full {
    grid-column: span 2;
}

.home-banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .home-banners-grid {
        grid-template-columns: 1fr;
    }

    .home-banner-item.full {
        grid-column: span 1;
    }
}


/* Colores Gutenberg */
.has-text-color {
    color: var(--wp--preset--color--vivid-cyan-blue, inherit);
}

/* Tamaños de fuente */
.has-large-font-size {
    font-size: 28px !important;
}

/* Botones */
.wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background: #0a19ff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

/* TOP BAR */
.topbar {
    background: #d6d8ff;
}

.topbar-container {
    margin: auto;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* TEXTO */
.topbar-text {
    font-size: 24px;
    color: #000;
    font-weight: 500;
}

/* SOCIAL */
.topbar-social {
    list-style: none;
    display: flex;
    gap: 12px;
    position: absolute;
    right: 0px;
    background: #d6d8ff;
    padding-left: 20px;
    padding-right: 40px;
}

.topbar-social li a {
    width: 40px;
    height: 40px;
    background: #0b0b3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.topbar-social span {
    font-size: 18px;
    color: #ffffff;
}


/*
SLIDER
*/

.home-banner-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 50%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.slide-btn {
    background: #ff0000;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: bold;
}

/*
CARRUSEL PRODUCTOS
*/

.home-products {
    padding: 40px;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow-x: hidden;
}

.products-carousel {
    display: flex;
    margin-bottom: 5px;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
    /* will-change: transform; */
}

/* 👇 CLAVE: ancho real para 5 productos */
.product-card-bm {
    flex: 0 0 calc((100% - (20px * 5)) / 6);
    border: 1px solid #02004D;
    padding: 15px;
    background: #fff;
    box-sizing: border-box;
}

/* FORZAR IMAGEN CUADRADA 1:1 */
.product-image {
    width: 100%;
    /* aspect-ratio: 1 / 1; */
    overflow: hidden;
}

.product-image img {
    margin: 0 auto;
    max-width: 100%;
    width: auto;
    max-height: 300px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* META */
.product-meta {
    display: flex;
    justify-content: space-between;
    color: #0057ff;
    font-size: 14px;
    height: 16px;
    margin-top: 10px;
}

/* TAGS */
.product-tags {
    margin: 10px 0;
    display: flex;
    height: 50px;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    height: fit-content;
    color: #fff;
}

.tag.blue {
    background: #0057ff;
}

.tag.red {
    background: #ff0000;
}

.tag.dark {
    background: #1b1b5e;
}

/* BRAND */
.brand {
    font-size: 28px;
    text-transform: uppercase;
    color: #0057ff;
    height: 32px;
    margin: 10px 0 5px;
}

/* DESC */
.desc {
    height: 32px;
    font-size: 14px;
    font-weight: bold;
    color: #02004D;
}

/* PRICE */
.price-box {
    display: flex;
    align-items: center;
    padding-top: 10px;
    height: 50px;
    gap: 10px;
}

.price {
    font-size: 34px;
    font-weight: bold;
    color: #0057ff;
}

.discount {
    background: #1b1b5e;
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
}

.price-normal {
    height: 16px;
    font-size: 14px;
    color: #7aa7ff;
}

/* BUTTONS */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #003cff;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    z-index: 3;
}

.carousel-btn.prev {
    left: -10px;
}

.carousel-btn.next {
    right: -10px;
}

@media (max-width: 1400px) {
    .product-card-bm {
        flex: 0 0 calc((100% - (20px * 3)) / 4);
    }
}

@media (max-width: 1100px) {
    .product-card-bm {
        flex: 0 0 calc((100% - (20px * 2)) / 3);
    }
}

@media (max-width: 768px) {
    .home-banners {
        padding: 30px 15px !important;
    }

    .brand {
        font-size: 20px;
    }

    .tag {
        font-size: 10px;
    }

    .product-card-bm {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .price {
        font-size: 25px;
    }

    .product-meta {
        font-size: 10px;
    }
}


/* MINI BANNER*/

.home-banner {
    margin: 40px auto;
    text-align: center;
}

.home-banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* FOOTER */

.site-footer {
    background: #02004D;
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    padding: 60px;
}

.footer-about img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col p {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col h4::after {
    content: "";
    width: 40px;
    height: 3px;
    background: #1f4cff;
    position: absolute;
    bottom: -8px;
    left: 0;
}

.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-services li {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-bottom {
    background: #0b1220;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* =========================
   BUSCADOR DE NEUMÁTICOS
========================= */

.sancar-search {
    position: relative;
    width: 100%;
    padding: 40px;
    background: #02004D;
    border-radius: 18px;
}

/* TOP */
.search-top {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.search-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ===============================
   TABS
================================ */
.sancar-tire-fields,
.sancar-rim-fields {
    display: none;
}

.search-tabs {
    position: relative;
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    height: 48px;
}

.search-title {

    color: #fff;
}

.search-tabs::after {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: #0A19FF;
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
    z-index: 1;
}

/* cuando está en LLANTAS */
.search-tabs.tabs-rims-active::after {
    transform: translateX(100%);
}

.search-tabs .tab {
    flex: 1;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    color: #000;
}

.search-tabs .tab.active {
    color: #fff;
}

/* FORMULARIOS */
.search-form {
    display: none;
    animation: fadeUp 0.35s ease forwards;
}

.search-form.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* INFO NEUMÁTICO */
.tire-info {
    display: flex;
    position: relative;
    flex-flow: column nowrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.tire-info h4 {
    position: relative;
    z-index: 2;
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}

.tire-legend {
    position: relative;
    z-index: 2;
    list-style: none;
    display: flex;
    line-height: 5px;
    flex-flow: row wrap;
    gap: 10px;
}

.tire-legend li {
    position: relative;
    z-index: 2;
    color: #fff;
    margin-bottom: 10px;
    font-size: 15px;
}

.tire-image {
    /* position: absolute; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 400px;
}

.tire-image img {
    width: 100%;
}

/* CAMPOS */
.fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.fields.llantas {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.field label {
    height: 32px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #fff;
}

.field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

/* BOTÓN */
.search-btn {
    background: #0A19FF;
    color: #fff;
    border: none;
    padding: 14px 50px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

.search-form {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all .35s ease;
}

.search-form.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.brand-marquee {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    padding: 30px 0;
}

.brand-marquee__viewport {
    width: 100%;
    overflow: hidden;
}

.brand-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.brand-marquee__item {
    flex: 0 0 auto;
    padding: 0 50px;
}

.brand-marquee__item img {
    height: 60px;
    width: auto;
    display: block;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.brand-marquee__item img:hover {
    opacity: 1;
}



.search-and-featured {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    padding: 40px;
}

/* Columnas */
.search-col {
    width: calc((100% - (20px * 2)) / 3);
}

.featured-col {
    flex: 1 1 auto;
}

/* Título */
.featured-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    padding: 20px;
    border-radius: 6px;
    color: #fff;
    background-color: #0057ff;
}

/* Carrusel */
.featured-carousel-wrapper {
    position: relative;
}

.featured-carousel {
    display: flex;
    gap: 15px;
    overflow: hidden;
}

/* Cards más chicas */
.product-card-bm.small {
    min-width: 48%;
    padding: 10px;
}

/* Flechas */
.featured-carousel-wrapper .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #013243;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 10;
}

.featured-carousel-wrapper .prev {
    left: -15px;
}

.featured-carousel-wrapper .next {
    right: -15px;
}

/* ===== DESTACADOS ===== */

.featured-products .product-card-bm {
    flex: 0 0 calc((100% - (20px * 3)) / 4);
}

@media (max-width: 1100px) {
    .home-products {
        padding: 40px 15px;
    }

    .featured-products .product-card-bm {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}




/* ===== SKELETON ===== */
.product-card-bm.skeleton {
    position: relative;
    background: #f4f4f4;
    border: 1px dashed #02004D;
    overflow: hidden;
}

.product-card-bm.skeleton .product-image {
    background: #e0e0e0;
    margin-bottom: 40px;
}

.skeleton-title {
    height: 38px;
    background: #ddd;
    margin: 12px 0;
}

.skeleton-title.short {
    width: 50%;
}

.skeleton-line {
    height: 14px;
    background: #ddd;
    margin: 12px 0;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-diagonal {
    position: absolute;
    top: 40%;
    left: -30%;
    width: 160%;
    text-align: center;
    transform: rotate(-20deg);
    background: #02004D;
    color: #fff;
    font-weight: bold;
    padding: 10px 0;
    font-size: 14px;
}

.woocommerce-additional-fields__field-wrapper {
    max-width: 100% !important;
    min-width: 100% !important;
    grid-template-columns: 1fr !important;
}

.woocommerce-additional-fields__field-wrapper textarea {
    resize: none;
    height: 200px !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .sancar-search {
        padding: 40px 15px;
    }

    .fields {
        gap: 10px;
    }

    .field select {
        height: 45px;
        padding: 0px;
        font-size: 10px;
    }

    .search-and-featured {
        flex-direction: column;
        padding: 40px 15px;
    }

    .tire-image {
        width: 100%;
    }

    .search-col {
        order: 1;
        width: 100%;
    }

    .featured-col {
        order: 2;
        width: 100%;
    }

    /* Título más compacto */
    .featured-title {
        font-size: 20px;
        padding: 12px;
        text-align: center;
    }
}

/* ===========================
   TEXTO RESULTADO BÚSQUEDA
=========================== */

.result-search-text {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.result-search-text strong {
    color: #003cff;
}



/* ===========================
   HEADER MODERNO RESPONSIVE
=========================== */

.navbar {
    background: #0a19ff;
    height: 100px;
    position: relative;
    z-index: 1000;
}

.navbar-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.navbar-logo img {
    max-height: 80px;
    width: auto;
}

/* MENU DESKTOP */
/* =========================
   MENU DESKTOP + SUBMENUS
========================= */

.navbar-menu ul.menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar-menu ul li::marker {
    content: none;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

/* SUBMENU */
.navbar-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 999;
}

.navbar-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-menu .sub-menu li {
    padding: 0;
}

.navbar-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: #02004D;
}

.navbar-menu .sub-menu a:hover {
    background: #003cff;
    color: #fff;
}

/* WHATSAPP */
.menu .whatsapp-link a {
    background: #25D366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.menu .whatsapp-link a:hover {
    background: #1ebe5d;
}

/* =========================
   FOOTER MENUS
========================= */

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li::marker {
    content: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    opacity: .85;
}

.footer-col ul a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* MAPA */
.footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 8px;
}


/* SEARCH */
.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 340px;
    height: 44px;
}

.header-search input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 15px;
    outline: none;
}

.header-search button {
    background: #02004D;
    color: #fff;
    border: none;
    width: 48px;
    height: 100%;
    cursor: pointer;
}

/* CART */
.cart-icono {
    background: #02004D;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ACTIONS */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================
   HAMBURGER
========================= */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #02004D;
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.mobile-menu-header img {
    max-height: 50px;
    width: auto;
}

.close-mobile {
    background: none;
    color: #fff;
    border: none;
    font-size: 30px;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu-nav li {
    margin-bottom: 20px;
}

.mobile-menu-nav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.mobile-search {
    padding: 20px;
}

.mobile-search input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
}

.mobile-search button {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #0a19ff;
    color: #fff;
    border: none;
}

.mobile-menu-header .logo img {
    max-height: 80px;
    width: auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .navbar-menu {
        display: none;
    }

    .header-search {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }
}

/* =========================
   DESKTOP SAFETY
========================= */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ============================
   TOPBAR MARQUEE
============================ */

.topbar-container {
    overflow: hidden;
}

/* contenedor que se mueve */
.topbar-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

/* texto que corre */
.topbar-text {
    display: inline-block;
    padding-left: 100%;
    animation: topbar-marquee 16s linear infinite;
    font-size: 22px;
    font-weight: 500;
}

/* animación */
@keyframes topbar-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* redes sociales fijas */
.topbar-social {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* ============================
   MOBILE
============================ */
@media (max-width: 768px) {

    /* ocultar redes en móvil */
    .topbar-social {
        display: none;
    }

    .topbar-text {
        font-size: 18px;
        animation: topbar-marquee 10s linear infinite;

    }
}

/* Pausar animación al pasar el mouse */
.topbar-marquee:hover .topbar-text {
    animation-play-state: paused;
}

/* =========================
   MOBILE SOCIAL
========================= */

.mobile-social {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: auto;
}

.mobile-social ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-social a {
    width: 44px;
    height: 44px;
    background: #0a19ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.mobile-social span {
    font-size: 20px;
}

/* ===============================
   CART ICON COUNTER
=============================== */
.cart-icono>.bm-shopping-cart-menu {
    position: relative;
}

.cart-icono>.bm-shopping-cart-menu[data-count]:after {
    content: attr(data-count);
    position: absolute;
    top: -20px;
    right: -20px;
    background: #ff0000;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   DRAWER BASE
=============================== */
#sancar-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .3s ease;
}

.cart-drawer {
    position: absolute;
    right: -420px;
    top: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: right .35s ease;
}

/* OPEN */
#sancar-cart-drawer.open {
    pointer-events: auto;
}

#sancar-cart-drawer.open .cart-drawer {
    right: 0;
}

#sancar-cart-drawer.open .cart-drawer-overlay {
    opacity: 1;
}

/* ===============================
   HEADER
=============================== */
.cart-header {
    padding: 18px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    margin: 0;
    font-size: 20px;
}

#close-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===============================
   CONTENT
=============================== */
.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* ocultar botones duplicados de Woo */
.cart-content .woocommerce-mini-cart__buttons {
    display: none !important;
}

/* ===============================
   MINI CART LIST
=============================== */
.cart-content ul.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-content li.woocommerce-mini-cart-item {
    display: grid !important;
    position: relative !important;
    grid-template-columns: 1fr 120px !important;
    gap: 12px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #eee !important;
    align-items: center !important;
}

.cart-content li img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.cart-content li a:not(.remove) {
    font-size: 14px;
    color: #02004D;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
}

.cart-content .quantity.qty-ready {
    grid-column: 2;
    font-size: 14px;
    text-align: right;
    color: #555;
}



.woocommerce-notices-wrapper {
    width: 100%;
}

.woocommerce-message {
    border-top-color: #003cff;
}

.woocommerce-message::before {
    content: "\e015";
    color: #003cff;
}

.woocommerce ul.cart_list li a,
.woocommerce ul.product_list_widget li a {
    position: relative;
}

/* ===============================
   SUBTOTAL
=============================== */
.cart-content .woocommerce-mini-cart__total {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

/* ===============================
   FOOTER
=============================== */
.cart-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-view {
    background: #f1f1f1;
    border: 2px solid #02004D;
    color: #02004D;
    padding: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.cart-view:hover {
    background: #02004D;
    color: #fff;
}

.cart-checkout {
    background: #0033ff;
    color: #fff;
    padding: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

/* ===============================
   MOBILE
=============================== */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }
}

/* =====================================================
   MINI CART – DISEÑO PROFESIONAL
===================================================== */

/* LISTA */
.cart-content ul.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: transparent;
}
.woocommerce ul.cart_list li::after, .woocommerce ul.cart_list li::before, .woocommerce ul.product_list_widget li::after, .woocommerce ul.product_list_widget li::before {
    display: none !important;
}
/* ITEM */
.cart-content li.woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 1fr 120px !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
}

/* IMAGEN */
.cart-content li img {
    width: 70px !important;
    height: 70px !important;
    margin: 0px !important;
    object-fit: contain;
    border: 1px solid #e5e5e5;
    padding: 6px;
    background: #fff;
}

/* LINK PRODUCTO */
.cart-content li a:not(.remove) {
    display: flex !important;
    flex-flow: row nowrap !important;
    font-size: 14px !important;
    align-items: center !important;
    gap: 15px !important;
    font-weight: 700 !important;
    color: #02004D !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
}

.cart-content li a:not(.remove):hover {
    color: #003cff;
}

/* CANTIDAD + PRECIO */
.cart-content li .quantity.qty-ready {
    display: block;
    font-size: 13px;
    color: #555;
}

.cart-content li .quantity.qty-ready .woocommerce-Price-amount {
    font-weight: 700;
    color: #003cff;
}

/* REMOVE */
.cart-content .remove.remove_from_cart_button {
    position: absolute;
    top: 6px;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff0000;
    color: #fff !important;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
}

.cart-content .remove.remove_from_cart_button:hover {
    background: #02004D;
}

/* =====================================================
   SUBTOTAL
===================================================== */

.cart-content .woocommerce-mini-cart__total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #02004D;
    font-size: 18px;
    font-weight: 800;
    text-align: right;
    color: #02004D;
}

/* =====================================================
   FOOTER BOTONES
===================================================== */

.cart-footer {
    padding: 18px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* VER CARRITO */
.cart-view {
    background: #fff;
    border: 2px solid #02004D;
    color: #02004D;
    padding: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.cart-view:hover {
    background: #02004D;
    color: #fff;
}

/* CHECKOUT */
.cart-checkout {
    background: #003cff;
    color: #fff;
    padding: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.cart-checkout:hover {
    background: #02004D;
}

/* =====================================================
   HEADER
===================================================== */

.cart-header {
    padding: 18px;
    border-bottom: 2px solid #02004D;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #02004D;
}

#close-cart {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* =====================================================
   DRAWER
===================================================== */

.cart-drawer {
    box-shadow: -6px 0 20px rgba(0, 0, 0, .15);
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {

    .cart-content li.woocommerce-mini-cart-item {
        grid-template-columns: 60px 1fr;
    }

    .cart-content li img {
        width: 60px;
        height: 60px;
    }
}


/* ////////////////////////////////////////////// */

/* ===============================
   CARRITO WOOCOMMERCE (CLÁSICO)
=============================== */

.page .woocommerce {
    width: 100% !important;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.page .woocommerce table.shop_table {
    margin: 0 !important;
}

.woocommerce-cart-form {
    overflow-x: auto;
    width: calc(70% - 20px);
}

.woocommerce-cart-form__contents {
    border-collapse: collapse !important;
    border: 2px solid #02004D !important;
    width: 100% !important;
}

/* ===== Cabecera tabla ===== */
.woocommerce-cart-form__contents thead th {
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #02004D !important;
    border-bottom: 2px solid #02004D !important;
    padding: 12px 8px !important;
}

/* ===== Filas productos ===== */
.woocommerce-cart-form__cart-item td {
    vertical-align: middle !important;
    padding: 16px 8px !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

/* Imagen */
.product-thumbnail img {
    width: 90px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Nombre producto */
.product-name a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #02004D !important;
    text-decoration: none !important;
}

.product-name a:hover {
    color: #003cff !important;
}

/* Precio / Subtotal */
.product-price,
.product-subtotal {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #003cff !important;
}

/* ===== Cantidad ===== */
.product-quantity .quantity {
    display: flex !important;
    align-items: center !important;
}

.product-quantity input.qty {
    width: 70px !important;
    padding: 8px !important;
    font-size: 15px !important;
    border: 2px solid #02004D !important;
    border-radius: 4px !important;
    text-align: center !important;
}

/* ===== Eliminar ===== */
.product-remove a.remove {
    font-size: 24px !important;
    color: #ff0000 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.product-remove a.remove:hover {
    color: #02004D !important;
}

/* ===== Acciones (cupón + actualizar) ===== */
.actions {
    padding: 20px !important;
}

.actions .coupon {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.actions input#coupon_code {
    padding: 10px !important;
    border: 2px solid #02004D !important;
}

.actions button {
    background: #0a19ff !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

.actions button:hover {
    background: #02004D !important;
}

/* ===============================
   TOTALES (COLUMNA DERECHA)
=============================== */

.cart-collaterals {
    height: fit-content;
    display: flex !important;
    justify-content: end !important;
    width: 30% !important;
}

.cart_totals {
    width: 380px !important;
    border: 2px solid #02004D !important;
    padding: 20px !important;
    background: #fff !important;
}

.cart_totals h2 {
    font-size: 22px !important;
    color: #02004D !important;
    margin-bottom: 20px !important;
}

/* Tabla totales */
.cart_totals table th {
    text-align: left !important;
    font-size: 15px !important;
    padding: 10px 0 !important;
}

.cart_totals table td {
    text-align: right !important;
    font-size: 15px !important;
    padding: 10px 0 !important;
}

/* Total final */
.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #003cff !important;
}

/* ===== Botón checkout ===== */
.wc-proceed-to-checkout {
    margin-top: 20px !important;
}

.wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: #003cff !important;
    color: #fff !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.wc-proceed-to-checkout a.checkout-button:hover {
    background: #02004D !important;
}

.page .woocommerce table.shop_table {
    border: none !important;
}

.woocommerce-cart-form {
    border: 2px solid #02004D !important;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {

    .page .woocommerce {
        flex-flow: column wrap;
        padding: 20px 15px;
    }

    .woocommerce-cart-form {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .cart-collaterals {
        width: 100% !important;
    }

    .woocommerce-cart-form__contents thead {
        display: none !important;
    }

    .woocommerce-cart-form__cart-item {
        display: block !important;
        border-bottom: 2px solid #eee !important;
        margin-bottom: 20px !important;
    }

    .woocommerce-cart-form__cart-item td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
    }

    .product-thumbnail {
        justify-content: center !important;
    }

    .product-thumbnail::before {
        display: none;
    }

    .cart-collaterals {
        justify-content: center !important;
    }

    .cart_totals {
        width: 100% !important;
    }
}


/* =========================================================
   CHECKOUT WOOCOMMERCE – LAYOUT CORRECTO
   (/finalizar-compra)
========================================================= */

/* GRID PRINCIPAL */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}

/* =========================================================
   COLUMNA IZQUIERDA – DATOS CLIENTE
========================================================= */

#customer_details {
    width: 50% !important;
    background: #fff;
    border: 2px solid #02004D;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#billing_first_name_field,
#billing_last_name_field {
    width: 100%;
}

#customer_details>div {
    width: 100%;
}

/* títulos */
#customer_details h3 {
    font-size: 22px;
    color: #02004D;
    margin-bottom: 20px;
}

.selection>.select2-selection {
    padding: 12px;
    border: 2px solid #02004D;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
}

.select2-dropdown.select2-dropdown--below {
    border: 2px solid #02004D;
}

/* filas */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* campos full */
.form-row-wide {
    grid-column: span 2;
}

/* labels */
.page .woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #02004D;
    margin-bottom: 6px;
}

/* inputs */
.page .woocommerce form .form-row input.input-text,
.page .woocommerce form .form-row textarea,
.page .woocommerce form .form-row select {
    width: 100%;
    padding: 12px;
    border: 2px solid #02004D;
    font-size: 15px;
}

/* =========================================================
   COLUMNA DERECHA – PEDIDO + PAGO
========================================================= */
.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout{
    width: 100%;
}
.woocommerce-error{
    margin: 0 !important;
}
.page-editor-content li {
    padding-left: 30px !important;
}
#order_review_heading {
    display: none;
    /* usamos caja propia */
}

#order_review {
    background: #fff;
    border: 2px solid #02004D;
    padding: 30px;
    width: calc(50% - 40px)!important;
}

/* título */
#order_review::before {
    content: "Tu pedido";
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #02004D;
    margin-bottom: 20px;
}

/* tabla pedido */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
    font-size: 15px;
}

.woocommerce-checkout-review-order-table th {
    text-align: left;
    color: #02004D;
}

.woocommerce-checkout-review-order-table td {
    text-align: right;
    color: #003cff;
}

/* total */
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px;
    font-weight: 800;
}

/* =========================================================
   MÉTODOS DE PAGO
========================================================= */

#payment {
    margin-top: 30px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.wc_payment_method {
    border: 2px solid #02004D;
    padding: 15px;
    margin-bottom: 15px;
}

.wc_payment_method label {
    font-weight: 700;
    color: #02004D;
}

.payment_box {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* =========================================================
   BOTÓN FINAL
========================================================= */

#place_order {
    width: 100%;
    background: #003cff;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 16px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

#place_order:hover {
    background: #02004D;
}

th.product-total {
    text-align: end;
}

.cart_item>.product-name {
    text-align: start;
}

/* =========================================================
   CUPÓN
========================================================= */

.woocommerce-form-coupon {
    max-width: 600px;
    margin: 0 auto 30px;
    border: 2px solid #02004D;
    padding: 20px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    #billing_first_name_field,
    #billing_last_name_field {
        grid-column: span 2;
    }

    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    #customer_details,
    #order_review {
        padding: 20px;
        width: 100% !important;
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.site-footer {
    background: #02004d;
    color: #fff;
    padding-top: 50px;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px 40px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #0033ff;
}

.footer-map-embed iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

.footer-map-link {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: 700;
}

.footer-map-link:hover {
    color: #0033ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    padding: 15px 20px;
    font-size: 14px;
}

/* FOOTER MAPA */
.footer-map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

/* MOBILE */
@media (max-width: 900px) {

    .footer-top {
        grid-template-columns: 1fr;
        padding: 60px 15px;
    }

    .footer-map-embed iframe {
        height: 220px;
    }

    .footer-col h4 {
        text-align: left;
    }

    .footer-col h4 {
        text-align: left;
    }
}

/* =========================================================
   CONTENIDO EDITOR WORDPRESS (PAGE / GUTENBERG)
   Wrapper: .page-editor-content
========================================================= */

/* CONTENEDOR GENERAL */
.page-editor-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    font-family: inherit;
    line-height: 1.75;
    color: #1a1a1a;
    word-break: break-word;
}

/* =========================
   TÍTULOS
========================= */

.page-editor-content h1,
.page-editor-content h2,
.page-editor-content h3,
.page-editor-content h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #02004D;
    /* azul corporativo */
}

.page-editor-content h1 {
    font-size: 2.4rem;
}

.page-editor-content h2 {
    font-size: 2rem;
}

.page-editor-content h3 {
    font-size: 1.6rem;
}

.page-editor-content h4 {
    font-size: 1.3rem;
}

/* Primer título sin margen superior */
.page-editor-content>h1:first-child,
.page-editor-content>h2:first-child,
.page-editor-content>h3:first-child {
    margin-top: 0;
}

/* =========================
   PÁRRAFOS
========================= */

.page-editor-content p {
    margin-bottom: 16px;
    font-size: 1rem;
}

/* Separaciones tipo “salto visual” */
.page-editor-content p+p {
    margin-top: 8px;
}

/* =========================
   LISTAS
========================= */

.page-editor-content ul,
.page-editor-content ol {
    margin: 20px 0 24px 22px;
    padding-left: 18px;
}

.page-editor-content ul {
    list-style: disc;
}

.page-editor-content ol {
    list-style: decimal;
}

.page-editor-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Listas Gutenberg */
.page-editor-content .wp-block-list {
    margin: 20px 0 28px 24px;
}

/* =========================
   TEXTO DESTACADO
========================= */

.page-editor-content strong {
    font-weight: 700;
    color: #02004D;
}

/* =========================
   SEPARADORES VISUALES
========================= */

.page-editor-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

/* =========================
   LINKS
========================= */

.page-editor-content a {
    color: #0033ff;
    text-decoration: underline;
}

.page-editor-content a:hover {
    text-decoration: none;
}

/* =========================
   IFRAME / MAPAS
========================= */

.page-editor-content iframe {
    max-width: 100%;
    width: 100%;
    height: 350px;
    border: none;
    margin: 30px 0;
}

/* =========================
   BLOQUES GUTENBERG COMUNES
========================= */

/* Citas */
.page-editor-content blockquote {
    border-left: 4px solid #0033ff;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #444;
}

/* Código */
.page-editor-content pre {
    background: #0f172a;
    color: #fff;
    padding: 20px;
    overflow-x: auto;
    border-radius: 4px;
    margin: 30px 0;
}

.page-editor-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
}

/* =========================
   RESPONSIVE – MOBILE
========================= */

@media (max-width: 768px) {

    .page-editor-content {
        padding: 32px 16px;
        font-size: 0.95rem;
    }

    .page-editor-content h1 {
        font-size: 1.9rem;
    }

    .page-editor-content h2 {
        font-size: 1.6rem;
    }

    .page-editor-content h3 {
        font-size: 1.35rem;
    }

    .page-editor-content ul,
    .page-editor-content ol {
        margin-left: 16px;
    }

    .page-editor-content iframe {
        height: 260px;
    }
}

/* =========================
   RESPONSIVE – MOBILE PEQUEÑO
========================= */

@media (max-width: 480px) {

    .page-editor-content {
        padding: 24px 14px;
    }

    .page-editor-content h1 {
        font-size: 1.6rem;
    }

    .page-editor-content h2 {
        font-size: 1.4rem;
    }

    .page-editor-content h3 {
        font-size: 1.2rem;
    }
}

.wp-block-button__link {
    color: #fff !important;
    text-decoration: none !important;
}

/* =========================================================
   HERO DE PÁGINA
========================================================= */

.page-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Contenido alineado a la izquierda */
.page-hero-content.left {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
    max-width: 1200px;
}

.page-hero-title {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: uppercase;
}

/* Línea azul estilo footer */
.page-hero-line {
    display: block;
    width: 80px;
    height: 4px;
    background: #0033ff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .page-hero {
        height: 320px;
    }

    .page-hero-content.left {
        left: 30px;
        bottom: 40px;
    }

    .page-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 260px;
    }

    .page-hero-content.left {
        left: 20px;
        bottom: 30px;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }
}

/* =========================================================
   SOLO TÍTULO (SIN IMAGEN)
========================================================= */
.page-title-only {
    padding: 60px 0 10px;
    background: #fff;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.page-title-only__title {
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #0a0f3d;
}

.page-title-only__line {
    display: block;
    width: 80px;
    height: 4px;
    background: #0033ff;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title-only {
        padding: 40px 20px 5px 20px;
    }

    .page-title-only__title {
        font-size: 1.8rem;
    }
}

/* =========================================================
   MOBILE MENU – LIMPIO Y FUNCIONAL
========================================================= */

.mobile-menu-nav {
    overflow-y: auto;
    flex: 1;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu-list .menu-item {
    margin-bottom: 18px;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.menu-link a,
.menu-link span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

/* Flecha */
.submenu-icon {
    font-size: 18px;
    transition: transform 0.25s ease;
}

/* Submenú */
.mobile-menu .sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
    display: none;
}

.mobile-menu .sub-menu li {
    margin-bottom: 10px;
}

.mobile-menu .sub-menu a {
    font-size: 16px;
    font-weight: 500;
    opacity: .9;
}

/* Abierto */
.mobile-menu .menu-item.open>.sub-menu {
    display: block;
}

.mobile-menu .menu-item.open .submenu-icon {
    transform: rotate(180deg);
}

.mobile-menu {
    box-shadow: 8px 0 30px rgba(0, 0, 0, .4);
}

/* =========================================================
   MOBILE SOCIAL – ICONOS AL FINAL DEL MENÚ
========================================================= */

.mobile-social {
    margin-top: auto;
    padding: 24px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-social ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.mobile-social li {
    display: flex;
}

.mobile-social a {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-social a:hover {
    background: #ffffff;
    color: #02004D;
}

.mobile-social span {
    font-size: 20px;
}

.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr 1fr;
}
.sancar-document-options{
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
}

.doc-option{
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}
.doc-option input{
  appearance: none;
  -webkit-appearance: none;
  width: 20px; /* Tamaño del círculo */
  height: 20px;
  border: 3px solid #0033ff; /* Grosor del borde */
  border-radius: 50%;
  cursor: pointer;
  accent-color: #0033ff; /* Color del punto interior (cuando está marcado) */
  transition: all 0.2s ease;
}
.doc-option input[type="radio"]:checked {
  border-width: 10px; 
}
.woocommerce-checkout form.checkout {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
    align-items: flex-start;
}