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

/* ============================================================
   ÍNDICE
   1.  General
   2.  Búsqueda
   3.  Menú & Navegación
   4.  Header / Login
   5.  Iconos sociales
   6.  Home — Filtro
   7.  Home — Marquesina
   8.  Home — Slider
   9.  Productos — Cuadrícula
   10. Productos — Detalle
   11. Productos — Colores / Pack
   12. Formulario (CF7)
   13. Newsletter
   14. Side Cart
   15. Carrito (página)
   16. Checkout / Finalizar compra
   17. Mi Cuenta — General
   18. Mi Cuenta — Pedidos (lista)
   19. Mi Cuenta — Ver pedido
   20. Mi Cuenta — Direcciones
   21. Mi Cuenta — Datos & Contraseña
   22. Mi Cuenta — Favoritos
   23. Mi Cuenta — Checkout Login
   24. Botones globales
   25. Página de marcas
   26. Media Queries
      26a. min-width: 751px  (desktop Mi Cuenta)
      26b. max-width: 1580px
      26c. max-width: 1348px
      26d. max-width: 1280px
      26e. max-width: 1128px
      26f. max-width: 1064px
      26g. max-width: 991px
      26h. max-width: 767px
      26i. max-width: 750px
      26j. max-width: 650px
      26k. max-width: 600px
   ============================================================ */


/* ============================================================
   1. 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;
}

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

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

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

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


/* ============================================================
   2. BÚSQUEDA
   ============================================================ */

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;
}

.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;
}

.search-products .w-search-open span.fal.fa-search {
	margin-right: 0.8rem;
}

.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;
}

/* Texto placeholder del buscador (desktop por defecto, mobile sobrescrito en media query) */
.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;
    width: 100%;
    min-width: 300px;
}

.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;
}


/* ============================================================
   3. MENÚ & NAVEGACIÓN
   ============================================================ */

.main-menu .menu-item {
	text-transform: uppercase;
    font-weight: 500;
}

.marca-menu {
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E6E6E6;
	cursor: pointer;
    pointer-events: auto !important;
}

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

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

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

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

.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;
}

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


/* ============================================================
   4. HEADER / LOGIN
   ============================================================ */

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

.button-login {
	white-space: nowrap;
}

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

.wrapper-login .menu-login {
	font-size: 0.8rem;
	min-width: 150px;
	position: absolute;
	top: 100%;
	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;
}

body.usuario-logueado .wrapper-login:hover .menu-login {
	opacity: 1;
	pointer-events: auto;
}

/* Favoritos counter */
.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;
}


/* ============================================================
   5. ICONOS SOCIALES
   ============================================================ */

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


/* ============================================================
   6. 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;
}

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

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


/* ============================================================
   7. HOME — 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%;
}


/* ============================================================
   8. HOME — SLIDER
   ============================================================ */

.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;
}

.btn-width {
    width: 100%;
}


/* ============================================================
   9. PRODUCTOS — CUADRÍCULA
   ============================================================ */

.wrapper-product {
	justify-content: space-between;
}

/* Quitar atributo color en grid */
.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;
}

/* Cuadrícula con cantidad */
.custom-quantity-form .quantity {
    display: flex;
    align-items: stretch;
    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;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 1px solid #000;
    background: #fff;
    font-size: 16px;
}

.custom-quantity-form .quantity .minus,
.custom-quantity-form .quantity .plus {
    width: 40px;
    text-align: center;
}

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

.custom-quantity-form .quantity .minus {
    border-right: none;
}

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

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

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.w-btn.us-btn-style_2.usg_btn_1.compatibilidad {
    width: 100%;
}


/* ============================================================
   10. PRODUCTOS — 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;
}

.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;
}

.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;
}

/* Plantilla modelo — cuadrícula */
.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;
}

/* Cuadrícula descuentos modelo impresoras */
.wrapper-price-ship {
    justify-content: end;
    margin-bottom: 0.7rem !important;
}

