/*
Theme Name: Zella Child Theme
Theme URI: https://zella.nasatheme.com/demo/
Description: This is a child theme for Zella Theme
Author: NasaTheme
Author URI: https://nasatheme.com
Template: zella-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
:root {
  --default-border: 1px solid #000;
  --theme-border: 1px solid #ececec;
  --theme-black: #000;
  --brand-color: #333e48;
  --theme-white: #fff;
}

p a:hover, 
p a:active, 
p a:focus, 
p a:visited{
  color: var(--brand-color);
}

.topbar-menu-container {
  display: flex;
}

.topbar-menu-container .wpml-ls.wpml-ls-legacy-list-horizontal {
  padding: 0;
}

/*.header-nav .menu-item.menu-item-has-children > a {
  pointer-events: none;
}*/

.large-12.columns.header-container {
  padding-left: 4% !important;
  padding-right: 4% !important;
}

body .nasa-header-sticky .fixed-already #masthead .logo-wrapper .logo img {
  max-width: 50px;
  margin-top: 0;
}

body #masthead .logo-wrapper .logo img {
  margin-top: -10px;
}

.nasa-single-product-main-image .slick-dots, 
#nasa-breadcrumb-site, 
.nasa-change-layout.productList {
  display: none !important;
}

.product-img .back-img {
  display: none !important;
}

.nasa-product-info-wrap .wvpl-wave, 
.nasa-product-info-wrap .wvpl-controls, 
.nasa-product-grid .btn-compare {
  display: none;
}

.first.nasa-icon-filter-cat {
  display: none;
}

.single-product .columns.nasa-content-page-products {
  padding-left: 60px;
  padding-right: 60px;
}

/* HOME + SHOP: ARTISTAS (1 línea, sin comas, separador " / ") */
body.home .product-info-artist,
body.front-page .product-info-artist,
body.post-type-archive-product .product-info-artist,
body.tax-product_cat .product-info-artist,
body.tax-product_tag .product-info-artist{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* mata el inline de la home */
  font-size: 0 !important;
  line-height: 1.2;
  opacity: 1 !important;
}

/* anula <br> si aparece */
body.home .product-info-artist br,
body.front-page .product-info-artist br,
body.post-type-archive-product .product-info-artist br,
body.tax-product_cat .product-info-artist br,
body.tax-product_tag .product-info-artist br{
  display: none !important;
}

/* links */
body.home .product-info-artist a,
body.front-page .product-info-artist a,
body.post-type-archive-product .product-info-artist a,
body.tax-product_cat .product-info-artist a,
body.tax-product_tag .product-info-artist a{
  font-size: 15px !important;
  display: inline !important;
  cursor: pointer;
  color: #666 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

body.home .product-info-artist a:hover,
body.front-page .product-info-artist a:hover,
body.post-type-archive-product .product-info-artist a:hover,
body.tax-product_cat .product-info-artist a:hover,
body.tax-product_tag .product-info-artist a:hover{
  color: #c00 !important;
}

/* separador "/" rojo con padding */
body.home .product-info-artist a + a::before,
body.front-page .product-info-artist a + a::before,
body.post-type-archive-product .product-info-artist a + a::before,
body.tax-product_cat .product-info-artist a + a::before,
body.tax-product_tag .product-info-artist a + a::before{
  content: "/";
  display: inline-block;
  padding: 0 6px;
  color: #c00;
  font-size: 15px !important;
}

/* GRID / SHOP: ARTISTAS (1 línea, sin comas, separador " / ") */
body.post-type-archive-product .product-info-artist,
body.tax-product_cat .product-info-artist,
body.tax-product_tag .product-info-artist{
  /* 1 sola línea */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Truco: oculta textos sueltos como ", " que vienen en el HTML */
  font-size: 0 !important;
  line-height: 1.2;
  opacity: 1 !important;
}

/* Si el theme mete <br>, los anulamos */
body.post-type-archive-product .product-info-artist br,
body.tax-product_cat .product-info-artist br,
body.tax-product_tag .product-info-artist br{
  display: none !important;
}

/* Links: recuperan tamaño y estilo */
body.post-type-archive-product .product-info-artist a,
body.tax-product_cat .product-info-artist a,
body.tax-product_tag .product-info-artist a{
  font-size: 15px !important;
  display: inline !important;
  cursor: pointer;
  color: #666 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

/* Hover: Rojo puro */
body.post-type-archive-product .product-info-artist a:hover,
body.post-type-archive-product .product-info-artist a:focus,
body.tax-product_cat .product-info-artist a:hover,
body.tax-product_cat .product-info-artist a:focus,
body.tax-product_tag .product-info-artist a:hover,
body.tax-product_tag .product-info-artist a:focus{
  color: #c00 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  outline: none;
}

/* Separador: barra roja con separación garantizada */
body.post-type-archive-product .product-info-artist a + a::before,
body.tax-product_cat .product-info-artist a + a::before,
body.tax-product_tag .product-info-artist a + a::before{
  content: "/";
  display: inline-block;
  padding: 0 6px;              /* separación real a ambos lados */
  font-size: 15px !important;
  color: #c00;                 /* rojo */
  margin: 0;                   /* ya no hace falta */
}

/* RELATED / UPSELLS: mismos estilos de artista que el grid */
.single-product .related .product-info-artist,
.single-product .up-sells .product-info-artist,
.single-product .cross-sells .product-info-artist{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0 !important;     /* oculta comas/texto suelto si existe */
  line-height: 1.2;
  opacity: 1 !important;
}

/* links (gris -> hover negro) */
.single-product .related .product-info-artist a,
.single-product .up-sells .product-info-artist a,
.single-product .cross-sells .product-info-artist a{
  font-size: 15px !important;  /* pon el mismo que usas en shop */
  display: inline !important;
  cursor: pointer;
  color: #666 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.single-product .related .product-info-artist a:hover,
.single-product .up-sells .product-info-artist a:hover,
.single-product .cross-sells .product-info-artist a:hover{
  color: #c00 !important;
}

/* separador "/" rojo con padding */
.single-product .related .product-info-artist a + a::before,
.single-product .up-sells .product-info-artist a + a::before,
.single-product .cross-sells .product-info-artist a + a::before{
  content: "/";
  display: inline-block;
  padding: 0 6px;
  color: #c00;
  font-size: 15px !important;
}

.product-item .info .name {
  text-align: left;
  padding: 10px;
}

.product-item .info {
  padding: 0;
}

.price-wrap {
  border-top: var(--theme-border) !important;
  padding: 10px 5px 10px 10px;
  display: table !important;
  width: 100%;
  box-sizing: border-box;
}

/* Precio: celda izquierda, centrado vertical */
.price-wrap > .price {
  display: table-cell !important;
  vertical-align: bottom;
  text-align: left;
  white-space: nowrap;
  padding-bottom: 2px;
}

/* Botones (ojo, corazón, +): celda derecha, centrado vertical, ancho mínimo */
.price-wrap > .nasa-product-grid.nasa-btns-product-item {
  display: table-cell !important;
  vertical-align: middle;
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

.product-interactions .add-to-cart-btn {
  display: block;
}

.product-interactions {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  max-height: 20px;
  width: 100%;
  padding: 0;
}

.nasa-product-grid.nasa-btns-product-item {
  width: 100%;
}

.wishlist-icon {
  overflow: hidden;
}

.product-interactions .pe-icon, 
.product-interactions .nasa-icon {
  line-height: 1;
}

.product-summary .btn-wishlist .btn-link {
  margin-top: 3px;
} 
.product-summary .quick-view .btn-link {
  margin-top: 1px;
}

.btn-compare .btn-link {
  margin-top: 2px;
}

.product-summary a, 
.product-summary .btn-link, 
.product-summary .btn-link a, 
.product-summary .cart-icon {
  max-height: 26px;
}

.product-summary .cart-icon.nasa-icon.icon-nasa-icons-plus:before {
  border-radius: 50%;
  background-color: var(--theme-black);
}

.main-img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.woocommerce-widget-layered-nav-list__item--chosen.chosen, 
.nasa-widget-filter-cats-topbar .current-cat.active {
  text-decoration: underline;
}

/* HOME: aviso WooCommerce dentro del cart sidebar (evitar barra fija a pantalla completa) */
body.home #palma-woo-notice-host,
body.front-page #palma-woo-notice-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  pointer-events: none;
}

body.home #palma-woo-notice-host .woocommerce-notices-wrapper,
body.front-page #palma-woo-notice-host .woocommerce-notices-wrapper {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  opacity: 1;
  visibility: visible;
  transform: none;
  cursor: default;
  margin: 0;
}

body.home #palma-woo-notice-host .woocommerce-message,
body.front-page #palma-woo-notice-host .woocommerce-message,
body.home #palma-woo-notice-host .woocommerce-info,
body.front-page #palma-woo-notice-host .woocommerce-info,
body.home #palma-woo-notice-host .woocommerce-error,
body.front-page #palma-woo-notice-host .woocommerce-error {
  width: 100%;
  box-sizing: border-box;
  pointer-events: auto;
}

/* Carrito y mini-cart: meta extra (SKU / Artista / Título / Formato) */
.palma-cart-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: #666;
}

