/* Quitar la línea/divider junto a los labels en la tabla de variaciones */	Added: 
.woocommerce div.product form.variations_form table.variations th.label,	 
.woocommerce div.product form.variations_form table.variations th.label label{	 
border: 0 !important;	 
background-image: none !important;	 
box-shadow: none !important;	 
}	 
/* =========================================================	 
POLYGON STUDIO — OVERTONE (Mikado) + WooCommerce + Swatchly	 
Clean / premium dark UI + cyan accent (#00e5ff)	 
Pega todo este bloque en "CSS adicional"	 
========================================================= */	 
/* --------- 0) Base: suavizar defaults viejos del theme --------- */	 
.woocommerce div.product .product_meta,	 
.woocommerce div.product .woocommerce-product-details__short-description,	 
.woocommerce div.product .single_variation_wrap,	 
.woocommerce div.product .variations_form,	 
.woocommerce div.product form.cart{	 
border: 0 !important;	 
box-shadow: none !important;	 
}	 
/* --------- 1) Variations: quitar look de "tabla" y mejorar spacing --------- */	 
.woocommerce div.product form.variations_form table.variations{	 
border: 0 !important;	 
width: 100%;	 
}	 
.woocommerce div.product form.variations_form table.variations tr{	 
display: block;	 
margin: 0 0 18px 0;	 
}	 
.woocommerce div.product form.variations_form table.variations th,	 
.woocommerce div.product form.variations_form table.variations td{	 
display: block;	 
padding: 0 !important;	 
border: 0 !important;	 
width: 100%;	 
}	 
/* Labels (QTY / Sides) más pro */	 
.woocommerce div.product form.variations_form table.variations th.label label{	 
text-transform: uppercase;	 
letter-spacing: 2px;	 
font-size: 12px;	 
opacity: .75;	 
margin: 0 0 10px 0;	 
display: inline-flex;	 
align-items: center;	 
gap: 8px;	 
}	 
/* Quitar líneas/dividers viejos del theme en labels (el bug que te salía) */	 
.woocommerce div.product form.variations_form table.variations th.label,	 
.woocommerce div.product form.variations_form table.variations th.label label{	 
border: 0 !important;	 
background-image: none !important;	 
box-shadow: none !important;	 
}	 
.woocommerce div.product form.variations_form table.variations th.label:before,	 
.woocommerce div.product form.variations_form table.variations th.label:after,	 
.woocommerce div.product form.variations_form table.variations th.label label:before,	 
.woocommerce div.product form.variations_form table.variations th.label label:after{	 
content: none !important;	 
display: none !important;	 
}	 
 /* --------- 2) Swatchly buttons: pills premium + cyan accent --------- */	 
