/*
Theme Name: WooTheme1
Theme URI: https://hsbsa.com
Description: Subtema de Twenty Twenty-Five
Author: HSB
Author URI: https://hsbsa.com
Template: twentytwentyfive
Version: 1.1
Text Domain: wootheme1
*/

*:focus,
*:focus-visible{
    outline:none !important;
    box-shadow:none !important;
}

a:hover {
    text-decoration: none;
}

.wc-block-components-product-image, .wc-block-components-product-image__image {
    padding: 5px;
}

.wp-block-navigation-item__content[href="/categoria-producto/outlet/"] {
    background: #e30613 !important;
    color: #fff !important;
}

.wp-block-navigation-item__content[href="/categoria-producto/outlet/"]:hover {
    background: #c9000f !important;
    color: #fff !important;
}

.oculto {
   display:none;
}

span.wp-block-cover__background.has-background-dim {
    opacity: 0;
}

.woohsb-brand-filter__select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding-right:45px;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 15px center;
}

.woocommerce-account .addresses .title h3 {
    font-weight: 600;
    z-index:9 !important;
}

/*interior usuarios areas*/

#boton-filtrar,
#boton-recargar {
    border: medium none;
    color: #fff;
    display: inline-block;
    line-height: 36px;
    text-align: center;
    padding: 0 10px;
    min-width: 110px;
    border-radius: 3px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#boton-filtrar {
    float: left;
    margin-right: 2px !important;
    margin-top: 85px;
    margin-bottom: 15px;
    background: #068c28;
	  border-radius:10px;
}

#boton-recargar {
    float: left;
    margin-top: 85px;
    margin-bottom: 15px;
    background: red;
    border-radius:10px;
}

#boton-filtrar:hover {
  background: #000;
}

#boton-recargar:hover {
  background: #000;
}


table {
    width: 100%;
}

td, th {
    padding: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    width: 100% !important;
    clear: both;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#contenedor-tabla-resultados {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    clear: both;
}



.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  margin-top: 30px;
	width:100% !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #000;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: #767676;
}

.woocommerce .woocommerce-breadcrumb {
    text-transform: uppercase;
    color: #767676;
}

.woocommerce-MyAccount-content #fecha-envoltorio #txtStartDate,
.woocommerce-MyAccount-content #fecha-envoltorio #txtEndDate {
    width: 14em;
}

th.ordenable {
    cursor: pointer;
}

th.ordenable.sin-orden {
	color: #393939;
	font-weight: 300 !important;
}

th.ordenable.asc {
    color: orange;
}

th.ordenable.desc {
    color: var(--wp--preset--color--primary);
}

th.ordenable .fas {
    display: inline;
    padding-left: 0.3em;
}

#tabla-resultados th,
#tabla-resultados td
{
    text-align: center;
}

tr.pago-estado-P {
    background-color: #ffeee480;
}
.pago-vencido {
    color: red;
}
.albaran-abono {
    color: red;
    font-weight: bold;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-pagos.is-active a {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-pagos a {
    background: #c6c6c6;
}

a.icono-descarga-pdf {
    background-image: url(https://dev-woohsb.fermicarre.com/wp-content/uploads/2022/10/icono-pdf.png);
    background-size: contain;
    display: block;
    width: 18px;
    height: 22px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 8em;
}

a.icono-trazabilidad {
    background-image: url(https://dev-woohsb.fermicarre.com/wp-content/plugins/woohsb/imgs/icons/trazabilidad.png);
    background-size: contain;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    overflow: hidden;
    text-indent: 8em;
}

a.icono-descarga-pdf.en-documento {
    float: left;
    margin-top: 0.4em;
    margin-right: 0.5em;
	  top: 14px;
    position: relative;
}

#texto-paginador-resultados {
    margin: 0 auto -1em;
    width: max-content;
    display: block;
}

#paginador-resultados {
    display: block;
    width: max-content;
    margin: 0 auto;
}

#paginador-resultados .pag-boton.pag-actual{
    background-color: var(--wp--preset--color--primary);
	cursor: unset;
	color: #fff;
	font-weight: 500;
	float: left;
}

#paginador-resultados .pag-boton{
    padding: 0.9em 1em;
    margin: 2px;
    border: 1px solid;
    cursor: pointer;
    border: 1px solid #ddd;
    width: 3.5em;
    float: left;
    text-align: center;
}

#paginador-resultados .pag-boton:hover {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    border-radius: 5px;
    transition: 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 0 0em !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
    padding: 1px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    padding: 0px 1px !important;
}



.woocommerce-Address-title.title {
    background: #fff0;
}

#cargandoAJAX {
	  position: fixed;
	  width: auto;
	  background-color: #fff;
	  padding: 2em 4em;
	  top: 40%;
	  left: 45%;
	  font-size: 120%;
    border: 5px solid var(--wp--preset--color--primary);
	  text-transform: uppercase;
	  font-weight: 500;
	  box-shadow: rgba(215, 215, 215, 0.64) 0px 11px 11px 2px;
	  z-index: 999;
	  display:none;
	border-radius:10px;
 }



#documento-envoltorio p {
    padding: 0px;
    margin: 0px;
}

#elementos-pagina-envoltorio {
		width: 25%;
	  float: left;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}


#documento-envoltorio {
  padding: 20px;
  background: var(--wp--preset--color--custom-fondo-gris);
  float: left;
  margin-right: 1px;
  width: 48%;
	border-radius:10px;
  border: 1px solid var(--wp--preset--color--custom-contornos);
}

#fecha-envoltorio {
  padding: 24px;
  background: var(--wp--preset--color--custom-contornos);
	width: 49%;
  float: left;
	border-radius:10px;
  border: 1px solid var(--wp--preset--color--custom-fondo-gris);
}

#fecha-envoltorio p{
	  padding: 0px;
    margin: 0px;
}

#documento-envoltorio p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

#fecha-envoltorio p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

#estado-envoltorio {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  display: block;
  float: left;
  width: 50%;
}

#estado-envoltorio p{
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 5px;
}

#elementos-pagina-envoltorio p{
	font-weight:500;
	margin-top: 6px
		}


.select2-container {
  width: 80% !important;
}

#resumen-resultados {
    float: left;
    font-weight: 500;
    margin: 20px 0px 20px 0px;
}

#paginador-resultados span {
    float:left;
    padding: 10px 5px;
}

#contenedor-tabla-resultados {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    clear: both;
}

#contenido-detalle-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

#detalle-wrapper {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 1 1 10%;
    -ms-flex: 1 1 10%;
    flex: 1 1 10%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    margin: 0 2em;
}

#arbol-documentos-bloque{
    float: left;
    background: #f2f2f2;
    margin-bottom: 1.6em;
    overflow: auto;
    max-width: 100%;
    padding: 1.6em;
    border-radius: 0px;
    border: 1px solid #ddd;
    border-bottom: 2px solid var(--wp--preset--color--primary);
	padding-left: 18px;
}

#arbol-documentos-bloque h3 {
	margin-bottom: 25px;
	border-bottom: 1px solid #00000061;
}

#arbol-documentos-bloque h3::before {
	content: "\e930";
	font-family: "th-icon" !important;
	padding-right: 5px;
    color: var(--wp--preset--color--primary);
	font-weight: 500;
	font-size: 14px;
}

.arbol-documentos span.actual,
.arbol-documentos .cabecera-activa{
    font-size: 16px;
    font-weight: 600;
    color: #060606;
}

.arbol-documentos .ocultar::before{
    content: "";
    display: none;
}
.arbol-documentos .ocultar::after{
    content: "";
    display: none;
}

.arbol-documentos .raiz::before{
    content: "";
    display: none;
}
.arbol-documentos .raiz::after{
    content: "";
    display: none;
}

.arbol-documentos li.raiz{
    list-style: square;
}
.arbol-documentos li.raiz.raiz-cabecera{
    list-style: none !important;
}

.arbol-documentos, .arbol-documentos ul, .arbol-documentos li {
    position: relative;
    margin: 0;
}

.arbol-documentos ul {
    list-style: none;
    padding-left: 60px;
}

.arbol-documentos ul.inicio-arbol {
    padding-left: 1em;
}

.arbol-documentos li::before, .arbol-documentos li::after {
    content: "";
    position: absolute;
    left: -32px;
}

.arbol-documentos li::before {
    border-top: 1px solid #000;
    top: 9px;
    width: 28px;
    height: 0;
}

.arbol-documentos li::after {
    border-left: 1px solid #000;
    height: 100%;
    width: 0px;
    top: 2px;
}

.arbol-documentos ul > li:last-child::after {
    height: 8px;
}

#arbol-documentos-bloque a {
  text-decoration: underline !important;

}

#arbol-documentos-bloque a:hover {
  text-decoration: underline !important;
  color: black;
}

.titular-detalle-doc-numero {
	float: left;
	margin-bottom: 30px;
	padding-right: 10px;
	border-right: 1px solid #aeaeae;
	margin-right: 10px;
    color: var(--wp--preset--color--primary);
	height: 40px;
	line-height: 37px;
	font-size: 18px;
	font-weight: 600;	
}

.titular-detalle-doc-fecha {
  float: left;
  padding-right: 10px;
  border-right: 1px solid #aeaeae;
  margin-right: 10px;
  font-size: 15px;
  height: 40px;
  line-height: 37px;
  font-weight: 600;
}

.titular-detalle-doc-referencia {
  float: left;
  padding-right: 10px;
  font-size: 15px;
  border-right: 1px solid #aeaeae;
  margin-right: 10px;
  height: 40px;
  line-height: 37px;
  font-weight: 600;
}

.titular-detalle-doc-referencia:before{
    content: "Ref.: ";
}

.titular-detalle-doc-descripcion {
  float: left;
  padding-right: 10px;
  margin-bottom: 30px;
  font-size: 15px;
  border-right: 0px solid;
  margin-right: 10px;
  height: 40px;
  line-height: 37px;
  font-weight: 600;
  }
  
 .titular-detalle-doc-descripcion:before{
    content: "Descrip.: ";
}

.api-detalle-impuestos .panel-cabecera {
	font-size: 16px !important;
    font-weight: bold;
	padding-bottom: 15px;
	padding-top: 15px;
	text-transform: uppercase;
}

.api-detalle-totales .panel-cabecera {
    font-size: 16px !important;
    font-weight: bold;
	padding-bottom: 15px;
	padding-top: 15px;
	text-transform: uppercase;
}

.api-detalle-totales {
	padding: 10px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
    border-bottom: 6px solid var(--wp--preset--color--primary);
	width: 51% !important;
	float: right !important;

}

.api-detalle-impuestos {
  padding: 10px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-bottom: 6px solid #ddd;
  width: 51% !important;
  float: right !important;
    border-top: 6px solid var(--wp--preset--color--primary);
}

.total-valor {
  font-size: 25px;
  font-weight: bold !important;
    color: var(--wp--preset--color--primary);
}

.api-detalle-tabla-totales td {
  font-weight: 600;
  text-transform:uppercase;
}


/* Menú Mi Cuenta */

.woocommerce-MyAccount-navigation a,
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation a:focus,
.woocommerce-MyAccount-navigation a:active{
    text-decoration:none !important;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--custom-rollover);
}

.woocommerce-account .wp-block-post-title, .woocommerce-account main .woocommerce, .woocommerce-cart .wp-block-post-title, .woocommerce-cart main .woocommerce, .woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce
 {
    max-width: unset !important;
}


.wc-block-product {
  border: 1px solid var(--wp--preset--color--custom-contornos);
  padding: 30px;
display: flex;
  flex-direction: column;

}


.alg-wc-wl-toggle-btn {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
	border: 1px solid var(--wp--preset--color--custom-contornos);
	border-radius:10px;
	width: 100%;
	background:var(--wp--preset--color--custom-contornos);
	color:var(--wp--preset--color--custom-gris3);
	padding: 10px !important;
	font-size: 0.8rem !important;
	text-transform: uppercase;
}

.woocommerce .wp-block-woocommerce-product-image-gallery {
  max-width: 100%;
}

del, .condiciones-especiales del {
  color: var(--wp--preset--color--custom-precio-dto);
	font-weight: 300;
	font-size: 20px;
}

.wc-block-customer-account__toggle {
    display: flex;
    flex-direction: column;
}

:where(.wp-block-woocommerce-customer-account.wc-block-customer-account--has-dropdown .wc-block-customer-account__toggle) .wc-block-customer-account__account-icon {
    height: 2em !important;
    width: 2em !important;
}

.wc-block-mini-cart__button {
    display: flex;
    flex-direction: column;
}

.wc-block-mini-cart__badge {
    background: var(--wp--preset--color--primary) !important;
    color: #fff !important;
}

.wc-block-mini-cart__button {
    gap: 0.6em;
    line-height: 0px;
    position: relative;
    top: -8px;
}

.alg-wc-wl-icon-wrapper .alg-wc-wl-counter {
    background: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--custom-fondo) !important;
    font-size: 14px !important;
    width: 22px !important;
    height: 22px !important;
    top: -12px !important;
    right: -16px !important;
    line-height: 21px !important;
    letter-spacing: 0px !important;
}

.wc-block-mini-cart__button .wc-block-mini-cart__icon {
    height: 2em;
    width: 2em;
}

.wp-block-search__inside-wrapper{
    border-radius: 10px !important;
    box-shadow: var(--wp--preset--shadow--shadow-1);
    overflow: hidden;
    border: 1px solid var(--wp--preset--color--custom-contornos);
}

.campo-stock {
    margin: 0px;
}