.palma-cart-title {
  display: block;
  line-height: 1.3;
}

/* Checkout: resumen pedido en columnas (img / detalles / cantidad / precio) */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  table-layout: fixed;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-thumbnail,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail {
  width: 70px;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
  line-height: 1;
  vertical-align: middle;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail a,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail span {
  display: block;
  width: 100%;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name {
  width: auto;
  word-break: break-word;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-quantity,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-quantity {
  width: 60px;
  text-align: center;
  white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-unit,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-unit {
  width: 80px;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total {
  width: 90px;
  text-align: right;
  white-space: nowrap;
}

/* Checkout (móvil): mismo formato de tabla, pero adaptado a ancho pequeño */
@media (max-width: 874px) {
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100%;
    table-layout: fixed;
    font-size: 12.5px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 6px 6px;
    vertical-align: middle;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-thumbnail,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail {
    width: 64px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-thumbnail img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-quantity,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-quantity {
    width: 48px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-unit,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-unit {
    width: 64px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total {
    width: 72px;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-quantity,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-unit,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-quantity,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-unit,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total {
    white-space: nowrap;
  }
}

/* Checkout móvil: sacar "Tu pedido" de la caja (sin fondo/borde/padding) */
@media (max-width: 874px) {
  body.woocommerce-checkout .order-review,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* Checkout: envio en una sola columna y alineado */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
  vertical-align: top;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods label,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  text-align: left;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"],
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods input[type="radio"] {
  margin: 0;
  flex: 0 0 auto;
}

/* Carrito: metodos de envio centrados */
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  align-items: center;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
  justify-content: center;
  text-align: center;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods .woocommerce-Price-amount {
  margin-left: 6px;
}

/* Carrito: alinear a la derecha el contenido de la columna de totales */
body.woocommerce-cart .cart_totals td {
  text-align: right;
  padding-right: 18px;
}

/* Carrito vacío: botón "Volver a la tienda" con texto blanco */
body.woocommerce-cart .cart-empty + .return-to-shop .button,
body.woocommerce-cart .return-to-shop .button {
  color: #fff;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
  align-items: flex-end;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods label {
  justify-content: flex-end;
  text-align: right;
}

/* Carrito: importes en negrita para Subtotal / Subtotal sin impuestos / IVA */
body.woocommerce-cart .cart_totals tr.cart-subtotal td strong,
body.woocommerce-cart .cart_totals tr.cart-subtotal td .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals tr.order-total td .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals tr.tax-total td .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals tr.tax-rate td .woocommerce-Price-amount {
  font-weight: 700;
}

body.woocommerce-cart .cart_totals tr.base-imponible td,
body.woocommerce-cart .cart_totals tr.total-impuestos td {
  font-weight: 700;
}

/* Carrito: formulario "Cambiar dirección" con más aire */
body.woocommerce-cart .cart_totals .shipping-calculator-form p {
  margin: 0 0 18px;
}

body.woocommerce-cart .cart_totals .shipping-calculator-form input,
body.woocommerce-cart .cart_totals .shipping-calculator-form select {
  margin-bottom: 12px;
}

body.woocommerce-cart .cart_totals .shipping-calculator-form .button {
  margin-top: 10px;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  margin-bottom: 16px;
}

/* Checkout: metodos de envio alineados a la derecha */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
  text-align: right;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
  align-items: flex-end;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods li,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
  justify-content: flex-end;
  text-align: right;
}

/* Totales: evitar mayusculas forzadas */
body.woocommerce-cart .cart_totals th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  text-transform: none;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods .woocommerce-Price-amount,
body.woocommerce-cart .cart_totals .woocommerce-shipping-methods .woocommerce-Price-amount {
  margin-left: auto;
  white-space: nowrap;
}

/* Carrito: layout limpio (tabla -> totales -> acciones/cupón) */
body.woocommerce-cart hr.margin-top-10.margin-bottom-40 {
  display: none;
}

body.woocommerce-cart .cart-sidebar.cart-collaterals {
  margin-top: 20px;
}

/* Carrito: fila resumen en dos columnas (update cart | totales) */
body.woocommerce-cart .palma-cart-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 20px;
}

body.woocommerce-cart .palma-cart-col-left {
  flex: 0 0 540px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-wrap: nowrap;
}

body.woocommerce-cart .palma-cart-btn-row {
  display: flex;
  gap: 12px;
}

body.woocommerce-cart .palma-cart-col-left input[name="update_cart"] {
  margin: 0;
}

body.woocommerce-cart .palma-cart-btn-row .button,
body.woocommerce-cart .palma-cart-btn-row input[name="update_cart"] {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  line-height: 1;
  margin: 0;
}

/* Carrito: botón peligro (vaciar carrito) en rojo */
body.woocommerce-cart .palma-cart-btn-row .palma-empty-cart {
  background: #c00;
  border-color: #c00;
  color: #fff;
}

body.woocommerce-cart .palma-cart-btn-row .palma-empty-cart:hover,
body.woocommerce-cart .palma-cart-btn-row .palma-empty-cart:focus {
  background: #a00;
  border-color: #a00;
  color: #fff;
}

body.woocommerce-cart .palma-cart-col-right {
  flex: 1 1 auto;
  min-width: 0;
}

body.woocommerce-cart .palma-cart-col-right .cart-sidebar.cart-collaterals {
  margin-top: 0;
}

body.woocommerce-cart .palma-cart-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.woocommerce-cart .palma-cart-actions input[name="update_cart"] {
  align-self: flex-end;
  margin: 0;
}

body.woocommerce-cart .palma-cart-actions .nasa-p-show-coupon {
  margin: 0;
}

body.woocommerce-cart .palma-cart-actions .coupon.nasa-coupon-wrap {
  margin: 0;
}

@media (max-width: 900px) {
  body.woocommerce-cart .palma-cart-summary-row {
    flex-direction: column;
    gap: 16px;
  }

  body.woocommerce-cart .palma-cart-col-left {
    flex: 0 0 auto;
    width: 100%;
    align-items: stretch;
  }
}

/* Carrito: ocultar título "Totales del carrito" y su línea */
body.woocommerce-cart .cart-collaterals .cart_totals > h2,
body.woocommerce-cart .cart-collaterals .cart_totals > h2 + .nasa-hr,
body.woocommerce-cart .cart-collaterals .cart_totals > h2 + hr {
  display: none !important;
}

/* Carrito / Checkout: barra de pasos más compacta */
body.woocommerce-cart .order-steps,
body.woocommerce-checkout .order-steps,
body.woocommerce-order-received .order-steps {
  margin-bottom: 20px;
}

body.woocommerce-cart .checkout-breadcrumb,
body.woocommerce-checkout .checkout-breadcrumb,
body.woocommerce-order-received .checkout-breadcrumb {
  padding: 20px 0;
  margin-bottom: 10px;
}

/* Números de pasos: más pequeños (todas las vistas) */
.checkout-breadcrumb .title-cart h1,
.checkout-breadcrumb .title-checkout h1,
.checkout-breadcrumb .title-thankyou h1 {
  font-size: 380%;
  line-height: 1;
}

/* Paso activo: solo el número en rojo */
body.woocommerce-cart .title-cart h1,
body.woocommerce-checkout .title-checkout h1,
body.woocommerce-order-received .title-thankyou h1 {
  color: #c00;
}

/* Checkout: tipografía de la barra de pasos escala en <= 874px */
@media (max-width: 874px) {
  /* Forzar que la barra no se oculte en móvil */
  body.woocommerce-cart .checkout-breadcrumb,
  body.woocommerce-checkout .checkout-breadcrumb,
  body.woocommerce-order-received .checkout-breadcrumb {
    display: block !important;
  }

  /* Mantener los 3 pasos en una sola fila */
  body.woocommerce-cart .checkout-breadcrumb,
  body.woocommerce-checkout .checkout-breadcrumb,
  body.woocommerce-order-received .checkout-breadcrumb {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .checkout-breadcrumb .title-cart,
  .checkout-breadcrumb .title-checkout,
  .checkout-breadcrumb .title-thankyou {
    flex: 0 0 33.3333%;
    width: 33.3333%;
    min-width: 0;
    padding: 0 6px;
  }

  .checkout-breadcrumb .title-cart h1,
  .checkout-breadcrumb .title-checkout h1,
  .checkout-breadcrumb .title-thankyou h1 {
    font-size: clamp(22px, 6.2vw, 40px);
    line-height: 1;
    margin-right: 6px;
  }

  .checkout-breadcrumb .title-cart h4,
  .checkout-breadcrumb .title-checkout h4,
  .checkout-breadcrumb .title-thankyou h4 {
    font-size: clamp(10px, 2.4vw, 14px);
    line-height: 1.15;
  }

  .checkout-breadcrumb .title-cart p,
  .checkout-breadcrumb .title-checkout p,
  .checkout-breadcrumb .title-thankyou p {
    font-size: clamp(9px, 2.2vw, 11px);
    line-height: 1.2;
  }

  .checkout-breadcrumb .pe-7s-angle-right {
    font-size: clamp(16px, 3.5vw, 22px);
  }

  /* Mantener 2 líneas (título + subtítulo) sin saltos extra */
  .checkout-breadcrumb .title-cart h4,
  .checkout-breadcrumb .title-checkout h4,
  .checkout-breadcrumb .title-thankyou h4,
  .checkout-breadcrumb .title-cart p,
  .checkout-breadcrumb .title-checkout p,
  .checkout-breadcrumb .title-thankyou p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Asegurar que la línea superior/inferior se mantenga visible */
  body.woocommerce-cart .order-steps,
  body.woocommerce-checkout .order-steps,
  body.woocommerce-order-received .order-steps {
    border-top: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
  }
}

/* Thank you: layout profesional */
.palma-thankyou {
  margin-top: 20px;
}

.palma-thankyou-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  gap: 18px;
  margin: 16px auto 0;
  max-width: 1180px;
  align-items: start;
}

.palma-thankyou-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.palma-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 16px 18px;
  background: #fff;
}

.palma-thankyou-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.palma-order-summary .order_details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.palma-order-summary .order_details li {
  margin: 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.palma-order-summary .order_details li strong {
  font-weight: 600;
  text-align: right;
}

.palma-thankyou-table th,
.palma-thankyou-table td {
  vertical-align: top;
  padding: 8px 10px;
  font-size: 13px;
}

.palma-thankyou-table th.product-quantity,
.palma-thankyou-table td.product-quantity {
  width: 60px;
  text-align: center;
  white-space: nowrap;
}

.palma-thankyou-table th.product-unit,
.palma-thankyou-table td.product-unit {
  width: 80px;
  text-align: right;
  white-space: nowrap;
}

.palma-thankyou-table th.product-total,
.palma-thankyou-table td.product-total {
  width: 100px;
  text-align: right;
  white-space: nowrap;
}

.palma-table-wrap {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #f1f1f1;
  border-radius: 6px;
}

.palma-table-wrap .palma-thankyou-table {
  margin: 0;
}

.palma-table-wrap thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.palma-contact-line {
  margin: 6px 0 0;
  font-size: 14px;
}

.palma-thankyou-table tfoot th,
.palma-thankyou-table tfoot td {
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
}

.palma-thankyou-table td.product-name {
  line-height: 1.4;
}

/* Mis pedidos: columnas compactas */
.woocommerce-table--order-details th.product-quantity,
.woocommerce-table--order-details td.product-quantity {
  width: 60px;
  text-align: center;
  white-space: nowrap;
}

.woocommerce-table--order-details th.product-unit,
.woocommerce-table--order-details td.product-unit {
  width: 80px;
  text-align: right;
  white-space: nowrap;
}

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

@media (max-width: 1200px) {
  .palma-thankyou-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .palma-thankyou-col--customer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .palma-thankyou-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkout: 1 columna <= 874px, 2 columnas >= 875px */
@media (max-width: 874px) {
  body.woocommerce-checkout .woocommerce-checkout > .row > .large-7.columns,
  body.woocommerce-checkout .woocommerce-checkout > .row > .large-5.columns {
    width: 100% !important;
    float: none !important;
    clear: both;
  }
}

@media (min-width: 875px) {
  body.woocommerce-checkout .woocommerce-checkout > .row > .large-7.columns {
    width: 41.66667% !important;
  }
  body.woocommerce-checkout .woocommerce-checkout > .row > .large-5.columns {
    width: 58.33333% !important;
  }
}

/* Wishlist */

.nasa-cart-wishlist-slider .owl-nav button{
  width: 30px;
}

.remove.remove_from_cart_button.item-in-cart {
  border: var(--default-border);
}

/* Sonaar sticky player */


#sonaar-player .playerNowPlaying .album-art:hover img.hover {
  display: none;
}

/* Product page */

.single-product .product_meta, 
.iron-audioplayer .playlist .srp_track_description {
  display: none;
}
/* SINGLE PRODUCT: separador "/" entre artistas (sin tocar tamaños) */
.single-product h3.artista a + a::before{
  content: "/";
  display: inline-block;
  padding: 0 6px;   /* separación real */
  color: #c00;      /* rojo (si lo quieres como el grid) */
}

/* SINGLE PRODUCT: Artist -> hover rojo */
.single-product h3.artista a:hover,
.single-product h3.artista a:focus{
  color: #c00 !important;
  text-decoration: none;
  outline: none;
}

/* SINGLE PRODUCT: Week + Genre + meta -> hover rojo */
.single-product .woocommerce-product-attributes-item--attribute_pa_label a:hover,
.single-product .woocommerce-product-attributes-item--attribute_pa_label a:focus,
.single-product .woocommerce-product-attributes-item--attribute_pa_week a:hover,
.single-product .woocommerce-product-attributes-item--attribute_pa_week a:focus,
.single-product .woocommerce-product-attributes-item--attribute_pa_genre a:hover,
.single-product .woocommerce-product-attributes-item--attribute_pa_genre a:focus,
.single-product .product_meta a:hover,
.single-product .product_meta a:focus{
  color: #c00 !important;
  text-decoration: none;
  outline: none;
}

/* SINGLE PRODUCT: label y valor mismo tamaño */
.single-product .woocommerce-product-attributes-item{
  font-size: 16px !important; /* ajusta si quieres */
}

.single-product .woocommerce-product-attributes-item__label,
.single-product .woocommerce-product-attributes-item__value,
.single-product .woocommerce-product-attributes-item__value p{
  font-size: inherit !important;
}

/* SINGLE PRODUCT: justificar texto de la descripción */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p,
.single-product .woocommerce-Tabs-panel--description,
.single-product .woocommerce-Tabs-panel--description p{
  text-align: justify;
  text-justify: inter-word;
}

/* Ocultar atributo globalmente en la ficha (tabla de atributos) */
.single-product .woocommerce-product-attributes-item--attribute_pa_product{
  display: none !important;
}

/*.iron-audioplayer .playlist ul {
  border: var(--theme-border);
}*/

.related-product {
  margin-top: 80px;
}

.single-product .related .owl-nav {
  display: none !important;
}

.single-product .related .large-12.columns {
  padding: 0 !important;
}

.single-product .related .nasa-slider.owl-carousel {
  padding: 0 20px;
}

/*.single-product .product_title.entry-title {
  grid-column: span 2 !important;
}*/

.woocommerce-product-gallery .large-12.columns {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.product-thumbnails .slick-list {
  height: unset !important;
}

.product-thumbnails .slick-track {
  display: flex;
  height: unset !important;
  align-items: flex-end;
  flex-direction: row-reverse;
}

.nasa-product-details-page .product-gallery .nasa-thumb-wrap {
  width: 90%;
  padding: 0 10px;
}

.product-thumbnails .nasa-wrap-item-thumb {
  width: 70px !important;
}

.woocommerce-product-attributes-item__value {
  padding: 0;
}

.woocommerce-product-attributes-item {
  display: flex;
}

.woocommerce-product-attributes-item__value p {
  margin-bottom: 0;
  line-height: 1;
  padding: 0.4em;
}

.quantity .input-text qty {
 border: var(--default-border);
}

.single-product .track-number .number, 
.single-product .tracklist-item-time, 
.single-product .iron-audioplayer .playlist .store-list {
  display: none;
}

.single-product .iron-audioplayer .playlist li {
  padding: 5px 10px !important;
}

.single-product .iron-audioplayer .playlist li:hover, 
.single-product .iron-audioplayer .playlist li.current {
  background-color: #000;
  color: var(--theme-white) !important;
}

.single-product .iron-audioplayer .playlist li:hover .sricon-play, 
.single-product .iron-audioplayer .playlist li.current .tracklist-item-title, 
.single-product .iron-audioplayer .playlist li.current .sricon-play{
  color: var(--theme-white);
}

.single-product .iron_widget_radio.playlist_enabled {
  width: auto !important;
}

.single-product .row.row-product {
  padding-right: 4%;
}

/*.srp_list li:not(:last-child) {
  border-bottom: var(--theme-border);
}*/

.tracklist-title {
  text-align: left;
  padding: 5px;
  color: var(--theme-black);
  display: inline-block;
  line-height: 1;
  font-size: 15px;
  font-weight: 700;
}

.woocommerce-product-attributes tbody {
  display: flex;
  flex-direction: column-reverse;
}

.woocommerce-product-attributes th {
  padding: 0.4em 0;
}

.woocommerce-product-attributes-item--attribute_pa_label {
  order: 6;
}

.woocommerce-product-attributes-item--sku{
  order: 5;
}

.woocommerce-product-attributes-item--attribute_pa_format{
  order: 4;
}

.woocommerce-product-attributes-item--attribute_pa_genere {
  order: 3;
}

.woocommerce-product-attributes-item--attribute_fecha {
  order: 2;
}

.woocommerce-product-attributes-item--attribute_pa_artist {
  display: none;
}

/* Orden detalles producto */

.single-product .woocommerce-product-details__short-description {
  order: 5;
}

.single-product .price {
  order: 6;
  margin-bottom: 0 !important;
}

.single-product .cart {
  order: 7;
  margin-bottom: 0 !important;
}

.single-product .stock.in-stock {
  order: 8;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: normal !important;
}

.single-product .stock.out-of-stock {
  order: 8;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: normal !important;
}

.single-product .nasa-single-share {
  order: 9;
  display: block !important;
  width: 100% !important;
  margin-top: 4px !important;
}

/* Ocultamos Size Guide en Vinyls */

.product_cat-vinyls .nasa-wrap-popup-nodes {
  display: none;
}

.order-total .includes_tax {
  display: none;
}

/* Ocultamos atributos duplicados producto categoría  */

.variations_form .woocommerce-product-attributes {
  display: none;
}

.nasa-widget-outner .count {
  display: none;
}

.product_cat-ropa-y-accesorios .woocommerce-product-attributes {
  margin-top: 20px;
}

.product_cat-ropa-y-accesorios .product-info .variations .reset_variations {
  bottom: -40px;
}

.product_cat-ropa-y-accesorios .variations_form .woocommerce-variation-add-to-cart {
  margin-top: 20px;
}

/* PÁGINA CONTACTO */

.page-id-253 .nasa-banner-gmap {
  display: none;
}

/* FOOTER */

footer #mc_embed_signup_scroll {
  display: flex;
  justify-content: flex-end;
  column-gap: 5px;
  border-bottom: 1px solid #ccc;
}

footer .mc-field-group {
  width: 100%;
}

footer #mce-EMAIL, 
footer #mc-embedded-subscribe {
  background-color: unset;
  border: none;
  margin-bottom: 0;
}

footer #mc-embedded-subscribe {
  color: #000;
  padding: 18px;
  letter-spacing: 0.2em;
  font-size: 15px;
}

#nasa-footer .nasa-inline-block .nasa-text-link {
  margin: 0 30px 0 0;
}

#nasa-footer p {
  line-height: 1.4;
}

#nasa-footer .social-icons {
  margin-top: -2px;
}

/* TABLET (768-1023px): cancela el grid del padre y activa flex (misma lógica que móvil) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .product-info.summary {
    display: flex !important;
    flex-flow: wrap !important;
    grid-template-columns: unset !important;
    column-gap: 0 !important;
    align-items: flex-start;
    gap: 0 !important;
  }
  /* Todos los hijos excepto tracklist, precio y carrito: ancho completo */
  .single-product .product-info.summary > *:not(article):not(.price):not(.cart) {
    grid-column: unset !important;
    width: 100%;
    margin-bottom: 0 !important;
  }
  /* Tracklist: sin margen extra arriba */
  .single-product .product-info.summary > article {
    grid-column: unset !important;
    grid-row: unset !important;
    max-height: unset !important;
    overflow-y: visible !important;
    width: 100%;
    order: 4;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .single-product .iron_widget_radio.playlist_enabled {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* Espacio entre título/artista y atributos */
  .single-product .woocommerce-product-attributes {
    margin-top: 16px !important;
  }
  /* Reducir espacio debajo de la tabla de atributos a la mitad */
  .single-product .woocommerce-product-attributes,
  .single-product .woocommerce-product-attributes table,
  .single-product .woocommerce-product-attributes tbody {
    margin-bottom: 8px !important;
  }
  .single-product .product-info.summary > article {
    margin-top: -8px !important;
  }
  /* Precio + unidades + botón: misma fila horizontal, bien alineados */
  body.single-product .product-info.summary > .price {
    order: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: fit-content !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    padding-right: 80px !important;
    white-space: nowrap;
  }
  body.single-product .product-info.summary > form.cart {
    order: 6 !important;
    width: auto !important;
    flex: 1 1 auto !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    align-self: center !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 30px !important;
    padding-right: 30px !important;
  }
  body.single-product .product-info.summary > form.cart .quantity {
    margin: 0 !important;
  }
  .single-product .stock.in-stock { order: 7; width: 100%; }
  .single-product .stock.out-of-stock { order: 7; width: 100%; padding: 0 !important; margin: 0 !important; }
  .single-product .nasa-single-share { order: 8; width: 100%; display: block !important; margin-top: 4px !important; }
}

@media only screen and (min-width: 768px){
.nasa-layout-classic > .nasa-single-product-slide {
  max-width: unset !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.product-info.summary {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: start;
  column-gap: 50px;
}

.single-product .product-info.summary > *:not(article) {
  grid-column: 1;
  margin-left: 0;
}

.single-product .product-info.summary > article {
  grid-column: 2;
  grid-row: span 6;

  max-height: min(550px, 55vh);
  overflow-y: auto;
  padding-right: 8px;
}



.nasa-reset-filters-btn {
  text-align: left !important;
  width: 80px;
}

.sort-bar-text, 
.nasa-any-text {
  display: none !important;
}

/* === INICIO: Reglas barra de filtros WooCommerce (importación incremental desde style_old.css, enero 2026) === */

/* Bloque 1: Elimina el borde de los widgets de la barra superior de filtros de WooCommerce para un look más limpio */
/*.nasa-topbar-wrap-content-default .nasa-widget-outner{
  border:none;
}

/* Bloque 2: Estiliza el select de orden de productos en la barra de filtros (borde, padding, fondo negro, texto blanco, elimina estilos nativos del navegador) */
.nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-filter-order .select-wrapper .orderby{
  opacity: 1 !important;
  font-family: arial;
  padding: 10px 20px 0px 20px !important;
  margin-top: 0;
}

/* Bloque 3: Aplica borde personalizado al botón de alternar filtros (toggle) en la barra de filtros superior de WooCommerce */
/*.nasa-widget-avatar.nasa-widget-toggle .nasa-event-click {
  border: var(--theme-border) !important;
}

/* Bloque 4: Ajusta la altura máxima y el padding del botón de alternar filtros (toggle) para mejorar la usabilidad y el aspecto visual */
/*.nasa-widget-avatar.nasa-widget-toggle {
  max-height: 42px;
  padding: 10px;
}

/* Bloque 5: Ajusta el margen superior y el interlineado de la pestaña de filtros superior para que quede alineada y más compacta */
/*.nasa-tab-filter-topbar {
  line-height: 1.5 !important;
  margin-top: 0 !important;
}*/

/* Bloque 6: ajuste q desplaza las sub generos del filyto de generos en vinilo NO HABILITAR DESPLAZA LOS GENEROS */
/*.nasa-any-active-top.nasa-variations-default-active {
  margin-top: 25px !important;
  z-index: 1 !important;
  min-width: 500px;
  position: absolute;
}

/* Bloque 7: Hace que el widget de filtros activo tenga un z-index alto y un alto máximo con scroll, para que los filtros largos no desborden y siempre sean accesibles visualmente */
/*.nasa-widget-wrap.nasa-active {
  z-index:2;
  max-height: 60vh;
  overflow-y: scroll;
}

/* Mejora visual (solo barra superior de filtros): panel más limpio y profesional */
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active {
  z-index: 20;
  max-height: min(60vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* Un poco más de margen a la izquierda dentro del panel desplegable */
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active .widget,
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active .widget.woocommerce {
  padding-left: 35px;
}

/* Scrollbar fino y discreto */
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active {
  scrollbar-width: thin;
  scrollbar-color: #cfcfcf transparent;
}
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active::-webkit-scrollbar {
  width: 8px;
}
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 8px;
}
.nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-widget-wrap.nasa-active::-webkit-scrollbar-track {
  background: transparent;
}

/* Personalización extra para el Bloque 7: al pasar el ratón por las subcategorías, el texto se pone rojo como en la categoría padre */
.nasa-widget-wrap.nasa-active .nasa-widget-filter-cats-topbar .cat-item:hover > a,
.nasa-widget-wrap.nasa-active .nasa-widget-filter-cats-topbar .current-cat > a {
  color: #c00 !important;
}

/* Alternativa visual: flecha al final del texto en hover/activo dentro del filtro de género */
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations::after {
  content: " ›";
  display: inline-block;
  margin-left: 6px;
  opacity: 0;
  color: #c00 !important;
  font-weight: bold;
}

.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations:hover::after,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations:focus::after,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations.nasa-filter-var-chosen::after,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations[aria-current="true"]::after {
  opacity: 1;
}

.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations:hover,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations:focus,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations.nasa-filter-var-chosen,
.nasa-topbar-wrap-content-default .nasa-filter-variations-widget-wrap .nasa-filter-by-variations[aria-current="true"] {
  color: #c00 !important;
}

/* Fallback móvil: algunos layouts no usan .nasa-filter-variations-widget-wrap */
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations:hover,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations:focus,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations.nasa-filter-var-chosen,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations[aria-current="true"],
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations:hover,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations:focus,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations.nasa-filter-var-chosen,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations[aria-current="true"] {
  color: #c00 !important;
}

.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations.nasa-filter-var-chosen::after,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations[aria-current="true"]::after,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default a.nasa-filter-by-variations:focus::after,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations.nasa-filter-var-chosen::after,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations[aria-current="true"]::after,
.nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active .nasa-variations-default-active a.nasa-filter-by-variations:focus::after {
  opacity: 1;
}

/*
  // Se ha revertido el último intento con CSS, ya que el problema parece ser de JavaScript.
  // Por favor, usa las herramientas de desarrollador (F12) para inspeccionar el elemento
  // en estado :hover y verificar si hay un 'element.style' o un script aplicando el color.
*/

/* Bloque 8: Añade un icono personalizado (flecha) al select de orden de productos usando la fuente Pe-icon-7-stroke, alineado a la derecha y centrado verticalmente, para mejorar la usabilidad visual del select */
/*.nasa-widget-filter-order .select-wrapper:before {
  content: "\e688";
  font-family: 'Pe-icon-7-stroke';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: var(--theme-white);
  z-index: 1;
}

/* Bloque 9: Añade padding vertical al widget de orden de productos para separar visualmente el select del resto de la barra de filtros */
/*.nasa-widget-avatar.nasa-widget-filter-order {
  padding: 20px 0;
}

/* Bloque 10: Alinea el texto de la información de productos mostrados (por ejemplo, 'Mostrando 1–12 de 50 resultados') a la derecha en la barra de filtros */
.showing_info_top {
  text-align: right;
  font-size: 14px !important;
  font-family: arial !important;
  margin: 0px !important;
  padding: 5px !important;
  }

/* Bloque 11: Hace que el select de orden de productos ocupe el 100% del ancho disponible en la barra de filtros, facilitando su interacción en pantallas grandes o con muchos filtros */
.woocommerce-ordering {
  width: 100%;
}

/* === FIN bloques importados === */

/* Playlist */

#sonaar-player .playlist {
  width: 30%;
  background-color: var(--theme-black);
  height: 60vh;
  bottom: 0;
}

#sonaar-player {
  background-color: transparent !important;
}

#sonaar-player .sricon-close {
  left: 25%;
  bottom: 52vh;
  top: unset;
}

#sonaar-player.show-list {
  height: unset;
}

#sonaar-player .playlist .title {
  font-size: 1.5rem;
}

#sonaar-player .playlist .scroll {
  height: calc(60vh - 120px);
  top: 30px;
}

.trackscroll .track-album {
  display: none !important;
}

#sonaar-player .playlist .tracklist li {
  line-height: 1.8em;
  font-weight: 400;
  font-size: 16px;
}

#nasa-footer .desktop-padding-top-50 {
  padding-top: 80px !important;
}