/* Nota: Swatchly puede usar varias clases según setup; cubrimos varias */	 
.swatchly-swatch,	 
.swatchly-swatch-wrap .swatchly-swatch,	 
.woocommerce .variations .swatchly-swatch,	 
.woocommerce .variations .swatchly-swatch-wrap .swatchly-swatch{	 
border-radius: 999px !important;	 
border: 1px solid rgba(255,255,255,.25) !important;	 
background: rgba(255,255,255,.03) !important;	 
color: #fff !important;	 
padding: 10px 14px !important;	 
min-height: 38px;	 
line-height: 1;	 
transition: .18s ease !important;	 
}	 
/* Hover */	 
.swatchly-swatch:hover,	 
.woocommerce .variations .swatchly-swatch:hover{	 
border-color: #00e5ff !important;	 
transform: translateY(-1px);	 
}	 
/* Selected */	 
.swatchly-swatch.swatchly-selected,	 
.swatchly-swatch.selected,	 
.woocommerce .variations .swatchly-swatch.swatchly-selected,	 
.woocommerce .variations .swatchly-swatch.selected{	 
border-color: #00e5ff !important;	 
box-shadow: 0 0 0 2px rgba(0,229,255,.18) !important;	 
}	 
/* Texto seleccionado opcional (span swatchly_selected_variation_name) */	 
.swatchly_selected_variation_name{	 
color: #00e5ff;	 
opacity: .9;	 
}	 
/* --------- 3) Inputs (notes / upload / text fields) más modernos --------- */	 
.woocommerce div.product form.cart input[type="text"],	 
.woocommerce div.product form.cart input[type="email"],	 
.woocommerce div.product form.cart input[type="tel"],	 
.woocommerce div.product form.cart input[type="number"],	 
.woocommerce div.product form.cart input[type="date"],	 
.woocommerce div.product form.cart textarea,	 
.woocommerce div.product form.cart select{	 
background: #0b0b0b !important;	 
color: #fff !important;	 
border: 1px solid rgba(255,255,255,.2) !important;	 
border-radius: 10px !important;	 
padding: 12px 14px !important;	 
box-shadow: none !important;	 
}	 
/* Focus */	 
.woocommerce div.product form.cart input:focus,	 
.woocommerce div.product form.cart textarea:focus,	 
.woocommerce div.product form.cart select:focus{	 
outline: none !important;	 
border-color: #00e5ff !important;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.14) !important;	 
}	 
/* --------- 4) Price: más "hero" / premium --------- */	 
.woocommerce div.product p.price,	 
.woocommerce div.product span.price{	 
font-size: 28px !important;	 
font-weight: 600 !important;	 
letter-spacing: .3px;	 
}	 
/* --------- 5) Add to cart: estilo premium dark + cyan hover --------- */	 
.woocommerce div.product form.cart .single_add_to_cart_button{	 
border-radius: 10px !important;	 
padding: 14px 18px !important;	 
letter-spacing: 1px;	 
text-transform: uppercase;	 
border: 1px solid rgba(255,255,255,.25) !important;	 
background: #0b0b0b !important;	 
color: #fff !important;	 
transition: .18s ease !important;	 
}	 
.woocommerce div.product form.cart .single_add_to_cart_button:hover{	 
border-color: #00e5ff !important;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.16) !important;	 
transform: translateY(-1px);	 
}	 
/* --------- 6) Quantity box (+/-): más limpio --------- */	 
.woocommerce div.product form.cart .quantity .qty,	 
.mkdf-quantity-buttons .mkdf-quantity-input{	 
background: #0b0b0b !important;	 
color: #fff !important;	 
border: 1px solid rgba(255,255,255,.2) !important;	 
border-radius: 10px !important;	 
}	 
.mkdf-quantity-buttons .mkdf-quantity-minus,	 
.mkdf-quantity-buttons .mkdf-quantity-plus{	 
opacity: .8;	 
transition: .18s ease;	 
}	 
.mkdf-quantity-buttons .mkdf-quantity-minus:hover,	 
.mkdf-quantity-buttons .mkdf-quantity-plus:hover{	 
opacity: 1;	 
color: #00e5ff;	 
}	 
/* --------- 7) Apple Pay / GPay buttons: spacing más clean --------- */	 
.woocommerce div.product .wc-stripe-payment-request-wrapper,	 
.woocommerce div.product .wc-stripe-payment-request-button-separator{	 
margin-top: 12px !important;	 
}	 
/* --------- 8) Mobile: que los swatches no se vean apretados --------- */	 
@media (max-width: 768px){	 
.swatchly-swatch,	 
.swatchly-swatch-wrap .swatchly-swatch{	 
padding: 10px 12px !important;	 
margin: 6px 6px 0 0 !important;	 
}	 
.woocommerce div.product p.price,	 
.woocommerce div.product span.price{	 
font-size: 24px !important;	 
}	 
}	 
/* =========================	 
PATCH: Swatchly + Overtone	 
(tamaños + CTA)	 
========================= */	 
/* 1) Swatches: más grandes (desktop + mobile) */	 
.woocommerce .variations .swatchly-swatch,	 
.woocommerce .variations .swatchly-swatch-wrap .swatchly-swatch{	 
font-size: 18px !important;	 
padding: 14px 18px !important;	 
min-height: 46px !important;	 
border-radius: 999px !important;	 
}	 
/* Mobile: que NO se achiquen demasiado */	 
@media (max-width: 768px){	 
.woocommerce .variations .swatchly-swatch,	 
.woocommerce .variations .swatchly-swatch-wrap .swatchly-swatch{	 
font-size: 18px !important;	 
padding: 14px 18px !important;	 
min-height: 48px !important;	 
}	 
}	 
/* 2) Add to cart: forzar estilo aunque Overtone sobreescriba */	 
.woocommerce div.product form.cart button[type="submit"],	 
.woocommerce div.product form.cart .single_add_to_cart_button{	 
width: 100%;	 
max-width: 420px;	 
border-radius: 12px !important;	 
padding: 16px 18px !important;	 
text-transform: uppercase;	 
letter-spacing: 1px;	 
border: 1px solid rgba(255,255,255,.25) !important;	 
background: #0b0b0b !important;	 
color: #fff !important;	 
}	 
.woocommerce div.product form.cart button[type="submit"]:hover,	 
.woocommerce div.product form.cart .single_add_to_cart_button:hover{	 
border-color: #00e5ff !important;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.16) !important;	 
transform: translateY(-1px);	 
}	 
/* 3) Quantity (+ / -): darle look moderno a los botones de Overtone */	 
.mkdf-quantity-buttons{	 
display: inline-flex;	 
align-items: stretch;	 
gap: 10px;	 
}	 
.mkdf-quantity-buttons .mkdf-quantity-input{	 
width: 64px !important;	 
height: 56px !important;	 
text-align: center !important;	 
font-size: 18px !important;	 
border-radius: 12px !important;	 
}	 
.mkdf-quantity-buttons .mkdf-quantity-minus,	 
.mkdf-quantity-buttons .mkdf-quantity-plus{	 
width: 56px;	 
height: 56px;	 
display: inline-flex;	 
align-items: center;	 
justify-content: center;	 
border-radius: 12px;	 
border: 1px solid rgba(255,255,255,.25);	 
background: rgba(255,255,255,.03);	 
}	 
.mkdf-quantity-buttons .mkdf-quantity-minus:hover,	 
.mkdf-quantity-buttons .mkdf-quantity-plus:hover{	 
border-color: #00e5ff;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.12);	 
}	 
/* Ocultar quantity (1 + -) completamente */	 
.woocommerce div.product form.cart .quantity,	 
.mkdf-quantity-buttons {	 
display: none !important;	 
}	 
/* =========================================	 
FILE UPLOAD: hacer que el input file se vea "premium"	 
========================================= */	 
/* El input completo (la “caja”) */	 
.woocommerce div.product form.cart input[type="file"],	 
.wapf-wrapper input[type="file"]{	 
width: 100%;	 
max-width: 520px;	 
padding: 12px 14px;	 
border-radius: 12px;	 
border: 1px solid rgba(255,255,255,.25);	 
background: rgba(255,255,255,.03);	 
color: rgba(255,255,255,.75);	 
font-size: 14px;	 
}	 
/* Botón del selector (Chrome/Edge/Safari modernos) */	 
.woocommerce div.product form.cart input[type="file"]::file-selector-button,	 
.wapf-wrapper input[type="file"]::file-selector-button{	 
margin-right: 12px;	 
padding: 12px 16px;	 
border-radius: 999px;	 
border: 1px solid rgba(255,255,255,.25);	 
background: #0b0b0b;	 
color: #fff;	 
cursor: pointer;	 
transition: .18s ease;	 
text-transform: uppercase;	 
letter-spacing: 1px;	 
font-size: 12px;	 
}	 
/* Hover del botón */	 
.woocommerce div.product form.cart input[type="file"]::file-selector-button:hover,	 
.wapf-wrapper input[type="file"]::file-selector-button:hover{	 
border-color: #00e5ff;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.14);	 
}	 
/* Fallback WebKit (algunos Safari/temas) */	 
.woocommerce div.product form.cart input[type="file"]::-webkit-file-upload-button,	 
.wapf-wrapper input[type="file"]::-webkit-file-upload-button{	 
margin-right: 12px;	 
padding: 12px 16px;	 
border-radius: 999px;	 
border: 1px solid rgba(255,255,255,.25);	 
background: #0b0b0b;	 
color: #fff;	 
cursor: pointer;	 
transition: .18s ease;	 
text-transform: uppercase;	 
letter-spacing: 1px;	 
font-size: 12px;	 
}	 
.woocommerce div.product form.cart input[type="file"]::-webkit-file-upload-button:hover,	 
.wapf-wrapper input[type="file"]::-webkit-file-upload-button:hover{	 
border-color: #00e5ff;	 
box-shadow: 0 0 0 3px rgba(0,229,255,.14);	 
}	 
.swatchly-swatch{	 
transition: all .15s ease;	 
}	 
.swatchly-swatch:hover{	 
transform: translateY(-2px);	 
}	 
/* Alinear labels (QTY / Sides) a la izquierda */	 
.woocommerce div.product form.variations_form table.variations th.label,	 
.woocommerce div.product form.variations_form table.variations th.label label{	 
text-align: left !important;	 
justify-content: flex-start !important;	 
}	 
/* Alinear los swatches (botones) a la izquierda */	 
.woocommerce .variations .swatchly-swatch-wrap,	 
.woocommerce .variations .swatchly-swatch-wrapper,	 
.woocommerce .variations .swatchly-swatch-container,	 
.woocommerce .variations td.value{	 
text-align: left !important;	 
justify-content: flex-start !important;	 
}	 
/* Si Swatchly usa flex para los botones */	 
.woocommerce .variations .swatchly-swatch-wrap{	 
display: flex !important;	 
flex-wrap: wrap !important;	 
gap: 10px !important;	 
}	 
/* Ocultar meta del producto (SKU, categories, tags) */	 
.woocommerce div.product .product_meta{	 
display: none !important;	 
}	 
/* Quitar espacio vacío bajo la imagen en desktop */	 
@media (min-width: 992px){	 
.woocommerce div.product .woocommerce-product-gallery{	 
margin-bottom: 0 !important;	 
}	 
.woocommerce div.product .woocommerce-product-gallery__wrapper{	 
margin-bottom: 0 !important;	 
}	 
.woocommerce div.product .woocommerce-product-gallery img{	 
display: block;	 
}	 
}	 
@media (min-width: 992px){	 
.woocommerce div.product .mkdf-single-product-images,	 
.woocommerce div.product .woocommerce-product-gallery{	 
padding-bottom: 0 !important;	 
min-height: 0 !important;	 
}	 
}	 
/* =========================================	 
OVERTONE – Eliminar hover overlay en Shop	 
========================================= */	 
/* Quitar capa oscura */	 
.woocommerce ul.products li.product .mkdf-pl-inner:before,	 
.woocommerce ul.products li.product .mkdf-pl-image:before {	 
display: none !important;	 
}	 
/* Quitar efecto fade/opacity */	 
.woocommerce ul.products li.product:hover .mkdf-pl-inner,	 
.woocommerce ul.products li.product:hover .mkdf-pl-image,	 
.woocommerce ul.products li.product:hover img {	 
opacity: 1 !important;	 
transform: none !important;	 
}	 
/* Quitar botón overlay completo */	 
.woocommerce ul.products li.product .mkdf-pl-text {	 
display: none !important;	 
}

/* MOBILE: SIDEBAR ARRIBA */
@media only screen and (max-width: 768px){

    .mkdf-grid-row{
        display:flex !important;
        flex-direction:column !important;
    }

    .mkdf-sidebar-holder{
        order:1 !important;
        width:100% !important;
        margin-bottom:40px !important;
    }

    .mkdf-page-content-holder{
        order:2 !important;
        width:100% !important;
    }
}
/* FIX MOBILE SHOP LAYOUT */
@media only screen and (max-width:768px){

    .mkdf-grid-row{
        display:flex !important;
        flex-direction:column !important;
    }

    .mkdf-page-content-holder,
    .mkdf-sidebar-holder{
        width:100% !important;
        float:none !important;
        left:auto !important;
        right:auto !important;
    }

    .mkdf-sidebar-holder{
        order:1 !important;
        margin-bottom:40px !important;
    }

    .mkdf-page-content-holder{
        order:2 !important;
    }

    /* elimina push/pull del theme */
    .mkdf-grid-col-push-3,
    .mkdf-grid-col-pull-9{
        left:auto !important;
    }
}
/* MOBILE PRODUCTS */
@media only screen and (max-width:768px){

    ul.products{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:20px !important;
    }

    ul.products li.product{
        width:100% !important;
        margin:0 !important;
    }
}
/* SHOP HERO BANNER */

.shop-hero{
    position:relative;
    background:#000;
    border-radius:20px;
    overflow:hidden;
    padding:80px 60px;
    margin-bottom:50px;
    color:white;
}

.shop-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.2) 100%
    );
    z-index:1;
}