p.stock.in-stock {
    color: var(--wp--preset--color--custom-verde);
    padding: 5px;
    font-weight: 600;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;  
    margin-top: 3px;
    margin-bottom: 5px;
    box-shadow: var(--wp--preset--shadow--shadow-1);
}

.stock.in-stock::before{
    content:"✓";
    margin-right:6px;
    font-weight:bold;
}

p.stock.available-on-backorder {
    color: var(--wp--preset--color--custom-rojo);
    padding: 5px;
    font-weight: 600;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 3px;
    margin-bottom: 5px;
    box-shadow: var(--wp--preset--shadow--shadow-1);
}

.stock.available-on-backorder::before{
    content:"✕";
    margin-right:6px;
}

.listados-stock-pendiente {
    padding: 5px;
    font-size: 13px;
    border: 1px solid;
    border-radius: 10px;
    color: var(--wp--preset--color--custom-gris3);
    font-weight: 600;
    box-shadow: var(--wp--preset--shadow--shadow-1);
}


.listados-stock-pendiente:before{
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    content:"\f017"; /* clock */

    margin-right:6px;
}

.campo-extra-etiqueta {
  color: var(--wp--preset--color--primary) ;
}

.wc-block-product h1 {
    text-align: left;
    font-weight: 600;
}

.algwcwishlistmodal-container.js-algwcwishlistmodal-container.is-open {
    backdrop-filter: blur(5px);
}

.algwcwishlistmodal.is-open {
    display: inline-block;
    border-radius: 10px;
 box-shadow: 0px 0px 10px 5px rgba(0,0,0,.2)
}

.select-wishlist ul {
    padding: 0px;
}

.button-split .page__btn--save {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--custom-fondo);
    border: 0px;
    padding: 10px;
    border-radius: 10px;
}

.button-split .page__btn--save:hover {
    background: var(--wp--preset--color--custom-rollover);
    cursor: pointer;
}

.button-split button.page__btn.page__btn--create.js-algwcwishlistmodal-btn-create {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--custom-fondo);
    border: 0px;
    padding: 10px;
    border-radius: 10px;
}

.button-split button.page__btn.page__btn--create.js-algwcwishlistmodal-btn-create:hover {
    background: var(--wp--preset--color--custom-rollover);
    cursor: pointer;
}

.button-split button.page__btn.page__btn--create.js-algwcwishlistmodal-btn-save {
    background: var(--wp--preset--color--custom-verde);
    color: var(--wp--preset--color--custom-fondo);
    border: 0px;
    padding: 10px;
    border-radius: 10px;
}

.button-split button.page__btn.page__btn--create.js-algwcwishlistmodal-btn-save:hover {
    background: var(--wp--preset--color--custom-rollover);
    cursor: pointer;
}

.algwcwishlistmodal-container .iziToast-close {
    top: 10px !important;
    right: 10px !important;
    border: 0px;
}

.algwcwishlistmodal-container .form-field-wrap .form-field {
    height: 45px;
    font-size: 18px;
    font-family: inherit;
}

.pswp__bg {
    opacity: 0.5 !important;
}

.pswp__container {
    backdrop-filter: blur(5px);
}

.woocommerce span.onsale 
 {
    border-radius: 10px !important;
    background-color: var(--wp--preset--color--primary) !important;
    width: 50px !important;
    color: #fff !important;
    font-size: 0.8em !important;
    padding: 0px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #fff;
    line-height: 2.8em !important;
}

body.product-template-default .wp-block-woocommerce-product-image-gallery span.onsale {
    line-height: 3em !important;
}


span.onsale.woohsb-discount-sale-badge__badges {
    border-radius: 8px !important;
    background-color: var(--wp--preset--color--primary) !important;
    font-size: 0.8em !important;
    padding: 5px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #fff;
color:#fff;
}



button.single_add_to_cart_button.button.alt.wp-element-button:hover {
    color: var(--wp--preset--color--custom-fondo);
}



:where(.wp-block-woocommerce-add-to-cart-form>*+*) {
    padding: 0 0px;
}

.wc-block-product {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    transition: all .25s ease;
    background: linear-gradient(137deg, rgb(255 255 255) 0%, rgba(237, 237, 237, 1) 100%);
}

.wc-block-product:hover {
    transform: translateY(-4px);
    border-color: var(--wp--preset--color--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.woocommerce-page .input-text, .woocommerce-page .select2-container, .woocommerce-page select {
    /* font-size: var(--wp--preset--font-size--l); */
    font-family: inherit;
}

:where(.wc-block-add-to-cart-with-options__quantity-selector) :where(.wc-block-components-quantity-selector) :where(input[type=number].qty) {
    font-weight: 100;
}

.etiquetas-campos {
  font-weight: 600;
}

.wp-block-button.wc-block-components-product-button {
    gap: 0px;
}

a.added_to_cart {
    margin-top: 0em !important;
}


.woohsb-category-level__link {
    border-radius: 10px;
}

span.list-campos-extra-etiqueta {
    font-weight: 600;
    font-size: small;
}

.wc-block-components-product-badge {
    background:var(--wp--preset--color--custom-verde);
color: var(--wp--preset--color--custom-fondo);
border-radius: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 30px !important;
}

a.wc-block-customer-account__dropdown-item:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--custom-fondo);
}

.wc-block-components-product-price.wc-block-grid__product-price a {
    font-size: 13px;
    font-weight: 400;
    background-color: var(--wp--preset--color--custom-rojo);
    padding: 4px;
    color: #fff;
    border-radius: 10px;
    width: 100% !important;
    display: block;
}

.wc-block-components-product-price.wc-block-grid__product-price a:hover {
    background-color: var(--wp--preset--color--custom-rollover);
}

.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 0 !important;
}

.wp-block-group.woocommerce.product.is-layout-flow.wp-block-group-is-layout-flow {
    margin: 0px;
}

.wp-block-search__button:hover {
    background-color: var(--wp--preset--color--custom-rollover) !important;
    color: #fff;
}

.woohsb-conditional-field {
    margin-block-start: 0;
}
.woohsb-conditional-field__label {
    font-weight: 400;
    padding-right: 0.1em;
    color: var(--wp--preset--color--primary);
}

.field-marca .prefix {
    font-weight: 600;
}

.field-referencia_fabricante .prefix {
    font-weight: 600;
}

.field-codigo_propio .prefix {
    font-weight: 600;
}

.wc-block-cart-item__prices ins {
    font-size: 20px;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper .price {
    font-size: 20px;
    font-weight: 500;
    color: var(--wp--preset--color--custom-verde);
}

.wc-block-cart-item__product .wc-block-cart-item__prices {
    font-size: 20px !important;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap {
    margin-bottom: 15px;
}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-item__value {
    font-size: 25px;
    color: var(--wp--preset--color--custom-verde);
}

.is-product-collection-layout-carousel .wc-block-product {
    min-width: 16%;
}

.u-columns.woocommerce-Addresses.col2-set.addresses .u-column1.col-1.woocommerce-Address, .u-columns.woocommerce-Addresses.col2-set.addresses .u-column2.col-2.woocommerce-Address {
    margin-bottom: 2em;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    border-radius: 10px;
    padding: 1em;
    box-shadow: var(--wp--preset--shadow--shadow-1);
}

.micuenta-direccion.direccion-defecto{
    border: 2px solid var(--wp--preset--color--primary) !important;
	background: #f0f0f0 ;
}

.descuento1, .descuento2, .descuento3, .tasas {
    padding:5px 15px 5px 15px !important;
    border-radius:10px;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    box-shadow: var(--wp--preset--shadow--shadow-1);
}

.descuento1::before,
.descuento2::before,
.descuento3::before{
    content:"%";
    font-weight:700;
    margin-right:6px;
}

.tasas::before{
    content:"€";
    margin-right:6px;
}

.imprimir-ficha button, .descargar-ficha button {
    padding: 10px !important;
    border-radius: 10px;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    box-shadow: var(--wp--preset--shadow--shadow-1);
    color:var(--wp--preset--color--custom-gris3);
    background: #fff;
    font-weight: 500;
}

body.single-product .alg-wc-wl-btn.add .alg-wc-wl-view-state-add,
body.single-product .alg-wc-wl-btn.remove .alg-wc-wl-view-state-remove {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

body.single-product .alg-wc-wl-view-state br {
    display: none;
}

body.single-product .alg-wc-wl-view-state i {
    order: -1;
    margin-right: 2px;
}


body.single-product .alg-wc-wl-btn {
    padding: 2px 10px 2px 10px !important;
    border-radius: 10px !important;
    border: 1px solid var(--wp--preset--color--custom-contornos) !important;
    box-shadow: var(--wp--preset--shadow--shadow-1) !important;
    color: var(--wp--preset--color--custom-gris3) !important;
    background: #fff !important;
    font-weight: 500 !important;
}

body.single-product .alg-wc-wl-btn-text {
    font-size: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: var(--wp--preset--color--custom-gris3);
}

.alg-wc-wl-view-state i.fa-heart {
    font-size: 1.0rem;
}

.alg-wc-wl-view-state i {
    color: var(--wp--preset--color--custom-rojo) !important;
}

.imprimir-ficha button img,
.descargar-ficha button img {
    transition: transform .25s ease;
}

.imprimir-ficha button:hover img,
.descargar-ficha button:hover img {
    transform: scale(1.15);
}

.imprimir-ficha button:hover,
.descargar-ficha button:hover {
    background: #fff !important;
    color: var(--wp--preset--color--custom-gris3) !important;
    border-color: var(--wp--preset--color--custom-contornos) !important;
}


.filtro-marcas, .filtro-precio, .filtro-ultimos-vistos {
    border: 1px solid var(--wp--preset--color--custom-contornos);
}

.filtro-ultimos-vistos .woocommerce-loop-product__title.woohsb-recently-viewed-products__title {
    font-size: 13px;
}

.filtro-ultimos-vistos .stock.available-on-backorder, .filtro-ultimos-vistos .stock.in-stock {
    font-size: 12px !important;
    border: 0px;
    padding: 2px 2px 2px 10px;
    margin: 0px;
}

ul.woohsb-recently-viewed-products__products li {
    background: linear-gradient(135deg,rgba(255,255,255,0.57) 0%,rgba(224,224,224,0.46) 100%);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid var(--wp--preset--color--custom-contornos);
}

h2.woohsb-recently-viewed-products__heading {
    margin: 5px;
}

.filtro-ultimos-vistos del {
    font-size: 14px;
}

.woohsb-brand-filter__label {
    font-weight: 500;
    font-size: var(--wp--preset--font-size--l) !important;
    margin-bottom: 0.1em !important;
}

.woohsb-brand-filter__select {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    box-shadow: var(--wp--preset--shadow--shadow-1)
}

.woohsb-price-filter__track-fill {
    background: var(--wp--preset--color--primary);
}

.wp-block-woohsb-product-category-level {
    text-transform: uppercase;
}

.woohsb-category-level .cat-item.current-cat > .woohsb-category-level__link:not(:hover):not(:focus) {
    color: #fff !important;
    font-weight: 600;
    background: var(--wp--preset--color--primary) !important;
}

button#boton-stock-delegaciones {
    color: var(--wp--preset--color--custom-gris3);
    padding: 5px;
    font-weight: 500;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 3px;
    text-transform: uppercase;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    width:100%
}

button#boton-stock-delegaciones::before{
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    content:"\f466";

    margin-right:8px;
}

#boton-stock-delegaciones::after {
	content: " " url("/wp-content/uploads/arrow-right-stock.png");
	padding-left: 0px;
	top: 3px;
  position: relative;
}


#boton-stock-mostrar-ocultar {
    color: var(--wp--preset--color--custom-gris3);
    padding: 5px;
    font-weight: 500;
    border-radius: 10px 10px 0px 0px;
    font-size: 13px;
    margin-top: 3px;
    text-transform: uppercase;
    border: 1px solid var(--wp--preset--color--custom-contornos);
    width: 100%;
}

#boton-stock-mostrar-ocultar::before{
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    content:"\f466";

    margin-right:8px;}

#boton-stock-mostrar-ocultar {
    transition:all .2s ease;
}

#boton-stock-delegaciones{
    transition:all .2s ease;
}

#boton-stock-delegaciones:hover{
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.75) 0%,
        rgba(224,224,224,.60) 100%
    ) !important;
}

div#contenido-tabla-delegaciones {
    border: 1px solid var(--wp--preset--color--custom-contornos);
    border-radius: 0px 0px 10px 10px;
}

div#contenido-tabla-delegaciones th {
    text-align: left;
}

tr.linea-stock-detalle.linea-stock-deleg-actual {
    font-weight: 500;
}

.woocommerce-product-gallery .flex-viewport {
    border: 1px solid var(--wp--preset--color--custom-contornos); 
    border-radius: 10px;
}

.woocommerce-product-gallery .flex-viewport, figure.woocommerce-product-gallery__wrapper {
    border: 1px solid var(--wp--preset--color--custom-contornos);
    border-radius: 10px;
    box-shadow: var(--wp--preset--shadow--shadow-1);
}



.woocommerce div.product div.images .flex-control-thumbs li {
    width: 24% !important;
    border-bottom: 3px solid var(--wp--preset--color--primary);
    margin: 1px !important;
}

button.button.wp-element-button.woohsb-price-filter__button {
    width: 100%;
}

a.woohsb-price-filter__reset, a.woohsb-brand-filter__reset {
    padding: 10px;
    background: var(--wp--preset--color--custom-contornos);
    width: 100%;
    border-radius: 10px;
    text-align: center;
    color: var(--wp--preset--color--custom-textos);
    font-weight: 600;
}