/* Página tienda categoría ropa / equipamiento  
   Este bloque solo se aplica en páginas de categoría de producto (tax-product_cat).
   - Selecciona los tres primeros filtros de la barra superior de WooCommerce.
   - Les añade un margen superior de 20px para separarlos del borde.
   - Limita su ancho máximo a 200px para que no desordenen la barra.
   Resultado: los filtros se ven más alineados, ordenados y con espacio arriba en la barra de categorías. */
.tax-product_cat .nasa-top-row-filter .slick-track .slick-slide:first-child, 
.tax-product_cat .nasa-top-row-filter .slick-track .slick-slide:nth-child(2), 
.tax-product_cat .nasa-top-row-filter .slick-track .slick-slide:nth-child(3){
  max-width: 200px;
}

.nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:before, 
.nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:after {
  right: 20px;
  
}

}

/* Vinilos: resumen de genero seleccionado debajo de la topbar */
body.palma-vinilos .palma-genre-summary-row {
  margin: 16px 0 18px;
  position: relative;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Vinilos: ocultar listado de filtros seleccionados en topbar (solo visual) */
body.palma-vinilos .nasa-top-row-filter-type-1 .nasa-any-active-top {
  display: none !important;
}

body.palma-vinilos .palma-genre-summary {
  text-align: center;
  font-size: clamp(18px, 3.4vw, 35px);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  pointer-events: none !important;
  margin-bottom: -10px;
}

@media (max-width: 1024px) {
  body.palma-vinilos .palma-genre-summary {
    font-size: clamp(18px, 4.6vw, 28px);
  }
}

@media (max-width: 767px) {
  body.palma-vinilos .palma-genre-summary {
    font-size: clamp(16px, 6.2vw, 22px);
  }
}

body.palma-vinilos .palma-genre-summary.is-empty {
  display: none;
}

body.palma-vinilos .palma-genre-link {
  position: relative;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #111;
  font: inherit;
  text-transform: none;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto !important;
}

body.palma-vinilos .palma-genre-link:hover,
body.palma-vinilos .palma-genre-link:focus {
  color: #c00;
  text-decoration: none;
  outline: none;
}

body.palma-vinilos .palma-genre-sep {
  color: #111;
  margin: 0 6px;
}

body.palma-vinilos .palma-genre-close {
  font-size: 0.7em;
  margin-left: 8px;
  vertical-align: middle;
}

/* Vinilos: feedback sutil al cargar filtros (mensaje + progress bar, sin bloquear filtros) */
.palma-grid-loading-message {
  display: none;
}

body.palma-vinilos .palma-grid-loading-message {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #666;
  margin: 12px 0 18px;
}

body.palma-vinilos.palma-grid-loading .palma-grid-loading-message {
  display: block;
}

body.palma-vinilos.palma-grid-loading .nasa-archive-product-warp {
  position: relative;
  overflow: visible;
}

body.palma-vinilos.palma-grid-loading .nasa-archive-product-warp::before {
  content: none;
  display: none !important;
  background: none !important;
}

body.palma-vinilos.palma-grid-loading .nasa-archive-product-warp::after {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
  height: 2px;
  width: 30%;
  background: #111;
  animation: palmaProgress 1.1s ease-in-out infinite;
}

/* Vinilos: ocultar la barra de progreso nativa del theme (evitar doble línea) */
body.palma-vinilos .nasa-progress-bar-load-shop {
  display: none !important;
}

@keyframes palmaProgress {
  0% { transform: translateX(-40%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(220%); }
}



/* Vinilos: evitar solape del "+" y compactar texto sin romper el carrusel */
body.palma-vinilos .nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle {
  padding: 16px 28px 16px 12px;
}

body.palma-vinilos .nasa-topbar-wrap-content-default .nasa-widget-avatar .nasa-tab-filter-topbar {
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  padding-right: 20px;
}

body.palma-vinilos .nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:before,
body.palma-vinilos .nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:after {
  right: 14px;
}

/* Vinilos: alinear "Filtrar por género" con el resto (elimina margen extra de active-top) */
body.palma-vinilos .nasa-topbar-wrap-content-default .palma-genre-filter .nasa-any-active-top {
  margin-top: 0;
}

/* Vinilos: bajar el título del filtro de género para alinearlo con el resto */
body.palma-vinilos .nasa-topbar-wrap-content-default .palma-genre-filter .nasa-tab-filter-topbar {
  margin-top: 9px;
}

body.palma-vinilos .nasa-top-row-filter-type-1 .slick-slide {
  width: max-content;
}

/* Evitar lista de géneros seleccionados cuando el filtro viene de presets */
body.palma-preset-genre .nasa-top-row-filter-type-1 .palma-genre-filter .nasa-any-active-top {
  display: none !important;
}


/* Ocultar "Showing results" en tienda/categorías */
body.post-type-archive-product .showing_info_top,
body.tax-product_cat .showing_info_top {
  display: none !important;
}

/*
RESPONSIVE (MÓVIL) - BLOQUE IMPORTADO DE STYLE_OLD.CSS
Afecta a: menú móvil, logo, barra superior, barra de filtros WooCommerce, productos, carrito, footer y ajustes de padding/márgenes en móvil.
Probar por partes y revisar visualmente tras cada cambio.
*/

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

.mobile-menu tr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.mobile-menu td.nasa-td-20 {
  width: unset;
}

/* Menú móvil: panel blanco más estrecho y con altura adaptable */
#nasa-menu-sidebar-content.nasa-light-new,
#nasa-menu-sidebar-content.nasa-light {
  width: 320px;
  max-width: 82vw;
  top: 0;
  bottom: auto;
  max-height: 98vh;
}

#nasa-menu-sidebar-content.nasa-light-new .nasa-mobile-nav-wrap,
#nasa-menu-sidebar-content.nasa-light .nasa-mobile-nav-wrap {
  height: auto;
  max-height: 98vh;
  overflow-y: auto !important;
  padding-bottom: 50px;
}

