/*
Theme Name: OceanWP child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/
body{
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.center{
    text-align: center;
}
.negrita{
    font-weight: bold;
}
.woocommerce .quantity,
.puzzlevan-modulos-section .count,
.tax-product_cat .term-description .count{
    display: none !important;
}
.puzzlevan-modulos-section .woocommerce-loop-category__title{
    font-size: 18px;
    line-height: 1.4;
}
.pv-upsell-notice {
    background: #f5f5f5;
    border: 1px solid #ffcfdf;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 8px 0 16px;
    font-size: 14px;
    color: #555;
}
.pv-marca-thumb{
    max-width: 90px;
    height: auto;
    margin-right: 15px;
}
.page-header-inner {
    display: flex;
    flex-direction: column;
}

.page-header-inner .site-breadcrumbs {
    order: -1;
}
body .site-breadcrumbs {
    margin: 5px 0;
    position: relative;
}
/* Ocultar upsell notice en carrito y checkout */
.wc-block-cart .pv-upsell-notice,
.wc-block-checkout .pv-upsell-notice,
.wp-block-woocommerce-cart .pv-upsell-notice,
.wp-block-woocommerce-checkout .pv-upsell-notice {
    display: none !important;
}
.boton-envio{
    width: 100%!important;
    font-size: 18px!important;
}

body.woocommerce div.product .woocommerce-tabs {
    padding-top: 10px;
}
.pv-upsell-notice a {
    font-weight: 600;
    text-decoration: none;
}
.lg-sub-html{
    display: none;
}
.woocommerce-product-details__short-description li,
.woocommerce-Tabs-panel li{
    margin-bottom: 0;
}
.woocommerce-product-details__short-description ol,
.woocommerce-Tabs-panel ol{
    padding-left: 10px;
}
body.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
    font-size: 22px;
}

.home .mobile-menu .hamburger-inner,
.home .mobile-menu .hamburger-inner::before, 
.home .mobile-menu .hamburger-inner::after {
    background-color: #fff;
}
body .wpcpo-option.wpcpo-option-image-checkbox .form-row input[type=checkbox]:checked + label{
    border: 1px solid #bb3763;
}

body.woocommerce #tab-description ul,
body.woocommerce #tab-instalacion ul {
    list-style: disc;
    margin: 20px 0 25px 20px;
}
.woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs li.active a {
    border-top: none!important;
}
.woocommerce-tabs ul.tabs li a {
    font-size: 18px!important;
    padding-right: 20px!important;
    padding-left: 20px!important;
    color: #000!important;
}
.site-breadcrumbs {
    margin: 20px 0;
}
body.woocommerce div.product form.cart{
    border-top: none;
}


body .wpcpo-total{
    margin-top: 40px;
    background: #F6F9FE;
    border: 1px solid #ededed; 
    padding: 20px 20px 20px 0;
    border-radius: 12px;
}
.wpcpo-options p{
    margin-bottom: 10px;
}
.wpcpo-option label{
    display: block!important;
    line-height: 1.5;
}
.wpcpo-option{
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #ededed;    
    transition: all 0.3s ease;
}
.wpcpo-total .price, 
.wpcpo-total .amount{
    white-space: nowrap;
}
.woocommerce ul.products li.product .price ins{
    font-weight: inherit!important;
}
.woocommerce ul.products li.product .price del .amount{
    font-size: inherit!important;
}
body .wpcpo-option.wpcpo-option-image-checkbox .form-row label {
    width: 23%;
    margin: 1%;
}
.woocommerce .up-sells{
       background: #fff; 
}
.woocommerce-tabs{
    background: #fff;
    position: relative;
}
.puzzlevan-categorias-similares {
    padding-top: 50px;
    border-top: 1px solid #EAEAEA;
}
/* Tablas */
.puzzlevan-tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 3rem 0;
}

.puzzlevan-tab-content table th,
.puzzlevan-tab-content table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.puzzlevan-tab-content table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2C3E50;
}
/* fin Tablas */
.puzzlevan-tab-content table tbody tr:nth-child(even) {
    background: #fafafa;
}
.single-product .form-check-inline{
    display: block!important;
}
.home #site-header{
    border-bottom: none;
}
.my-btn > a .text-wrap {
    background: #2f2664;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
}
.my-btn > a .text-wrap:hover {
    opacity: 0.8;
}
#colophon ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#colophon ul a:hover{
    color: #E95112;
}
#colophon li{
    margin-bottom: 15px;
    line-height: 1.3;
}
/** ************ gid de marcas para la tienda *********** //
/* Sección Marcas */
.puzzlevan-marcas-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}
.marcas-title,
.section-title {
    text-align: center;
}