/* Modelos compatibles */
.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;
}

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

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

/* Página de marcas — Grid */
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;
}


/* ============================================================
   11. PRODUCTOS — COLORES / PACK
   ============================================================ */

/* Resumen color (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;
}

.as-summary .chip-N,
.as-summary .chip-C,
.as-summary .chip-M,
.as-summary .chip-Y {
  background-image: none !important;
  background-color: currentColor;
}

.as-summary .chip-Y { background-color: #f2c200 !important; }
.as-summary .chip-C { background-color: #0ea5e9 !important; }
.as-summary .chip-M { background-color: #ec4899 !important; }
.as-summary .chip-N { background-color: #111827 !important; }

.as-summary .chip-all {
  background-image:
    linear-gradient(90deg, #111827 0 25%, #0ea5e9 25% 50%, #ec4899 50% 75%, #f2c200 75% 100%),
    linear-gradient(#111827, #111827),
    linear-gradient(#0ea5e9, #0ea5e9),
    linear-gradient(#ec4899, #ec4899),
    linear-gradient(#f2c200, #f2c200);
  background-repeat: no-repeat;
  background-size: 100% 100%, 2px 100%, 2px 100%, 2px 100%, 2px 100%;
  background-position: 0 0, 15% 0, 40% 0, 65% 0, 90% 0;
}

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

/* Color badges (pack compuesto) */
.w-post-elm.post_custom_field.color .w-post-elm-value { display: none; }

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

.color-badge {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.2;
  color: inherit;
}

.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);
}

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

.color-Y { --dot-color: #f2c200; }
.color-C { --dot-color: #0ea5e9; }
.color-M { --dot-color: #ec4899; }
.color-N { --dot-color: #111827; }

/* Colores atributo en ficha */
.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);
}


/* ============================================================
   12. FORMULARIO (CF7)
   ============================================================ */

.cf-container {
	display: flex;
	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;
}

/* Grid de columnas CF (≥576px) */
@media (min-width: 576px) {
	.cf-col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%;  }
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2  { flex: 0 0 16.66667%;  max-width: 16.66667%;  }
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3  { flex: 0 0 25%;         max-width: 25%;         }
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4  { flex: 0 0 33.33333%;  max-width: 33.33333%;  }
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5  { flex: 0 0 41.66667%;  max-width: 41.66667%;  }
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6  { flex: 0 0 50%;         max-width: 50%;         }
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7  { flex: 0 0 58.33333%;  max-width: 58.33333%;  }
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8  { flex: 0 0 66.66667%;  max-width: 66.66667%;  }
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9  { flex: 0 0 75%;         max-width: 75%;         }
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 { flex: 0 0 83.33333%;  max-width: 83.33333%;  }
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 { flex: 0 0 91.66667%;  max-width: 91.66667%;  }
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 { 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);
    color: #b5b5b5;
    background-color: #ffffff;
    display: inline-block;
    transition: all .5s;
    cursor: pointer;
    padding: 10px 40px 10px 17px !important;
    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;
}

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;
}

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


/* ============================================================
   13. NEWSLETTER
   ============================================================ */

.newsletter {
	font-size: 0.5rem;
}


/* ============================================================
   14. 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;
}

.xoo-wsc-ft-amt {
    display: flex;
}

.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;
}

p.order-again {
    display: none;
}

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;
}

#thwmsc-tab-content-0 form.woocommerce-form.woocommerce-form-register.register.hidden {
    display: none !important;
}

/* Ocultar paso Login cuando usuario está logueado */
body.logged-in .thwmsc-tab:has(a#step-0) {
    display: none;
}

body.logged-in div#thwmsc-tab-panel-0 {
    display: none !important;
}

/* Tratar paso Datos como primer paso (sin raya a la izquierda) */
body.logged-in .thwmsc-tab:has(a#step-1) {
    position: relative;
}

