.woocommerce ul.products li.product {background-color:rgba(0, 0, 0, 0.1);}
.woocommerce ul.products li.product a.product-category, .woocommerce-page ul.products li.product a.product-category  {background-color: transparent;}
.woocommerce.single-product.qode-product-single-tabs-on-bottom .q_tabs #tab-description { text-align: left;}
.woocommerce.single-product.qode-product-single-tabs-on-bottom .product .product_meta {background-color:rgba(0, 0, 0, 0.1); border: 0px;}
.woocommerce.single-product.qode-product-single-tabs-on-bottom .product .product_meta>span {border-right: 1px solid #636158;}
.woocommerce .qode-single-product-summary .product-categories a, .woocommerce .qode-single-product-summary .variations label { color: #3c3a2e; }
.woocommerce .q_tabs .tabs-nav { display: none; }
.woocommerce-page #center-btn {
   width: 178px !important;
  display: block;
  text-align: center;
 clear: both;
 margin-left: auto;
margin-right: auto;}
.woocommerce.single-product.qode-product-single-tabs-on-bottom .q_tabs {clear: both; padding: 0;}
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .price ins, .qode_product_list_holder .product_price {padding-bottom: 20px  !important;}
.screen-reader-text{ position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Avisos de la tienda (añadido al carrito, errores, información): card-subtle (card-outline en el hero oscuro de las fichas) con el texto y, si lo hay, su botón a la derecha */
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline){ display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-md); margin: 0 0 var(--space-md); padding: var(--card-pad); border-radius: var(--radius-card); color: var(--color-text); font-family: Inter, sans-serif; font-size: var(--fs-copy); font-weight: 400; line-height: var(--lh-copy); letter-spacing: var(--ls-copy); text-align: left; text-transform: none; list-style: none; }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error).card-subtle{ border: 0; background: var(--color-darken); }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error).card-outline{ background: none; }
:is(.on-dark, .theme-dark, .theme-dark2) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error).card-outline{ color: var(--color-secondary); }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline)::before, .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline)::after{ content: none; }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline) > :is(p, li){ margin: 0; padding: 0; border: 0; font-size: inherit; line-height: inherit; }
.woocommerce .woocommerce-error:is(.card-subtle, .card-outline){ flex-direction: column; align-items: stretch; }
.woocommerce .woocommerce-error:is(.card-subtle, .card-outline) > li{ display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-md); }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline) a:not(.btn){ color: inherit; text-decoration: underline; }
.woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):is(.card-subtle, .card-outline) .btn{ float: none; margin: 0; }
/* Carrito y checkout (.sosf-compra): tabla, campos y tarjetas del design system */
.sosf-legacy.sosf-compra .woocommerce-notices-wrapper:empty{ display: none; }
.sosf-legacy.sosf-compra :is(.woocommerce-cart-form, .cart-collaterals){ display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.sosf-legacy.sosf-compra .cols{ align-items: start; }
.sosf-legacy.sosf-compra :is(.cart-collaterals, .cart-collaterals .cart_totals){ float: none; width: auto; margin: 0; }
.sosf-legacy.sosf-compra .table-scroll{ margin-block: 0; }
.sosf-legacy.sosf-compra .table-scroll :is(th, td){ vertical-align: middle; }
.sosf-legacy.sosf-compra .table-scroll table.cart{ display: table; text-align: left; }
.sosf-legacy.sosf-compra .table-scroll table.cart thead{ display: table-header-group; }
.sosf-legacy.sosf-compra .table-scroll table.cart tbody{ display: table-row-group; }
.sosf-legacy.sosf-compra .table-scroll table.cart tbody tr{ display: table-row; width: auto; padding: 0; }
.sosf-legacy.sosf-compra .table-scroll table.cart tr :is(th, td){ display: table-cell; }
.sosf-legacy.sosf-compra .product-thumbnail{ width: 64px; }
.sosf-legacy.sosf-compra .product-thumbnail img{ display: block; width: 64px; height: auto; border-radius: var(--radius-sm); }
.sosf-legacy.sosf-compra .product-name a{ text-decoration: none; }
.sosf-legacy.sosf-compra .product-name a:hover{ text-decoration: underline; }
.sosf-legacy.sosf-compra .product-remove{ width: 1%; }
.sosf-legacy.sosf-compra .order-total :is(th, td){ border-bottom: 0; }
.sosf-legacy.sosf-compra #shipping_method{ margin: 0; padding: 0; list-style: none; }
.sosf-legacy.sosf-compra .woocommerce-shipping-destination{ margin: var(--space-xs) 0 0; }
.sosf-legacy.sosf-compra .wc-proceed-to-checkout{ margin: 0; padding: 0; }
.sosf-legacy.sosf-compra .wc-proceed-to-checkout .checkout-button{ display: flex; width: 100%; }
.sosf-legacy.sosf-compra .col2-set{ display: flex; flex-direction: column; gap: var(--space-lg); width: auto; }
.sosf-legacy.sosf-compra .col2-set > *{ float: none; width: auto; margin: 0; padding: 0; }
.sosf-legacy.sosf-compra :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) h3{ margin: 0 0 var(--space-md); }
.sosf-legacy.sosf-compra :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper){ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.sosf-legacy.sosf-compra .form-row{ grid-column: 1 / -1; }
.sosf-legacy.sosf-compra :is(.form-row-first, .form-row-last){ grid-column: auto; }
/* Bridge flota los campos de #customer_details y esconde sus etiquetas con un id: de ahí el doble selector */
.sosf-legacy.sosf-compra .form-row, .sosf-legacy.sosf-compra #customer_details .form-row{ float: none; width: auto; height: auto; margin: 0; padding: 0; }
.sosf-legacy.sosf-compra .form-row > label, .sosf-legacy.sosf-compra #customer_details .form-row > label{ display: block; margin: 0 0 var(--space-xs); padding: 0; font-size: var(--fs-small); font-weight: 600; line-height: var(--lh-small); }
.sosf-legacy.sosf-compra #customer_details :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields){ float: none; width: auto; margin: 0; }
.sosf-legacy.sosf-compra #customer_details .field-inset :is(input, select, textarea){ width: 100% !important; margin: 0; padding-left: calc(var(--space-xs) * 2); }
.sosf-legacy.sosf-compra #customer_details .field-inset textarea{ height: auto; }
.sosf-legacy.sosf-compra .form-row .required{ color: inherit; text-decoration: none; border: 0; }
.sosf-legacy.sosf-compra .form-row .woocommerce-input-wrapper.field-inset{ display: flex; }
.sosf-legacy.sosf-compra .sosf-pedido #order_review_heading{ margin: 0; }
.sosf-legacy.sosf-compra #payment{ margin-bottom: 0; background: none; border-radius: 0; }
.sosf-legacy.sosf-compra #payment ul.payment_methods{ margin: 0; padding: 0; border: 0; list-style: none; }
#content .sosf-compra #payment .sosf-tarjetas{ display: inline-flex; flex-wrap: wrap; gap: 4px; float: none; margin: 0 0 0 var(--space-xs); vertical-align: middle; }
#content .sosf-compra #payment .sosf-tarjetas img{ position: static; display: block; width: 38px; height: 24px; margin: 0; }
@media (max-width: 767px) { #content .sosf-compra #payment .sosf-tarjetas{ display: flex; margin: var(--space-xs) 0 0; } }
.sosf-legacy.sosf-compra #payment .payment_box{ margin: var(--space-xs) 0 0; padding: 0; background: none; font-size: var(--fs-small); line-height: var(--lh-small); }
.sosf-legacy.sosf-compra #payment .payment_box::before{ content: none; }
.sosf-legacy.sosf-compra #payment .place-order{ display: flex; flex-direction: column; gap: var(--space-sm); margin: var(--space-md) 0 0; padding: 0; }
.sosf-legacy.sosf-compra .woocommerce-privacy-policy-text p, .sosf-legacy.sosf-compra .woocommerce-terms-and-conditions-checkbox-text{ margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); }
.sosf-legacy.sosf-compra .woocommerce-terms-and-conditions{ max-height: 200px; overflow: auto; }
.sosf-legacy.sosf-compra .woocommerce-terms-and-conditions .sosf-legacy{ width: auto; left: auto; transform: none; }
/* el CSS de WooCommerce de Bridge (rejilla gris, cabecera en Raleway, texto gris o morado y centrado) gana a .table-scroll: con #content vuelven la tabla y la lista -divided del catálogo */
#content .sosf-compra .table-scroll tr{ border: 0; }
#content .sosf-compra .table-scroll td.product-remove{ border-right: 0; }
#content .sosf-compra .table-scroll :is(th, td){ color: var(--color-text); font-family: inherit; font-size: inherit; font-weight: 400; text-transform: none; letter-spacing: inherit; text-align: left; }
#content .sosf-compra .table-scroll thead th{ font-weight: 700; }
#content .sosf-compra .table-scroll :is(th, td):is(:last-child, .product-price){ text-align: right; }
#content .sosf-compra .table-scroll :is(tbody, tfoot) th{ border-bottom-color: var(--color-darken-hover); }
#content .sosf-compra .table-scroll td :is(a, strong, .amount){ color: inherit; font-size: inherit; font-weight: inherit; }
#content .sosf-compra .table-scroll .product-name a{ font-weight: 600; }
#content .sosf-compra .table-scroll .order-total :is(th, td, td *){ color: var(--color-text) !important; font-weight: 700; }
#content .sosf-compra .cart-empty p{ text-transform: none; }
#content .sosf-compra .table-scroll a.remove{ width: auto; height: auto; padding: var(--space-xs); background: none; text-indent: 0; color: var(--color-text); font-size: var(--fs-h3); line-height: 1; text-decoration: none; }
#content .sosf-compra #payment ul.payment_methods > li{ margin: 0; padding: var(--space-sm) 0; border: 0; background: none; }
#content .sosf-compra #payment ul.payment_methods > li + li{ border-top: 1px solid var(--color-darken-hover); }
#content .sosf-compra #payment ul.payment_methods > li > label{ display: inline; color: var(--color-text); font-weight: 600; }
#content .sosf-pedido #wcpay-express-checkout-button-separator{ margin: 0; text-align: left; }
#content .sosf-pedido #wcpay-express-checkout-button-separator:not([style*="none"]){ display: flex !important; }
/* cupón: hoy no sale (cupones apagados); cuando se activen, va solo en el pago y siempre abierto, la frase a la izquierda y el campo con su botón a la derecha (el JS de WooCommerce lo esconde al cargar) */
#content .sosf-compra form.checkout_coupon{ display: flex !important; align-items: center; justify-content: space-between; gap: var(--space-md); height: auto !important; margin: 0 0 var(--space-md); padding: 0; border: 0; }
.sosf-legacy.sosf-compra form.checkout_coupon > p{ margin: 0; }
.sosf-legacy.sosf-compra form.checkout_coupon .coupon{ flex: 0 1 420px; }
@media (max-width: 767px) { #content .sosf-compra form.checkout_coupon{ flex-direction: column; align-items: stretch; } .sosf-legacy.sosf-compra form.checkout_coupon .coupon{ flex: none; } .sosf-legacy.sosf-compra :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper){ grid-template-columns: minmax(0, 1fr); } .sosf-legacy.sosf-compra :is(.form-row-first, .form-row-last){ grid-column: 1 / -1; } }
body:is(.woocommerce-cart, .woocommerce-checkout) main.content:has(> .sosf-compra){ padding: var(--page-top) 0 0; }