.marcas-subtitle,
.section-subtitle {
    text-align: center;
}

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 1.5rem;
}
.archive .marcas-grid {
    margin-bottom: 50px;
}

.marca-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.marca-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2, #F5A3B8);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.marca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

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

.marca-card:hover .marca-btn {
    background: #357ABD;
    transform: scale(1.05);
}
.marca-imagen{
    min-height: 100px;
}
/* Responsive */
@media (max-width: 768px) {
    .marcas-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas iguales */
        gap: 1rem;
    }
    .pv-marca-thumb {
        max-width: 80px;
    }    
}

/* Carrusel de marcas — solo home */
body.home .marcas-carousel-wrapper {
    position: relative;
    padding: 0 48px; /* espacio para las flechas */
}

body.home #bloque-marcas {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding-bottom: 8px;

    /* Ocultar scrollbar visual */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

body.home #bloque-marcas::-webkit-scrollbar {
    display: none;                /* Chrome/Safari */
}

body.home #bloque-marcas .marca-card {
    flex: 0 0 calc((100% - 64px) / 4.3); /* % visibles, deja el .3 deja ver el borde de la siguiente */
    scroll-snap-align: start;
}
body.home #bloque-marcas .marca-name{
    font-size: 16px;
}
/* Flechas */
.marcas-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.marcas-arrow:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.marcas-arrow--prev { left: 0; }
.marcas-arrow--next { right: 0; }

.marcas-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Mobile: 2 tarjetas visibles */
@media (max-width: 768px) {
    body.home .marcas-carousel-wrapper {
        padding: 0 36px;
    }

    body.home #bloque-marcas .marca-card {
        flex: 0 0 calc((100% - 16px) / 2.2);
    }
}

.single-product .entry-summary .ppcp-messages{
    margin-top: 20px;
}



/* ********************* estilos generales ********************/
/* ===== ESTILOS GENERALES ===== */
.single-post .entry-content {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* ===== JERARQUÍA DE TÍTULOS ===== */
.single-post .entry-content h1 {
    font-size: 2em;
    color: #1a365d;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-weight: 700;
}

.single-post .entry-content h2 {
    margin: 40px 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.single-post .entry-content h3 {
    color: #2c3e50;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin: 30px 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.single-post .entry-content h4 {
    color: #2c3e50;
    padding-bottom: 5px;
    margin: 25px 0 15px 0;
    font-size: 1.1em;
    font-weight: 600;
}

/* ===== PÁRRAFOS Y ESPACIADO ===== */
.single-post .entry-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.single-post .entry-content p:last-child {
    margin-bottom: 0;
}

/* ===== LISTAS ===== */
.single-post .entry-content ul, 
.single-post .entry-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.single-post .entry-content ul li {
    list-style-type: disc;
}

.single-post .entry-content ol li {
    list-style-type: decimal;
}

/* Listas con iconos */
.single-post .entry-content ul.checklist {
    list-style: none;
    margin-left: 0;
}

.single-post .entry-content ul.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.single-post .entry-content ul.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a7f37;
    font-weight: bold;
    font-size: 1.1em;
}

/* ===== BLOQUES DESTACADOS ===== */
.single-post .entry-content blockquote,
.single-post .wp-block-quote {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #007cba;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-style: normal;
}

.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Bloques de información */
.single-post .entry-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* ===== CÓDIGO Y PRE ===== */
.single-post .entry-content code {
    background-color: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #c7254e;
}

.single-post .entry-content pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

.single-post .entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* ===== TABLAS ===== */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.single-post .entry-content th {
    background: #4a5568;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.single-post .entry-content td {
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.single-post .entry-content tr:nth-child(even) {
    background-color: #f7fafc;
}

.single-post .entry-content tr:hover {
    background-color: #edf2f7;
}

/* ===== IMÁGENES ===== */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.single-post .entry-content .wp-block-image,
.single-post .entry-content figure {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.single-post .entry-content figcaption {
    font-style: italic;
    color: #718096;
    margin-top: 8px;
    font-size: 0.9em;
}

/* ===== ENLACES ===== */
.single-post .entry-content a {
    color: #e95112;
    text-decoration: none;
    border-bottom: 1px dotted #e95112;
    transition: all 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #145a2e;
    border-bottom: 1px solid #145a2e;
}

/* ===== BOTONES ===== */
.single-post .entry-content .button {
    display: inline-block;
    background: #e95112;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 5px;
}

.single-post .entry-content .button:hover {
    background: #145a2e;
    color: white;
    text-decoration: none;
    border-bottom: none;
}

.single-post .entry-content .button-secondary {
    background: #718096;
}

.single-post .entry-content .button-secondary:hover {
    background: #4a5568;
}

/* ===== SEPARADORES ===== */
.single-post .entry-content hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* ===== ELEMENTOS DE FORMULARIO ===== */
.single-post .entry-content input[type="text"],
.single-post .entry-content input[type="email"],
.single-post .entry-content input[type="password"],
.single-post .entry-content textarea,
.single-post .entry-content select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 16px;
    margin: 5px 0 15px 0;
    transition: border 0.3s ease;
}

.single-post .entry-content input[type="text"]:focus,
.single-post .entry-content input[type="email"]:focus,
.single-post .entry-content input[type="password"]:focus,
.single-post .entry-content textarea:focus,
.single-post .entry-content select:focus {
    border-color: #1a7f37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.1);
}

/* ===== BLOQUES DE PASOS ===== */
.single-post .entry-content .step {
    counter-increment: step-counter;
    margin: 25px 0;
    padding-left: 50px;
    position: relative;
}

.single-post .entry-content .step:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #1a7f37;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.single-post .entry-content .steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .single-post .entry-content {
        padding: 15px;
        font-size: 15px;
    }
    .single-post .entry-content p {
        text-align: left;
    }
    .single-post .entry-content h1 {
        font-size: 1.7em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.3em;
        padding: 12px 15px;
    }
    
    .single-post .entry-content h3 {
        font-size: 1.2em;
    }
    
    .single-post .entry-content ul, 
    .single-post .entry-content ol {
        margin-left: 20px;
    }
    
    .single-post .entry-content .step {
        padding-left: 40px;
    }
    
    .single-post .entry-content .step:before {
        width: 30px;
        height: 30px;
    }


    body.woocommerce div.product form.cart {
        margin-top: 10px;
    }



}