body.logged-in .thwmsc-tab a#step-1 {
    margin-left: 50% !important;
    position: initial !important;
}

/* Reposicionar el label para que el círculo se centre en el li completo
   (mismo comportamiento que .thwmsc_end_closed .first span.thwmsc-tab-label) */
body.logged-in .thwmsc-tab a#step-1 span.thwmsc-tab-label {
    position: absolute !important;
    left: 0 !important;
    text-align: center !important;
}

/* Centrar la barra: 3 pasos visibles → cada uno ocupa 33.33% en vez de 25% */
body.logged-in ul#thwmsc-tabs li.thwmsc-tab {
    width: 33.33% !important;
}

/* Centrar número dentro del círculo del indicador de pasos */
.thwmsc-tab-icon {
    line-height: 28px !important;
}



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;
}

.xoo-wsc-qty-box.xoo-wsc-qtb-square {
    border: none;
}

.xoo-wsc-qty-box {
    justify-content: flex-start;
}


/* ============================================================
   15. CARRITO (PÁGINA)
   ============================================================ */

.tax-rate small {
    display: none;
}

.wc-block-components-product-metadata__description {
    display: none;
}

.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 {
    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;
}

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;
}

.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;
    text-align: right;
    align-content: center;
}


/* ============================================================
   16. CHECKOUT / FINALIZAR COMPRA
   ============================================================ */

/* Métodos de pago */
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 {
    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;
}

/* Deshabilitar clics en las pestañas cuando el paso activo es Login (step 0) */
#thwmsc-tabs:has(li.tab-active:has(a#step-0)) li.thwmsc-tab a {
    pointer-events: none !important;
    cursor: default !important;
}

/* Botones de navegación multistep */
button#action-prev {
    width: 50%;
    border-radius: 2px !important;
}

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

.thwmsc-buttons {
    display: flex;
}

.thwmscf-buttons {
    display: flex;
	gap: 1.2rem;
}

/* Login multistep */
label.woocommerce-form__label.woocommerce-form__label-for-checkbox {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.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;
}

button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit {
    width: 100% !important;
}

button.button.btn-show-register,
button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit {
    background: black !important;
    color: white !important;
}

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

p#shipping_address_1_field {
    margin-bottom: 0;
}

/* Realizar pedido */
.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%;
    font-size: 16px !important;
    margin-bottom: 0.5rem;
}

/* Detalles facturación */
ul.wc_payment_methods.payment_methods.methods label {
    font-size: 16px !important;
    font-weight: 500;
}

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

#billing_address_2_field {
    display: none !important;
}

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

.login-right button.button.btn-show-register {
    text-transform: capitalize;
    font-weight: 400;
    font-size: 0.7rem !important;
}

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;
}

/* Datos de envío */
input#shipping_address_2 {
    display: none;
}

/* Cupon checkout */
.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;
    width: 48%;
    height: 100%;
}

.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%;
}

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

/* Resumen pedido checkout */
.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;
}

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

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

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

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

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

/* Tipo de cliente (empresa/particular) */
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;
}

.campo-oculto {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

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

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

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

p#shipping_country_field {
    display: none;
}


/* ============================================================
   17. MI CUENTA — GENERAL
   ============================================================ */

/* Layout */
.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.woocommerce-account .title {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 0 0.5rem;
    border-bottom: 2px solid #1C1C1C;
    margin-bottom: 1rem;
}

/* Navegación lateral */
.woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-navigation ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
}