body #masthead .logo-wrapper .logo img {
  height: 60px !important;
  width: 60px !important;
  max-height: 60px !important;
}

body .nasa-header-sticky .fixed-already #masthead .logo-wrapper .logo img {
  max-width: 60px;
}

#top-bar {
  display: block;
}

#top-bar .nasa-menus-account {
  display: none;
}

#top-bar .wpml-ls-legacy-list-horizontal a {
  padding-right: 0;
}

.product-info.summary.entry-summary {
  display: flex;
  flex-flow: wrap;
}

/* Título y artista: cada uno en su propia línea en móvil */
.single-product .product_title.entry-title,
.single-product h3.artista {
  width: 100%;
  flex-basis: 100%;
}

.single-product .iron_widget_radio.playlist_enabled {
  order: 4;
}

#main-content .product-page .nasa-product-details-page .product-gallery {
  padding-left: 10px;
}

.single-product .woocommerce-product-details__short-description, 
.single-product .cart {
  width: 100%;
}

.single-product .row.row-product {
  padding-left: 4%;
}

.iron-audioplayer.show-playlist .playlist{
  width: 100%;
}

.product-item .info{
  min-height: unset;
}

.product-item .info .product-summary{
  position: static !important;
  top: auto !important;
  background-color: unset !important;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 6px;
}