a.woohsb-price-filter__reset:hover,
a.woohsb-brand-filter__reset:hover {
    background: var(--wp--preset--color--custom-rollover);
    color: #fff;
}

.woohsb-price-filter__button:hover {
    color: #fff;
}


body.page-id-2661974 a.added_to_cart.wc-forward {
    display: inline-block !important;
    background: #000 !important;
    color: #fff !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1.2 !important;
    Margin-left: 5px;
}

body.page-id-2661974 a.added_to_cart.wc-forward:hover {
    background: #e88900 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.woocommerce a.added_to_cart {
    border: 1px solid #000;
    background: #000;
    border-radius: 0px 0px 6px 6px;
    color: #fff;
    font-size: 14px;
    margin: 0px;
    padding-top:0px;
}

a.added_to_cart.wc_forward {
    padding: 0px 10px 0px 10px;
    top: -2px;
    position: relative;
}

.wc-block-components-product-image__inner-container {
    box-shadow: var(--wp--preset--shadow--shadow-1);
}

.woohsb-recently-viewed-products__item{
    transition: all .25s ease;
    border: 1px solid transparent;
}

.woohsb-recently-viewed-products__item:hover{
    transform: translateY(-2px);
    border-color: var(--wp--preset--color--primary);
}

/* Contenidor tabs */
.woocommerce-tabs .wc-tabs{
    display:flex;
    gap:10px;
    border:none !important;
    margin-bottom:20px;
}

/* Tabs */
.woocommerce-tabs .wc-tabs li{
    margin:0 !important;
    padding:0 !important;
    border:none !important;
    background:none !important;
}

/* Estat normal */
.woocommerce-tabs .wc-tabs li a{
    display:block;
    padding:10px 18px;
    border-radius:6px;
    background:#f1f3f5;
    color:inherit !important;
    text-decoration:none;
    border:none !important;
}

/* Hover */
.woocommerce-tabs .wc-tabs li a:hover{
    background:#e9ecef;
}

/* Actiu */
.woocommerce-tabs .wc-tabs li.active a{
    background:var(--wp--preset--color--primary) !important;
    color:#fff !important;
}

/* Eliminar totes les línies i triangles de WooCommerce */
.woocommerce-tabs .wc-tabs:before,
.woocommerce-tabs .wc-tabs:after,
.woocommerce-tabs .wc-tabs li:before,
.woocommerce-tabs .wc-tabs li:after,
.woocommerce-tabs .wc-tabs li.active:before,
.woocommerce-tabs .wc-tabs li.active:after{
    display:none !important;
    content:none !important;
}

.wc-tabs-wrapper .wc-tab{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:8px;
    padding:24px !important;
    background:#fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 0 0.1em !important;
}

header.wp-block-template-part {
    position: sticky;
    top: 0 !important;
    z-index: 999 !important;
    background: #fff;
}

/* MENÚ PRINCIPAL */

.has-primary-background-color .wp-block-navigation__container{
    gap:0 !important;
    align-items:stretch;
}

.has-primary-background-color .wp-block-navigation-item{
    margin:0 -10px 0 0 !important;
    display:flex;
    align-items:stretch;
    z-index:1;
}

.has-primary-background-color .wp-block-navigation-item:hover{
    z-index:2;
}

.has-primary-background-color .wp-block-navigation-item__content{
    position:relative;
    padding:8px 24px !important;
    text-decoration:none;
    transition:all .2s ease;
    background:rgba(0,0,0,.10);
    height:100%;
    border-radius:0 !important;

    /* Forma paral·lelogram */
    clip-path:polygon(
        12px 0,
        100% 0,
        calc(100% - 12px) 100%,
        0 100%
    );
}

/* Hover */
.has-primary-background-color .wp-block-navigation-item__content:hover{
    background:rgba(0,0,0,.18);
}

/* Element actiu */
.has-primary-background-color .current-menu-item .wp-block-navigation-item__content{
    background:rgba(0,0,0,.22);
}

/* Eliminar focus */
.has-primary-background-color .wp-block-navigation-item__content:focus,
.has-primary-background-color .wp-block-navigation-item__content:focus-visible{
    outline:none !important;
    box-shadow:none !important;
}

/* Franja vermella */
.has-primary-background-color.wp-block-group{
    padding-top:0 !important;
    padding-bottom:0 !important;
}


button.wp-block-navigation-item__content.wp-block-navigation-submenu__toggle.woohsb-taxonomy-menu__toggle {
    background: var(--wp--preset--color--custom-menu-strong);
}


/* Capçalera accordió */

.kt-accordion-header-wrap{
    margin-bottom:8px;
}

.kt-blocks-accordion-header{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);
    padding:14px 18px !important;

    transition:all .2s ease;
}

/* Títol */

.kt-blocks-accordion-title{
    font-weight:500;
}

/* Icona + / - */

.kt-blocks-accordion-icon-trigger{
    transform:scale(.75);
}

.kt-blocks-accordion-icon-trigger{
    transform:scale(.7);
}

/* Només detall de producte */

[data-block-name="woocommerce/add-to-cart-with-options-quantity-selector"] 
.wc-block-components-quantity-selector__input{
    font-size:18px !important;
    font-weight:600;
}


.wp-block-button.wc-block-components-product-button {
    border-radius: 10px !important;
}

.button.boton-imprimir:before {
	content: " " url("/wp-content/uploads/2026/06/print-ico-1.png");
	padding-right: 4px;
	padding-top: 4px;
}


.button.boton-imprimir {
    display: flex !important;
    float: right !important;
    align-items: center;
    border-radius: 10px;
    padding: 20px !important;
    border: 1px solid var(--wp--preset--color--custom-contornos) !important;;
    text-transform: uppercase;
    box-shadow: var(--wp--preset--shadow--shadow-1);
    height: 50px;
    font-size: 14px;
}

.botones-imprimir-pdf {
    float: right;
    width: 28%;
    margin-bottom: 30px;
}


a.button.boton-imprimir:hover {
    background: var(--wp--preset--color--custom-contornos) !important;

}

.titulo-carrito,
.botones-imprimir-carrito{
    margin:0;
}

.woocommerce-cart-form > .titulo-carrito,
.woocommerce-cart-form > .botones-imprimir-carrito{
    display:block;
    align-items:center;
}

.woocommerce-cart-form{
    position:relative;
}

.titulo-carrito{
    display:flex;
    align-items:center;
    margin-bottom:20px;
}

.titulo-carrito h1{
    margin:0;
}

.botones-imprimir-carrito{
    position:absolute;
    top:0;
    right:0;
}


.shop_table.cart{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px;
    overflow:hidden;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    background:#fff;
}

.shop_table.cart thead th{
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.90) 0%,
        rgba(235,235,235,.75) 100%
    );
    border-bottom:1px solid var(--wp--preset--color--custom-contornos);
    font-weight:600;
    padding:24px 15px !important;
    vertical-align:middle;
}


.shop_table.cart td{
    border-top:1px solid var(--wp--preset--color--custom-contornos);
    padding:15px 12px;
}

.shop_table.cart tr:hover{
    background:rgba(0,0,0,.015);
}

.product-thumbnail img{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    padding:4px;
    background:#fff;
}

.cart .qty{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:8px;
    font-weight:600;
    text-align:center;
}

/* Aplicar cupón i Actualizar carrito */

.woocommerce-cart .button,
.woocommerce-cart button[name="apply_coupon"],
.woocommerce-cart button[name="update_cart"]{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;
    color:var(--wp--preset--color--custom-textos) !important;
    transition:all .2s ease;
padding:20px;
}

/* Hover */

.woocommerce-cart .button:hover,
.woocommerce-cart button[name="apply_coupon"]:hover,
.woocommerce-cart button[name="update_cart"]:hover{
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.75) 0%,
        rgba(235,235,235,.60) 100%
    ) !important;
}

.shop_table.cart td.actions{
    background:#fafafa;
    border-top:1px solid var(--wp--preset--color--custom-contornos);
    padding:20px !important;
}

/* Botó Finalizar compra */

.wc-proceed-to-checkout .checkout-button{
    transition:all .2s ease;
}

.wc-proceed-to-checkout .checkout-button:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
}


/* Tots els imports en negreta */

.cart_totals .woocommerce-Price-amount{
    font-weight:700;
}

/* Només el Total final més gran */

.cart_totals .order-total .woocommerce-Price-amount{
    font-size:2rem;
    font-weight:700;
    color:var(--wp--preset--color--custom-textos);
}

.cart_totals.calculated_shipping h2 {
    font-size: 30px;
    font-weight: 600;
}

/* Quantitat del carret */

.woocommerce-cart .product-quantity .qty{
    width:70px !important;
    min-width:70px !important;
    height:36px !important;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:8px;

    font-size:16px !important;
    font-weight:600;
    text-align:center;

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

.woocommerce-cart .product-quantity{
    min-width:120px;
}

.woocommerce-EditAccountForm{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    padding:30px;
    background:#fff;
}

.woocommerce-EditAccountForm fieldset{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    padding:20px;
    margin-top:25px;
}

.woocommerce-EditAccountForm legend{
    font-weight:600;
    padding:0 10px;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"]{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    min-height:44px;
    padding:0 15px;
}

.woocommerce-EditAccountForm input:focus{
    outline:none;
    border-color:var(--wp--preset--color--custom-textos);
}

.woocommerce-EditAccountForm label{
    font-weight:600;
    margin-bottom:6px;
}

.woocommerce-EditAccountForm button[type="submit"]{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    box-shadow:var(--wp--preset--shadow--shadow-1);

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    color:var(--wp--preset--color--custom-textos);
    transition:all .2s ease;
}

.woocommerce-EditAccountForm button[type="submit"]:hover{
    background:#000;
    color:#fff;
    border-color:#000;
}

.woocommerce-EditAccountForm em{
    font-size:.9em;
    color:#777;
}

/* Caixa Preferencia */

#wctelematel_preferencia{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    font-weight:600;
    min-height:46px;
    background:#fff;
}

label[for="wctelematel_preferencia"]{
    font-size:1.05rem;
    font-weight:700;
    display:block;
    margin-bottom:8px;
}

.form-row:has(#wctelematel_preferencia){
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    padding:20px;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );
    box-shadow:var(--wp--preset--shadow--shadow-1);
   margin: 20px 0px 0px 0px;
}


/* Camps Mi Cuenta */

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-EditAccountForm input[type="tel"],
.woocommerce-EditAccountForm select,
.woocommerce-EditAccountForm textarea{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
}

/* Missatge WooCommerce */

.wc-block-store-notices{
    max-width:none !important;
    width:100% !important;
    margin:0 0 15px 0 !important;
}

.wc-block-components-notice-banner{
    width:100% !important;
    box-sizing:border-box;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    padding:18px 20px !important;
    margin: 0px !important;
}

/* Icona verda més discreta */

.wc-block-components-notice-banner svg{
    width:18px;
    height:18px;
}

.wc-block-components-spinner::before{
    content:"📦";
    font-size:24px;
    animation:spin 1s linear infinite;
}

.wc-block-components-spinner svg{
    display:none;
}

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* Mi Cuenta */

.wc-block-customer-account__toggle{
    text-decoration:none !important;
}

.wc-block-customer-account__toggle:hover{
    text-decoration:none !important;
}

/* Icona i text */

.wc-block-customer-account__toggle,
.wc-block-customer-account__toggle .label,
.wc-block-customer-account__account-icon,
.wc-block-customer-account__caret{
    transition:all .2s ease;
}

/* Hover */

.wc-block-customer-account__toggle:hover .wc-block-customer-account__account-icon,
.wc-block-customer-account__toggle:hover .wc-block-customer-account__caret{
    color:var(--wp--preset--color--primary) !important;
}

.wc-block-customer-account__toggle:hover .label{
    text-decoration:none !important;
}

.wc-block-customer-account__toggle:hover .wc-block-customer-account__account-icon{
    color:var(--wp--preset--color--primary) !important;
}

.wc-block-customer-account__toggle:hover .wc-block-customer-account__account-icon path{
    fill:var(--wp--preset--color--primary) !important;
}

/* MI CUENTA */

.wc-block-customer-account__toggle{
    text-decoration:none !important;
}

.wc-block-customer-account__toggle,
.wc-block-customer-account__toggle .label,
.wc-block-customer-account__account-icon,
.wc-block-customer-account__caret{
    transition:color .2s ease;
}

/* Hover */

.wc-block-customer-account__toggle:hover{
    text-decoration:none !important;
}

.wc-block-customer-account__toggle:hover .label{
    color:var(--wp--preset--color--primary) !important;
    text-decoration:none !important;
}

.wc-block-customer-account__toggle:hover .wc-block-customer-account__account-icon path{
    fill:var(--wp--preset--color--primary) !important;
}

.wc-block-customer-account__toggle:hover .wc-block-customer-account__caret path{
    stroke:var(--wp--preset--color--primary) !important;
}


/* ===== ZONA USUARIS / MI CUENTA ===== */

/* Inputs */

.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="number"],
.woocommerce-account input[type="date"],
.woocommerce-account textarea,
.woocommerce-account select{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    background:#fff;
}

/* Focus */
.woocommerce-account input:focus,
.woocommerce-account textarea:focus,
.woocommerce-account select:focus{
    border-color:var(--wp--preset--color--custom-contornos) !important;
    outline:none !important;
}

/* Select2 */
.woocommerce-account .select2-selection--single{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    min-height:44px;
    background:#fff;
}

.woocommerce-account .select2-selection__rendered{
    line-height:30px !important;
    padding-left:15px !important;
}

.woocommerce-account .select2-selection__arrow{
    height:42px !important;
}



/* Desplegables */
.select2-dropdown{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
    overflow:hidden;
}