.woocommerce-MyAccount-navigation ul li {
    flex: 0 0 auto;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation ul li:nth-child(2n) {
    border-right: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    color: #666;
    border-bottom: none;
    margin-bottom: 0;
    white-space: normal;
    text-align: center;
    transition: color 0.2s, border-color 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #1C1C1C;
    text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f5f5f5;
    color: #1C1C1C;
    font-weight: 700;
    border-bottom: none;
}

/* Iconos encima del texto */
.woocommerce-MyAccount-navigation ul li a::before {
    font-family: 'fontawesome';
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none !important;
    display: block;
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
    text-decoration: none !important;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before        { content: "\f290"; }
.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"; }

/* Contenido */
.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Bloque de contacto */
.woocommerce-MyAccount-navigation-link--bloque_contacto {
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Registro */
.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;
}

/* Libreta de direcciones */
.woocommerce-Addresses {
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.woocommerce-Address {
    border: 1px solid #e5e5e5;
    padding: 16px;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.woocommerce-Address-title h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.woocommerce-Address .edit {
    display: inline-block;
    padding: 6px 14px;
    background-color: #1C1C1C;
    color: white !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 0;
}

.woocommerce-Address .edit:hover {
    background-color: #444;
    text-decoration: none;
}

/* Datos de cuenta */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}

.woocommerce-EditAccountForm fieldset legend {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0 8px;
}

/* Métodos de pago */
.woocommerce-PaymentMethods {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
}

/* Ocultar elementos */
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads,
li.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

.wc-bacs-bank-details-account-name {
    display: none !important;
}

/* 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;
}

.register-info {
    padding: min(3rem, 10%);
    box-shadow: var(--box-shadow);
}

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

/* NIF / Razón social */
.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;
}

/* Dirección book */
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;
}

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

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;
}

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

.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;
}

button.woocommerce-Button.button,
button.button.btn-show-login {
    background: black;
    color: white;
}

button.woocommerce-Button.button:hover,
button.button.btn-show-login:hover {
    background: #dadada;
    color: black;
}


/* Contacto */
.contact-block {
    font-size: 14px;
    padding-top: 10px;
}

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

.contact-block .contact-info p i {
    font-size: .9rem;;
}

button.button[name="save_address"] {
    width: 100%;
}

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

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

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

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


/* ============================================================
   18. MI CUENTA — PEDIDOS (LISTA)
   ============================================================ */

/* Tabla de pedidos — mobile first */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.woocommerce-orders-table thead {
    display: none;
}

.woocommerce-orders-table tbody tr {
    display: block;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
    padding: 14px;
    background: #fff;
}

.woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border: none;
    font-size: 0.85rem;
}

.woocommerce-orders-table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: #555;
    font-size: 0.78rem;
    flex: 0 0 120px;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid #f0f0f0;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
    display: none;
}

.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a {
    width: auto !important;
    flex: 0 0 auto;
}

.woocommerce-button.button.view {
    padding: 6px 18px;
    background: #1C1C1C;
    color: #fff !important;
    border: none;
    border-radius: 0;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s;
}

.woocommerce-button.button.view:hover {
    background: #444;
    text-decoration: none;
}

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

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;
}

.woocommerce-orders-table__cell-order-actions a {
  order: 2;
}

.woocommerce-orders-table__cell-order-actions a:nth-child(2) {
  order: 1;
}

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

.woocommerce .shop_table td .button {
    font-size: 13px;
    margin-right: 0.2rem;
}

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


/* ============================================================
   19. MI CUENTA — 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;
}

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

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;
    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;
    grid-column: 2;
    grid-row: 2;
}

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;
}

.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;
}

/* Botón factura */
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;
}

/* Dirección facturación/envío */
.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%;
}


/* ============================================================
   20. MI CUENTA — DIRECCIONES
   ============================================================ */

/* (Ver sección 17 — woocommerce-Addresses) */

.woocommerce-notices-wrapper {
    width: 100%;
}


/* ============================================================
   21. MI CUENTA — DATOS & CONTRASEÑA
   ============================================================ */

.custom-login-register-wrapper a.button.btn-show-login {
    display: none;
}

span.password-input {
    position: relative;
}

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

button.show-password-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    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";
}