.product-item .info .product-summary .product-interactions .btn-link .pe-icon{
  color: var(--theme-black);
}

.product-item .info .info_main {
  display: none;
}

body .product-item .info .price {
  height: unset;
}

.large-3.small-6.direccion-footer.nasa-col.columns {
  padding-left: 10px !important;
}

.large-6.vc_custom_1750865281174.nasa-col.columns {
  margin-bottom: 30px !important;
  margin-top: unset !important;
  padding-top: 30px;
}

.tracklist-title {
  padding-left: 0;
}

.single-product .cart {
  text-align: right;
  width: 70% !important;
  margin-top: 0;
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: flex-end;
  column-gap: 12px;
  align-items: center;
  margin-left: auto;
  margin-right: 0;
}

.single-product .cart .quantity,
.single-product .cart .single_add_to_cart_button {
  justify-self: start;
}

.single-product .cart .quantity .qty {
  width: 72px !important;
}

.single-product .cart .single_add_to_cart_button {
  width: auto;
  min-width: 0;
}

.product .quantity input {
  width: 80px !important;
}


.post-type-archive-product .nasa-topbar-wrap-content-default {
  padding: 10px;
}

.nasa-topbar-wrap-content-default {
  height: auto; 
  padding: 0 10px;
}

.post-type-archive-product .nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:before, 
.post-type-archive-product .nasa-topbar-wrap-content-default .nasa-widget-avatar.nasa-widget-toggle:after {
  top: 50px;
}