.select2-results__option--highlighted{
    background:rgba(0,0,0,.05) !important;
    color:inherit !important;
}


/* Paginador */

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:42px;
    height:42px;
    padding:0 14px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    box-shadow:var(--wp--preset--shadow--shadow-1);

    text-decoration:none !important;
    transition:all .2s ease;
}

.wp-block-query-pagination .page-numbers:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover{
    background:#f5f5f5;
    transform:translateY(-1px);
}

/* Pàgina activa */

.wp-block-query-pagination .page-numbers.current{
    background:var(--wp--preset--color--primary) !important;
    border-color:var(--wp--preset--color--primary) !important;
    color:#fff !important;
    font-weight:600;
}

.wp-block-query-pagination .page-numbers.current:hover{
    background:var(--wp--preset--color--primary) !important;
    color:#fff !important;
    transform:none;
}

/* ESCRIPTORI MI CUENTA */



/* Caixa benvinguda */

.woocommerce-MyAccount-content > p{
    max-width:1200px;
    margin:0 auto 20px auto;

    padding:25px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    box-shadow:var(--wp--preset--shadow--shadow-1);
}

/* Nom del client */

.woocommerce-MyAccount-content strong{
    font-size:1.1em;
}

/* Links */

.woocommerce-MyAccount-content a{
    font-weight:600;
    text-decoration:none;
}

.woocommerce-MyAccount-content a:hover{
    color:var(--wp--preset--color--primary);
}

/* Ordenar per  i Productes per pàgina */

.woocommerce-ordering,
.woohsb-products-per-page__form
{
    margin: 0 0 1em;
}

.woocommerce-ordering label{
    font-weight:600;
    margin-right:10px;
}

.woocommerce-ordering select.orderby,
select.woohsb-products-per-page__select
{
    min-height:44px;

    padding:0 40px 0 15px;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    background:#fff;

    font-weight:500;

    transition:all .2s ease;
}

.woocommerce-ordering select.orderby:hover,
select.woohsb-products-per-page__select:hover
{
    border-color:var(--wp--preset--color--primary) !important;
}

.woocommerce-ordering select.orderby:focus,
select.woohsb-products-per-page__select:focus
{
    outline:none !important;
    border-color:var(--wp--preset--color--primary) !important;
}


.woocommerce-ordering{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0;
}

.woocommerce-ordering label{
    margin:0 !important;
    line-height:44px;
    font-weight:600;
}

.woocommerce-ordering select.orderby,
select.woohsb-products-per-page__select
{
    height:44px;
    margin:0;
}

.woocommerce-ordering select.orderby,
select.woohsb-products-per-page__select
{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding-right:45px !important;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 15px center;
}

/* Mostrando X de Y resultados */

.woocommerce-result-count{
    display:inline-block;

    margin:0;
    padding:10px 16px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    box-shadow:var(--wp--preset--shadow--shadow-1);

    font-weight:500;
}

/* Contenidor */

.wp-block-woocommerce-product-results-count{
    display:flex;
    align-items:center;
}

/* Wishlist Toast */

.alg-wc-wl-izitoast{
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.95) 0%,
        rgba(240,240,240,.95) 100%
    ) !important;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    box-shadow:var(--wp--preset--shadow--shadow-1) !important;

    color:var(--wp--preset--color--custom-textos) !important;
}

/* Text */

.alg-wc-wl-izitoast .iziToast-message{
    color:var(--wp--preset--color--custom-textos) !important;
    font-weight:500;
}

/* Icona cor */

.alg-wc-wl-izitoast .iziToast-icon{
    color:var(--wp--preset--color--primary) !important;
}

/* Enllaç */

.alg-wc-wl-notification-link{
    color:var(--wp--preset--color--primary) !important;
    font-weight:600;
    text-decoration:none !important;
}

.alg-wc-wl-notification-link:hover{
    text-decoration:underline !important;
}

/* Botó tancar */

.alg-wc-wl-izitoast .iziToast-close{
    opacity:.7;
}

.alg-wc-wl-izitoast .iziToast-close:hover{
    opacity:1;
}

/* Barra de progrés */

.alg-wc-wl-izitoast .iziToast-progressbar > div{
    background:var(--wp--preset--color--primary) !important;
}

/* Creu de tancar */

.alg-wc-wl-izitoast .iziToast-close,
.alg-wc-wl-izitoast .iziToast-close::before,
.alg-wc-wl-izitoast .iziToast-close::after{
    color:#000 !important;
    background-color:#000 !important;
}


/* Fletxes Carrusel */

.fcwc-carousel__arrow{
    position: absolute;
    top: 220px;
}
.fcwc-carousel__arrow{
    position: absolute;
    right: 0;
}

.fcwc-carousel__arrow--prev{
    left: 0;
}
.fcwc-carousel__arrow--next{
    right: 0;
}

/* Contenidor Carrusel tapa pastilla producte quan creix */
.fcwc-carousel .glide, .fcwc-carousel .fcwc-carousel__mount, .fcwc-carousel .glide__track {
    padding-top: 5px;
}


/* =========================================
   LLISTES / WISHLIST
========================================= */

/* Pestanyes */

.alg-wc-wl-tab{
    display:flex !important;
    align-items:center;
    gap:8px;
    float:left;
    margin-bottom:20px;
}

.alg-wc-wl-tab .col-20per{
    width:auto !important;
    flex:none !important;
}

/* Pestanyes estil */

.alg-wc-wl-tablink{
    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    padding:10px 18px !important;

    transition:all .2s ease;
}

.alg-wc-wl-tablink:hover{
    background:#f5f5f5 !important;
}

/* Pestanya activa */

.alg-wc-wl-tablink.active{
    background:var(--wp--preset--color--primary) !important;
    color:#fff !important;
    border-color:var(--wp--preset--color--primary) !important;
}

/* Botó eliminar llista */

.alg-wc-delete-wishlist{
    float:right;
    margin-top:0 !important;
    margin-bottom:20px;
}

.delete-customized-wishlist{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 18px !important;

    background:#000 !important;
    color:#fff !important;

    border:1px solid #000 !important;
    border-radius:10px !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    text-decoration:none !important;

    transition:all .2s ease;
}

.delete-customized-wishlist:hover{
    background:var(--wp--preset--color--primary) !important;
    border-color:var(--wp--preset--color--primary) !important;
    color:#fff !important;
}

.delete-customized-wishlist::before{
    content:"🗑";
    margin-right:8px;
}

/* Neteja floats abans de la taula */

.alg-wc-wl-view-table{
    clear:both;

    width:100%;
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    overflow:hidden;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    background:#fff;
}

/* Capçalera */

.alg-wc-wl-view-table thead th{
    padding:18px 15px;

    background:linear-gradient(
        180deg,
        #f8f8f8 0%,
        #ececec 100%
    );

    border-bottom:1px solid var(--wp--preset--color--custom-contornos);

    font-weight:600;
}

/* Contenidor pestanyes */

.alg-wc-wl-tab{
    margin-bottom:15px;
}

/* Botó Añadir todo al carrito */

.wctelematel-wishlist-add-all-to-cart-form{
    margin:0 0 20px !important;

    display:flex;
    justify-content:flex-end;
}

/* Estil corporatiu */

.wctelematel-wishlist-add-all-to-cart-form .button{
    padding:10px 18px !important;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;

    box-shadow:var(--wp--preset--shadow--shadow-1) !important;

    transition:.2s ease;
}

.wctelematel-wishlist-add-all-to-cart-form .button:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
}

/* Files */

.alg-wc-wl-view-table td{
    padding:15px;
    border-top:1px solid var(--wp--preset--color--custom-contornos);
}

.alg-wc-wl-view-table tbody tr:hover{
    background:rgba(0,0,0,.02);
}

/* Imatges */

.alg-wc-wl-view-table .product-thumbnail img{
    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;
    padding:4px;
    background:#fff;
}

/* Producte */

.alg-wc-wl-view-table .product-name a{
    font-weight:600;
    text-decoration:none;
}

/* Preu */

.alg-wc-wl-view-table .product-price{
    font-weight:600;
}

/* Afegir al carrito */

.alg-wc-wl-view-table .add_to_cart_button{
    border-radius:10px !important;
    box-shadow:var(--wp--preset--shadow--shadow-1);
}

/* Eliminar producte */

.alg-wc-wl-remove-item-from-wl{
    color:#d33;
    transition:.2s ease;
    cursor:pointer;
}

.alg-wc-wl-remove-item-from-wl:hover{
    color:#a00;
}

/* Llista buida */

.alg-wc-wl-empty-wishlist{
    margin-top:20px;
    padding:30px;
    text-align:center;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    box-shadow:var(--wp--preset--shadow--shadow-1);
}

.alg-wc-wl-remove-item-from-wl .fa-times-circle{
    font-size:1em !important;
}

/* Wishlist - Afegir al carrito */

.alg-wc-wl-view-table .add_to_cart_button{
    transition:all .2s ease;
}

.alg-wc-wl-view-table .add_to_cart_button:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
}

/* Wishlist - Preus */

.alg-wc-wl-view-table .product-price del{
    font-size:.85em;
    opacity:.7;
}

.alg-wc-wl-view-table .product-price del .amount{
    font-size:inherit;
}

.alg-wc-wl-view-table .product-price ins{
    font-size:1.15em;
    font-weight:700;
    text-decoration:none;
}

/* Afegir tota la llista al carrito */

.wctelematel-wishlist-add-all-to-cart-form .button{
    padding:10px 18px !important;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:all .2s ease;
}

/* Hover */

.wctelematel-wishlist-add-all-to-cart-form .button:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
}

.wctelematel-wishlist-add-all-to-cart-form .button::before{
    content:"\f07a";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    margin-right:8px;
}

/* Solicitar CSV */

.wctmt-csv-export-button{
    padding:10px 18px !important;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;
    border-radius:10px !important;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    ) !important;

    box-shadow:var(--wp--preset--shadow--shadow-1) !important;

    transition:all .2s ease;

    text-decoration:none !important;
}

/* Hover */

.wctmt-csv-export-button:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:#000 !important;
}

/* Focus */

.wctmt-csv-export-button:focus{
    outline:none !important;
    box-shadow:var(--wp--preset--shadow--shadow-1) !important;
}

/* Títols principals de pàgina */

.wp-block-query-title,
.woocommerce-products-header__title.page-title,
body.woocommerce-account h1.entry-title,
body.woocommerce-cart h1.entry-title,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-order-received h1.entry-title,
body.page h1.entry-title{
    display:flex;
    align-items:center;

    margin-bottom:30px !important;
    padding-left:16px;

    border-left:3px solid var(--wp--preset--color--primary);

    line-height:1.2;
}

.wc-block-components-product-image,
.wc-block-components-product-image__image{
    overflow:visible !important;
}


/* =========================================
   PASOS COMPRA
========================================= */

.step{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    min-height:58px;
    padding:12px 20px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.57) 0%,
        rgba(224,224,224,.46) 100%
    );

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:all .2s ease;
}

.step-number{
    display:flex;
    align-items:center;
    justify-content:center;

    width:30px;
    height:30px;

    border-radius:50%;

    background:#e5e5e5;

    font-weight:700;
    font-size:14px;
}

.step-title{
    font-weight:600;
}

/* Línies */

.step-line{
    height:3px;
    border-radius:20px;

    background:var(--wp--preset--color--custom-contornos);
}

/* PAS 1 */

body.woocommerce-cart .step-carrito{
    background:var(--wp--preset--color--primary);
    border-color:var(--wp--preset--color--primary);
    color:#fff;
}

body.woocommerce-cart .step-carrito .step-number{
    background:rgba(255,255,255,.25);
    color:#fff;
}

/* PAS 2 */

body.woocommerce-checkout:not(.woocommerce-order-received) .step-checkout{
    background:var(--wp--preset--color--primary);
    border-color:var(--wp--preset--color--primary);
    color:#fff;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .step-checkout .step-number{
    background:rgba(255,255,255,.25);
    color:#fff;
}

/* PAS 3 */

body.woocommerce-order-received .step-final{
    background:var(--wp--preset--color--primary);
    border-color:var(--wp--preset--color--primary);
    color:#fff;
}

body.woocommerce-order-received .step-final .step-number{
    background:rgba(255,255,255,.25);
    color:#fff;
}

.step a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    width:100%;
    height:100%;

    color:inherit !important;
    text-decoration:none !important;
}

.step a:hover{
    color:inherit !important;
    text-decoration:none !important;
}

/* =========================================
   FORMULARI REGISTRE CLIENT PROFESSIONAL
========================================= */

/* Grid general */

.form-contact-1 .row{
    display:grid !important;
    grid-template-columns:repeat(6, 1fr);
    gap:20px;
    margin:0;
}

.form-contact-1 .row > div{
    width:100% !important;
    max-width:none !important;
    margin-top:0 !important;
    padding:0 !important;
    grid-column:span 3;
}

/* Dirección + Población + CP */

.form-contact-1 .row > div:has(#direccion){
    grid-column:span 3;
}

.form-contact-1 .row > div:has(#poblacion){
    grid-column:span 2;
}

.form-contact-1 .row > div:has(#cp){
    grid-column:span 1;
}

/* Camps */

.form-contact-1 input[type="text"],
.form-contact-1 input[type="email"],
.form-contact-1 input[type="tel"],
.form-contact-1 textarea,
.form-contact-1 .wpcf7-captchar{
    width:100% !important;
    min-height:52px;

    padding:12px 15px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:#fff;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:all .2s ease;
}

/* Textarea */

.form-contact-1 textarea{
    min-height:180px;
    resize:vertical;
}