.shop-hero-content{
    position:relative;
    z-index:2;
    max-width:550px;
}

.shop-hero h1{
    font-size:54px;
    line-height:1;
    margin-bottom:20px;
    color:white;
}

.shop-hero p{
    font-size:18px;
    opacity:.9;
    margin-bottom:30px;
}

.shop-hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.shop-btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:999px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.shop-btn-primary{
    background:#00aeef;
    color:black;
}

.shop-btn-primary:hover{
    transform:translateY(-2px);
}

.shop-btn-secondary{
    border:3px solid rgba(255,255,255,.3);
    color:white;
}

@media(max-width:768px){

    .shop-hero{
        padding:50px 30px;
        border-radius:15px;
    }

    .shop-hero h1{
        font-size:38px;
    }

    .shop-hero p{
        font-size:16px;
    }
}
/* SHOP CATEGORIES */

/* =========================================
   SHOP CATEGORIES — BACK TO SCHOOL FEATURED
========================================= */

.shop-categories {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
    margin-bottom: 60px !important;
}

/* Eliminar márgenes de wrappers añadidos por WordPress */
.shop-categories > * {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* El primer elemento completo ocupa las 3 columnas */
.shop-categories > :first-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Todas las tarjetas */
.shop-category {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 240px !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    text-decoration: none !important;
}

/* Back to School cuando está dentro de un wrapper */
.shop-categories > :first-child .shop-category {
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
}

/* Back to School cuando el enlace es hijo directo */
.shop-categories > .shop-category:first-child {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
}

/* Imágenes */
.shop-category img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease !important;
}

.shop-category:hover img {
    transform: scale(1.05) !important;
}

/* Overlay */
.shop-category-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 25px !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.2)
    ) !important;
}

/* Overlay horizontal de Back to School */
.shop-categories > :first-child .shop-category-overlay,
.shop-categories > .shop-category:first-child .shop-category-overlay {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.40) 55%,
        rgba(0, 0, 0, 0.08) 100%
    ) !important;
}

/* Texto */
.shop-category-title {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 0.95 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Título Back to School */
.shop-categories > :first-child .shop-category-title,
.shop-categories > .shop-category:first-child .shop-category-title {
    font-size: 25px !important;
    line-height: 1 !important;
}

/* Móvil */
@media screen and (max-width: 768px) {

    .shop-categories {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .shop-categories > :first-child,
    .shop-categories > .shop-category:first-child {
        grid-column: auto !important;
    }

    .shop-category {
        min-height: 180px !important;
    }

    .shop-categories > :first-child .shop-category,
    .shop-categories > .shop-category:first-child {
        height: 180px !important;
        min-height: 180px !important;
    }

    .shop-category-title {
        font-size: 28px !important;
    }
}
/* HIDE DEFAULT WOOCOMMERCE STUFF */

.woocommerce-result-count,
.woocommerce-ordering{
    display:none !important;
}
/* PRODUCT CARDS */

ul.products li.product{
    background:#000000;
    padding:15px;
    border-radius:18px;
    transition:.3s;
}

ul.products li.product:hover{
    transform:translateY(-4px);
}

ul.products li.product img{
    border-radius:12px;
}

.woocommerce ul.products li.product h2{
    font-size:24px !important;
    line-height:1.1;
    margin-top:18px;
}

.price{
    color:#00aeef !important;
    font-weight:600;
}
@media(min-width:1024px){

    .widget_block{
        position:sticky;
        top:120px;
    }

}
/* Quitar barra blanca dentro del dropdown */
.single-product .select2-search,
.single-product .select2-search--dropdown{
    display:none !important;
}

.single-product .select2-dropdown,
.single-product .select2-results,
.single-product .select2-results__options,
.single-product .select2-results__option{
    background:#000 !important;
    color:#fff !important;
    border-color:#555 !important;
}
/* PRODUCT PAGE - compactar opciones MUCHO más */
.single-product table.variations,
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td{
    display:block !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
}

.single-product table.variations tr{
    margin-bottom:10px !important;
}

.single-product table.variations label{
    margin-bottom:5px !important;
    font-size:12px !important;
    letter-spacing:2px;
}

/* Reducir altura del dropdown */
.single-product table.variations select{
    height:44px !important;
    min-height:44px !important;
    line-height:44px !important;
    padding:0 14px !important;
    margin:0 !important;
}

/* Quitar espacios extra entre variaciones y upload */
.single-product .variations_form,
.single-product form.cart,
.single-product .single_variation_wrap,
.single-product .woocommerce-variation-add-to-cart{
    margin-top:0 !important;
    padding-top:0 !important;
}

/* Compactar upload */
.single-product .wcpa_form_outer,
.single-product .wcpa_wrap,
.single-product .wcpa_form_item,
.single-product .wcpa_field_wrap{
    margin-top:8px !important;
    margin-bottom:8px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
}
/* POLYGON BUTTON VARIATIONS */

.single-product .polygon-variation-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:8px;
    margin-bottom:18px;
}

.single-product .polygon-var-btn{
    background:#080808;
    border:1px solid rgba(255,255,255,.15);
    color:#fff;

    padding:12px 16px;
    border-radius:10px;

    font-size:14px;
    font-weight:600;

    cursor:pointer;
    transition:.25s ease;
}

.single-product .polygon-var-btn:hover{
    border-color:#00c3ff;
    color:#00c3ff;
}

.single-product .polygon-var-btn.active{
    background:#00c3ff;
    color:#000;
    border-color:#00c3ff;
}
/* REMOVE ORIGINAL SELECT SPACE */

.single-product .variations td.value{
    position:relative;
}

.single-product .variations select{
    display:none !important;
}

.single-product .reset_variations{
    display:none !important;
}
/* REMOVE EXTRA GAP */

.single-product .polygon-variation-buttons{
    margin-top:0 !important;
    margin-bottom:14px !important;
}
/* Ocultar dropdown visual del theme */
.single-product .select2-container,
.single-product .select2,
.single-product .mkdf-select-wrapper,
.single-product .select2-selection,
.single-product .select2-selection--single{
    display:none !important;
}
/* Mejor spacing final de botones */
.single-product .polygon-variation-buttons{
    gap:8px !important;
    margin-bottom:18px !important;
}

/* Botones un poco más compactos */
.single-product .polygon-var-btn{
    padding:10px 15px !important;
    border-radius:9px !important;
}
@media(max-width:768px){

    .single-product .polygon-variation-buttons{
        display:grid !important;
        grid-template-columns:1fr 1fr !important;
        gap:10px !important;
        width:100% !important;
        max-width:100% !important;
        overflow:hidden !important;
    }

    .single-product .polygon-var-btn{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:14px 8px !important;
        font-size:14px !important;
        line-height:1.2 !important;
        white-space:normal !important;
        word-break:normal !important;
        overflow-wrap:break-word !important;
        text-align:center !important;
    }
}
@media(max-width:768px){

    .single-product tr:nth-child(4) .polygon-variation-buttons{
        grid-template-columns:1fr !important;
    }
}
/* REDUCIR ESPACIO DEL TITULO SHOP */

.post-type-archive-product .mkdf-title-holder{
    padding:40px 0 10px !important;
    margin-bottom:0 !important;
}

.post-type-archive-product .mkdf-title-holder h1{
    margin-bottom:0 !important;
}

/* Subir contenido del shop */
.post-type-archive-product .mkdf-container-inner{
    padding-top:0 !important;
}
/* SINGLE PRODUCT IMAGE ROUNDED */

.single-product .woocommerce-product-gallery img,
.single-product .woocommerce-product-gallery__image img{
    border-radius:24px !important;
}

/* Opcional: overflow limpio */
.single-product .woocommerce-product-gallery__image{
    overflow:hidden;
    border-radius:24px;
}
/* DESCRIPTION TITLE */

.single-product .woocommerce-tabs ul.tabs li a,
.single-product .woocommerce-tabs .tabs li a{
    font-size:24px !important;
    font-weight:700 !important;
    letter-spacing:-0.5px;
    text-transform:none !important;
}
/* DESCRIPTION HEADING */

.single-product .woocommerce-tabs h2{
    font-size:34px !important;
    font-weight:700 !important;
    color:#00c3ff !important;
}
/* HIDE FOOTER ON SINGLE PRODUCT */

.single-product footer,
.single-product .mkdf-page-footer,
.single-product .footer-top,
.single-product .footer-bottom{
    display:none !important;
}
/* REMOVE FOOTER SPACE */

.single-product .mkdf-content{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}
.single-product [id*="payment-request"],
.single-product [class*="payment-request"],
.single-product [class*="express"],
.single-product [id*="express"]{
    display:none !important;
}
/* SPACE ABOVE ADD TO CART */

.single-product .summary .cart{
    margin-top:40px !important;
}
.polygon-upload-artwork{
    margin-top:28px;
    margin-bottom:24px;
}

.polygon-upload-artwork label{
    display:block;
    margin-bottom:10px;
    color:#fff;
    letter-spacing:1px;
}

.polygon-upload-artwork input[type="file"]{
    width:100%;
    padding:18px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:16px;
    background:#070707;
    color:#fff;
}

.polygon-upload-note{
    font-size:12px;
    opacity:.65;
    margin-top:8px;
}
/* HIDE UPLOAD ONLY ON BLACK LANYARDS */

.single-product.postid-10490 .polygon-upload-artwork{
    display:none !important;
}
.polygon-template-wrap{
    margin-top:18px;
    margin-bottom:22px;
}

/* TEMPLATE MINI CARD */

.polygon-template-wrap{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;

    margin-top:14px !important;
    margin-bottom:22px !important;

    padding:12px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:16px !important;
    background:#070707 !important;
}

.polygon-template-wrap a:first-child{
    flex:0 0 auto !important;
}

.polygon-template-preview{
    width:70px !important;
    height:70px !important;
    max-width:70px !important;

    object-fit:cover !important;
    object-position:top center !important;

    border-radius:10px !important;
    display:block !important;
}

.polygon-template-text{
    margin:0 0 5px !important;
    font-size:12px !important;
    font-weight:700 !important;
    opacity:.9;
}

.polygon-template-btn{
    font-size:13px !important;
    font-weight:700 !important;
    color:#00c3ff !important;
    text-decoration:none !important;
}
/* MOBILE FIX: upload + template card */
@media(max-width:768px){

    /* Evita que el upload se salga del ancho */
    .single-product .polygon-upload-artwork,
    .single-product .polygon-upload-artwork input[type="file"],
    .single-product .summary .cart,
    .single-product .single_add_to_cart_button{
        width:100% !important;
        max-width:100% !important;
        box-sizing:border-box !important;
    }

    .single-product .polygon-upload-artwork input[type="file"]{
        padding:14px !important;
        font-size:13px !important;
        overflow:hidden !important;
    }

    /* Template card en 2 líneas */
    .polygon-template-wrap{
        display:grid !important;
        grid-template-columns:70px 1fr !important;
        gap:12px !important;
        align-items:center !important;
    }

    .polygon-template-wrap a:first-child{
        grid-row:1 / 3 !important;
    }

    .polygon-template-text{
        margin:0 !important;
        font-size:14px !important;
        line-height:1.3 !important;
    }

    .polygon-template-btn{
        display:block !important;
        font-size:15px !important;
        line-height:1.2 !important;
    }
}
.online-shop-cyan > a,
.online-shop-cyan > a:hover,
.online-shop-cyan.current-menu-item > a,
.online-shop-cyan.current_page_item > a {
    color: #4EABE8 !important;
}
.polygon-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 30px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(78, 171, 232, 0.12) 0%,
            rgba(0, 0, 0, 0) 55%
        ),
        #000000;
}

