/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

div#customer_login {
    width: 100%;
    display: flex !important;
    flex-direction: column;
}

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

input.aws-search-field {
    width: 100% !important;
    border-bottom: 2px solid black !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
	padding-left: 30px !important;
}

.woocommerce-privacy-policy-text {
    width: auto !important;
    text-wrap: auto;
}

.aws-container {
    width: 100%;
}

.aws-wrapper::before {
    content: "";
    background: url(https://tonermania.solbyte.dev/wp-content/uploads/2025/12/simbolo-de-la-interfaz-de-busqueda.png) !important;
    background-size: 20px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    font-family: "fontawesome" !important;
    z-index: 999999;
    width: 20px;
}

/*General*/
a,
.button-login .w-popup-trigger {
	transition: all .3s ease-in-out;
}
a:hover,
.button-login .w-popup-trigger:hover {
	text-decoration: underline;
}
.logo-header {
	margin-top: -2rem;
}
/*buscar*/
.search-products .w-search-open span.fal.fa-search {
	margin-right: 0.8rem;
}

a.w-btn.us-btn-style_2.usg_btn_1.compatibilidad {
    width: 100%;
}

.search-products .w-search-open {
    position: relative;
    width: 110%;
    display: flex !important;
    align-items: baseline;
	text-decoration: none;
	overflow: hidden;
	padding-left: 1rem;
    padding-right: 1rem;
}
.search-products .w-search-open:after {
	content: 'Introduzca su modelo de impresora o referencia de tóner o cartucho';
	font-size: 0.85rem;
	color: #CCCCCC;
	padding-bottom: 10px;
	border-bottom: 1px solid #1C1C1C;
	height: 40px;
}

.search-products.w-search.layout_fullscreen .w-search-form {
    height: 40%;
}

.search-products.active .w-search-form {
	top: 9.2rem;
}

.search-products .w-search-open {
	opacity: 1;
}

.search-products.active .w-search-open {
	opacity: 0;
}

.search-products input[type="text"] {
    font-size: 1.2rem !important;
    border-bottom: 1px solid #1c1c1c;
}

.search-products .w-form-row-field {
    position: relative;
	top: 100% !important;
    display: flex;
	max-width: 925px;
	margin-left: auto;
    margin-right: auto;
}

.search-products .w-form-row-field:before {
    content: url(https://tonermania.solbyte.dev/wp-content/uploads/2025/05/lupa-1.png);
	width: 29px;
	height: 29px;
	display: block;
	margin-right: 1rem;
}

/*Menu*/
.ush_cart_1 .w-cart-link {
	font-size: 20px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Favoritos*/
.w-favs-counter-quantity {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    font-weight: bold;
    font-size: 11px;
    padding: 0 4px;
    line-height: 20px;
    min-width: 20px;
    border-radius: 2rem;
    transition: transform .3s;
}

/*iconos sociales*/
.w-socials.style_colored .w-socials-item-link {
    background: #222221;
    color: white;
}

/*menú hamburguesa*/
.main-menu .menu-item {
	text-transform: uppercase;
    font-weight: 500;
}
.marca-menu {
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E6E6E6;
	cursor: pointer;
}

.menu-contact {
	padding-top: 1rem;
	border-top: 2px solid #E6E6E6;
}

.marca-menu::after {
    content: '+';
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
}

.marca-menu {
    pointer-events: auto !important; 
}

.marca-menu a {
	pointer-events: none;
}

.marca-menu .sub-menu a {
	pointer-events: auto;
}

.marca-menu.abierto::after {
    content: '–';
}

.marca-menu .sub-menu {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.marca-menu.abierto .sub-menu {
    height: auto;
    opacity: 1;
    padding-top: 0.5rem;
}


/*Inisiar sesión cabecera*/
.button-login {
	white-space: nowrap;
}

/*login*/
.login-right .woocommerce .col2-set {
    grid-template-columns: repeat(1, 1fr);
}



.login-right .woocommerce-form-row label, 
.login-right .woocommerce .form-row label,
.login-right button.woocommerce-button.button.woocommerce-form-login__submit,
.login-right button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit {
    font-size: 0.7rem;
}


.login-right p.woocommerce-LostPassword.lost_password {
    font-size: 0.7rem;
}

.wrapper-login {
	position: relative;
	cursor: pointer;
}

.wrapper-login .menu-login {
	font-size: 0.8rem;
	min-width: 150px;
	position: absolute;
	top: 100%;  /* ✅ Hace que aparezca justo debajo del icono */
	left: 0;
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s ease-in-out;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	z-index: 9999;
	padding: 10px;
}

/*✅ Solo muestra el menú si el usuario está logueado */
body.usuario-logueado .wrapper-login:hover .menu-login {
	opacity: 1;
	pointer-events: auto;
}

/*Carrito menú*/
.xoo-wsc-ft-amt {
    display: flex;
}

td[data-title="Envio"],
td[data-title="Envio 1"] {
    width: 75% !important;
    font-size: 16px;
}

.woocommerce .cart_totals td {
    padding-left: 0;
    padding-right: 0;
    border: none;
    vertical-align: top !important;
    line-height: 1;
}

.w-cart-table .quantity .plus, .w-post-elm.add_to_cart .quantity .plus {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.w-cart-table .quantity .minus, .w-post-elm.add_to_cart .quantity .minus {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    padding: 13px !important;
}

.xoo-wsc-coupon-content form.xoo-wsc-sl-apply-coupon {
    display: grid !important;
    grid-template-columns: 1fr auto;
}

.xoo-wsc-ftx-row {
    flex-direction: column;
    align-items: flex-start;
}

.xoo-wsc-coupon-content.active {
    width: 100%;
}

span.xoo-wsc-footer-txt {
    text-align: justify;
    width: 100% !important;
    text-align-last: justify;
	padding-left: 3px;
	padding-right: 3px;
}
a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-checkout .woocommerce-Price-amount.amount,
a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-continue {
    display: none;
}

a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-checkout {
    text-transform: uppercase;
}

a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-cart {
    background-color: transparent;
    color: #000;
    border: 2px solid #ffffff;
    font-size: 0.8rem;
	transition: all .3s ease-in-out;
}

a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-cart:hover {
	text-decoration: underline;
}

/*HOME*/
/*Filtro*/
.wrapper-filter {
	transition: all .3s ease-in-out;
}

.wrapper-filter:hover {
	border-color: #DB2162 !important;
}

form#form-filtro-cartuchos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.filtro-paso {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.numero-paso {
	font-size: 3.8rem !important;
    font-weight: bold;
    color: #D9D9D9;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
	width: 20px;
}

.contenido-paso {
    display: flex;
    flex-direction: column;
    flex: 1; /* <- ESTA LÍNEA ES LA CLAVE */
}

.contenido-paso label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
	text-transform: uppercase;
}

.contenido-paso select {
    width: 100%;
    max-width: 300px;
}

/*Marquesina*/
.img-logo {
    transform: rotate(-15deg);
    opacity: 0.2;
}

.img-marquee img {
    margin-left: auto;
    margin-right: auto;
    filter: grayscale(1) !important;
    transition: all .3s ease-in-out;
}

.img-marquee:hover img {
    filter: grayscale(0) !important;
}

.brand_carousel .img-marquee {
    display: flex;
    justify-content: center;
    width: 100% !important;
    max-height: 45px;
}

.img-marquee img {
    height: 45px !important;
    width: 100% !important;
	object-fit: contain;
	max-width: 125px;
}

.img-marquee a {
	width: 100%;
}

/*Slider home*/
.slider-home .owl-carousel.navpos_inside.navstyle_circle>.owl-nav button, .owl-carousel.navpos_inside.navstyle_block>.owl-nav button {
    text-shadow: none;
    color: var(--color-content-primary);
}

.slider-home .owl-next:after,
.slider-home .owl-prev:after {
    font-weight: 300;
    font-size: 3rem;
}
.no-touch .owl-carousel.navpos_inside.navstyle_circle>.owl-nav button:hover {
    background: rgba(0, 0, 0, 0);
    color: #dc2060;
}

/*Botón grande*/
.btn-width {
    width: 100%;
}

/*Productos cuadrícula*/
.wrapper-product {
	justify-content: space-between;
}

/*quitar atributo color*/
.grid-atr-products .woocommerce-product-attributes-item--attribute_pa_color {
	display: none;
}
/*ofertas*/

.price-product.w-post-elm.product_field.price.usg_product_field_1 {
    display: block !important;
}

.sale .desde {
	display: none !important;
}

.woocommerce-Price-amount.amount {
    font-weight: unset !important;
}

.type-product .price>ins bdi {
	font-weight: 700 !important;
}

.type-product .price>del {
	font-size: 1rem;
	font-weight: 500;
	opacity: 1 !important;
	color: #FF4141 !important
}

.price-product del {
	font-size: 0.8rem;
	line-height: 1;
	text-decoration: none;
}

.price-product del bdi {
	text-decoration: line-through;
	opacity: 1;
}

.price-grid {
	display: flex;
	flex-direction: column;
	font-size: 1.75rem !important;
	font-weight: 600;
}

/*Form*/
.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.wpcf7 input#archivo {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

label[for="archivo"] {
    font-size: var(--inputs-font-size, inherit);
    font-weight: 600;
    color: #b5b5b5;
    background-color: #ffffff;
    display: inline-block;
    transition: all .5s;
    cursor: pointer;
    padding: 10px 40px 10px 17px !important;
    width: fit-content;
    width: 100%;
    margin-top: .4rem;
    border: var(--inputs-border-color) 1px solid;
    font-weight: 400;
}

label[for="archivo"] span.wpcf7-form-control-wrap {
    margin-top:0;
}

label:not([for="archivo"]) .label {
	display: none;
}

span.wpcf7-not-valid-tip {
    font-size: 16px;
}

input[type=checkbox] {
    width: 1rem;
    height: 1rem;
}

span.wpcf7-list-item-label {
    font-size: 0.7rem;
}

.cf-col-3 {
    text-align: right;
	margin-top: 0.5rem;
}

.btn-submit.button-style {
	font-size: 0.8rem !important;
}

/*NEWSLETTER*/
.newsletter {
	font-size: 0.5rem;
}

button.btn-submit.button-style {
    width: 100%;
    padding: 0.7em 0em 0.7em 0em !important;
}

/*Plantilla/cuadrícula modelos impresoras*/
.atributos-grid {
	display: flex;
    flex-direction: column-reverse;
}

.atributos-grid .w-post-elm-before,
.atributos-grid span.woocommerce-product-attributes-item__value {
	font-weight: 300 !important;
	color: #000;
}

.data_product .wpb_wrapper div:first-child {
    border-bottom: 1px solid #D6D6D6;
    padding: 0.5rem 0rem;
}

.data_product .precio_por_unidad {
    border-bottom: none !important;
}

.data_product .stock {
    margin-top: 0.5rem;
}


/*color*/
.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-amarillo,
.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-azul, 
.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-rosa,
.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-negro,
.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-tricolor {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-amarillo::before {
    content: '';
    background: yellow;
    width: 17px;
    height: 17px;
}

.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-azul::before {
	content: '';
    background: blue;
    width: 17px;
    height: 17px;
}

.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-rosa::before {
	content: '';
    background: pink;
    width: 17px;
    height: 17px;
}

.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-negro::before {
	content: '';
    background: black;
    width: 17px;
    height: 17px;
}

.atributos-grid .woocommerce-product-attributes-item--attribute_pa_color.color-tricolor::before {
	content: url(https://tonermania.solbyte.dev/wp-content/uploads/2025/05/tricolor-negro-1-1.png);
    width: 17px;
}

.porcentaje-descuento {
	color: var(--color-content-primary);
}

/*CUADRÍCULA DESCUENTOS MODELO IMPRESORAS*/
.wrapper-price-ship {
    justify-content: end;
}

.quantity-discount .custom-quantity-form .quantity {
    margin-left: 0 !important;
}


/*PLANTILLA PRODUCTO DETALLE*/
.w-post-elm.add_to_cart.qty-btn-style_0 .quantity .plus, .w-post-elm.add_to_cart.qty-btn-style_0 .quantity .minus {
    display: inline-block !important;
    width: 50px;
}
.add-cart-product .cart {
	align-items: normal !important;
    gap: .6em !important;
}
.add-cart-product p.stock.in-stock {
	display: none !important;
}
.woocommerce .quantity input.qty {
    width: 2.5em;
    box-sizing: content-box;
    text-align: center;
}
.add-cart-product form.cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-cart-product .quantity {
	position: relative !important;
	margin-bottom: 10px !important;
}

.add-cart-product .quantity::after {
    content: "Envíos gratis\A Plazo de entrega 24h";
	font-size: 0.9rem;
	color: #006503;
	font-weight: 500;
    white-space: pre;
    margin-left: auto;
}

/*Color principal*/
/* --- RESUMEN SOLO EN .as-summary --- */
.as-summary .color-summary-row {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.as-summary .color-chip {
  	width: 1rem; height: 1rem;
 	border: 1px solid #cfcfcf; 
 	display: inline-block; 
	vertical-align: middle;
}
/* “Tricolor + negro” sin huecos blancos: fondo completo + líneas finas verticales */
.as-summary .color-chip {
  width: 1rem; height: 1rem;
  border: 1px solid #cfcfcf;
  display: inline-block;
  vertical-align: middle;
}

/* — Chips de UN solo color: fondo sólido y SIN background-image — */
.as-summary .chip-N,
.as-summary .chip-C,
.as-summary .chip-M,
.as-summary .chip-Y {
  background-image: none !important;   /* <- resetea patrones anteriores */
  background-color: currentColor;      /* valor por defecto, lo sobrescribimos abajo */
}

/* Colores específicos */
.as-summary .chip-Y { background-color: #f2c200 !important; } /* Amarillo */
.as-summary .chip-C { background-color: #0ea5e9 !important; } /* Cian */
.as-summary .chip-M { background-color: #ec4899 !important; } /* Magenta */
.as-summary .chip-N { background-color: #111827 !important; } /* Negro */

/* — Chip “Tricolor + negro” con líneas verticales, sin huecos blancos — */
.as-summary .chip-all {
  background-image:
    /* Fondo a 4 bandas que cubre todo */
    linear-gradient(90deg,
      #111827 0 25%,
      #0ea5e9 25% 50%,
      #ec4899 50% 75%,
      #f2c200 75% 100%
    ),
    /* Líneas finas encima (no se repiten) */
    linear-gradient(#111827, #111827),
    linear-gradient(#0ea5e9, #0ea5e9),
    linear-gradient(#ec4899, #ec4899),
    linear-gradient(#f2c200, #f2c200);
  background-repeat: no-repeat;
  background-size:
    100% 100%,  /* fondo */
    2px 100%,   /* línea N */
    2px 100%,   /* línea C */
    2px 100%,   /* línea M */
    2px 100%;   /* línea Y */
  background-position:
    0 0,
    15% 0, 40% 0, 65% 0, 90% 0; /* ajusta posiciones si quieres */
}


.as-summary .color-summary-label { font-size: .95rem; }

/*Colores Pack compuesto de:*/
/* ocultar valor original */
.w-post-elm.post_custom_field.color .w-post-elm-value { display: none; }

/* contenedor */
.color-badges { display: inline-flex; gap: .5rem; }
.color-badges.is-multi { display: flex; flex-direction: column; gap: .35rem; }

/* chapa base: el texto hereda tu color global */
.color-badge {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.2;
  color: inherit;               /* <- mantiene tu color de texto */
}

/* Cuadrado de color usa una variable, NO el color del texto */
.color-badge::before {
  content: "";
  width: 1rem; height: 1rem;
  display: inline-block;
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  background: var(--dot-color, currentColor);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); /* opcional: borde para contraste */
}

/* texto */
.color-badge::after { content: attr(data-label); }

/* asigna el color del puntito por código */
.color-Y { --dot-color: #f2c200; } /* Amarillo */
.color-C { --dot-color: #0ea5e9; } /* Cian (Azul) */
.color-M { --dot-color: #ec4899; } /* Magenta (Rosa) */
.color-N { --dot-color: #111827; } /* Negro */


/*modelos compatibles para los cartuchos de tinta*/
.grid-compatible .w-grid-item {
    border-right: 2px solid #D6D6D6;
    padding: 0.3rem 0.5rem;
}

.grid-compatible .w-grid-list {
	gap: 0 !important;
}

.grid-compatible .w-grid-item:nth-child(4n) {
  border-right: none !important;
}
#grid-modelos-compatibles{
	opacity: 0;
}

/*SIDE CART*/
.xoo-wsc-btn {
	width: 100%;
	font-size: 0.8rem !important;
}

.xoo-wsc-ft-amt.xoo-wsc-ft-amt-tax.xoo-wsc-add span,
.xoo-wsc-ft-amt.xoo-wsc-ft-amt-subtotal span {
    font-weight: 400 !important;
}

.xoo-wsc-ft-amt.xoo-wsc-ft-amt-total {
    color: #000;
	font-weight: 600;
}

/*CARRITO*/
.tax-rate small {
    display: none;
}
.wc-block-components-product-metadata__description {
    display: none;
}

/* .shop_table tr>:last-child {
    text-align: right;
    align-content: center;
    vertical-align: top !important;
    line-height: 1;
    padding-top: 0;
} */

.w-cart-totals p.woocommerce-shipping-destination {
    display: none;
}

.woocommerce-form-coupon button.w-btn.us-btn-style_1 {
    font-size: 16px !important;
}

.woocommerce-form-coupon.coupon {
    display: grid;
    grid-template-columns: 1fr auto;
}

.wc-block-components-totals-coupon__form {
    gap: 0px;
}
.wp-block-woocommerce-cart-order-summary-coupon-form-block.wc-block-components-totals-wrapper,
button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained {
    font-size: 0.8rem;
}

.wc-block-components-totals-item {
    font-size: 0.8rem;
    color: #666;
}

.wc-block-components-totals-item__description {
    font-size: .875em;
    width: 100%;
}

.wc-block-components-totals-item__description {
    display: none;
}

.wc-block-components-totals-item.wc-block-components-totals-footer-item {
    color: #000;
}

.wc-block-cart__submit-container {
    background: #1c1c1c;
	color: #fff !important;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    color: #fff;
}

.wc-block-cart-item__prices {
    display: none !important;
}

tr.wc-block-cart-items__header {
    visibility: hidden;
}

.w-cart-totals.cart_totals.us-field-style_1.calculated_shipping h2 {
    text-align: center;
}

.col-totals div.w-tabs-section {
    border: none !important;
}

.col-totals button.w-tabs-section-header {
    padding: 0;
    font-size: 0.9rem !important;
}

.col-totals button.w-tabs-section-header:hover {
    background: white !important;
}

.col-totals ul#shipping_method li {
    justify-content: flex-end;
}

.col-totals th {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.col-totals td[data-title="Envío"] {
    width: 80% !important;
    text-align: right !important;
    font-size: 0.8rem !important;
}

.col-totals span.woocommerce-Price-amount.amount {
    font-size: 0.8rem !important;
}

.col-totals tr.order-total th {
    font-size: 16px !important;
}

.w-cart-table a.remove:before {
    content: '\f1f8';
    vertical-align: top;
    font-family: fontawesome;
    font-weight: 400;
}

.woocommerce td.product-remove a.remove {
    font-size: 1rem !important;
}

td.product-subtotal bdi {
    font-weight: 400 !important;
    margin-right: 2rem;
}

.w-cart-table .quantity>* {
    min-height: 1.5em !important;
    line-height: 1.5em !important;
    width: 1.5em !important;
}

input.minus {
    border-right: 0 !important;
}

input.minus[disabled] {
    opacity: 1 !important;
}

input.input-text.qty.text {
    border-left: 0 !important;
    border-right: 0 !important;
}

input.plus {
    border-left: 0!important;
}

.woocommerce .cart_totals th {
    padding-top: 0;
}

.shop_table tr>:last-child {
    padding-top: 0;
}

label[for="payment_method_ppcp-gateway"],
label[for="payment_method_bizumredsys"],
label[for="payment_method_bacs"],
label[for="payment_method_redsys"]  {
    display: flex !important;
    width: 96% !important;
}

label[for="payment_method_ppcp-gateway"]::after,
label[for="payment_method_bacs"]::after,
label[for="payment_method_bizumredsys"]::after,
label[for="payment_method_redsys"]::after,
label[for="payment_method_redsys"]::after {
    content: "";
    display: inline-block;
    height: 30px;
    width: 50px;
    background-repeat: no-repeat !important;
    margin-left: auto !important;
}

label[for="payment_method_ppcp-gateway"]::after {
    background: url(https://tonermania.solbyte.dev/wp-content/uploads/2026/01/paypal.svg);
    background-position: center right !important;
}

label[for="payment_method_bacs"]::after {
    background: url(https://tonermania.solbyte.dev/wp-content/uploads/2026/01/transferencia-1.svg);
    background-position: center right !important;
}

label[for="payment_method_bizumredsys"]::after {
    background: url(https://tonermania.solbyte.dev/wp-content/uploads/2026/01/bizum.svg);
    background-position: center right !important;
}

label[for="payment_method_redsys"]::after {
    width: 100px;
    background: url(https://tonermania.solbyte.dev/wp-content/uploads/2026/01/mastercard.svg) center left / contain no-repeat,
    url(https://tonermania.solbyte.dev/wp-content/uploads/2026/01/visa-1.svg) center right / contain no-repeat !important;
}

label[for="payment_method_bizumredsys"] img,
label[for="payment_method_redsys"] img {
    display: none;
}

/*FINALIZAR COMPRA*/
/*Botones*/

button#action-prev {
    width: 50%;
    border-radius: 2px !important;
}

button#action-next {
    width: 100%;
    border-radius: 2px !important;
}

.thwmsc-buttons {
    display: flex;
}

/*login multistep checkout for woocommerce*/
label.woocommerce-form__label.woocommerce-form__label-for-checkbox {
    margin-bottom: 1rem;
}

.thwmscf_time_line_step ul.thwmscf-tabs span.thwmscf-tab-label {
    font-size: 0.8rem;
}

.woocommerce-info {
    display: none;
}

form.woocommerce-form.woocommerce-form-login.login {
    display: flex !important;
    flex-direction: column;
}

.woocommerce .woocommerce-form-login .form-row.form-row-first,
.woocommerce .woocommerce-form-login .form-row-last,
button.woocommerce-button.button.woocommerce-form-login__submit,
button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit {
    width: 100%;
	margin-bottom: 0.7rem;
}

.thwmscf-buttons {
    display: flex;
	gap: 1.2rem;
}
button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit {
    width: 100% !important;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox {
    font-size: 0.8rem;
    font-weight: 400;
}

/*envío*/
#ship-to-different-address span {
    font-size: 1rem !important;
    font-weight: 500;
}

p#shipping_address_1_field,
p#shipping_address_1_field {
    margin-bottom: 0;
}

/*Realizar pedido (PAGO)*/
.thwmscf-wrapper #payment .place-order .button {
    width: 100%;
}

.woocommerce-checkout #order_review_heading {
    width: 100%;
}

.woocommerce-checkout-payment .payment_box {
    background: #d1d3d5;
}

table.shop_table.woocommerce-checkout-review-order-table {
    display: none;
}

button#place_order {
    width: 100%;
}

/*Detalles de facturacion (DATOS)*/

ul.wc_payment_methods.payment_methods.methods label {
    font-size: 16px !important;
    font-weight: 500;
}

.payment_box p {
    font-size: 16px !important;
    color: #666;
}

button#place_order {
    font-size: 16px !important;
    margin-bottom: 0.5rem;
}

#billing_address_2_field {
    display: none !important;
}

.login-right .form-row {
    margin-bottom: 0.5rem;
}

form.woocommerce-ResetPassword.lost_reset_form, form.woocommerce-ResetPassword.lost_reset_form .woocommerce-form-group {
    display: flex;
    flex-direction: column;
}

form.woocommerce-ResetPassword.lost_reset_form p, .woocommerce-error, .woocommerce-message {
    width: auto !important;
    text-wrap: auto;
    font-size: 0.9rem;
}

.custom-lost-password-column a.button.btn-show-login {
    border: none;
    font-weight: 600;
}

.custom-lost-password-column a.button.btn-show-login:hover {
    background: white !important;
}

.address-field .woocommerce-input-wrapper strong {
	display: flex;
    width: 100%;
    background: white;
    height: 45px;
    align-items: center;
    border: 1px solid var(--inputs-border-color, currentColor);
    font-size: 0.8rem;
    font-weight: 400;
    padding: 0 0.6rem;
}
/*Detalles de envío (ENVIO)*/
input#shipping_address_2 {
    display: none;
}

/*Libreta de direcciones*/
.address_book .optional {
    display: none;
}

p#shipping_country_field {
    display: none;
}

a.wc-address-book-edit.button.wp-element-button,
button.wc-address-book-delete.button.wp-element-button,
button.wc-address-book-make-default.button.wp-element-button {
    font-size: 16px;
}

a.add.button.wc-address-book-add-shipping-button:hover, a.wc-address-book-edit.button.wp-element-button:hover {
    text-decoration: none;
}

.u-column1.col-1.woocommerce-Address,
.u-column2.col-2.woocommerce-Address {
    border: 1px solid var(--wc-address-book--border--color);
    padding: 1rem;
}

/*Resumen del pedido finalizar compra*/
.item {
	display: flex; 
	align-items: flex-start; 
	gap: 15px; 
	margin-bottom: 20px; 
	border-bottom: 1px solid #d1d3d5; 
	padding-bottom: 10px;
}

.info-resume {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
	font-weight: 400;
	font-size: 0.85rem;
}
.info-resume span {
	font-weight: 600;
}

.quantity {
	margin-top: 5px; 
	font-size: 0.85rem;
}

.subtotal,
.iva-total {
	width: 100%;
    display: flex;
    justify-content: space-between;
	text-align:right; 
	font-size:14px; 
	color: #666;
}

.descuento {
	width: 100%;
	font-size:14px; 
	color: #666;
}

.total-final {
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.pay .w-iconbox-icon {
	margin-right: 0 !important;
}

form.formulario-cupon {
    display: flex;
}

button.button-coupon {
	font-size: 0.8rem !important;
}

.cupon-acordeon-wrapper {
    padding: 0.5rem;
    background: #F0F0F0;
}

button.toggle-cupon {
    font-size: 0.7rem;
    width: 100%;
    text-align: left;
	position: relative;
}

button.toggle-cupon::after {
    content: url(https://tonermania.solbyte.dev/wp-content/uploads/2025/06/chevron-abajo.png);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.formulario-cupon input[type="text"] {
    width: 50%;
}

button.button-coupon {
    width: 48%;
    height: 100%;
}

.wrapper-pay {
	display: flex;
	flex-direction: column;
}

/*Detalles del pedido finalizar compra*/
.order-details {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.order-details-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.order-details-row:last-child {
    border-bottom: none;
}

.order-total {
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.order-method {
    background: #f4f6f8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

a.woocommerce-button.button.invoice.order-actions-button {
    background: #111;
    color: #fff;
    padding: 10px 20px;
    transition: 0.2s ease;
}

a.woocommerce-button.button.invoice.order-actions-button:hover {
    background: #333;
}

/*MI CUENTA*/

.custom-register-column:has(.woocommerce-form-register:not(.hidden)), .custom-lost-password-column:has(.woocommerce-ResetPassword:not(.hidden)), .custom-reset-password-column:has(.woocommerce-ResetPassword:not(.hidden)) {
    grid-column-start: 1;
    grid-column-end: 3;
}

p#billing_address_nickname_field, p#shipping_address_nickname_field {
    display: none;
}

button.wc-address-book-make-default.button.wp-element-button {
    background: none;
    color: black !important;
    text-decoration: underline;
}

p.woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide em {
    font-size: 15px;
}

.contact-block {
    margin-top: 20px; 
    padding-top: 20px !important; 
    font-size: 14px; 
    border-top: 1px solid #ccc; 
    padding-top: 10px;
}

.contact-block .contact-info p {
    margin-bottom: 15px;
}

.button.delete {
    font-size: 16px !important;
    background-color: #dc3545; 
    border-color: #dc3545; 
    color: white;
}

.contact-block > p {
    font-size: 1rem;
}

/*Libreta de direcciones*/
.woocommerce-Addresses {
	margin-bottom: 4rem;
}

p#billing_country_field {
    display: none;
}

a.add.button.wc-address-book-add-shipping-button {
	font-size: 0.9rem;
}

.wc-address-book-address {
	border-bottom: 1px solid #d1d3d5;
	padding-bottom: 0.5rem;
}

div:not(.login-right) p#shipping_company_type_field, div:not(.login-right) p#billing_company_type_field {
    width: 33%;
    float: left;
}

.login-right p#billing_company_type_field {
    width: 100% !important;
    float: none !important;
}

div:not(.login-right) .woocommerce #shipping_razon_social_field, div:not(.login-right) p#billing_razon_social_field {
    float: left;
    width: 34%;
    padding-left: 0.5rem;
}

.login-right p#billing_razon_social_field {
    width: 100% !important;
    padding-left: 0rem !important;
    float: none !important;
}

div:not(.login-right) .woocommerce #shipping_nif_field, div:not(.login-right) p#billing_nif_field {
    float: left;
    width: 33%;
    padding-left: 0.5rem;
}

.login-right p#billing_nif_field {
    width: 100% !important;
    padding-left: 0 !important;
    float: none !important;
}

p#billing_nif_field, p#billing_razon_social_field {
    display: flex !important;
    flex-direction: column;
}

/* Clases para mostrar/ocultar campos según tipo de cliente */
.campo-oculto {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* .campo-visible {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
} */

.login-right label {
    font-size: 16px !important;
}

.woocommerce-form-row label, .woocommerce .form-row label {
    font-weight: 500;
    font-size: 16px !important;
}

span#shipping_address_nickname-description {
    font-size: 16px;
}

.woocommerce-form-row, .woocommerce .form-row {
    margin-bottom: 20px;
}

/*Mis pedidos (repetir pedido)*/
.woocommerce .shop_table td .button {
    font-size: 13px;
    margin-right: 0.2rem;
}

/*Pedidos*/
th.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number,
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-date,
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status,
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total {
    font-size: 0.8rem;
}

.woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-direction: row; /* normal */
}

.woocommerce-orders-table__cell-order-actions a {
  order: 2; /* por defecto todos van después */
}

.woocommerce-orders-table__cell-order-actions a:nth-child(2) {
  order: 1; /* el del medio, lo ponemos primero */
}


a.woocommerce-button.button.order-again {
    width: 100%;
	background: #006503 !important;
}

/*Pedidos ver pedido*/
td.woocommerce-table__product-name.product-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

table.woocommerce-table--order-details td.woocommerce-table__product-name.product-name {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
}

div#thwmsc-summary-content {
    margin-top: 2rem;
}

.img-detail-product {
    display: flex;
    gap: 1rem !important;
}

.img-detail-product img {
    width: 110px;
}

.shop_table tr>:last-child {
    text-align: right;
    align-content: center;
}

.woocommerce-table--order-details {
    background: none;
    border: 1px solid #d1d3d5;
	width: 100%;
}

/*Tabla detalles de pedido*/
table.woocommerce-table.woocommerce-table--order-details {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
}

table.woocommerce-table--order-details thead th {
    background: #f6f6f6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.85rem;
    color: #111;
    padding: 14px 16px;
}

table.woocommerce-table--order-details tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #222;
}

table.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: 0;
}

table.woocommerce-table--order-details tfoot th,
table.woocommerce-table--order-details tfoot td {
    padding: 12px 16px;
    border-top: 1px solid #ececec;
    font-size: 0.9rem;
    color: #222;
    vertical-align: middle;
}

table.woocommerce-table--order-details tfoot tr:last-child th,
table.woocommerce-table--order-details tfoot tr:last-child td {
    font-weight: 600;
    font-size: 1rem;
}

table.woocommerce-table--order-details .product-name a {
    color: #111;
    text-decoration: none;
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

table.woocommerce-table--order-details .product-name a:hover {
    text-decoration: underline;
}

table.woocommerce-table--order-details .product-total,
table.woocommerce-table--order-details tfoot td {
    text-align: right;
    white-space: nowrap;
}

table.woocommerce-table--order-details .product-quantity {
    display: block;
    width: fit-content;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #111;
    background: #f3f3f3;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 0.75rem;
    padding: 2px 6px;
    margin-top: 6px;
    align-self: flex-start;
}

table.woocommerce-table--order-details .tm-order-item-media {
    flex: 0 0 auto;
    grid-row: 1 / span 2;
}

table.woocommerce-table--order-details .tm-order-item-thumb {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

table.woocommerce-table--order-details .tm-order-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    grid-column: 2;
    grid-row-start: 1;
    grid-row-end: 3;
}

table.woocommerce-table--order-details .tm-order-item-title a {
    display: block;
}

table.woocommerce-table--order-details .tm-order-item-qty {
    display: block;
}

table.woocommerce-table--order-details .product-quantity {
    grid-column: 2;
    grid-row: 2;
}

.woocommerce-table--order-details  tbody,
.woocommerce-table--order-details  tfoot {
    border-bottom: 1px solid #d1d3d5;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    font-size: 1rem;
    font-weight: 400;
}

span.woocommerce-Price-amount.amount {
	font-weight: 500;
}

tfoot td {
    display: flex;
    justify-content: flex-end;
}

.woocommerce-column.woocommerce-column--1.woocommerce-column--billing-address.col-1,
.woocommerce-column.woocommerce-column--2.woocommerce-column--shipping-address.col-2 {
    border: 1px solid #d1d3d5;
}

.woocommerce-column--billing-address h2.woocommerce-column__title,
.woocommerce-column--shipping-address h2.woocommerce-column__title{
    padding: 1.5rem;
    margin-bottom: 0;
}

.woocommerce-column--billing-address address,
.woocommerce-column--shipping-address address {
	padding: 0rem 1.5rem 1.5rem 1.5rem;
}

.order-again a.button {
    width: 100%;
}

/*Quitar descargas*/
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

/*Datos*/
.woocommerce-nif-razon-container {
  display: flex;
  gap: 50px !important;
  margin-top: 10px;
}

.woocommerce-nif-razon-container .form-row-first,
.woocommerce-nif-razon-container .form-row-last {
  flex: 1;
}

button.woocommerce-Button.button {
    width: 100%;
}


/*Mis favoritos*/
.wrapper-favourites {
	position: relative !important;
	border: 1px solid #D8D8D8;
	justify-content: space-between;
}

.heart-favourites {
	position: absolute !important;
	right: 5px !important;
	top: 5px !important;
}

.img-favorites {
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}

.title-favourites,
.price-favourites {
	padding-bottom: 0.7rem !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

.btn-favourites {
	width: 100%;
}

/*CHECKOUT LOGIN*/
.thwmsc-tab-content .woocommerce {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.thwmsc-tab-content .woocommerce .title {
    width: 100%;
}
.thwmsc-tab-content .woocommerce .woocommerce-MyAccount-navigation {
    float: none;
    order: 1;
}
.thwmsc-tab-content .woocommerce > .woocommerce-MyAccount-navigation-link {
    width: 20%;
    order: 3;
}
.thwmsc-tab-content .woocommerce .woocommerce-MyAccount-content {
    width: 80%;
    padding-left: 5%;
    float: none;
    order: 2;
}

/*CUADRÍCULA PRODUCTOS*/
.custom-quantity-form .quantity {
    display: flex;
    align-items: stretch; /* Alinea todos los hijos en altura completa */
    margin-bottom: 0.5rem;
    margin-left: 2.5rem !important;
    margin-right: 2.5rem !important;
}

.custom-quantity-form .quantity input.qty,
.custom-quantity-form .quantity .minus,
.custom-quantity-form .quantity .plus {
    height: 47px;
    line-height: 47px; /* Alinea el texto verticalmente */
    box-sizing: border-box; /* Asegura que border y padding no afecten el tamaño total */
    padding: 0;
    margin: 0;
    border: 1px solid #000;
    background: #fff;
    font-size: 16px;
}

.w-post-elm.add_to_cart.qty-btn-style_0 .quantity .plus {
    border-left: 1px solid var(--inputs-border-color, currentColor) !important;
}

.w-post-elm.add_to_cart.qty-btn-style_0 .quantity .minus {
    border-right: 1px solid var(--inputs-border-color, currentColor) !important;
}

.custom-quantity-form .quantity .minus,
.custom-quantity-form .quantity .plus {
    width: 40px; /* Puedes ajustar el ancho */
    text-align: center;
}

.custom-quantity-form .quantity input.qty {
    width: 55px;
    text-align: center;
    border-left: 1px solid;
    border-right: 1px solid;
}

/* Elimina bordes dobles entre los botones e input */
.custom-quantity-form .quantity .minus {
    border-right: none;
}

.custom-quantity-form .quantity .plus {
    border-left: none;
}

button.button.add_to_cart_button.ajax_add_to_cart {
    width: 100%;
    background: #000 !important;
    color: #fff;
    border: none;
}

button.button.add_to_cart_button.ajax_add_to_cart:hover {
    width: 100%;
    background: #4a4a4a !important;
    color: #fff !important;
    border: none;
}

a.woocommerce-button.button.view,
a.woocommerce-button.button.invoice,
a.woocommerce-button.button.order-again {
    display: flex;
    align-items: center;
    justify-content: center;
}

.addresses.address-book header.woocommerce-Address-title.title {
    padding: 0.5rem;
    min-height: 55px;
}

.address_book.shipping_address_book > header {
    padding-bottom: 1rem;
}

p.myaccount_address {
    margin-top: 1rem;
}

span.wc-address-book-address-default-label {
    border-radius: 0;
    background: #ececec;
    color: #4a4a4a;
}

.w-btn:before, .button:before, button[type=submit]:before {
    border: none;
}

.woocommerce-input-wrapper,
.w-form-row-field:has(.show-password-input) {
    position: relative;
}

button.show-password-input {
    position: absolute;
    right: 10px;
    top: 50%;
    bottom: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 0;
    width: 30px;
    height: 30px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

button.show-password-input:hover {
    opacity: 1;
}

button.show-password-input::after {
    content: "\f06e";
    font-family: "fontawesome";
    font-weight: 900;
    font-size: 16px;
    color: #1c1c1c;
}

button.show-password-input.display-password::after {
    content: "\f070";
}

button#place_order,
button.single_add_to_cart_button.button.alt,
a.w-btn.us-btn-style_1,
button.woocommerce-button.button.woocommerce-form-login__submit {
    background: #000 !important;
    color: #fff;
    border: none;
}

button#place_order:hover,
button.single_add_to_cart_button.button.alt:hover,
a.w-btn.us-btn-style_1:hover,
button.woocommerce-button.button.woocommerce-form-login__submit:hover {
    background: #4a4a4a !important;
    color: #fff !important;
}

button.button.add_to_cart_button:hover.ajax_add_to_cart {
    background: var(--color-content-secondary);
    color: var(--color-content-primary);
}

/** Página de marcas **/
ul.grid-compatible {
    display: grid;
    grid-template-columns: repeat(var(--columns, 1), 1fr);
    grid-auto-flow: dense;
    gap: 0;
    margin-left: 0;
}

ul.grid-compatible li {
    border-right: 2px solid #D6D6D6;
    padding: 0.3rem 0.5rem;
    list-style: none;
    margin-bottom: 0;
}

ul.grid-compatible li:nth-child(4n) {
    border-right: none !important;
}

#thwmsc_wrapper #thwmsc-tabs li.tab-active {
    border-bottom-width: 0px !important;
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox
{
    display: none;
}


/************************************************************************************
smaller than 1580px
*************************************************************************************/
@media only screen and (max-width: 1580px) {
	.column-footer .vc_col-sm-2 {
		width: 33%;
		margin-bottom: 2rem;
	}
	.column-footer .vc_col-sm-4 {
        width: 50%;
    }
}
/************************************************************************************
smaller than 1348px
*************************************************************************************/
@media only screen and (max-width: 1348px) {
	.wrapper-img-atr {
		--hwrapper-gap: 0rem !important;
	}
}

/************************************************************************************
smaller than 1280px
*************************************************************************************/
@media only screen and (max-width: 1280px) {
	.grid-compatible .w-grid-item:nth-child(3n) {
	  border-right: none !important;
	}
	.grid-compatible .w-grid-item:nth-child(4n) {
	  border-right: 2px solid #D6D6D6 !important;
	}

}

/************************************************************************************
smaller than 1128px
*************************************************************************************/
@media only screen and (max-width: 1128px) {
	p#billing_company_type_field, p#shipping_company_type_field {
        width: 100%;
        float: none;
        margin-bottom: 1rem;
    }
    p#billing_nif_field, p#shipping_nif_field {
        width: 50%;
        float: left;
        padding-left: 0;
    }
    .woocommerce #shipping_razon_social_field, p#billing_razon_social_field {
        width: 50%;
        float: left;
    }
}

/************************************************************************************
smaller than 1064px
*************************************************************************************/
@media only screen and (max-width: 1064px) {
	button.btn-submit.button-style {
		width: 100%;
		padding: 0.7em 0em 0.7em 0em !important;
	}
	.cf-container.cf-newsletter .cf-col-9,
	.cf-container.cf-newsletter .cf-col-3 {
		max-width: 100% !important;
        width: 100% !important;
        flex: 100%;
	}
}
/************************************************************************************
smaller than 991px
*************************************************************************************/
@media only screen and (max-width: 991px) {
	.column-values .value {
		width: 50% !important;
	}
	/*Filtro*/
	form#form-filtro-cartuchos {
		grid-template-columns: 1fr;
		gap: 0rem;
	}
	.contenido-paso select {
		width: 100%;
		max-width: 100%;
	}
	.impresoras .vc_col-sm-6 {
		width: 50% !important;
	}
	.search-products .w-search-open {
		position: relative;
		width: 110%;
	}
	.column-footer .vc_col-sm-2 {
		width: 50% !important;
		margin-bottom: 2rem !important;
	}
	.column-footer .vc_col-sm-4 {
        width: 100% !important;
    }
	/*Plantilla modelo cuadrícula oferta*/
	.wrapper-offer {
		align-items: end !important;
	}
	.wrapper-img-atr {
		flex-direction: column;
	}
	.wrapper-price-ship {
		flex-direction: column;
		align-items: start !important;
	} 
	/*Plantilla producto detalle*/
	.column-product-detail .vc_col-sm-2,
	.column-product-detail .vc_col-sm-3,
	.column-product-detail .vc_col-sm-4 {
		width: 50% !important;
	}
	.grid-compatible .w-grid-item:nth-child(3n) {
	  border-right: 2px solid #D6D6D6 !important;
	}
	.grid-compatible .w-grid-item:nth-child(2n) {
	  border-right: none !important;
	}
    .thwmsc-tab-content .woocommerce > .woocommerce-MyAccount-navigation-link {
        width: 100% !important;
    }
    .woocommerce>.woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

/************************************************************************************
smaller than 766px
*************************************************************************************/
@media only screen and (max-width: 766px) {
 p#billing_nif_field, p#shipping_nif_field {
        width: 100%;
        float: none;
        padding-left: 0;
    }
    .woocommerce #shipping_razon_social_field, p#billing_razon_social_field {
        width: 100%;
        float: none;
        padding-left: 0;
    }
}


/************************************************************************************
smaller than 750px
*************************************************************************************/
@media only screen and (max-width: 750px) {
	.search-products .w-search-open:after {
		display: none;
	}
	.search-products .w-search-open {
        width: 28px;
        padding: 0;
        font-size: 1.2rem;
        height: 28px;
        align-items: center;
    }
	.wrapper-header-mobile{
		align-items: center !important;
	}
    ul.grid-compatible {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
        gap: 0;
        margin-left: 0;
    }
    ul.grid-compatible li:nth-child(2n) {
        border-right: none !important;
    }
}

/************************************************************************************
smaller than 650px
*************************************************************************************/
@media only screen and (max-width: 650px) {
	.l-subheader.at_middle {
        line-height: 0 !important;
		}
	.cf-col-3 {
		text-align: left;
		margin-top: 0.5rem;
	}
	.column-values .value {
		width: 100% !important;
	}
	.header_hor .w-search.layout_simple.elm_in_header .w-search-form, .header_hor .w-search.layout_modern.elm_in_header .w-search-form {
        left: 0;
        right: 0;
	}
	.impresoras .vc_col-sm-6 {
		width: 100% !important;
	}
	.column-footer .vc_col-sm-2 {
		width: 100% !important;
		margin-bottom: 2rem !important;
	}
	/*PLANTILLA MARCAS*/
	.grid-header-marca {
        flex-direction: column;
        gap: 2rem;
    }
	.column-product-detail .vc_col-sm-2,
	.column-product-detail .vc_col-sm-3,
	.column-product-detail .vc_col-sm-4 {
		width: 100% !important;
	}
	.grid-compatible .w-grid-item:nth-child(2n) {
	  border-right: 2px solid #D6D6D6 !important;
	}
	.grid-compatible .w-grid-item:nth-child(1n) {
		border-right: none !important;
	}
    ul#thwmsc-tabs {
        display: grid;
        grid-template-columns: 0 25% 25% 25% 25%;
    }
    div:not(.login-right) .woocommerce #shipping_nif_field, div:not(.login-right) p#billing_nif_field {
        width: 100%;
        padding-left: 0;
        float: none;
    }
    div:not(.login-right) .woocommerce #shipping_razon_social_field, div:not(.login-right) p#billing_razon_social_field {
        width: 100%;
        padding-left: 0;
        float: none;
    }
    div:not(.login-right) p#shipping_company_type_field, div:not(.login-right) p#billing_company_type_field {
        width: 100%;
        float: none;
        margin-bottom: 1rem;
    }
    p#shipping_postcode_field, p#billing_postcode_field {
        width: 100% !important;
        float: none !important;
    }
    p#shipping_city_field, p#billing_city_field {
        width: 100% !important;
        float: none !important;
    }
    .thwmsc-tab-content .woocommerce > .woocommerce-MyAccount-navigation-link {
        width: 100% !important;
    }
}	

/************************************************************************************
smaller than 565px
*************************************************************************************/
@media only screen and (max-width: 565px) {
	.wrapper-offer {
		flex-direction: column !important;
	}
}

/************************************************************************************
Estilos Mi Cuenta WooCommerce
*************************************************************************************/
/* Iconos FontAwesome en el menú de Mi Cuenta */
.woocommerce-MyAccount-navigation ul li a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    font-family: 'fontawesome';
    text-decoration: none !important;
}
.woocommerce-MyAccount-navigation ul li a:hover::before {
    text-decoration: none !important;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f3fd";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f290";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f019";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f3c5";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f007";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f2f5";
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--payment-methods a::before {
    content: "\f09d";
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--httpstonermaniasolbytedevmis-favoritos a::before {
    content: "\f004";
}

/* Estilo del botón de editar dirección */
.woocommerce-Address .edit {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: white !important;
    text-decoration: none;
    border-radius: 0px;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 15px;
    font-size: 16px;
}
.woocommerce-Address .edit:hover {
    background-color: #0056b3;
}

/* Ocultarenacabezado de nombre de cuenta bancaria */
.wc-bacs-bank-details-account-name {
    display: none !important;
}