/* Focus */

.form-contact-1 input:focus,
.form-contact-1 textarea:focus{
    outline:none;

    border-color:var(--wp--preset--color--primary);

    box-shadow:
        0 0 0 2px rgba(204,0,0,.08),
        var(--wp--preset--shadow--shadow-1);
}

/* Placeholder */

.form-contact-1 input::placeholder,
.form-contact-1 textarea::placeholder{
    opacity:.75;
}

/* Eliminar marges inútils */

.form-contact-1 p{
    margin:0;
}

/* Comentaris */

.form-contact-1 .input-content{
    margin-top:25px;
}

.form-contact-1 .form-textarea{
    width:100%;
}

/* RGPD */

.form-contact-1 .wpcf7-acceptance{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.form-contact-1 .wpcf7-list-item{
    margin:0;
}

/* CAPTCHA */

.form-contact-1 .wpcf7-captcha-captcha-1{
    border-radius:6px;
    margin:10px 0;
}

.form-contact-1 .wpcf7-captchar{
    max-width:250px;
}

/* Botó */

.form-contact-1 .wpcf7-submit{
    min-width:220px;

    padding:12px 24px;

    border:1px solid #000 !important;
    border-radius:10px !important;

    background:#000 !important;
    color:#fff !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:all .2s ease;
}

.form-contact-1 .wpcf7-submit:hover{
    background:var(--wp--preset--color--primary) !important;
    border-color:var(--wp--preset--color--primary) !important;
}

/* Caixa del formulari */

.form-contact-1{
    padding:30px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:#fff;

    box-shadow:var(--wp--preset--shadow--shadow-1);
}

/* Errors */

.form-contact-1 .wpcf7-not-valid{
    border-color:#dc3545 !important;
}

/* Resposta */

.form-contact-1 .wpcf7-response-output{
    margin-top:20px !important;

    border-radius:10px;
    box-shadow:var(--wp--preset--shadow--shadow-1);
}

.form-contact-1 .wpcf7-submit{
    margin-top:25px !important;
}

/* =========================================
   LOGIN CLIENT PROFESSIONAL
========================================= */

.woocommerce-form-login{

    padding:30px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:#fff;

    box-shadow:var(--wp--preset--shadow--shadow-1);
}

/* Text superior */

.texto-form-registro{
    margin-bottom:25px;

    padding:20px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.57) 0%,
            rgba(224,224,224,.46) 100%
        );

    box-shadow:var(--wp--preset--shadow--shadow-1);

    line-height:1.6;
}

/* Labels */

.woocommerce-form-login label{
    display:block;
    margin-bottom:8px;

    font-weight:600;
}

/* Inputs */

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"]{

    min-height:52px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    padding:12px 15px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:.2s ease;
}

/* Focus */

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="password"]:focus{

    outline:none;

    border-color:var(--wp--preset--color--primary);
}

/* Mostrar contraseña */

.woocommerce-form-login .show-password-input{
    right:15px;
}

/* Recordarme */

.woocommerce-form-login__rememberme{
    display:flex;
    align-items:center;
    gap:8px;
}

/* Botó */

.woocommerce-form-login__submit, .woocommerce-form-register__submit{

    min-width:180px;

    padding:12px 24px !important;

    border-radius:10px !important;

    background:var(--wp--preset--color--primary) !important;
    color:#fff !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:.2s ease;
}

.woocommerce-form-login__submit:hover, .woocommerce-form-register__submit:hover{

    background:#000 !important;
}

/* Recuperar contraseña */

.woocommerce-LostPassword{
    margin-top:20px;
    text-align:center;
}

.woocommerce-LostPassword a{
    text-decoration:none !important;
}

.woocommerce-LostPassword a:hover{
    color:var(--wp--preset--color--primary);
}

/* Recuperar contraseña */

.woocommerce-LostPassword{
    margin-top:25px;
    text-align:center;
}

.woocommerce-LostPassword a{

    display:inline-block;

    padding:10px 18px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.57) 0%,
            rgba(224,224,224,.46) 100%
        );

    box-shadow:var(--wp--preset--shadow--shadow-1);

    text-decoration:none !important;

    transition:.2s ease;
}

.woocommerce-LostPassword a:hover{

    background:#000;
    border-color:#000;

    color:#fff !important;
}

.texto-form-registro.texto-form-registro-b2b a, .texto-form-registro.texto-form-registro-hibrido a {
    font-weight: 600;
    padding: 4px;
    background: var(--wp--preset--color--primary);
    color: #fff;
    border-radius: 10px;
}

.texto-form-registro.texto-form-registro-b2b a:hover, .texto-form-registro.texto-form-registro-hibrido a:hover {
    background:#000;
    color: #fff;
}

/* =========================================
   PRODUCTES COMPRATS RECENTMENT
========================================= */

/* Contenidor general */

.wctmt-upc-container{
    margin-top:25px;
    padding:25px;

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:#fff;

    box-shadow:var(--wp--preset--shadow--shadow-1);
}

/* Targetes */

.wctmt-upc-lista-item{

    border:1px solid var(--wp--preset--color--custom-contornos);
    border-radius:10px;

    background:#fff;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    overflow:hidden;

    transition:.2s ease;
}

.wctmt-upc-lista-item:hover{
    transform:translateY(-2px);
}

/* Preu final (igual que als loops) */

.wctmt-upc-lista-cell-precio ins{
    text-decoration:none;
    font-size:1.15rem;
    font-weight:700;
}

/* Preu tachat */

.wctmt-upc-lista-cell-precio del{
    font-size:.85rem;
    opacity:.7;
}

/* Quan no hi ha oferta */

.wctmt-upc-lista-cell-precio .woocommerce-Price-amount{
    font-size:1.15rem;
    font-weight:700;
}

/* Botó */

.wctmt-upc-lista-cell-cart .button{

    border-radius:10px !important;

    background:var(--wp--preset--color--primary) !important;
    border:1px solid var(--wp--preset--color--primary) !important;

    color:#fff !important;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:.2s ease;
}


/* Hover */

.wctmt-upc-lista-cell-cart .button:hover{

    background:#000 !important;
    border-color:#000 !important;

    color:#fff !important;
}


/* =========================================
   CLIENTE COMERCIAL / SUPLANTACIÓ B2B
========================================= */

/* Colors barra */

body.usuario-comercial #wpadminbar{
    background:#44a621;
}

body.cliente-b2b-suplantado #wpadminbar{
    background:#ff0000;
}

/* Elements comuns */

body.usuario-comercial #wp-admin-bar-abus_switch_to_user,
body.cliente-b2b-suplantado #wp-admin-bar-abus_switch_to_user,
body.usuario-comercial .ab-item.ab-empty-item,
body.cliente-b2b-suplantado .ab-item.ab-empty-item{
    background:#575757 !important;
}

body.usuario-comercial #wp-admin-bar-abus_switch_to_user .ab-item,
body.cliente-b2b-suplantado #wp-admin-bar-abus_switch_to_user .ab-item{
    color:#fff !important;
    text-transform:uppercase;
    font-weight:600;
}

body.usuario-comercial #abus_search_submit,
body.cliente-b2b-suplantado #abus_search_submit{
    color:#000;
    text-transform:uppercase;
    font-weight:600;
}

body.usuario-comercial #wp-admin-bar-abus_switch_to_user:before,
body.cliente-b2b-suplantado #wp-admin-bar-abus_switch_to_user:before{
    float:left;
}

body.usuario-comercial #wp-admin-bar-top-secondary,
body.cliente-b2b-suplantado #wp-admin-bar-top-secondary{
    display:none !important;
}

body.usuario-comercial #wpadminbar ul#wp-admin-bar-root-default > li,
body.cliente-b2b-suplantado #wpadminbar ul#wp-admin-bar-root-default > li{
    margin-left:20px;
}

/* Hover barra superior */

body.usuario-comercial #wpadminbar .ab-top-menu > li.hover > .ab-item,
body.usuario-comercial #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
body.usuario-comercial #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,

body.cliente-b2b-suplantado #wpadminbar .ab-top-menu > li.hover > .ab-item,
body.cliente-b2b-suplantado #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
body.cliente-b2b-suplantado #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus{
    background:#6a6a6a;
    color:#fff;
}

/* Submenús */

body.usuario-comercial #wpadminbar .menupop .ab-sub-wrapper,
body.cliente-b2b-suplantado #wpadminbar .menupop .ab-sub-wrapper{
    background:#575757;
    border-radius: 0px 0px 10px 10px;
}

body.usuario-comercial #wpadminbar .quicklinks .menupop ul li a,
body.cliente-b2b-suplantado #wpadminbar .quicklinks .menupop ul li a{
    color:#fff !important;
}

body.usuario-comercial #wpadminbar .quicklinks .menupop ul li a:hover,
body.cliente-b2b-suplantado #wpadminbar .quicklinks .menupop ul li a:hover{
    color:#bcbcbc !important;
}

/* Tornar a l'usuari original */

body.usuario-comercial #wp-admin-bar-switch_back a:hover,
body.cliente-b2b-suplantado #wp-admin-bar-switch_back a:hover{
    color:#bcbcbc !important;
}

/* Només suplantació */

body.cliente-b2b-suplantado #wp-admin-bar-wp-logo{
    display:none;
}

body.cliente-b2b-suplantado #wp-admin-bar-site-name .ab-item{
    display:none !important;
}

body.cliente-b2b-suplantado #wp-admin-bar-switch_back{
    background:#6a6a6a !important;
}

body.cliente-b2b-suplantado #wp-admin-bar-switch_back a{
    text-transform:uppercase;
    font-weight:600;
}


/* =========================================
   MEGA MENÚ MARQUES
========================================= */

/* Panell */

.woohsb-taxonomy-menu__panel{

    background:rgba(255,255,255,.82);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.45);

    border-radius:10px !important;

    box-shadow:
        0 8px 30px rgba(0,0,0,.12),
        0 2px 10px rgba(0,0,0,.06);

    padding:15px;

    max-height:500px;

    overflow:hidden;
}

/* Ajust fletxa menú principal */

.wp-block-navigation .wp-block-navigation__submenu-icon{
    top:3px;
    position:inherit;
}

/* Cercador */

.woohsb-taxonomy-menu__search{
    margin-bottom:15px;
}

.woohsb-taxonomy-menu__search-input{

    width:100%;

    height:44px;

    padding:0 15px;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:8px;

    background:rgba(255,255,255,.95);
}

/* Llista amb scroll */

.woohsb-taxonomy-menu__list{

    margin:0;
    padding:0;

    list-style:none;

    max-height:420px;

    overflow-y:auto;

    overflow-x:hidden;
}

/* Scroll */

.woohsb-taxonomy-menu__list::-webkit-scrollbar{
    width:8px;
}

.woohsb-taxonomy-menu__list::-webkit-scrollbar-track{
    background:#f5f5f5;
}

.woohsb-taxonomy-menu__list::-webkit-scrollbar-thumb{

    background:var(--wp--preset--color--custom-contornos);

    border-radius:20px;
}

.woohsb-taxonomy-menu__list::-webkit-scrollbar-thumb:hover{

    background:var(--wp--preset--color--primary);
}

/* Separadors */

.woohsb-taxonomy-menu__list > li{

    margin:0;
    padding:0;

    border-bottom:1px solid var(--wp--preset--color--custom-contornos);
}

.woohsb-taxonomy-menu__list > li:last-child{
    border-bottom:none;
}

/* Enllaços */

.woohsb-taxonomy-menu__link{

    display:flex;

    align-items:center;

    width:100%;

    padding:9px 15px !important;

    background:transparent !important;

    color:#666 !important;

    font-size:.92rem;

    border:none !important;

    border-radius:0 !important;

    box-shadow:none !important;

    clip-path:none !important;

    text-decoration:none !important;

    transition:all .2s ease;
}

/* Fletxeta elegant */

.woohsb-taxonomy-menu__link::before{

    content:"\f105";

    font-family:"Font Awesome 6 Free";
    font-weight:900;

    margin-right:10px;

    font-size:.8rem;

    color:#b5b5b5;

    transition:.2s ease;
}

/* Eliminar decoracions antigues */

.woohsb-taxonomy-menu__link:after{

    display:none !important;

    content:none !important;
}

/* Hover */

.woohsb-taxonomy-menu__link:hover{

    background:var(--wp--preset--color--primary) !important;

    color:#fff !important;

    padding-left:20px !important;
}

.woohsb-taxonomy-menu__link:hover::before{

    color:#fff;
}

a.wp-block-navigation-item__content.woohsb-taxonomy-menu__link {
    font-size: 11px !important;
}

/* Sense resultats */

.woohsb-taxonomy-menu__empty{

    padding:15px;

    color:#666;
}

/* =========================================
   TÍTOLS DE PÀGINA
========================================= */

.wp-block-query-title
{

    background:linear-gradient(
        90deg,
        #f4f4f4 0%,
        #e6e6e6 50%,
        #f4f4f4 100%
    );

    padding:10px 30px;

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    margin-bottom:30px;
}

.wc-block-components-notice-banner{
    margin-bottom:20px !important;
}



/* =========================================
   FINALIZAR COMPRA
========================================= */

body.woocommerce-checkout form.woocommerce-checkout{
    display:flow-root;
}

/* Columnes */

body.woocommerce-checkout form.woocommerce-checkout #customer_details{
    float:left;
    width:47% !important;
    padding-right:25px;
}

body.woocommerce-checkout form.woocommerce-checkout > .col2-set > .col-1{
    float:left;
    width:100%;
    margin-bottom:30px;
}

body.woocommerce-checkout form.woocommerce-checkout > .col2-set > .col-2{
    float:none;
    width:100%;
}