.polygon-hero-content {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.polygon-hero-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.polygon-hero-title span {
    display: block;
}

.polygon-hero-title .polygon-hero-accent {
    color: #4EABE8;
}

.polygon-hero-line {
    width: 105px;
    height: 4px;
    margin: 32px auto 26px;
    background-color: #4EABE8;
}

.polygon-hero-description {
    max-width: 720px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.6;
}

.polygon-hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.polygon-button {
    min-width: 190px;
    padding: 16px 28px;
    border: 2px solid #4EABE8;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.polygon-button-primary {
    color: #000000 !important;
    background-color: #4EABE8;
}

.polygon-button-primary:hover {
    color: #000000 !important;
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.polygon-button-secondary {
    color: #ffffff !important;
    background-color: transparent;
}

.polygon-button-secondary:hover {
    color: #000000 !important;
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.polygon-hero-services {
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.polygon-hero-services span {
    color: #4EABE8;
    margin: 0 8px;
}

@media screen and (max-width: 768px) {
    .polygon-hero {
        min-height: auto;
        padding: 75px 22px;
    }

    .polygon-hero-title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    .polygon-hero-description {
        font-size: 18px;
    }

    .polygon-hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .polygon-button {
        width: 100%;
        max-width: 320px;
    }

    .polygon-hero-services {
        line-height: 2;
    }
}
@media screen and (max-width: 768px) {

    .polygon-hero {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding: 55px 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .polygon-hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .polygon-hero-title {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        font-size: clamp(32px, 10vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.5px !important;
        text-align: center !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .polygon-hero-title span {
        width: 100% !important;
        display: block !important;
    }

    .polygon-hero-description {
        width: 100% !important;
        max-width: 340px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}@media screen and (max-width: 768px) {

    .polygon-hero-buttons {
        width: 100% !important;
        max-width: 320px !important;
        margin: 34px auto 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        box-sizing: border-box !important;
    }

    .polygon-hero-buttons .polygon-button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
        transform: none !important;
    }
}/* Subir el hero sobre la parte inferior del Slider Revolution */
@media screen and (min-width: 769px) {
    .polygon-hero {
        position: relative !important;
        z-index: 20 !important;
        overflow: visible !important;
    }

    .polygon-hero-content {
        position: relative !important;
        z-index: 21 !important;
        margin-top: -120px !important;
    }
}
/* BEST SELLERS — encabezado corregido */
#polygon-best-sellers-heading {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 40px) !important;
    max-width: 950px !important;
    margin: 0 auto 55px !important;
    padding: 70px 20px 10px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

#polygon-best-sellers-heading h2 {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: clamp(40px, 4vw, 62px) !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    text-align: center !important;
    white-space: normal !important;
}

#polygon-best-sellers-heading h2 span {
    color: #4EABE8 !important;
}

#polygon-best-sellers-heading p {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    text-align: center !important;
}

@media screen and (max-width: 600px) {
    #polygon-best-sellers-heading {
        width: calc(100vw - 30px) !important;
        padding-top: 55px !important;
        margin-bottom: 38px !important;
    }

    #polygon-best-sellers-heading h2 {
        font-size: 36px !important;
    }

    #polygon-best-sellers-heading p {
        font-size: 16px !important;
    }
}/* COMPACTAR HERO Y BEST SELLERS */
.polygon-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 65px 30px 55px !important;
    margin-bottom: 0 !important;
}

.polygon-best-sellers {
    min-height: 0 !important;
    height: auto !important;
    padding: 60px 35px 80px !important;
    margin-top: 0 !important;
}

#polygon-best-sellers-heading {
    padding: 0 !important;
    margin: 0 auto 45px !important;
}

@media screen and (max-width: 768px) {
    .polygon-hero {
        padding: 50px 18px 45px !important;
    }

    .polygon-best-sellers {
        padding: 50px 18px 65px !important;
    }

    #polygon-best-sellers-heading {
        margin-bottom: 35px !important;
    }
}
/* CORREGIR POSICIÓN DEL HERO DESPUÉS DEL SLIDER */
@media screen and (min-width: 769px) {
    .polygon-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 75px 30px 65px !important;
        margin-top: 0 !important;
    }

    .polygon-hero-content {
        margin-top: 0 !important;
        transform: none !important;
    }
}

@media screen and (max-width: 768px) {
    .polygon-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 55px 18px 50px !important;
        margin-top: 0 !important;
    }

    .polygon-hero-content {
        margin-top: 0 !important;
    }
}
/* BEST SELLERS — versión compacta */
.polygon-best-sellers {
    padding: 45px 30px 60px !important;
}

#polygon-best-sellers-heading {
    margin-bottom: 32px !important;
}

/* Contenedor más estrecho y centrado */
.polygon-best-sellers .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 280px)) !important;
    justify-content: center !important;
    gap: 30px !important;
    max-width: 950px !important;
    margin: 0 auto !important;
}

/* Tarjetas más pequeñas */
.polygon-best-sellers .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 280px !important;
    padding-bottom: 20px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
}

/* Imágenes más pequeñas */
.polygon-best-sellers .woocommerce ul.products li.product img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
}