/* ============================================================
   22. MI CUENTA — 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%;
}


/* ============================================================
   23. MI CUENTA — 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;
}


/* ============================================================
   24. BOTONES GLOBALES
   ============================================================ */

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;
}

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

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


/* ============================================================
   25. PÁGINA DE MARCAS
   ============================================================ */

/* (Grid compatible ya definido en sección 10) */


/* ============================================================
   26. MEDIA QUERIES
   ============================================================ */

/* -----------------------------------------------------------
   26a. DESKTOP: min-width 751px — Mi Cuenta sidebar
   ----------------------------------------------------------- */
@media (min-width: 751px) {
    .woocommerce-account .woocommerce {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .woocommerce-account .woocommerce.for_payment-methods {
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: baseline;
    }

    .woocommerce-MyAccount-navigation {
        min-width: 220px;
        margin-bottom: 0;
        margin-right: 2rem;
        border-right: none;
        padding-right: 0;
        box-shadow: 1px 0 0 0 #e5e5e5;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: none;
        border-bottom: none;
        border-right: none;
        gap: 2px;
        padding: 4px 0;
        overflow-x: visible;
    }

    .woocommerce-MyAccount-navigation ul li {
        border-right: none;
        border-bottom: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 10px;
        padding: 10px 16px;
        font-size: 0.88rem;
        border-left: 3px solid transparent;
        border-bottom: none;
        border-right: none;
        margin-bottom: 0;
        border-radius: 0;
        white-space: nowrap;
    }

    .woocommerce-MyAccount-navigation ul li a:hover {
        background: #f9f9f9;
        border-left-color: #ccc;
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        background: #f5f5f5;
        border-left-color: #1C1C1C;
        border-bottom: none;
        font-weight: 700;
    }

    .woocommerce-MyAccount-navigation ul li a::before {
        font-size: 0.95rem;
        display: inline-block;
        width: 18px;
        text-align: center;
    }

    .woocommerce-MyAccount-content {
        flex: 1;
        min-width: 0;
        width: auto !important;
    }

    /* Tabla de pedidos desktop */
    .woocommerce-orders-table {
        table-layout: auto;
    }

    .woocommerce-orders-table thead {
        display: table-header-group;
    }

    .woocommerce-orders-table tbody tr {
        display: table-row;
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        padding: 0;
        background: transparent;
    }

    .woocommerce-orders-table td {
        display: table-cell;
        padding: 12px 10px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .woocommerce-orders-table td::before {
        display: none;
    }

    .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        border-top: none;
        margin-top: 0;
        padding-top: 12px;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .woocommerce-orders-table__cell-order-actions .woocommerce-button,
    .woocommerce-orders-table__cell-order-actions a.button {
        display: inline-block;
        margin: 2px 4px 2px 0;
        padding: 6px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
        border-radius: 0 !important;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr 1fr;
    }

    /* Bloque de contacto */
    .woocommerce-MyAccount-navigation-link--bloque_contacto {
        width: 220px;
        min-width: 220px;
    }
}

/* -----------------------------------------------------------
   26b. max-width: 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%;
    }
}

/* -----------------------------------------------------------
   26c. max-width: 1348px
   ----------------------------------------------------------- */
@media only screen and (max-width: 1348px) {
    .wrapper-img-atr {
        --hwrapper-gap: 0rem !important;
    }
}

/* -----------------------------------------------------------
   26d. max-width: 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;
    }
}

/* -----------------------------------------------------------
   26e. max-width: 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;
    }
}

/* -----------------------------------------------------------
   26f. max-width: 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%;
    }
}

/* -----------------------------------------------------------
   26g. max-width: 991px
   ----------------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .column-values .value {
        width: 50% !important;
    }

    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;
    }

    .wrapper-offer {
        align-items: end !important;
    }

    .wrapper-img-atr {
        flex-direction: column;
    }

    .wrapper-price-ship {
        flex-direction: column;
        align-items: start !important;
    }

    .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,
    .woocommerce>.woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

/* -----------------------------------------------------------
   26h. max-width: 767px
   ----------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    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;
    }

    .woocommerce-MyAccount-content .shop_table td:last-child {
        padding: 14px 16px !important;
    }

    table.woocommerce-table--order-details tfoot td:not(:has(.order-actions-button)) {
        padding: 7px 20px 7px 8px !important;
    }

    body.page-id-159 footer#page-footer {
        display: none;
    }

    body.page-id-159 .resumen-pedido {
        display: none;
    }
}

/* -----------------------------------------------------------
   26i. max-width: 750px — Mobile principal
   ----------------------------------------------------------- */
@media only screen and (max-width: 750px) {
    /* Búsqueda */
    .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;
    }

    /* Header */
    .wrapper-header-mobile {
        align-items: center !important;
    }

    /* Icono usuario en lugar de texto */
    .button-login,
    .button-login * {
        font-size: 0 !important;
        line-height: 1;
    }

    .button-login::before {
        content: "\f007";
        font-family: "fontawesome";
        font-weight: 100;
        font-size: 1.5rem !important;
        display: inline-block;
    }

    /* Barra de búsqueda mobile */
    #mobile-search-bar {
        background: #fff;
        padding: 8px 15px;
        border-bottom: 1px solid #eee;
        z-index: 110;
    }

    #mobile-search-bar.scrolled {
        display: none;
    }

    #mobile-search-bar form {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        border-radius: 25px;
        overflow: hidden;
        border: 1px solid #000;
        height: 36px;
    }

    #mobile-search-bar input[type="text"] {
        flex: 1;
        border: none;
        background: transparent;
        padding: 10px 12px;
        font-size: 0.85rem;
        outline: none;
        color: #333;
    }

    #mobile-search-bar input[type="text"]::placeholder {
        color: #999;
    }

    #mobile-search-bar button {
        background: none;
        border: none;
        padding: 10px 14px;
        cursor: pointer;
        color: #1C1C1C !important;
        font-size: 1rem;
    }

    /* Grid compatible */
    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;
    }

    .contact-menu.w-hwrapper>:not(:last-child) {
        margin-right: 0.5rem !important;
    }

    /* Checkout */
    header.id_721 .l-subheader.at_middle {
        display: none !important;
    }

    .woocommerce-button.button.view {
        padding: 9px 18px !important;
    }

    body:not(.page-id-160) section.woocommerce-order-details {
        display: none;
    }

    section.woocommerce-customer-details {
        margin-top: 0;
    }

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

    .woocommerce .cart_totals {
        padding: 1.5rem !important;
        margin: 0 -1.5rem;
    }

    .thwmsc-tab-content tr.cart_item {
        display: none;
    }

    .thwmsc-tab-content .shop_table tfoot {
        width: 100% !important;
    }

    .thwmsc-tab-content table.shop_table tbody {
        display: none;
    }

    .thwmsc-tab-content .shop_table tr {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Bloque contacto Mi Cuenta */
    .woocommerce-MyAccount-navigation-link--bloque_contacto {
        width: 100%;
        margin-top: 2rem;
    }

    /* Ver pedido — tabla responsive */
    table.woocommerce-table--order-details {
        display: block !important;
    }

    table.woocommerce-table--order-details thead {
        display: none;
    }

    table.woocommerce-table--order-details tbody,
    table.woocommerce-table--order-details tfoot {
        display: block;
        width: 100%;
    }

    table.woocommerce-table--order-details tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #ececec;
    }

    table.woocommerce-table--order-details tbody td {
        display: block;
        padding: 0;
        border: none;
    }

    table.woocommerce-table--order-details td.product-name {
        grid-template-columns: 70px 1fr;
    }

    table.woocommerce-table--order-details .tm-order-item-thumb {
        width: 70px !important;
        height: 70px !important;
    }

    table.woocommerce-table--order-details td.product-total {
        font-weight: 600;
        white-space: nowrap;
        text-align: right;
    }

    table.woocommerce-table--order-details tfoot tr {
        display: flex;
        align-items: center;
    }

    table.woocommerce-table--order-details th.order-actions--heading {
        display: none;
    }

    table.woocommerce-table--order-details tfoot td:has(.order-actions-button) {
        display: flex !important;
        gap: 8px;
        padding: 14px 16px;
        width: 100%;
        justify-content: flex-start;
        border-top: 2px solid #ececec;
    }

    table.woocommerce-table--order-details .order-actions-button {
        flex: 1;
        text-align: center !important;
        width: auto !important;
    }

    table.woocommerce-table--order-details tfoot td:not(:has(.order-actions-button)) {
        display: block !important;
        text-align: right;
        padding: 7px 20px 7px 8px;
        white-space: normal;
        word-break: break-word;
    }

    table.woocommerce-table--order-details tfoot th[scope="row"] {
        flex: 1;
        padding: 7px 8px 7px 16px;
    }

    table.woocommerce-table--order-details tfoot tr:last-of-type th,
    table.woocommerce-table--order-details tfoot tr:last-of-type td {
        font-size: 1.05rem;
        font-weight: 700;
        border-top: 1px solid #d1d3d5;
        padding-top: 12px;
    }
}