/* Títol resum */

body.woocommerce-checkout form.woocommerce-checkout h3#order_review_heading{
    float:left;
    width:50%;

    margin-top:0;
    margin-bottom:15px;

    padding-left:20px;

    font-size:2.2rem;
    font-weight:600;
}

/* Caixa resum */

body.woocommerce-checkout form.woocommerce-checkout #order_review{

    float:left;

    width:50%;

    position:sticky;
    top:2em;

    background:#fff;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    overflow:hidden;
}

/* Taula */

body.woocommerce-checkout form.woocommerce-checkout #order_review table.shop_table{

    margin:0;

    border:none;
}

body.woocommerce-checkout form.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout form.woocommerce-checkout table.shop_table td{

    padding:15px;
}

body.woocommerce-checkout form.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout form.woocommerce-checkout table.shop_table .cart-subtotal td,
body.woocommerce-checkout form.woocommerce-checkout table.shop_table .order-total td{

    border-bottom:1px solid var(--wp--preset--color--custom-contornos) !important;
}

/* Totals */

body.woocommerce-checkout form.woocommerce-checkout .cart-subtotal,
body.woocommerce-checkout form.woocommerce-checkout .order-total{

    font-weight:600;
}

/* Descomptes */

body.woocommerce-checkout form.woocommerce-checkout .descuentos-carrito-checkout{

    color:var(--wp--preset--color--primary);

    font-weight:700;
}

/* Caixa mètode de pagament */

body.woocommerce-checkout form.woocommerce-checkout #payment{

    background:#fff;

    border-top:1px solid var(--wp--preset--color--custom-contornos);
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box{

    margin:0px;

    background:#f8f8f8;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    color:#666;

    font-size:.95rem;
}

body.woocommerce-checkout form.woocommerce-checkout #payment div.payment_box::before{
    display:none;
}

.payment_box.payment_method_cod p {
    margin: 0px;
    font-weight: 800;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 800;
    font-size: 16px;
    gap: 5px;
    display: flex;
}

/* Botó finalitzar compra */

body.woocommerce-checkout form.woocommerce-checkout #payment #place_order{

    background:var(--wp--preset--color--primary);

    border:1px solid var(--wp--preset--color--primary);

    color:#fff;

    border-radius:10px;

    text-transform:uppercase;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    transition:.2s ease;
}

body.woocommerce-checkout form.woocommerce-checkout #payment #place_order:hover{

    background:#000;

    border-color:#000;
}

/* Inputs checkout */

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select{

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:8px;
}

/* Links legals */

body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a,
body.woocommerce-checkout .woocommerce-privacy-policy-text a{

    color:var(--wp--preset--color--primary);

    text-decoration:none !important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a:hover,
body.woocommerce-checkout .woocommerce-privacy-policy-text a:hover{

    color:#000;
}

/* Select2 */

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{

    background:var(--wp--preset--color--primary);

    color:#fff;
}


.woocommerce-LostPassword {
    font-size: 12px;
}

/* Responsive */

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

    body.woocommerce-checkout form.woocommerce-checkout #customer_details,
    body.woocommerce-checkout form.woocommerce-checkout h3#order_review_heading,
    body.woocommerce-checkout form.woocommerce-checkout #order_review{

        float:none;

        width:100% !important;
    }

    body.woocommerce-checkout form.woocommerce-checkout #order_review{

        position:static;

        margin-top:20px;
    }

    nav.woocommerce-MyAccount-navigation {
        display: none !important;
    }

}

/* =========================================
   FORMULARI ESQUERRA
========================================= */

/* Caixes de facturació i enviament */

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields{

    background:#fff;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    padding:25px;

    margin-bottom:25px;
}

/* Títols */

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3{

    margin-bottom:20px;

    font-size:1.2rem;
    font-weight:600;
}

/* Camps */

body.woocommerce-checkout .form-row{
    margin-bottom:15px;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea{

    min-height:46px;

    border:1px solid var(--wp--preset--color--custom-contornos) !important;

    border-radius:8px !important;

    background:#fff;

    transition:.2s ease;
}

body.woocommerce-checkout textarea{
    min-height:120px;
}

body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus{

    border-color:var(--wp--preset--color--primary) !important;

    box-shadow:none !important;
}

/* =========================================
   OFERTA O PEDIDO
========================================= */

/* Caixa superior del resum */

body.woocommerce-checkout .woocommerce-checkout-review-order-table{

    border:none !important;

    border-radius:10px;

    overflow:hidden;
}


/* =========================================
   OFERTA / PEDIDO
========================================= */

#wctelematel-preferencia-checkout{

    width:100%;

    margin-bottom:25px;

    background:#fff;

    border:1px solid var(--wp--preset--color--primary);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    padding:20px;

    box-sizing:border-box;
}

#wctelematel-preferencia-checkout .form-row{
    margin:0;
}

#wctelematel-preferencia-checkout .woocommerce-input-wrapper{
    display:block;
}

.woohsb-move-to-top__button {
    background: var(--wp--preset--color--primary);
}

.woohsb-move-to-top__button:hover {
    background-color: var(--wp--preset--color--custom-rollover);
}


/* =========================================
   PEDIDO RECIBIDO
========================================= */

.wc-block-order-confirmation-status{

    text-align:center;

    margin:0 auto 40px;

    padding:20px 0;

    background:none;

    border:none;

    box-shadow:none;
}

/* Icona */

.wc-block-order-confirmation-status::before{

    content:"\f058";

    font-family:"Font Awesome 6 Free";

    font-weight:900;

    display:block;

    margin-bottom:5px;

    font-size:56px;

    color:var(--wp--preset--color--custom-verde);

    box-shadow:none !important;
}



/* Títol */

.wc-block-order-confirmation-status h1{

    margin:0 0 8px;

    font-size:2rem;

    font-weight:700;

    line-height:1.1;

    color:#000;
}

/* Text */

.wc-block-order-confirmation-status p{

    margin:0;

    color:#666;

    font-size:1rem;

    line-height:1.4;
}


/* =========================================
   RESUM PEDIDO
========================================= */

.wc-block-order-confirmation-summary{

    display:flex;

    justify-content:center;

    margin:0 auto 35px;
}

/* Grup de targetes */

.wc-block-order-confirmation-summary-list{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:12px;

    margin:0;

    padding:0;

    list-style:none;

    width:fit-content;
}

/* Targetes */

.wc-block-order-confirmation-summary-list-item{

    background:#fff;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    padding:16px 20px;

    min-width:180px;

    margin:0 !important;
}

/* Etiqueta */

.wc-block-order-confirmation-summary-list-item__key{

    display:block;

    margin-bottom:4px;

    color:#777;

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:.4px;
}

/* Valor */

.wc-block-order-confirmation-summary-list-item__value{

    display:block;

    color:#000;

    font-size:.95rem;

    font-weight:600;

    line-height:1.3;
}

/* Import total */

.wc-block-order-confirmation-summary-list-item .woocommerce-Price-amount{

    color:var(--wp--preset--color--primary);

    font-size:1.15rem;

    font-weight:700;
}



/* =========================================
   DETALLES DEL PEDIDO
========================================= */

/* Títol */

.wc-block-order-confirmation-totals-wrapper h2{

    text-align:center;

    margin-bottom:20px;

    font-size:1.6rem;

    font-weight:700;
}

/* Caixa */

.wc-block-order-confirmation-totals{

    background:#fff;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    overflow:hidden;
}

/* Taula */

.wc-block-order-confirmation-totals__table{

    margin:0 !important;

    border:none !important;

    width:100%;
}

/* Capçalera */

.wc-block-order-confirmation-totals__table thead th{

    background:#f5f5f5;

    color:#000;

    font-weight:600;

    padding:16px;

    border-bottom:1px solid var(--wp--preset--color--custom-contornos);
}

/* Files */

.wc-block-order-confirmation-totals__table td{

    padding:14px 16px;

    border-bottom:1px solid var(--wp--preset--color--custom-contornos);
}

/* Producte */

.wc-block-order-confirmation-totals__product a{

    color:#000;

    text-decoration:none;

    font-weight:500;
}

.wc-block-order-confirmation-totals__product a:hover{

    color:var(--wp--preset--color--primary);
}

/* Quantitat */

.product-quantity{

    color:#666;

    font-weight:600;
}

/* Imports */

.wc-block-order-confirmation-totals__total{

    text-align:right;

    white-space:nowrap;

    font-weight:600;
}

/* Peu */

.wc-block-order-confirmation-totals__table tfoot th,
.wc-block-order-confirmation-totals__table tfoot td{

    padding:16px;

    background:#fafafa;
}

/* Total final */

.wc-block-order-confirmation-totals__table tfoot tr:last-child th,
.wc-block-order-confirmation-totals__table tfoot tr:last-child td{

    font-size:1.15rem;

    font-weight:700;
}

.wc-block-order-confirmation-totals__table tfoot tr:last-child .woocommerce-Price-amount{

    color:var(--wp--preset--color--primary);
}


/* =========================================
   DIRECCIÓ FACTURACIÓ
========================================= */

/* Eliminar columna buida */

.wc-block-order-confirmation-address-wrapper > .wp-block-column:first-child{
    display:none;
}

/* Fer que la columna bona ocupi tot l'ample */

.wc-block-order-confirmation-address-wrapper > .wp-block-column:last-child{
    flex-basis:100% !important;
}

/* Contenidor */

.wc-block-order-confirmation-billing-wrapper{

    max-width:700px;

    margin:0 auto;
}

/* Títol */

.wc-block-order-confirmation-billing-wrapper h2{

    text-align:center;

    margin-bottom:20px;

    font-size:1.6rem;

    font-weight:700;
}

/* Caixa */

.wc-block-order-confirmation-billing-address{

    background:#fff;

    border:1px solid var(--wp--preset--color--custom-contornos);

    border-radius:10px;

    box-shadow:var(--wp--preset--shadow--shadow-1);

    padding:25px;
}

.wc-block-order-confirmation-billing-address address{

    font-style:normal;

    line-height:1.7;

    margin:0;
}

.wc-block-order-confirmation-billing-address .woocommerce-customer-details--phone{

    margin-top:15px;

    padding-top:15px;

    border-top:1px solid var(--wp--preset--color--custom-contornos);

    font-weight:600;
}

/* Layout formulari */
.form-contactar .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

/* Empresa */
.form-contactar .wpcf7-form > p:nth-of-type(1) {
    grid-column: 1;
}

/* Nom */
.form-contactar .wpcf7-form > p:nth-of-type(2) {
    grid-column: 2;
}

/* Email */
.form-contactar .wpcf7-form > p:nth-of-type(3) {
    grid-column: 1;
}

/* Telèfon */
.form-contactar .wpcf7-form > p:nth-of-type(4) {
    grid-column: 2;
}

/* Assumpte */
.form-contactar .wpcf7-form > p:nth-of-type(5) {
    grid-column: 1 / -1;
}

/* Missatge */
.form-contactar .wpcf7-form > p:nth-of-type(6) {
    grid-column: 1 / -1;
}

/* Botó */
.form-contactar .wpcf7-form > p:nth-of-type(7) {
    grid-column: 1 / -1;
}

/* Inputs */
.form-contactar input:not([type="submit"]),
.form-contactar textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Textarea més alta */
.form-contactar textarea {
    min-height: 180px;
}

/* Checkbox privacitat */
.form-contactar .wpcf7-form > div[align="center"] {
    grid-column: 1 / -1;
    margin-top: 0 !important;
    text-align: left;
    width: 100%;
}

/* Etiquetes */
.form-contactar label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Inputs i textarea */
.form-contactar input:not([type="submit"]),
.form-contactar textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    transition: all .3s ease;
}

/* Hover */
.form-contactar input:not([type="submit"]):hover,
.form-contactar textarea:hover {
    border-color: #bcbcbc;
}

/* Focus */
.form-contactar input:not([type="submit"]):focus,
.form-contactar textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #0b6b4b);
    box-shadow: 0 0 0 3px rgba(11,107,75,.12);
}

/* Textarea */
.form-contactar textarea {
    min-height: 220px;
    resize: vertical;
}