/* Nombre del producto */
.polygon-best-sellers .woocommerce ul.products li.product h2,
.polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: auto !important;
    padding: 0 10px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

/* Precio */
.polygon-best-sellers .woocommerce ul.products li.product .price {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    text-align: center !important;
}

/* Badge "new" más discreto */
.polygon-best-sellers .woocommerce span.onsale,
.polygon-best-sellers .mkdf-new-product,
.polygon-best-sellers .qodef-new-product {
    min-width: auto !important;
    min-height: auto !important;
    padding: 7px 13px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

/* Ocultar botón para que se vea más limpio */
.polygon-best-sellers .woocommerce ul.products li.product .button {
    display: none !important;
}

/* Tablet */
@media screen and (max-width: 900px) {
    .polygon-best-sellers .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 260px)) !important;
    }
}

/* Móvil */
@media screen and (max-width: 600px) {
    .polygon-best-sellers {
        padding: 40px 18px 50px !important;
    }

    .polygon-best-sellers .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product {
        max-width: 100% !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product img {
        height: 165px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product h2,
    .polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px !important;
        padding: 0 !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product .price {
        font-size: 13px !important;
    }
}
/* BEST SELLERS — tamaño más discreto */
.polygon-best-sellers .woocommerce ul.products {
    grid-template-columns: repeat(3, 210px) !important;
    gap: 24px !important;
    max-width: 780px !important;
    justify-content: center !important;
}

.polygon-best-sellers .woocommerce ul.products li.product {
    width: 210px !important;
    max-width: 210px !important;
}

.polygon-best-sellers .woocommerce ul.products li.product img {
    width: 210px !important;
    height: 170px !important;
    margin: 0 auto 12px !important;
    object-fit: cover !important;
}

.polygon-best-sellers .woocommerce ul.products li.product h2,
.polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.polygon-best-sellers .woocommerce ul.products li.product .price {
    margin-top: 6px !important;
    font-size: 14px !important;
}

/* Badge "new" más pequeño */
.polygon-best-sellers .woocommerce span.onsale,
.polygon-best-sellers .mkdf-new-product,
.polygon-best-sellers .qodef-new-product {
    padding: 5px 10px !important;
    font-size: 10px !important;
}

/* Móvil */
@media screen and (max-width: 600px) {
    .polygon-best-sellers .woocommerce ul.products {
        grid-template-columns: repeat(2, 140px) !important;
        gap: 16px !important;
        max-width: 300px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product {
        width: 140px !important;
        max-width: 140px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product img {
        width: 140px !important;
        height: 120px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product h2,
    .polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product .price {
        font-size: 12px !important;
    }
}
/* BEST SELLERS — AJUSTE FINAL COMPACTO */

/* Desktop */
.polygon-best-sellers .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 180px) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.polygon-best-sellers .woocommerce ul.products li.product {
    width: 180px !important;
    max-width: 180px !important;
    margin: 0 !important;
    text-align: center !important;
}

.polygon-best-sellers .woocommerce ul.products li.product img {
    width: 180px !important;
    height: 155px !important;
    margin: 0 auto 12px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

.polygon-best-sellers .woocommerce ul.products li.product h2,
.polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: auto !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.polygon-best-sellers .woocommerce ul.products li.product .price {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    text-align: center !important;
}

/* Móvil: los 3 en una sola fila */
@media screen and (max-width: 600px) {

    .polygon-best-sellers {
        padding: 38px 12px 48px !important;
    }

    #polygon-best-sellers-heading {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 28px !important;
        padding: 0 8px !important;
    }

    #polygon-best-sellers-heading h2 {
        font-size: 27px !important;
        line-height: 1.08 !important;
    }

    #polygon-best-sellers-heading p {
        max-width: 330px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .polygon-best-sellers .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin-bottom: 9px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product h2,
    .polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 28px !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product .price {
        margin-top: 4px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .polygon-best-sellers .woocommerce span.onsale,
    .polygon-best-sellers .mkdf-new-product,
    .polygon-best-sellers .qodef-new-product {
        padding: 4px 7px !important;
        font-size: 8px !important;
    }
}
/* DESKTOP — CAMBIAR ICONO FULLSCREEN POR HAMBURGER */
@media screen and (min-width: 769px) {

    .mkdf-fullscreen-menu-opener,
    .qodef-fullscreen-menu-opener,
    .mkdf-side-menu-button-opener,
    .qodef-side-area-opener {
        position: relative !important;
        width: 32px !important;
        height: 26px !important;
        color: #00AEEF !important;
    }

    .mkdf-fullscreen-menu-opener svg,
    .qodef-fullscreen-menu-opener svg,
    .mkdf-side-menu-button-opener svg,
    .qodef-side-area-opener svg,
    .mkdf-fullscreen-menu-opener > span,
    .qodef-fullscreen-menu-opener > span {
        opacity: 0 !important;
    }

    .mkdf-fullscreen-menu-opener::before,
    .qodef-fullscreen-menu-opener::before,
    .mkdf-side-menu-button-opener::before,
    .qodef-side-area-opener::before {
        content: "";
        position: absolute !important;
        top: 5px !important;
        left: 50% !important;
        width: 28px !important;
        height: 2px !important;
        background-color: currentColor !important;
        transform: translateX(-50%) !important;
        box-shadow:
            0 7px 0 currentColor,
            0 14px 0 currentColor !important;
        border-radius: 2px !important;
    }

    .mkdf-fullscreen-menu-opener:hover,
    .qodef-fullscreen-menu-opener:hover,
    .mkdf-side-menu-button-opener:hover,
    .qodef-side-area-opener:hover {
        color: #ffffff !important;
    }
}
/* Ocultar etiqueta NEW solo en Best Sellers */
.polygon-best-sellers .onsale,
.polygon-best-sellers .mkdf-new-product,
.polygon-best-sellers .qodef-new-product,
.polygon-best-sellers .product-badge,
.polygon-best-sellers .new {
    display: none !important;
}

/* Texto más discreto */
.polygon-best-sellers .woocommerce ul.products li.product h2,
.polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    line-height: 1.15 !important;
}

.polygon-best-sellers .woocommerce ul.products li.product .price {
    font-size: 12px !important;
    line-height: 1.15 !important;
}

/* Ajuste para móvil */
@media screen and (max-width: 600px) {

    .polygon-best-sellers .woocommerce ul.products li.product h2,
    .polygon-best-sellers .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 24px !important;
        margin: 0 !important;
        padding: 0 2px !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
        font-weight: 600 !important;
    }

    .polygon-best-sellers .woocommerce ul.products li.product .price {
        margin-top: 4px !important;
        padding: 0 2px !important;
        font-size: 9px !important;
        line-height: 1.15 !important;
    }
}
/* Reducir espacio antes de Best Sellers */
@media screen and (min-width: 769px) {

    .polygon-hero {
        padding-bottom: 25px !important;
        margin-bottom: 0 !important;
    }

    body .polygon-best-sellers {
        min-height: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
        padding-top: 25px !important;
        padding-bottom: 60px !important;
    }

    body .polygon-best-sellers .vc_column-inner {
        padding-top: 0 !important;
    }

    body #polygon-best-sellers-heading {
        margin-top: 0 !important;
        margin-bottom: 35px !important;
        padding-top: 0 !important;
    }
}
/* AJUSTE FINAL: HEADER + BEST SELLERS */

/* Evitar que el header tape el hero */
@media screen and (min-width: 769px) {
    body .polygon-hero {
        position: relative !important;
        min-height: auto !important;
        margin-top: 0 !important;
        padding: 135px 30px 55px !important;
    }

    body .polygon-hero-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 0 auto !important;
        transform: none !important;
    }
}

/* Centrar completamente la sección */
body .polygon-best-sellers {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 45px 20px 65px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* Centrar título y descripción */
body #polygon-best-sellers-heading {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 950px !important;
    margin: 0 auto 35px !important;
    padding: 0 !important;
    transform: none !important;
    text-align: center !important;
}

body #polygon-best-sellers-heading h2 {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 16px !important;
    padding: 0 !important;
    text-align: center !important;
}

body #polygon-best-sellers-heading p {
    width: 100% !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Centrar los tres productos */