.page-id-253 .large-7, 
.page-id-5013 .large-7 {
  margin-top: 30px;
}

  /* TOPBAR MÓVIL: dropdown con scroll y estados activos en rojo */
  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active,
  .nasa-topbar-wrap-content .nasa-widget-wrap.nasa-active {
    max-height: 60vh;
    overflow-y: auto;
  }

  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active a.nasa-filter-by-variations::after {
    content: " ›";
    display: inline-block;
    margin-left: 6px;
    color: #c00 !important;
    font-weight: bold;
    opacity: 0;
  }

  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active a.nasa-filter-by-variations:active,
  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active a.nasa-filter-by-variations.nasa-filter-var-chosen,
  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active li.nasa-filter-var-chosen > a {
    color: #c00 !important;
  }

  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active a.nasa-filter-by-variations:active::after,
  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active a.nasa-filter-by-variations.nasa-filter-var-chosen::after,
  .nasa-topbar-wrap-content-default .nasa-widget-wrap.nasa-active li.nasa-filter-var-chosen > a::after {
    opacity: 1;
  }

  /* Vinilos móvil: el título del preset NO va en rojo */
  body.palma-vinilos .nasa-tab-filter-topbar.palma-preset-toggle.nasa-active,
  body.palma-vinilos .nasa-widget-toggle.palma-preset-toggle.nasa-active .nasa-tab-filter-topbar {
    color: inherit !important;
  }