/* Botó */
.form-contactar .wpcf7-submit {
    background: var(--wp--preset--color--primary, #0b6b4b);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

/* Hover botó */
.form-contactar .wpcf7-submit:hover {
    transform: translateY(-2px);
    opacity: .92;
}

/* Checkbox */
.form-contactar .wpcf7-list-item {
    margin-left: 0;
}

.form-contactar .wpcf7-acceptance {
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
}

.form-contactar .wpcf7-acceptance input {
    margin-top: 4px;
}

/* Enllaç privacitat */
.form-contactar a {
    text-decoration: none;
    font-weight: 600;
}

.form-contactar a:hover {
    text-decoration: underline;
}

.woohsb-advanced-product-search__price .woocommerce-Price-amount.amount {
    font-size: 18px;
}

.woohsb-advanced-product-search__price ins {
    text-decoration: none !important;
}


.woohsb-floating-cart-button .wc-block-mini-cart__badge {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 5;
    box-sizing: border-box;
    min-width: 22px;
    height: 32px;
    padding: 1px;
    border: 0;
    border-radius: var(--woohsb-floating-cart-badge-radius, 50%) !important;
    background-color: var(--woohsb-floating-cart-badge-bg, #000) !important;
    color: var(--woohsb-floating-cart-badge-color, #fff) !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--woohsb-floating-cart-badge-font-size, 12px) !important;
    font-weight: normal;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    transform: none;
    box-shadow: none;
}

.woohsb-floating-cart-button {
    right: 33px !important;
    bottom: 20px;
}











/* Tablet */
@media (max-width: 1024px) {

}












/* Mòbil */
@media (max-width: 768px) {

.wp-block-social-links.has-small-icon-size {
    font-size: 12px;
}

a.added_to_cart.wc_forward {
    top: 0px;
}


    .form-contactar .wpcf7-form {
        grid-template-columns: 1fr;
    }

    .form-contactar .wpcf7-form > p,
    .form-contactar .wpcf7-form > div[align="center"] {
        grid-column: 1 !important;
    }

.form-contact-1 .row{
        grid-template-columns:1fr;
    }

    .form-contact-1 .row > div{
        grid-column:auto !important;
    }

    .form-contact-1 .wpcf7-submit{
        width:100%;
    }


.fcwc-carousel__mount.glide.glide--ltr.glide--slider.glide--swipeable .wp-block-button.wc-block-components-product-button {
    margin-left: 0px;
}


    /* HEADER NO FIX */
    header{
        position:static !important;
        top:auto !important;
    }



   
    

    /* ===== USUARIO CONECTADO ===== */

    .wp-custom-css-837fb56b{
        padding:4px 8px !important;
    }

    .wp-custom-css-837fb56b p{
        font-size:9px !important;
        margin:0 !important;
        line-height:1.1 !important;
    }


    /* ===== MENÚ ===== */

    .wp-block-navigation__responsive-container-open{
        min-height:28px !important;
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        gap:8px;
    }

    .wp-block-navigation__responsive-container-open::after{
        content:"MENÚ";
        font-size:13px;
        font-weight:600;
    }


.user-connected p {
    font-size: 10px;
}

.alg-wc-wl-icon-wrapper .alg-wc-wl-counter {
    font-size: 11px !important;
    width: 18px !important;
    height: 18px !important;
    top: -10px !important;
    line-height: 18px !important;
}


*/ Menú responsive */



.wp-block-navigation__responsive-container 
.wp-block-navigation-item__content{
    transition: all .2s ease;
}

.wp-block-navigation__responsive-container 
.wp-block-navigation-item__content:hover{
    color: var(--wp--preset--color--primary) !important;
    transform: translateX(6px);
}



/* ==========================
   CONTENIDOR MENÚ
========================== */

.wp-block-navigation__responsive-container-content{
    width:100%;
    max-width:100%;
    padding:40px 30px;
}


/* ==========================
   LLISTA DEL MENÚ
========================== */

.wp-block-navigation__responsive-container
.wp-block-navigation__container{
    width:100%;
    max-width:320px;
    margin:0 auto;
    gap:0 !important;
}


/* ==========================
   ITEMS
========================== */

.wp-block-navigation__responsive-container
.wp-block-navigation__container > li{
    width:100%;
    border-bottom:1px solid #dcdcdc;
}

.wp-block-navigation__responsive-container
.wp-block-navigation__container > li:last-child{
    border-bottom:none;
}


/* ==========================
   LINKS I BOTONS
========================== */

.wp-block-navigation__responsive-container
.wp-block-navigation-item__content,

.wp-block-navigation__responsive-container
.woohsb-taxonomy-menu__toggle{
    background:none !important;
    border:none !important;
    box-shadow:none !important;
    clip-path:none !important;
    transform:none !important;

    display:flex !important;
    align-items:center;
    justify-content:center;

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

    text-align:center;
}


/* ==========================
   TEXT MENÚ
========================== */

.wp-block-navigation__responsive-container
.wp-block-navigation-item__label{
    white-space:nowrap;
    font-size:15px;
    font-weight:600;
    letter-spacing:1px;
   
}




/* ==========================
   FLETXES SUBMENÚ
========================== */

.wp-block-navigation__submenu-icon{
    margin-left:10px;
}


/* ==========================
   ESTAT ACTIU
========================== */

.current-menu-item > a .wp-block-navigation-item__label,
.current_page_item > a .wp-block-navigation-item__label,
.current-menu-parent > a .wp-block-navigation-item__label,
.current_page_parent > a .wp-block-navigation-item__label,
.current-menu-ancestor > a .wp-block-navigation-item__label{
    color:var(--wp--preset--color--primary) !important;
}


/* categories i marques oberts */

.woohsb-taxonomy-menu__toggle[aria-expanded="true"]
.wp-block-navigation-item__label{
    color:var(--wp--preset--color--primary) !important;
}


/* ==========================
   BOTÓ TANCAR
========================== */

.wp-block-navigation__responsive-container-close{
    top:30px !important;
    right:30px !important;
    color:#666 !important;
}

/* Fletxes per Categories i Marques */
.woohsb-taxonomy-menu__toggle::after{
    content: "▸";
    margin-left: 10px;
    color: var(--wp--preset--color--primary);
    font-size: 14px;
    font-weight: bold;
    transition: transform .2s ease;
}

/* Girar la fletxa quan està obert */
.woohsb-taxonomy-menu__toggle[aria-expanded="true"]::after{
    transform: rotate(90deg);
}

/* Zona usuaris */

#documento-envoltorio {
    width: 100%;
    margin-bottom: 5px;
}

#fecha-envoltorio {
    width: 100%;
}

span.ui-spinner.ui-corner-all.ui-widget.ui-widget-content {
    width: 100%;
}

#cargandoAJAX {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 320px;
        padding: 1.5em;
        text-align: center;
    }

#elementos-pagina-envoltorio {
    width: 100%;
    float: left;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#boton-filtrar, #boton-recargar {
    margin-top: 25px;
}

.woocommerce-MyAccount-content h3 {
    font-size: 20px;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 1px;
}

/* ==========================
   CATÀLEG PRODUCTES MÒBIL
========================== */

@media (max-width:768px){

    .wc-block-product-template__responsive{
        grid-template-columns: 1fr !important;
    }

}

/* ==========================================
   RESULTATS + ORDENACIÓ CATÀLEG MÒBIL
   (Tots els loops WooCommerce)
========================================== */

@media (max-width:768px){

    /* Contenidor principal */
    .wp-block-group.is-content-justification-space-between.is-nowrap.is-layout-flex{
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 15px !important;
    }

    /* Comptador de resultats */
    .wc-block-product-results-count{
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-result-count{
        width: 100%;
        margin: 0 !important;
        padding: 10px 15px;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
        background: #fff;
        border-radius: 10px;
        box-sizing: border-box;
    }

    /* Bloc ordenació */
    .wc-block-catalog-sorting{
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
    }

    .woocommerce-ordering{
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0 !important;
    }

    /* Ocultar "Ordenar por" */
    .woocommerce-ordering label{
        display: none !important;
    }

    /* Select ordre */
    .woocommerce-ordering .orderby{
        width: 100%;
        min-height: 44px;
        border-radius: 10px;
        padding: 0 15px;
        font-size: 14px;
        box-sizing: border-box;
    }

}

@media (max-width:768px){

    /* Contenidor principal */
    .wp-container-core-group-is-layout-b72641fb{
        display:flex !important;
        flex-direction:column !important;
        gap:15px;
    }

    /* Quantitat + carrito sempre a la mateixa fila */
    .wp-container-core-group-is-layout-3ea09865{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:center !important;
        gap:10px;
    }

    /* Amplada fixa del selector */
    .wc-block-add-to-cart-with-options__quantity-selector{
        flex:0 0 115px !important;
        width:115px !important;
        min-width:115px !important;
    }

    /* El botó ocupa la resta */
    .wp-block-woocommerce-product-button{
        flex:1 1 auto !important;
        width:auto !important;
    }

    .wp-block-woocommerce-product-button .single_add_to_cart_button{
        width:100% !important;
        white-space:nowrap;
    }

    /* Pagos seguros a sota i centrat */
    .wp-custom-css-9832c729{
        text-align:center;
        width:100%;
        padding:0 !important;
    }

    .wp-custom-css-9832c729 figure{
        margin:0 auto;
    }

body.product-template-default .wp-block-button.wc-block-components-product-button {
    margin-left: 20px; 
}


/* ==========================================
   Botons Accions Producte - Mòbil
========================================== */

@media (max-width:768px){

    /* Contenidor dels botons */
    .wp-custom-css-ecb1522d{
        display:flex !important;
        flex-direction:column !important;
        gap:10px;
        width:100%;
    }

    /* Cada bloc ocupa tot l'ample */
    .wp-custom-css-ecb1522d > *{
        width:100%;
    }

    /* Tots els botons */
    .wp-custom-css-ecb1522d .button,
    .wp-custom-css-ecb1522d .alg-wc-wl-btn{
        width:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:10px;
        box-sizing:border-box;
    }

    /* Icona */
    .wp-custom-css-ecb1522d img,
    .wp-custom-css-ecb1522d i{
        flex-shrink:0;
    }

h2.wp-block-heading {
    font-size: 20px !important;
}

h1 {
    font-size: 26px !important;
}

.wc-block-product h1 {
    font-size: 20px !important;

}

h3 {
    font-size: 16px !important;
}

.condiciones-especiales del {
    font-size: 16px;
}

.condiciones-especiales ins {
    font-size: 20px;
}



/* ==========================================
   Toolbar catàleg - Mòbil
========================================== */

@media (max-width:768px){

    /* Contenidor dels dos selectors */
    .wc-block-product-results-count + .wp-block-group{
        display:flex !important;
        flex-direction:column !important;
        gap:12px !important;
        width:100%;
        align-items:stretch !important;
    }

    /* Cada selector ocupa el 100% */
    .woohsb-products-per-page,
    .wc-block-catalog-sorting{
        width:100% !important;
    }

    .woohsb-products-per-page__form,
    .woocommerce-ordering{
        width:100%;
        margin:0;
    }

    /* Ocultem etiquetes */
    .woohsb-products-per-page label,
    .woocommerce-ordering label{
        display:none;
    }

    /* Selects */
    .woohsb-products-per-page__select,
    .woocommerce-ordering .orderby{
        width:100%;
        min-height:44px;
        box-sizing:border-box;
    }

}



/* ==========================================
   Accions del producte - Mòbil
========================================== */

@media (max-width:768px){

    /* El contenidor passa de fila a columna */
    .product-actions{
        display:flex !important;
        flex-direction:column !important;
        flex-wrap:nowrap !important;
        align-items:stretch !important;
        gap:10px !important;
    }

    /* Cada bloc ocupa una fila */
    .product-actions > .g1,
    .product-actions > .g2,
    .product-actions > .g3{
        width:100% !important;
        flex:0 0 auto !important;
    }

    /* Botons al 100% */
    .product-actions .alg-wc-wl-btn,
    .product-actions .woohsb-product-action-button,
    .product-actions .woohsb-product-pdf__form{
        width:100% !important;
    }
}

.alg-wc-delete-wishlist {
    text-align: left !important;
}

.wctelematel-wishlist-add-all-to-cart-form .button {
    color: #000;
}

div#contenido-tabla-delegaciones th {
    font-size: 10px;
}

ul.tabs.wc-tabs li {
    font-size: 11px;
}

#boton-stock-mostrar-ocultar {
    background: #fff;
}

.wctmt-upc-lista-value a {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.titulo-carrito {
    margin-bottom: 40px;
}

.woocommerce-page .woocommerce-cart-form #coupon_code {
    width: 100% !important;
    margin-bottom: 10px;
}

body.woocommerce-checkout form.woocommerce-checkout #customer_details {
    padding-right: 0px !important;
}



.woohsb-floating-cart-button {
    right: 13px !important;
    bottom: 8px;
}


.wc-block-customer-account__link .wc-block-customer-account__account-icon {
    width: 30x !important;
    height: 30px !important;
    margin: 0 0 0px 0 !important;
}

.wc-block-customer-account__link {
    top: -1px;
    position: relative;
    gap:0px;
}

.wc-block-customer-account__link .label {
    font-size: 12px !important;
}

.woohsb-move-to-top__button {
    position: relative;
    bottom: 5px;
    right: -20px;
}

.woocommerce .woocommerce-breadcrumb {
    font-size: 12px;
}

header.wp-block-template-part{
        position: relative !important;
        top: auto !important;
    }

}

}





/* Corregir etiqueta mobil carrito */
@media only screen and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr td.descuentos-producto::before {
        content: "Descuentos: ";
    }
    .woocommerce table.shop_table_responsive tr td.descuentos-producto.sin-descuento {
        display: none;
    }

    .woocommerce table.shop_table_responsive tr td.descuentos-producto.sin-descuento::before {
        content: none;
    }
}



.wctelematel-radio-group .radio {
    margin: 0 6em 0 0 !important;
}

#wctelematel-preferencia-checkout {
    border: 1px solid var(--wp--preset--color--primary);
    padding: 1em;
}










/* Mòbil petit */
@media (max-width: 480px) {

}
}









/* ==========================================
   IMPRESSIÓ FITXA PRODUCTE
========================================== */