body .polygon-best-sellers .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 180px) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Móvil */
@media screen and (max-width: 768px) {
    body .polygon-hero {
        margin-top: 0 !important;
        padding: 105px 18px 45px !important;
    }

    body .polygon-hero-content {
        margin: 0 auto !important;
        transform: none !important;
    }

    body .polygon-best-sellers {
        padding: 38px 12px 50px !important;
    }

    body #polygon-best-sellers-heading {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 30px !important;
        padding: 0 8px !important;
    }

    body .polygon-best-sellers .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto !important;
    }
}
/* CART - Stripe Express Checkout Section */
.woocommerce-cart #wc-stripe-express-checkout-element,
.woocommerce-cart #wc-stripe-payment-request-wrapper,
.woocommerce-cart #wcpay-payment-request-wrapper {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 28px !important;
    padding: 60px 18px 44px 18px !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.03) !important;
    max-width: 100% !important;
}

/* Title */
.woocommerce-cart #wc-stripe-express-checkout-element::before,
.woocommerce-cart #wc-stripe-payment-request-wrapper::before,
.woocommerce-cart #wcpay-payment-request-wrapper::before {
    content: "Express Checkout";
    position: absolute !important;
    top: 20px !important;
    left: 18px !important;
    color: #ffffff !important;
    font-size: 35px !important;
    font-weight: 700 !important;
}

/* Subtitle */
.woocommerce-cart #wc-stripe-express-checkout-element::after,
.woocommerce-cart #wc-stripe-payment-request-wrapper::after,
.woocommerce-cart #wcpay-payment-request-wrapper::after {
    content: "Pay faster with Apple Pay, Google Pay or Link.";
    position: absolute !important;
    bottom: 16px !important;
    left: 18px !important;
    right: 18px !important;
    color: rgba(255,255,255,0.62) !important;
    font-size: 12px !important;
    text-align: center !important;
}

/* Buttons in one row */
.woocommerce-cart #wc-stripe-express-checkout-element > div,
.woocommerce-cart #wc-stripe-payment-request-wrapper > div,
.woocommerce-cart #wcpay-payment-request-wrapper > div {
    flex: 1 1 0 !important;
    min-width: 220px !important;
}

/* Button height */
.woocommerce-cart #wc-stripe-express-checkout-element iframe,
.woocommerce-cart #wc-stripe-payment-request-wrapper iframe,
.woocommerce-cart #wcpay-payment-request-wrapper iframe {
    min-height: 48px !important;
    border-radius: 8px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-cart #wc-stripe-express-checkout-element,
    .woocommerce-cart #wc-stripe-payment-request-wrapper,
    .woocommerce-cart #wcpay-payment-request-wrapper {
        display: block !important;
        padding: 58px 16px 48px 16px !important;
    }

    .woocommerce-cart #wc-stripe-express-checkout-element > div,
    .woocommerce-cart #wc-stripe-payment-request-wrapper > div,
    .woocommerce-cart #wcpay-payment-request-wrapper > div {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .woocommerce-cart #wc-stripe-express-checkout-element::before,
    .woocommerce-cart #wc-stripe-payment-request-wrapper::before,
    .woocommerce-cart #wcpay-payment-request-wrapper::before {
        font-size: 16px !important;
        left: 16px !important;
    }
}/* Stronger outline around Apple Pay */
.woocommerce-cart #wc-stripe-express-checkout-element > div:first-child,
.woocommerce-cart #wc-stripe-payment-request-wrapper > div:first-child,
.woocommerce-cart #wcpay-payment-request-wrapper > div:first-child {
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}/* ================================
   POLYGON CART PAGE STYLING
================================ */

/* Main cart content width */
.woocommerce-cart .woocommerce {
    max-width: 1120px;
    margin: 0 auto;
}

/* Cart table container */
.woocommerce-cart form.woocommerce-cart-form {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 28px;
}

/* Cart table */
.woocommerce-cart table.shop_table {
    border: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-cart table.shop_table th {
    color: #ffffff !important;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    opacity: 0.85;
}

.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th {
    border-color: rgba(255,255,255,0.18) !important;
}

/* Product image */
.woocommerce-cart .product-thumbnail img {
    border-radius: 8px;
    width: 88px !important;
}

/* Product name */
.woocommerce-cart .product-name a {
    color: #00aeef !important;
    font-weight: 600;
}

.woocommerce-cart .variation,
.woocommerce-cart .variation p,
.woocommerce-cart .variation dt,
.woocommerce-cart .variation dd {
    color: rgba(255,255,255,0.78) !important;
    font-size: 13px !important;
}

/* Coupon + update area */
.woocommerce-cart .actions {
    padding-top: 28px !important;
}

.woocommerce-cart .coupon input.input-text {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.55) !important;
    color: #ffffff !important;
    padding-left: 0 !important;
}

.woocommerce-cart .coupon input.input-text::placeholder {
    color: rgba(255,255,255,0.65) !important;
}

/* Buttons general */
.woocommerce-cart button.button,
.woocommerce-cart a.button,
.woocommerce-cart .checkout-button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    text-transform: lowercase;
    transition: all 0.25s ease;
}

.woocommerce-cart button.button:hover,
.woocommerce-cart a.button:hover,
.woocommerce-cart .checkout-button:hover {
    background: #00aeef !important;
    border-color: #00aeef !important;
    color: #000000 !important;
}

/* Order summary / cart totals box */
.woocommerce-cart .cart-collaterals {
    margin-top: 20px;
}

.woocommerce-cart .cart_totals {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px !important;
    width: 100% !important;
    float: none !important;
}

/* Cart totals title */
.woocommerce-cart .cart_totals h2 {
    color: #ffffff !important;
    font-size: 34px !important;
    line-height: 1.1;
    margin-bottom: 24px !important;
}

/* Summary table */
.woocommerce-cart .cart_totals table {
    border: none !important;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    border-color: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    padding: 16px 0 !important;
}

.woocommerce-cart .cart_totals th {
    font-weight: 700 !important;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 17px !important;
    font-weight: 800 !important;
}

/* Main checkout button */
.woocommerce-cart .wc-proceed-to-checkout {
    padding-top: 22px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: inline-block !important;
    width: auto !important;
    min-width: 220px;
    padding: 16px 28px !important;
    font-size: 14px !important;
}

/* Add subtle cyan accent to order summary */
.woocommerce-cart .cart_totals {
    position: relative;
}

.woocommerce-cart .cart_totals::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 70px;
    height: 2px;
    background: #00aeef;
}

/* Mobile cleanup */
@media (max-width: 768px) {
    .woocommerce-cart form.woocommerce-cart-form,
    .woocommerce-cart .cart_totals {
        padding: 18px !important;
        border-radius: 10px;
    }

    .woocommerce-cart .cart_totals h2 {
        font-size: 28px !important;
    }

    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        width: 100% !important;
        text-align: center;
    }
}/* Rename Cart Totals visually */
.woocommerce-cart .cart_totals h2 {
    font-size: 0 !important;
}

.woocommerce-cart .cart_totals h2::after {
    content: "Order Summary";
    font-size: 34px !important;
    line-height: 1.1;
    color: #ffffff;
}

/* Make main checkout button feel more premium */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #00aeef !important;
    border-color: #00aeef !important;
    color: #000000 !important;
    text-transform: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Less WooCommerce-looking buttons */
.woocommerce-cart button.button,
.woocommerce-cart a.button {
    text-transform: none !important;
}

/* Make express checkout slightly less dominant than main checkout */
.woocommerce-cart #wc-stripe-express-checkout-element,
.woocommerce-cart #wc-stripe-payment-request-wrapper,
.woocommerce-cart #wcpay-payment-request-wrapper {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.14) !important;
}

/* Smaller Express Checkout title */
.woocommerce-cart #wc-stripe-express-checkout-element::before,
.woocommerce-cart #wc-stripe-payment-request-wrapper::before,
.woocommerce-cart #wcpay-payment-request-wrapper::before {
    font-size: 24px !important;
}
/* ================================
   POLYGON CHECKOUT PAGE STYLING
================================ */

.woocommerce-checkout .woocommerce {
    max-width: 1120px;
    margin: 0 auto;
}

/* Coupon notice */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: rgba(255,255,255,0.015) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 22px 26px !important;
    margin-bottom: 30px !important;
}

.woocommerce-checkout .woocommerce-info::before {
    display: none !important;
}

.woocommerce-checkout .woocommerce-info a {
    color: #00aeef !important;
    font-weight: 700;
}

/* Customer details layout */
.woocommerce-checkout #customer_details {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    width: 100% !important;
    float: none !important;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px;
    box-sizing: border-box;
    position: relative;
}