/* -----------------------------------------------------------
   26j. max-width: 650px
   ----------------------------------------------------------- */
@media only screen and (max-width: 650px) {
    /* Texto buscador corto */
    .search-products .w-search-open:after {
        content: 'Busca tu impresora o cartucho';
    }

    /* Ver pedido */
    table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
        margin-bottom: 1rem;
    }

    /* Cantidad producto */
    .custom-quantity-form .quantity {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    /* Detalle producto */
    .column-product-detail .col-title {
        order: 2;
        margin-bottom: 2rem !important;
    }

    .column-product-detail .col-img {
        order: 1;
    }

    .column-product-detail .col-pack {
        order: 4;
    }

    .column-product-detail .data_product {
        order: 3;
    }

    .ush_favs_counter_1 {
        margin-top: 6px;
    }

    .w-favs-counter-quantity {
        font-size: 0.8rem;
        right: -0.3rem;
        top: 0.4rem;
    }

    .w-favs-counter-icon {
        width: 2em;
    }

    .search-products .w-search-open {
        width: 25px;
        padding: 0;
        font-size: 1.2rem;
        height: 30px;
        align-items: center;
    }

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

    .wrapper-offer {
        flex-direction: column-reverse !important;
    }

    .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;
    }

    .grid-header-marca {
        flex-direction: column-reverse;
        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: flex;
    }

    ul#thwmsc-tabs li.thwmsc-tab {
        flex: 1;
        width: auto !important;
        float: none !important;
    }

    body.logged-in .thwmsc-tab:has(a#step-0) {
        flex: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        min-width: 0 !important;
    }

    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;
    }

    button.button.add_to_cart_button.ajax_add_to_cart {
        font-size: 1rem !important;
        padding: 0.7em 0 !important;
    }

    .logo-header {
        margin-top: 0rem;
    }

    .my-orders a.w-text-h,
    .my-contact a.w-text-h,
    .my-phone a.w-text-h {
        display: flex;
        align-items: center;
    }

    .my-orders a::before,
    .my-contact a::before,
    .my-phone a::before {
        font-family: "fontawesome";
        font-weight: 400;
        margin-right: 8px;
        font-size: 1.2rem;
    }

    .my-orders a::before  { content: "\f570"; }
    .my-contact a::before { content: "\f0e0"; }
    .my-phone a::before   { content: "\f095"; }

    .l-subheader.at_top {
        background: var(--color-header-top-text) !important;
        color: var(--color-content-bg-grad) !important;
    }

    .l-subheader.at_middle {
        background: var(--color-content-bg-alt) !important;
        height: 40px !important;
    }

    .header_hor .l-header.pos_fixed~.l-main>.l-section:first-of-type>.l-section-h {
        padding-top: calc(36px + var(--header-height));
    }

    .xoo-wsc-sc-cont .xoo-wsc-cart-trigger > * {
        margin-right: 8px;
        margin-top: 7px;
    }

    .search-products .w-search-open {
        font-size: 1.3rem;
    }

    .search-products .w-search-open span.fal.fa-search {
        padding-top: 5px;
    }
}