@media print {

    /* --------------------------------------
       Ample de la pàgina
    -------------------------------------- */

    html,
    body{
        width:100%;
        margin:0;
        padding:0;
        background:#fff !important;
    }

    /* --------------------------------------
       Eliminar capçalera i peu
    -------------------------------------- */

    header,
    .site-header,
    footer,
    .site-footer{
        display:none !important;
    }

    /* --------------------------------------
       Navegació
    -------------------------------------- */

    nav,
    .wp-block-navigation,
    .wp-block-search,
    .woocommerce-breadcrumb{
        display:none !important;
    }

    /* --------------------------------------
       Botons de compra
    -------------------------------------- */

    .wc-block-add-to-cart-with-options,
    .wp-block-woocommerce-product-button,
    .wc-block-add-to-cart-with-options__quantity-selector{
        display:none !important;
    }

    /* --------------------------------------
       Botons secundaris
    -------------------------------------- */

    .product-actions{
        display:none !important;
    }

    /* --------------------------------------
       Productes relacionats
    -------------------------------------- */

    .related,
    .related-products,
    .wp-block-woocommerce-related-products,
    .woohsb-recently-viewed{
        display:none !important;
    }

    /* --------------------------------------
       Sidebar
    -------------------------------------- */

    aside,
    .sidebar{
        display:none !important;
    }

    /* --------------------------------------
       Popups
    -------------------------------------- */

    .modal,
    .popup,
    .woocommerce-store-notice{
        display:none !important;
    }

    /* --------------------------------------
       Layout
    -------------------------------------- */

    .wp-block-columns{
        display:block !important;
    }

    .wp-block-column{
        width:100% !important;
        max-width:100% !important;
        flex:none !important;
    }

    /* --------------------------------------
       Imatge principal
    -------------------------------------- */

    .woocommerce-product-gallery,
    .wp-block-post-featured-image{
        text-align:center;
        margin-bottom:20px;
    }

.wp-block-woocommerce-product-image-gallery {
    width: 50%;
}
    /* --------------------------------------
       Taules
    -------------------------------------- */

    table{
        width:100%;
        border-collapse:collapse;
    }

    

    /* --------------------------------------
       Evitar salts
    -------------------------------------- */

    img,
    table,
    h1,
    h2,
    h3{
        page-break-inside:avoid;
    }

    p{
        orphans:3;
        widows:3;
    }

.selector-quantitat, .productos-relacionados, .colum-left-prod-indiv, .joinchat, .info-producte, .stock-det {
     display:none !important;
}

.woocommerce span.onsale {
    border-radius: 10px !important;
    background-color: var(--wp--preset--color--primary) !important;
}

.precios-fich {
    margin-top: 20px;
    gap:20px;
}

}














/* Antigues css */


.mensaje-woogedilec {
    color: #178031;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 1em;
}


.archive .widget_product_categories ul.children{
    padding-left: 0.5em;
}

.archive .widget_product_categories li a {
    display: block !important;
}

.archive .widget_product_categories li a:hover {
    background-color: #e6e6e6;
}

ul[data-menu-style="accordion"] ul.children {
    padding-left: 0.5em;
}

body.woocommerce-checkout form.woocommerce-checkout{
    display: flow-root;
}

body.woocommerce-checkout form.woocommerce-checkout #order_review{
    position: sticky;
    top: 17em;
}

.wctelematel-area-widgets-producto2 .widget_custom_html {
    float: right;
    width: 72%;
}

.woocommerce{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.single-product .primary-content-wrap .page-head{
  display: none;
}

.grecaptcha-badge {
  opacity:0;
}

.customNavigation {
  display: none;
}

.campos-extra-embalaje.campos-extra-no-descuentos::before {
  content: "\e910";
  font-family: "th-icon" !important;
  padding-right: 5px;
  color: #000;
  font-weight: 500;
  margin-top: 1px;
  float: left;
}

.button.boton-pdf {
	float: left !important;
	display: flex !important;
	width: 50%;
	padding: 2px !important;
	align-items: center;
	background: #fff !important;
	font-size: 12px !important;
	height: 50px;
	margin:2px !important;
	border-bottom: 1px solid #c1c1c1 !important;
	border-top: 1px solid #c1c1c1 !important;
	border-radius:0px !important;
}

.button.boton-pdf::before {
  content: " " url("/wp-content/uploads/pdf-ico.png");
  padding-right: 4px;
}

.box-descuento-no {
  padding-top: 12px;
  font-weight:500;
  color: #000;
}

#boton-descarga-csv {
  margin: 0px auto;
  background-color: var(--wp--preset--color--primary);
  color:#fff;
  text-transform: uppercase;
  padding: 10px;
  border-radius:10px;
  border: 0px solid;
  font-family: inherit;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1px;
}

#boton-descarga-csv:hover {
  background-color: #000;
}

#resultados-ajax-csv {
  display: block;
  margin: 0px auto;
}

#boton-descarga-csv::before {
  content: " " url("/wp-content/uploads/icono-csv.png");
  padding-right: 10px;
  line-height: 9px;
}

.thunk-product-content h2 {
  font-weight: 700 !important;
  font-size: 15px !important;
}

.woocommerce-loop-product__title {
  display: block !important;
}

.form-nombre {
  width: 50%;
  float: left;
  padding-right:5px;
  padding-bottom: 10px;
}

.form-mail {
  width: 50%;
  float: left;
  padding-bottom: 10px;
}

.form-descripcion {
  width: 50%;
  float: left;
  padding-right:5px
}

.form-tel {
  width: 50%;
  float: left;
}

.form-comentarios {
  width: 100%;
  padding-top: 20px;
  float: left;
}

.form-product {
  padding: 10px;
}

.btt-enviar-form .wpcf7-form-control.has-spinner.wpcf7-submit {
  margin-top: 15px;
  width: 100%;
  background-color: #f99002;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
	height: 40px;
	border: 0px;
}

.wpcf7-spinner {
  display: flex;
  opacity: 1;
  margin: 0px auto;
	background-color: #f99002;
	margin-top:5px;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
  display: inline-block;
  margin: 6px 0 0 0px;
}


.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #f91902;
  background: #f91902;
  color: #fff;
  font-weight: 700;
	margin-top: 0px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #178031;
	background: #178031;
	color: #fff;
  font-weight: 700;
	margin-top: 0px;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
	font-size: 22px;
  margin-top: 40px;
	font-weight:700;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
  content: " " url("/wp-content/uploads/logo-pedido.jpg");
  width: fit-content;
  display: flex;
  margin: 18px auto;
}

.sindicacion-feature-etiqueta {
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li a {
    padding: 15px 15px;
    float: left;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    background: #e1e1e1;
    border-bottom: 2px solid var(--wp--preset--color--primary);
	border-radius:10px;
}

.woocommerce-MyAccount-navigation ul li a:active {
    background: var(--wp--preset--color--primary) !important;
    color: #fff !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    border-bottom: 0px solid #eaeaea;
    position: relative;
    width: auto;
    float: left;
    padding: 1px;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout a {
	background: #f00;
	color: #fff;
	font-weight: 600;
	border-bottom: 2px solid #f00;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
	background: #d00000;
	border-bottom: 2px solid #d00000;
}

.woocommerce div.product .woocommerce-tabs .panel {
  line-height: 25px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
  margin-left: 15px;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-ofertas a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-pedidos a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-albaranes a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-facturas a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-tarifas-csv a
{
  background: #c6c6c6;
}

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-ofertas.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-pedidos.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-albaranes.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--mis-facturas.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--orders.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address.is-active a,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-account.is-active a
{
	background: var(--wp--preset--color--primary);
	color: #fff;
}

.woocommerce-privacy-policy-text a {
  font-size: 14px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
}

.woocommerce-LostPassword.lost_password a {
  padding: 10px;
  border: 2px solid var(--wp--preset--color--primary);
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
}

.woocommerce-MyAccount-content a {
  font-size: 14px;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
}

.tabla.ofertas table, td, th {
  border-top: 0px solid rgba(0, 0, 0, 0.1) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #fff0;
}

.woocommerce table.shop_table td {
  border-bottom: 1px solid #dfdfdf !important;
}

.woocommerce table.shop_table .cart-subtotal td {
  border-bottom: 1px solid #dfdfdf !important;
}

.woocommerce table.shop_table .order-total td {
  border-bottom: 1px solid #dfdfdf !important;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0 auto -1em;
    width: max-content;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
}

#tab-enlaces_api a {
  text-decoration: underline !important;
  margin-top: 12px !important;
  font-size: 14px;
  line-height: 25px;
}

#tab-enlaces_api a:hover {
	color: var(--wp--preset--color--primary);
}

#tab-enlaces_api h2 {
	display: none;
}

.woocommerce #order_review table.shop_table thead th {
  letter-spacing: 0px;
}

.woocommerce-edit-address .col1{
    float: left;
    width: 49%;
}

.woocommerce-edit-address .col2{
    float: right;
    width: 49%;
} 

#customer_login .u-column2.col-2 h2 {
  margin-bottom: 10px;
}

.campos-cliente-profesional {
  padding: 10px;
  background: #d9d9d9;
  margin-top: 11px;
}

.campos-cliente-profesional-texto {
  font-size: 17px;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: underline #aaa;
  margin-bottom: -7px;
}

.wpcf7-form-control.has-spinner.wpcf7-submit.ot-btn.large-btn.btn-rounded.btn-main-color.btn-submit {
  padding: 10px;
  border: 0px;
  width: 180px;
  background: var(--wp--preset--color--primary);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}


.api-detalle-tabla-totales thead tr th {
  text-align: center;
}

.api-detalle-tabla-totales td {
  text-align: center;
}

.api-detalle-tabla thead tr th {
  text-align: center;
}

.api-detalle-tabla td {
  text-align: center;
}

.ui-widget input {
  font-size: 14px !important;
}

.tabla-detalle-izquierda {
    text-align: left !important;
}

.tabla-detalle-derecha {
    text-align: right !important;
}

.woocommerce-MyAccount-content #fecha-envoltorio #txtStartDate, .woocommerce-MyAccount-content #fecha-envoltorio #txtEndDate {
    width: 35% !important;
}

.categorias-h figure{
    overflow:hidden;
    border-radius:10px;
    border:2px solid transparent;
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.categorias-h figure img{
    display:block;
    width:100%;
    transition:transform .35s ease;
}

.categorias-h figure:hover{
    border-color:var(--wp--preset--color--primary);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.categorias-h figure:hover img{
    transform:scale(1.06);
}

.categorias-h figure:hover + h3,
.categorias-h figure:hover + h3 a{
    color:var(--wp--preset--color--primary) !important;
}

.blockUI.blockOverlay{
    opacity:.6 !important;
}

.blockUI.blockOverlay::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:60px;
    height:60px;
    margin-left:-30px;
    margin-top:-30px;
    border:5px solid #e5e5e5;
    border-top-color:var(--wp--preset--color--primary);
    border-radius:50%;
    animation:woohsbSpin .8s linear infinite;
}

@keyframes woohsbSpin{
    to{
        transform:rotate(360deg);
    }
}

/* Acceder igual que la resta d'icones */

.wc-block-customer-account__link{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:2px;
    text-decoration:none;
}

/* Mateixa mida que Carrito i Mis listas */

.wc-block-customer-account__link .wc-block-customer-account__account-icon{
    width:32px;
    height:32px;
    margin:0 0 -2px 0;
}

/* Mateix tamany de text */

.wc-block-customer-account__link .label{
    font-size:16px;
    font-weight:400 !important;
    line-height:1.2;
    color:inherit;
}

.wc-block-customer-account__link {
    top: -2px;
    position: relative;
   gap:0px;
}

.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--custom-rollover);
    color: #fff;
}

.btt-h-client .wp-block-button:hover {
   background-color: var(--wp--preset--color--custom-rollover);
    color: #fff;
}

.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-next, .wp-block-query-pagination-previous {
    font-size: 15px !important;
}

.woohsb-taxonomy-menu__link {
    font-size: .8rem;
}

/* ==========================================
   NEWSLETTER FOOTER
========================================== */

.newsletter-footer{
    width:100%;
}

.newsletter-footer .wpcf7{
    width:100%;
}

/* Disposició vertical */

.newsletter-footer .wpcf7 p{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:0;
}

.newsletter-footer .wpcf7 label{
    width:100%;
    margin:0;
}

.newsletter-footer .wpcf7-form-control-wrap{
    display:block;
    width:100%;
}

/* Input email */

.newsletter-footer .wpcf7-email{
    width:100%;
    height:50px;
    padding:0 18px;
    border:1px solid #d8d8d8;
    border-radius:10px;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.10);
    font-size:15px;
    box-sizing:border-box;
    transition:.25s;
}

.newsletter-footer .wpcf7-email:focus{
    outline:none;
    border-color:var(--wp--preset--color--primary);
    box-shadow:0 0 0 3px rgba(255,147,1,.18);
}

/* Botó */

.newsletter-footer .wpcf7-submit{
display: block;
    width: 50%;
    margin: 0 auto;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--wp--preset--color--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    transition: .25s;
    font-family:inherit;
}

.newsletter-footer .wpcf7-submit:hover{
    background:#000;
    transform:translateY(-2px);
}

/* Spinner */

.newsletter-footer .wpcf7-spinner{
    display:block;
    margin:10px auto 0;
}

/* Missatge resposta */

.newsletter-footer .wpcf7-response-output{
    margin-top:15px !important;
    border-radius:10px;
    font-weight:600;
}


.footer-opcions.wp-block-navigation a:hover {
    font-weight: 900;
}

div#contenido-tabla-delegaciones {
    font-size: 14px;
}

a.mailto-sup:hover {
    color: var(--wp--preset--color--primary);
}

.logos-cat.wp-block-woohsb-brand-logo {
    margin-top: -25px;
}

.checkout-message {
    display: none;
}


.wc-block-components-notice-banner.is-error.woohsb-block-notice {
    margin-top: 15px !important;
}

.woohsb-block-notice{
    position: relative;
    padding: 16px 20px 16px 58px !important;
    border-left: 5px solid var(--wp--preset--color--primary);
    border-radius: 10px;
    box-shadow: 2px 2px 15px rgba(0,0,0,.08);
}

.woohsb-block-notice::before{
    content: "⚠";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #d32f2f;
}

.pswp__scroll-wrap {
    backdrop-filter: blur(5px);
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    box-sizing: border-box !important;
}