/* Cyan accent line */
.woocommerce-checkout #customer_details .col-1::before,
.woocommerce-checkout #customer_details .col-2::before,
.woocommerce-checkout #order_review::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 70px;
    height: 2px;
    background: #00aeef;
}

/* Headings */
.woocommerce-checkout h3 {
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout #customer_details h3 {
    color: #00aeef !important;
}

/* Labels */
.woocommerce-checkout label {
    color: rgba(255,255,255,0.88) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important;
}

/* Inputs */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    padding: 13px 14px !important;
    min-height: 46px !important;
    box-sizing: border-box;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #00aeef !important;
    outline: none !important;
}

/* Placeholder */
.woocommerce-checkout ::placeholder {
    color: rgba(255,255,255,0.45) !important;
}

/* Select2 dropdown fields */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    border-radius: 7px !important;
    min-height: 46px !important;
    color: #ffffff !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 46px !important;
    padding-left: 14px !important;
}

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

/* Order section */
.woocommerce-checkout #order_review_heading {
    color: #00aeef !important;
    margin-top: 10px !important;
}

.woocommerce-checkout #order_review {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px;
    position: relative;
}

/* Order table */
.woocommerce-checkout table.shop_table {
    border: none !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    border-color: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    padding: 16px 0 !important;
}

.woocommerce-checkout table.shop_table th {
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 0.5px;
}

.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td {
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Gift card area */
.woocommerce-checkout h2,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    color: #ffffff !important;
}

.woocommerce-checkout input[type="submit"],
.woocommerce-checkout button.button,
.woocommerce-checkout a.button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.65) !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    transition: all 0.25s ease;
}

.woocommerce-checkout input[type="submit"]:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout a.button:hover {
    background: #00aeef !important;
    border-color: #00aeef !important;
    color: #000000 !important;
}

/* Payment box */
.woocommerce-checkout #payment {
    background: rgba(255,255,255,0.015) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    padding: 24px !important;
    margin-top: 28px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(255,255,255,0.18) !important;
    padding: 0 0 18px 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(255,255,255,0.03) !important;
    color: rgba(255,255,255,0.82) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

/* Privacy + terms */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    color: rgba(255,255,255,0.72) !important;
    font-size: 13px !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #00aeef !important;
}

/* Place order button */
.woocommerce-checkout #place_order {
    background: #00aeef !important;
    border-color: #00aeef !important;
    color: #000000 !important;
    font-weight: 800 !important;
    min-width: 190px;
    padding: 15px 28px !important;
    margin-top: 18px !important;
}

.woocommerce-checkout #place_order:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-checkout #customer_details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce-checkout #customer_details .col-1,
    .woocommerce-checkout #customer_details .col-2,
    .woocommerce-checkout #order_review {
        padding: 20px !important;
        border-radius: 10px;
    }

    .woocommerce-checkout h3 {
        font-size: 26px !important;
    }

    .woocommerce-checkout #place_order {
        width: 100% !important;
    }
}/* ================================
   FIX CHECKOUT LAYOUT - FULL WIDTH
================================ */

/* Force checkout sections to stay stacked */
.woocommerce-checkout #customer_details {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 32px !important;
}

/* Billing + Additional Info full width */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: both !important;
}

/* Space between Billing and Additional Information */
.woocommerce-checkout #customer_details .col-1 {
    margin-bottom: 28px !important;
}

/* Make the cards use the page width */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review {
    box-sizing: border-box !important;
}

/* Keep the checkout form centered */
.woocommerce-checkout form.checkout {
    max-width: 1120px !important;
    margin: 0 auto !important;
}