/* -----------------------------------------------------------
   26k. max-width: 600px — Menú Mi Cuenta 2 columnas
   ----------------------------------------------------------- */
@media only screen and (max-width: 600px) {
    .woocommerce table.shop_table.shop_table_responsive {
        display: grid !important;
    }
    .woocommerce-MyAccount-navigation ul.menu {
        display: grid !important;
        border: 1px solid #D6D6D6 !important;
    }

    .woocommerce-MyAccount-navigation ul.menu>li:not(:last-child) {
        margin: 0 !important;
    }

    .woocommerce-MyAccount-navigation ul li:nth-child(2n) {
        border-right: 1px solid #D6D6D6 !important;
    }

    .woocommerce-MyAccount-navigation ul li:nth-child(2n+1) {
        border-right: none !important;
    }

    .woocommerce-MyAccount-navigation ul li:nth-child(1) {
        border-right: 1px solid #D6D6D6 !important;
    }
}

/* ============================================================
   SELECTORES DE CANTIDAD — Diseño Figma
   Botones ±: 36×36px | Input: 62×36px | Poppins 22px
   ============================================================ */

/* Contenedor */
.woocommerce .quantity,
.custom-quantity-form .quantity {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

/* Botones - y + (WooCommerce estándar) */
.quantity .minus,
.quantity .plus {
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    line-height: 1 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 22px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

/* Recuperar borde completo en input[type=button] minus/plus */
input.minus {
    border-right: 1px solid #000 !important;
}

input.plus {
    border-left: 1px solid #000 !important;
}

/* Input numérico (WooCommerce estándar) */
.quantity input.qty,
input.input-text.qty.text {
    width: 62px !important;
    height: 36px !important;
    min-height: 36px !important;
    border: none !important;
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 22px !important;
    font-family: 'Poppins', sans-serif !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

/* Producto detalle (Impreza qty-btn-style_0) */
.w-post-elm.add_to_cart.qty-btn-style_0 .quantity .plus,
.w-post-elm.add_to_cart.qty-btn-style_0 .quantity .minus {
    width: 36px !important;
    display: flex !important;
}

/* Tabla carrito */
.w-cart-table .quantity .minus,
.w-cart-table .quantity .plus {
    width: 36px !important;
    min-height: 36px !important;
    line-height: 1 !important;
}

.w-cart-table .quantity input.qty {
    width: 62px !important;
    min-height: 36px !important;
}

/* Side Cart — contenedor */
.xoo-wsc-qty-box {
    max-width: none !important;
    width: auto !important;
}

/* Side Cart — botones - y + */
.xoo-wsc-qty-box span.xoo-wsc-chng {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    align-self: auto !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 22px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-direction: row !important;
}

/* Side Cart — input numérico */
input[type="number"].xoo-wsc-qty {
    width: 62px !important;
    height: 36px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    border: none !important;
    border-top: 1px solid #000 !important;
    border-bottom: 1px solid #000 !important;
    font-size: 22px !important;
    font-family: 'Poppins', sans-serif !important;
    text-align: center !important;
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Side Cart — recuperar bordes si usa estilo "square" */
.xoo-wsc-qtb-square input[type="number"].xoo-wsc-qty {
    line-height: 1 !important;
    height: 36px !important;
    min-height: 36px;
}