/* Mis pedidos: separar botones "ver" y "pagar" */
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px !important;
}
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .woocommerce-button {
  float: none !important;
  margin: 0 8px 8px 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .button:last-child,
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child {
  margin-right: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-orders .woocommerce-orders-table__cell-order-actions a + a {
  margin-left: 8px !important;
}

/* Corrección: cierre de llave faltante para finalizar el CSS correctamente */
}

/* TABLET: botones de acción del producto (vista rápida, wishlist, carrito) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .product-item .info .product-summary {
    position: static !important;
    top: auto !important;
    background-color: unset !important;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 6px;
  }
}

/* DESKTOP (1024px+): Precio + cantidad + botón en una fila (using grid-row posterior) */
@media only screen and (min-width: 1024px) {
  body.single-product .product-info.summary > .price {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    white-space: nowrap;
    margin-right: 0.6rem !important;
    padding-right: 0 !important;
    grid-column: 1;
    grid-row: 8;
  }
  
  body.single-product .product-info.summary > form.cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: 1;
    grid-row: 8;
    margin-left: auto !important;
  }
  
  body.single-product .product-info.summary > form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  body.single-product .product-info.summary > form.cart .quantity .qty {
    width: 72px !important;
    min-width: 72px !important;
  }

  body.single-product .product-info.summary > form.cart .single_add_to_cart_button {
    min-width: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .single-product .stock.in-stock { 
    grid-column: 1;
    grid-row: 9;
  }
  
  .single-product .stock.out-of-stock { 
    grid-column: 1;
    grid-row: 9;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .single-product .nasa-single-share {
    grid-column: 1;
    grid-row: 10;
    display: block !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
}

/* BOTÓN MOSTRAR CONTRASEÑA - CON TEXTO */
.woocommerce form .show-password-input {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  font-size: 15px !important;
  color: #fff !important;
}

.woocommerce form .show-password-input::before {
  content: "Mostrar contraseña" !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  background-image: none !important;
  margin-right: 0;
  text-transform: none !important;
}