/* Make Your Order section full width */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Optional: make Billing fields feel organized inside the card */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 18px !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Full-width fields */
.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field {
    grid-column: 1 / -1 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        display: block !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
        margin-bottom: 18px !important;
    }
}
/* Standalone Upload Artwork section before Additional Information */
.woocommerce-checkout .polygon-artwork-upload-standalone {
    background: rgba(255,255,255,0.015) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 14px !important;
    padding: 28px !important;
    margin: 0 0 28px 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
/* BACK TO SCHOOL — usar solamente el texto incluido en la imagen */
.shop-categories a[href*="back-to-school"] .shop-category-overlay,
.shop-categories a[href*="back-to-school"] .shop-category-title {
    display: none !important;
}

/* Centrar correctamente el banner nuevo */
.shop-categories a[href*="back-to-school"] img {
    object-fit: cover !important;
    object-position: center center !important;
}
/* HIDE UPLOAD ARTWORK ON BACK TO SCHOOL PRODUCTS */

.single-product .product_cat-back-to-school .polygon-upload-artwork,
.single-product.product_cat-back-to-school .polygon-upload-artwork,
body.single-product.product_cat-back-to-school .polygon-upload-artwork,
.single-product .product_cat-bts .polygon-upload-artwork,
.single-product.product_cat-bts .polygon-upload-artwork,
body.single-product.product_cat-bts .polygon-upload-artwork {
    display: none !important;
}

.polygon-template-wrap{
    margin-top:18px;
    margin-bottom:22px;
}
/* BTS: MOSTRAR EL LADO DERECHO DEL ARTE EN MÓVIL */

@media only screen and (max-width: 768px) {

    /* Si está colocado como fondo */
    .mkdf-sidebar a[href*="back-to-school"],
    .mkdf-sidebar a[href*="back-to-school"]::before,
    .mkdf-sidebar a[href*="back-to-school"]::after {
        background-size: cover !important;
        background-position: 100% center !important;
        background-repeat: no-repeat !important;
    }

    /* Si está colocado como imagen */
    .mkdf-sidebar a[href*="back-to-school"] img,
    .mkdf-sidebar img[src*="BTS-BANNER-WEB"] {
        width: 100% !important;
        height: 125% !important;
        object-fit: cover !important;
        object-position: 100% center !important;
    }
}
/* =====================================================
   SEARCH PRODUCTS — ESTILO CÁPSULA SIN LÍNEA INTERIOR
   ===================================================== */

.widget_product_search form,
.mkdf-sidebar form[role="search"] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 2px solid #00aeef !important;
    border-radius: 999px !important;

    box-shadow: none !important;
    outline: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Eliminar líneas creadas por el formulario */
.widget_product_search form::before,
.widget_product_search form::after,
.mkdf-sidebar form[role="search"]::before,
.mkdf-sidebar form[role="search"]::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Quitar bordes y sombras de TODOS los elementos interiores */
.widget_product_search form *,
.mkdf-sidebar form[role="search"] * {
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}

/* Quitar posibles líneas creadas con pseudo-elementos */
.widget_product_search form *::before,
.widget_product_search form *::after,
.mkdf-sidebar form[role="search"] *::before,
.mkdf-sidebar form[role="search"] *::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Si el tema utiliza un div interior */
.widget_product_search form > div,
.mkdf-sidebar form[role="search"] > div {
    position: static !important;
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

/* Campo de búsqueda */
.widget_product_search form input[type="search"],
.widget_product_search form input[type="text"],
.widget_product_search form .search-field,
.mkdf-sidebar form[role="search"] input[type="search"],
.mkdf-sidebar form[role="search"] input[type="text"],
.mkdf-sidebar form[role="search"] .search-field {
    position: relative !important;

    flex: 1 1 auto !important;
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 76px 0 26px !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 999px !important;

    outline: 0 !important;
    box-shadow: none !important;

    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 52px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    box-sizing: border-box !important;
}

/* Placeholder */
.widget_product_search form input::placeholder,
.mkdf-sidebar form[role="search"] input::placeholder {
    color: #ffffff !important;
    opacity: 0.85 !important;
}

/* Ocultar la X que algunos celulares añaden al search */
.widget_product_search input[type="search"]::-webkit-search-cancel-button,
.mkdf-sidebar input[type="search"]::-webkit-search-cancel-button {
    display: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Botón de búsqueda */
.widget_product_search form button[type="submit"],
.widget_product_search form input[type="submit"],
.mkdf-sidebar form[role="search"] button[type="submit"],
.mkdf-sidebar form[role="search"] input[type="submit"] {
    position: absolute !important;
    z-index: 5 !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;

    display: block !important;

    width: 68px !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: transparent !important;

    /* Nueva lupa dibujada directamente */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%2300aeef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 28px 28px !important;

    border: 0 !important;
    border-radius: 0 999px 999px 0 !important;

    outline: 0 !important;
    box-shadow: none !important;

    color: transparent !important;
    font-size: 0 !important;
    text-indent: -9999px !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Cambio sutil al seleccionar el campo */
.widget_product_search form:focus-within,
.mkdf-sidebar form[role="search"]:focus-within {
    background: rgba(0, 174, 239, 0.07) !important;
}

/* Móvil */
@media only screen and (max-width: 768px) {

    .widget_product_search form,
    .mkdf-sidebar form[role="search"] {
        height: 54px !important;
        min-height: 54px !important;
    }

    .widget_product_search form input[type="search"],
    .widget_product_search form input[type="text"],
    .widget_product_search form .search-field,
    .mkdf-sidebar form[role="search"] input[type="search"],
    .mkdf-sidebar form[role="search"] input[type="text"],
    .mkdf-sidebar form[role="search"] .search-field {
        height: 50px !important;
        line-height: 50px !important;
        padding-left: 22px !important;
        padding-right: 70px !important;
        font-size: 15px !important;
    }

    .widget_product_search form button[type="submit"],
    .widget_product_search form input[type="submit"],
    .mkdf-sidebar form[role="search"] button[type="submit"],
    .mkdf-sidebar form[role="search"] input[type="submit"] {
        width: 62px !important;
        background-size: 25px 25px !important;
    }
}
/* =========================================
   BACK TO SCHOOL — PRODUCT IMPROVEMENTS
========================================= */


/* 1. HIDE UPLOAD ARTWORK ONLY ON BTS PRODUCTS */

body.polygon-bts-product .polygon-upload-artwork {
    display: none !important;
}


/* Mantener buen espacio alrededor del selector de templates */

body.polygon-bts-product .polygon-template-wrap {
    margin-top: 18px;
    margin-bottom: 22px;
}


/* 2. MOST POPULAR BADGE — CATEGORY CARDS */

.woocommerce ul.products li.product {
    position: relative !important;
}

.woocommerce ul.products li.product
.polygon-most-popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 12px;

    background: #00aeef;
    color: #ffffff;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);

    pointer-events: none;
}

.polygon-most-popular-icon {
    font-size: 14px;
    line-height: 1;
}


/* 3. MOST POPULAR BADGE — SINGLE PRODUCT */

body.single-product
.summary
.polygon-most-popular-badge {
    position: static;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    width: auto;
    margin: 0 0 14px;
    padding: 8px 13px;

    background: #00aeef;
    color: #ffffff;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    box-shadow: none;
}


/* CONTENEDOR DEL BOTÓN Y MENSAJE BTS */

body.polygon-bts-category
.polygon-back-shop-wrap {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;

    width: 100%;
}


/* Mantener el botón primero */

body.polygon-bts-category
.polygon-back-shop-wrap > a {
    grid-row: 1;
}


/* TÍTULO GRANDE */

body.polygon-bts-category
.polygon-back-shop-wrap::before {
    content: "Back-to-school made easy!";

    grid-row: 2;

    display: block;
    margin-top: 16px;

    color: #00aeef;

    text-align: center;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}


/* TEXTO PEQUEÑO */

body.polygon-bts-category
.polygon-back-shop-wrap::after {
    content: "No artwork needed. Choose a design, enter the name, and we’ll personalize it.";

    grid-row: 3;

    display: block;
    width: 100%;
    max-width: 760px;

    margin-top: 5px;

    color: #00aeef;

    text-align: center;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}


/* MOBILE */

@media screen and (max-width: 767px) {

    body.polygon-bts-category
    .polygon-back-shop-wrap::before {
        margin-top: 14px;
        padding: 0 12px;

        font-size: 21px;
    }

    body.polygon-bts-category
    .polygon-back-shop-wrap::after {
        max-width: 360px;
        padding: 0 15px;

        box-sizing: border-box;

        font-size: 14px;
        line-height: 1.45;
    }
}
/* MOST POPULAR — SUBTLE SHINE EFFECT */

.polygon-most-popular-badge {
    overflow: hidden;
}

.polygon-most-popular-badge::after {
    content: "";
    position: absolute;

    top: -40%;
    left: -60%;

    width: 35%;
    height: 180%;

    background: rgba(255, 255, 255, 0.45);
    transform: rotate(20deg);

    animation: polygonBadgeShine 4s ease-in-out infinite;
}

@keyframes polygonBadgeShine {
    0%,
    70% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}
/* STOP BADGE SHINE ON SINGLE PRODUCT PAGE */

body.single-product
.polygon-most-popular-badge::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}
/* =====================================================
   BTS PRODUCT GALLERY — MOBILE
   MAIN IMAGE + ORGANIZED THUMBNAILS
===================================================== */

@media screen and (max-width: 767px) {

    /* Galería completa */
    body.polygon-bts-product
    .woocommerce-product-gallery {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 35px !important;
        padding: 0 !important;

        overflow: visible !important;
        overflow-anchor: none !important;
    }


    /* Contenedor de todas las fotos */
    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper {
        display: grid !important;

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
    }


    /* Volver a mostrar todas las imágenes */
    body.polygon-bts-product
    .woocommerce-product-gallery__image {
        display: block !important;

        position: relative !important;
        top: auto !important;
        left: auto !important;

        float: none !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;
    }


    /* Primera imagen grande */
    body.polygon-bts-product
    .woocommerce-product-gallery__image:first-child {
        grid-column: 1 / -1 !important;

        width: 100% !important;
        height: auto !important;

        margin-bottom: 8px !important;
    }


    /* Enlaces de las imágenes */
    body.polygon-bts-product
    .woocommerce-product-gallery__image > a {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Imagen principal */
    body.polygon-bts-product
    .woocommerce-product-gallery__image:first-child img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 auto !important;

        object-fit: contain !important;

        border-radius: 22px !important;
    }


    /* Contenedores de las fotos pequeñas */
    body.polygon-bts-product
    .woocommerce-product-gallery__image:not(:first-child) {
        aspect-ratio: 1 / 1 !important;

        overflow: hidden !important;

        border-radius: 18px !important;
    }


    /* Fotos pequeñas */
    body.polygon-bts-product
    .woocommerce-product-gallery__image:not(:first-child) img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;

        margin: 0 !important;

        object-fit: contain !important;

        border-radius: 18px !important;
    }


    /* Ocultar controles duplicados de FlexSlider */
    body.polygon-bts-product
    .woocommerce-product-gallery
    .flex-control-nav,

    body.polygon-bts-product
    .woocommerce-product-gallery
    .flex-control-thumbs,

    body.polygon-bts-product
    .woocommerce-product-gallery
    .flex-direction-nav {
        display: none !important;
    }
}


/* =====================================================
   HIGHLIGHT WHEN TEMPLATE IMAGE CHANGES
===================================================== */

body.polygon-bts-product
.woocommerce-product-gallery__image {
    transition:
        outline 0.25s ease,
        box-shadow 0.25s ease !important;
}

body.polygon-bts-product
.woocommerce-product-gallery__image.polygon-image-updated {
    outline: 3px solid #00aeef !important;
    outline-offset: 3px !important;

    border-radius: 22px !important;

    box-shadow:
        0 0 22px rgba(0, 174, 239, 0.35) !important;
}
/* =====================================================
   BTS DESKTOP — SMALLER IMAGES ONLY
   DOES NOT CHANGE PRODUCT COLUMNS
===================================================== */

@media screen and (min-width: 992px) {

    /* Organizar las imágenes dentro de su columna actual */
    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 140px) !important;
        justify-content: center !important;
        gap: 18px !important;

        width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;
    }


    /* Todas las imágenes */
    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image {
        position: relative !important;
        float: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* Imagen principal */
    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image:first-child {
        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;

        justify-self: center !important;

        margin-bottom: 5px !important;
    }


    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image:first-child
    img {
        display: block !important;

        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;

        margin: 0 auto !important;

        object-fit: contain !important;
        border-radius: 22px !important;
    }


    /* Fotos pequeñas */
    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image:not(:first-child) {
        width: 140px !important;
        height: 140px !important;

        justify-self: center !important;
        overflow: hidden !important;

        border-radius: 18px !important;
    }


    body.polygon-bts-product
    .woocommerce-product-gallery__wrapper
    > .woocommerce-product-gallery__image:not(:first-child)
    img {
        display: block !important;

        width: 100% !important;
        height: 100% !important;

        margin: 0 !important;

        object-fit: contain !important;
        border-radius: 18px !important;
    }
}