﻿/*
Theme Name: Palancia Web Shop
Author: GNDR
Text Domain: palancia-shop
*/
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=TASA+Orbiter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Object+Sans:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700;1,900&display=swap');


@font-face {
    font-family: 'n Nande Regular';
    font-style: normal;
    font-weight: normal;
    src: local('n Nande Regular'), url('fonts/Nande-q2BYr.woff') format('woff');
    }

/* Overlay del nombre en el grid */
.product-overlay span {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-overlay .product-title {
  display: block;
}

.product-overlay .product-price {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 400;
}

/* Precio */
.prs-product-info .price {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Botón ADD TO CART */
.prs-product-info .single_add_to_cart_button {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Links "informativos" */
.prs-product-info .extra-links a {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ===== RESET BÁSICO ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Evita que el layout “salte” al aparecer/desaparecer la scrollbar */
html {
  overflow-y: scroll;           /* fallback universal */
  scrollbar-gutter: stable;     /* navegadores modernos */
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #000000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Quitar subrayado al hacer focus, ya lo controlaremos con estilos propios */
a:focus {
  outline: none;
}

/* ===== HEADER ===== */

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--adminbar-height) var(--side-padding) 0;
  background-color: #ffffff;
  border-bottom: none;
  position: relative;
  height: calc(var(--header-height) + var(--adminbar-height));
}


.site-header .logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-header .logo img {
  max-height: 100px;
  width: auto;
}


.site-header .header-cart {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.site-header .header-cart a {
  text-decoration: none;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Contador inline a la izquierda del icono */
.header-cart .cart-count-inline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: #233549;
}


/* Estilos para el contador de artículos en el carrito */

.header-cart .cart-count {
  font-size: 14px; /* Tamaño del texto */
  color: white; /* Color blanco para el texto */
  background-color: #233549; /* Fondo azul "palancia" */
  border-radius: 50%; /* Forma circular */
  padding: 2px 6px; /* Espaciado interno */
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%); /* Posicionamiento */
}

@media (max-width: 768px) {
  .site-header .logo img {
    max-height: 72px;
    width: auto;
    height: auto;
  }
}

/* Contenedor principal */

.site-main {
  margin: 0;
  padding: 0;
  display: block;
  flex: 1 0 auto;
}

/* ===== HOME: GRID DE PRODUCTOS ===== */

.home-products {
  padding: 0rem var(--side-padding) 2rem;
}

.home-products-container {
  display: grid;
  grid-template-columns: 2fr 6fr 2fr; /* Columnas izquierda (filtros), grid, derecha (vacío) */
  gap: 24px; /* Margen entre columnas */
  padding: 0px;
  align-items: start; 
  min-height: auto;
}

/* Filtros (HOME y PRODUCTO comparten estilos) */

.product-filters,
.prs-product-left-nav {
  grid-column: 1;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

:root {
  --header-height: 100px;
  --side-padding: 2.5rem;
  --adminbar-height: 0px;
  /* Fuente anterior guardada para referencia */
  --font-brand: "n Nande Regular", sans-serif;
  --font-body: "Object Sans", sans-serif;
}
body.admin-bar {
  --adminbar-height: 32px;
}
@media (max-width: 782px) {
  body.admin-bar {
    --adminbar-height: 46px;
  }
}

.product-filters,
.prs-product-left-nav {
  position: sticky;
  top: calc(var(--header-height) + var(--adminbar-height));
}

.product-filters h2,
.prs-product-left-nav h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-filters ul,
.prs-product-left-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-filters li,
.prs-product-left-nav li {
  margin-bottom: 3px;
}

.product-filters a,
.prs-product-left-nav a {
  text-decoration: none;
  color: #233549; /* Azul "palancia" */
  text-align: right;
  display: block;
  font-family: var(--font-brand);
  font-weight: 500;
  margin-right: 0;
  transition: color 0.3s ease;
  font-optical-sizing: auto;
  font-style: normal;
  letter-spacing: normal;
  font-size: 1.4rem;
}

.product-filters a:hover,
.prs-product-left-nav a:hover {
  color: #919aa4; /* Azul "palancia" clarito al pasar el ratón */
}

/* Estado activo para filtros (categoría y talla) */
.product-filters a.is-active,
.prs-product-left-nav a.is-active {
  text-decoration: none;
  color: #000000;
  font-weight: 700;
}

.product-filters a.is-active::after,
.prs-product-left-nav a.is-active::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #000000;
  margin-left: 8px;
  transform: translateY(-1px);
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 productos por fila */
  column-gap: 0; /* Sin margen horizontal entre productos */
  row-gap: 24px; /* 30px de margen vertical entre filas */
}

.home-products-grid p {
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  :root {
    --side-padding: 1rem;
  }

  .home-products-container {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 8fr) minmax(200px, 1fr);
    gap: 16px;
  }

  .product-filters,
  .prs-product-left-nav {
    justify-self: start;
  }

  .product-filters a,
  .prs-product-left-nav a {
    text-align: right;
  }
}

/* Producto en la home */

.product-item {
  position: relative;
  display: block;
  text-align: center;
  border: none;
  border-radius: 0; /* Sin bordes redondeados */
  overflow: hidden;
  transition: transform 0.3s;
}

.product-item img {
  width: 100%;
  height: auto;
  display: block; /* Asegura que la imagen ocupe todo el espacio */
  transition: opacity 0.3s; /* Transición para el efecto de difuminado */
}

.product-item:hover img {
  opacity: 0.3; /* Mayor opacidad para el efecto de difuminado blanco */
}

.product-overlay {
  color: #000; /* Texto negro */
  font-weight: 400;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrar el texto */
  width: 100%;
  text-align: center;
  opacity: 0; /* Ocultar inicialmente */
  transition: opacity 0.3s; /* Transición para el overlay */
}

.product-item:hover .product-overlay {
  opacity: 1; /* Mostrar el overlay al pasar el ratón */
}

/* Overlay con el nombre del producto */

.product-overlay span {
  color: #000;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}


/* Ajuste general: suavizado tipográfico */
.product-filters a,
.prs-product-left-nav a,
.product-overlay span,
.product-overlay .product-title,
.product-overlay .product-price,
.prs-product-info .product_title,
.prs-product-info .price,
.prs-product-info .single_add_to_cart_button,
.prs-product-info .extra-links a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive tablet: 4 columnas aprox */
@media (min-width: 769px) and (max-width: 1100px) {
  .home-products-container {
    display: block;
  }
  .home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Responsive móvil */
@media (max-width: 768px) {
  :root {
    --side-padding: 0.75rem;
  }

  .home-products {
    padding: 0 var(--side-padding) 1.5rem;
  }

  .home-products-container,
  .prs-product-page {
    display: block;
  }

  .home-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-item {
    position: relative;
  }

  .product-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Overlay se convierte en bloque bajo la imagen */
  .product-overlay {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0.5rem 0;
  }

  .product-overlay span {
    font-size: 0.9rem;
  }

  .prs-product-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 var(--side-padding) 3rem;
  }

  .prs-product-left-nav {
    display: none;
  }

  .prs-product-gallery-wrapper {
    width: 100%;
  }

  .prs-product-gallery {
    max-width: 520px;
    margin: 0 auto;
    touch-action: none;
  }

  .prs-product-nav {
    display: none;
  }

  .prs-product-info {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .prs-product-info .product_title {
    font-size: 1.25rem;
    order: 1;
  }

  .prs-product-size {
    display: none;
  }

  .prs-product-info .price {
    margin-bottom: 0.6rem;
    order: 2;
  }

  .prs-product-info .cart {
    margin: 0.5rem 0 1.2rem;
    order: 3;
  }

  .prs-product-long-description {
    order: 4;
  }

  .prs-product-long-description {
    margin: 1rem auto 0;
    max-width: 34ch;
    text-align: left;
  }

  .prs-product-info .extra-links {
    order: 5;
  }
}

/* ===== PÁGINA DE PRODUCTO INDIVIDUAL ===== */

/* Layout general de producto: 3 columnas */

.prs-product-page {
  margin: 0;
  padding: 0 var(--side-padding) 4rem;
  display: grid;
  grid-template-columns: 2fr 4fr 2fr 2fr; /* filtro / imagen / info / carrito */ 
  gap: 24px; /* Margen entre columnas */
  align-items: flex-start;
  min-height: auto;
  
}

/* ==== COLUMNA centro (IMAGEN PRINCIPAL) ==== */

.prs-product-gallery-wrapper {
  grid-column: 2;
  width: 100%;
}

.prs-product-gallery {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 1 / 1;   /* Mantener proporción cuadrada */
}

.prs-product-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.prs-product-slide.is-active {
  opacity: 1;
}

.prs-product-gallery.is-swipe-up .prs-product-slide.is-active {
  transform: translateY(-16px);
  opacity: 0;
}

.prs-product-gallery.is-swipe-down .prs-product-slide.is-active {
  transform: translateY(16px);
  opacity: 0;
}

.prs-product-slide.is-swipe-left {
  transform: translateX(-16px);
  opacity: 0;
}

.prs-product-slide.is-swipe-right {
  transform: translateX(16px);
  opacity: 0;
}

.prs-product-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.prs-product-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.prs-product-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cfd4da;
  cursor: pointer;
}
.prs-product-dot.is-active {
  background: #233549;
}

/* Botones de navegación: franja alta, dentro de la imagen */
.prs-product-nav {
  position: absolute;
  top: 0;
  bottom: 0;          /* ocupa toda la altura de la imagen */
  width: 3rem;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flechas pegadas al borde interior de la imagen */
.prs-prev { left: 0; }
.prs-next { right: 0; }

/* Sin cambio de color al pasar el ratón */
.prs-product-nav:hover {
  background: transparent;
}

/* ==== COLUMNA DERECHA (TEXTO) ==== */

.prs-product-info {
  grid-column: 3;
  max-width: none;
  padding: 2rem 0 2rem 2rem;
  text-align: left;
}

/* Título */
.prs-product-info .product_title {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-family: var(--font-brand);
  font-weight: 500;
}

/* Precio */
.prs-product-info .price {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
  color: #233549;
}

.prs-product-info .price .woocommerce-Price-amount,
.prs-product-info .price ins,
.prs-product-info .price del {
  color: #233549;
}

/* icon moved into the add-to-cart button */

/* Descripcion */
.prs-product-long-description {
  margin: 0 0 1.2rem;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  font-family: var(--font-body);
  font-weight: 400;
}

.prs-product-long-description ul {
  list-style: disc;
  padding-left: 1.1rem;
}

.prs-product-long-description li {
  margin: 0.15rem 0;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* Botón ADD TO CART */
.prs-product-info .cart {
  margin: 1rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.prs-product-info .single_add_to_cart_button {
  background: transparent !important;
  background-image: none !important;
  color: #233549 !important;
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-size: 0 !important;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.prs-product-info .single_add_to_cart_button::before,
.prs-product-info .single_add_to_cart_button::after {
  content: "";
  width: 22px;
  height: 22px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.2s ease, transform 0.25s ease;
  opacity: 1;
}

.prs-product-info .single_add_to_cart_button::before {
  background-image: url("assets/icons/add_icon.svg");
}

.prs-product-info .single_add_to_cart_button::after {
  background-image: url("assets/icons/check-animado.webp");
  opacity: 0;
}

.prs-product-info .single_add_to_cart_button.is-added::before {
  opacity: 0;
}

.prs-product-info .single_add_to_cart_button.is-added::after {
  opacity: 1;
}

.prs-product-info .single_add_to_cart_button:hover {
  box-shadow: 0 6px 16px rgba(35,53,73,0.18);
  transform: translateY(-1px);
}

.prs-product-info .single_add_to_cart_button:hover::before {
  animation: cart-pop 0.35s ease;
}

.prs-product-info .single_add_to_cart_button:active {
  transform: translateY(0);
}

@keyframes cart-pop {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Enlaces informativos */
.prs-product-info .extra-links a {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  text-decoration: underline;
}



/* ===== LIMPIEZA DE ELEMENTOS WOOCOMMERCE ===== */

/* Ocultar galería nativa de WooCommerce por si algo se cuela */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery .flex-control-nav,
.woocommerce-product-gallery__trigger {
  display: none !important;
}

/* Ocultar sidebar de WooCommerce por si aparece */
.woocommerce-sidebar,
.woocommerce .widget-area,
.woocommerce-page .widget-area {
  display: none !important;
}
/* Desactivar tabs, relacionados, sidebars */
.woocommerce-tabs,
.related,
.upsells,
.woocommerce-sidebar {
  display: none !important;
}



.prs-product-extra {
  grid-column: 1 / -1;   /* ocupa todo el ancho debajo si algún día lo usas */
  margin-top: 2rem;
}

/* ===== MODO ZOOM PRODUCTO ===== */

body.prs-zoom-open {
  overflow: hidden; /* que no se mueva el fondo */
}

.prs-zoom-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  padding: 2rem 0 3rem;
}

.prs-zoom-inner {
  max-width: 900px;
  margin: 0 auto;
}

.prs-zoom-inner img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.prs-zoom-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.8rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== CART PAGE ===== */
.pal-cart-wrapper {
  max-width: 1080px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.pal-cart-empty {
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.pal-cart-empty-title {
  font-family: "Inria Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pal-cart-empty-message {
  margin: 70px 0 60px;
  text-align: center;
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pal-cart-summary-list {
  display: grid;
  gap: 12px;
}

.pal-cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pal-cart-summary-row.is-total {
  font-weight: 800;
}

.pal-cart-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
}

.pal-cart-thumb img {
  width: 110px;
  height: auto;
  object-fit: contain;
  display: block;
}

.pal-cart-main {
  flex: 1;
}

.pal-cart-title {
  font-family: "Inria Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.25;
}

.pal-cart-title a {
  color: inherit;
  text-decoration: none;
}

.pal-cart-title a:hover {
  text-decoration: underline;
}

.pal-cart-meta {
  margin-top: 6px;
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
}

.pal-cart-meta .variation,
.pal-cart-meta .wc-item-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pal-cart-meta .wc-item-meta li,
.pal-cart-meta .variation dt,
.pal-cart-meta .variation dd {
  display: inline;
  margin: 0;
}

.pal-cart-meta .variation dt::after {
  content: ": ";
}

.pal-cart-meta .variation dd {
  margin-right: 6px;
}

.pal-cart-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 160px;
}

.pal-cart-remove {
  background: #000;
  color: #fff;
  text-transform: uppercase;
  font-family: "Inria Sans", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.pal-cart-remove:hover {
  color: #fff;
  opacity: 0.9;
}

.pal-cart-price {
  font-family: "Inria Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.pal-cart-price--mobile {
  display: none;
  margin-top: 10px;
}

.pal-cart-summary {
  max-width: 480px;
  margin: 30px auto 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 20px;
}

.pal-cart-subtotal {
  font-family: "Inria Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pal-cart-subtotal .amount {
  font-size: 1rem;
}

.pal-cart-terms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.pal-cart-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.pal-cart-terms input[type="checkbox"]:checked {
  background: #000;
}

.pal-cart-terms input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
}

.pal-cart-terms a {
  color: #000;
}

.pal-cart-checkout {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Inria Sans", sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pal-cart-checkout:hover {
  color: #fff;
  opacity: 0.9;
}

.pal-cart-checkout.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pal-cart-note {
  font-family: "Inria Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a7a7a;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pal-cart-note .note-secondary {
  font-size: 0.7rem;
}

.pal-cart-hidden-actions {
  display: none;
}

@media (max-width: 768px) {
  .pal-cart-wrapper {
    padding: 0 16px;
  }

  .pal-cart-item {
    flex-direction: column;
  }

  .pal-cart-thumb img {
    width: 140px;
  }

  .pal-cart-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pal-cart-price {
    text-align: right;
  }

  .pal-cart-price--mobile {
    display: block;
  }

.pal-cart-price:not(.pal-cart-price--mobile) {
    display: none;
  }

  .pal-cart-remove {
    padding: 10px 16px;
  }
}

/* ===== WOOCOMMERCE NOTICES ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid #111;
  background: #f8f8f8;
  color: #111;
  border-radius: 0;
  font-family: "Inria Sans", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  color: #111;
}


/* Override carrito icon color: azul Palancia */
.header-cart .cart-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  background-color: #233549;
  -webkit-mask-image: url('assets/icons/carrito.png');
  mask-image: url('assets/icons/carrito.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #ffffff;
  padding: 1.5rem 2.5rem;
  text-align: center;
  font-family: "Object Sans", sans-serif;
  font-size: 0.9rem;
  color: #233549;
}
.site-footer .footer-container {
  max-width: 1080px;
  margin: 0 auto;
}
.site-footer p {
  margin: 0;
}
.site-footer .footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.site-footer .footer-navigation a {
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-footer .footer-navigation a:hover {
  color: #000000;
}

/* ===== CONTACT PAGE ===== */
.prs-contact {
  padding: 4rem var(--side-padding);
}

.prs-contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

.prs-contact-title {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.prs-contact-intro {
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.prs-contact-content {
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
}

.prs-contact-form {
  display: grid;
  gap: 1rem;
}

.prs-contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.prs-contact-form input,
.prs-contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #111;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.prs-contact-submit {
  background: #111;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
}

.prs-contact-notice {
  padding: 0.75rem 1rem;
  border: 1px solid #111;
  font-family: var(--font-body);
  margin: 0 0 1rem;
}

.prs-contact-notice.is-success {
  background: #f2f2f2;
}

.prs-contact-notice.is-error {
  background: #fff0f0;
}
/* Responsive footer */
@media (max-width: 600px) {
  .site-footer .footer-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== SINGLE PRODUCT MOBILE STACK ===== */
@media (max-width: 768px) {
  .prs-product-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0 var(--side-padding) 2rem;
  }

  .prs-product-left-nav {
    display: none;
  }

  .prs-product-gallery-wrapper,
  .prs-product-info,
  .prs-product-extra {
    width: 100%;
    grid-column: auto;
  }

  .prs-product-gallery {
    max-width: 460px;
    margin: 0 auto;
    touch-action: none;
  }

  .prs-product-dots {
    margin-top: 6px;
  }

  .prs-product-nav {
    display: none;
  }

  .prs-product-info {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .prs-product-info .product_title {
    font-size: 1.5rem;
    line-height: 1.15;
    margin: 0;
    order: 1;
  }

  .prs-product-size {
    display: none;
  }

  .prs-product-long-description {
    order: 2;
    margin: 0.25rem auto 0;
    max-width: 92%;
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .prs-product-long-description ul {
    padding-left: 1rem;
  }

  .prs-product-info .price {
    order: 3;
    margin: 0.15rem 0 0.2rem;
    font-size: 0.95rem;
  }

  .prs-product-info .cart {
    order: 4;
    margin: 0.2rem 0 0.7rem;
  }

  .prs-product-info .extra-links {
    order: 5;
  }
}




/* Neutralizar empuje de la admin bar de WordPress */
html {
  margin-top: 0 !important;
}
body.admin-bar {
  margin-top: 0 !important;
}

/* =============================
   Menú filtro móvil categorías
   ============================= */
@media (max-width: 900px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    justify-content: center;
    padding: var(--adminbar-height) 0.5rem 0;
    border-bottom: none;
    box-shadow: none;
  }

  .site-header .logo {
    justify-self: center;
  }

  .site-header .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .logo img {
    max-height: 88px;
    width: auto;
  }

  .single-product .site-header .logo img {
    max-height: 88px;
  }

  .site-header .header-cart {
    position: static;
    transform: none;
    justify-self: end;
  }

  .mobile-filter-btn {
    position: static;
    z-index: 1001;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 52px;
    height: 52px;
    color: #233549;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    justify-self: start;
  }
  .mobile-filter-icon {
    width: 44px;
    height: 44px;
    display: block;
    background-image: url("assets/icons/menu_icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .mobile-filter-menu {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
  }
  .mobile-filter-menu.open {
    display: flex;
  }
  .mobile-filter-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .mobile-filter-menu li {
    margin: 0;
    padding: 0;
  }
  .mobile-filter-menu a {
    display: block;
    padding: 8px 0;
    color: #222;
    text-decoration: none;
    font-family: "n Nande Regular", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-align: center;
    border-bottom: none;
    transition: background 0.2s;
  }
  .mobile-filter-menu a:last-child {
    border-bottom: none;
  }
  .mobile-filter-menu a:hover {
    background: #f5f5f5;
  }
  /* Ocultar aside de filtros en móvil */
  .product-filters {
    display: none;
  }
}

@media (min-width: 901px) {
  .mobile-filter-btn,
  .mobile-filter-menu {
    display: none !important;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.single-product .wc-stripe-payment-request-wrapper,
.single-product .wc-stripe-payment-request-button,
.single-product .wc-stripe-payment-request-buttons,
.single-product .payment_request_buttons,
.single-product .payment_request_button,
.single-product .wc-ppcp-payment-buttons,
.single-product .ppc-button,
.single-product .gpay-card-info-container,
.single-product .gpay-card-info-placeholder,
.single-product .google-pay-button,
.single-product .wc-google-pay-button {
  display: none !important;
}