@media (max-width: 480px) {
    .single-post .entry-content {
        padding: 10px;
        font-size: 14px;
    }
    
   .single-post  .entry-content h1 {
        font-size: 1.5em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.2em;
        padding: 10px 12px;
    }
}

/* ===== ANIMACIONES SUAVES ===== */
.single-post .entry-content * {
    transition: all 0.2s ease;
}

/* ===== CLASES UTILITARIAS ===== */
.single-post .entry-content .text-center {
    text-align: center;
}

.single-post .entry-content .text-right {
    text-align: right;
}

.single-post .entry-content .text-justify {
    text-align: justify;
}

.single-post .entry-content .bold {
    font-weight: bold;
}

.single-post .entry-content .italic {
    font-style: italic;
}

.single-post .entry-content .highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.single-post .entry-content .divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}
/* ************************  fin estilos generales **************** */


.single_add_to_cart_button {
    position: relative;
    padding-left: 30px;
}

.single_add_to_cart_button::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 1a1 1 0 0 1 1-1h1.22a1 1 0 0 1 .97.757L3.89 3H14a1 1 0 0 1 .96 1.27l-1.5 5A1 1 0 0 1 12.5 10H4a1 1 0 0 1-.96-.73L1.61 2H1a1 1 0 0 1-1-1z'/%3E%3Cpath d='M5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm7 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.floating_add_to_cart_button {
    border-radius: 10px;
    }

body.woocommerce div.product div.summary .price del{
    font-size: .8em;
}
body.woocommerce div.product form.cart{
    margin-top: 0;
    padding-top: 0;
}
body.woocommerce.single-product span.onsale{
    top: 6.25em;
}
@media (min-width: 768px) {

}


@media (min-width: 769px){
 
}

@media (max-width: 768px) { 

    body{
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif!important;
    }

    body .wpcpo-option.wpcpo-option-image-checkbox .form-row label{
        width: 98%
    }
    .wpcpo-option .label-name{
        display: block;
    }
    body .site-breadcrumbs {
        height: auto;
        white-space: normal;
    }
    .wpcpo-option label {
        margin-bottom: 15px !important;
    }    
    body.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
        font-size: 20px;
    }    
    body .owp-floating-bar.show{
        height: 54px;
    }
    .owp-floating-bar .cart{
        width: 100%;
    }

    .owp-floating-bar button.button{
        width: 100%;
        border-radius: 10px;
        letter-spacing: 0;
        font-size: 16px !important;
        margin-top: 4px;
    }



    .floating_add_to_cart_button {
        position: relative;
        padding-left: 28px;
    }

    .floating_add_to_cart_button::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        
        width: 16px;
        height: 16px;

        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M0 1a1 1 0 0 1 1-1h1.22a1 1 0 0 1 .97.757L3.89 3H14a1 1 0 0 1 .96 1.27l-1.5 5A1 1 0 0 1 12.5 10H4a1 1 0 0 1-.96-.73L1.61 2H1a1 1 0 0 1-1-1z'/%3E%3Cpath d='M5.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm7 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }

}
@media (max-width: 650px) { 


}