/* =====================================================================
   PARTE 2 · ESTILO DE PAPEL (tarjeta aprobada) aplicado a las clases de WooCommerce
   ===================================================================== */
:root {
  color-scheme: light;
  --papel: #ffffff; --panel: #dcecf8;
  --azul: #4aa3df; --azul-osc: #3d55a8; --naranja: #f2a03d; --verde:#25D366; --verde-osc:#128c4b; --naranja-osc: #c2701a;
  --naranja-txt: #8a4a08; --tinta: #1d2a4d; --suave: #5a6685; --sombra: rgba(29,42,77,.22);
  --serif: "Fraunces",Georgia,serif;
  --fondo-color: #fbfaf7;
  --papel-tarjeta: #ffffff;
  --hoja:#fff; --papel-cabecera:var(--papel); --lip-panel:#a9c6de; --lip-hoja:#cfdbe8; --borde-suave:#c3d3e4; --azul-lip:#27397a; --azul-hov:#4a63bb; --pliegue:#d6dfe9; --remover-bg:#fbe7c8;
  --sombra-papel: drop-shadow(0 1px 2px rgba(29,42,77,.35)) drop-shadow(0 10px 14px rgba(29,42,77,.22));
  --wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; }
.screen-reader-text { position:absolute !important; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

/* ----- fondo con textura muy suave (se elige con data-fondo en <body>) ----- */
body { margin:0; min-height:100vh; display:flex; flex-direction:column; overflow-x:clip; padding:0;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--tinta); line-height:1.5;
  background-color:var(--fondo-color); }
body[data-fondo="liso"]   { --fondo-color:#fff; }
body[data-fondo="papel"]  { background-image:var(--nat-fondo-papel); }
body[data-fondo="fibra"]  { background-image:var(--nat-fondo-fibra); }
body[data-fondo="tierra"] { background-image:var(--nat-fondo-tierra), var(--nat-fondo-papel); }
.contenedor { width:100%; max-width:1168px; margin:0 auto; padding:0 24px; }
main.contenedor { flex:1 0 auto; padding-top:64px; }
.site-footer { flex:none; }
a { color:inherit; }
:focus-visible { outline:3px solid var(--azul-osc); outline-offset:3px; }
.icono { width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* ----- pila de papel: tarjeta del listado, galería y hoja de información ----- */
.woocommerce ul.products li.product,
.woocommerce .pila,
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.summary {
  position:relative; isolation:isolate; float:none; clear:none;
  filter:drop-shadow(0 2px 3px rgba(29,42,77,.38)) drop-shadow(0 16px 20px rgba(29,42,77,.34)); }
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after,
.woocommerce .pila::before,
.woocommerce .pila::after,
.woocommerce div.product div.images .flex-viewport::before,
.woocommerce div.product div.images .flex-viewport::after,
.woocommerce div.product div.summary::before,
.woocommerce div.product div.summary::after {
  content:""; display:block; position:absolute; inset:0; z-index:-1; clear:none; width:auto; height:auto; margin:0;
  transition:transform .38s cubic-bezier(.34,1.56,.64,1); }
.woocommerce ul.products li.product::before,
.woocommerce .pila::before,
.woocommerce div.product div.images .flex-viewport::before,
.woocommerce div.product div.summary::before { background:var(--azul-osc); transform:rotate(1.6deg) translate(5px,2px);
  clip-path:polygon(1% 0,40% 2%,74% 0,100% 3%,99% 55%,100% 98%,60% 100%,25% 97%,0 100%,2% 45%); }
.woocommerce ul.products li.product::after,
.woocommerce .pila::after,
.woocommerce div.product div.images .flex-viewport::after,
.woocommerce div.product div.summary::after { background:var(--azul); transform:rotate(-2.2deg) translate(-6px,4px);
  clip-path:polygon(0 3%,12% 0,31% 2%,55% 0,78% 2%,100% 0,99% 40%,100% 72%,98% 100%,70% 98%,42% 100%,18% 98%,1% 100%,2% 60%); }
.woocommerce ul.products li.product:hover::after, .woocommerce ul.products li.product:focus-within::after,
.woocommerce div.product div.images .flex-viewport:hover::after { transform:rotate(-5deg) translate(-14px,7px); }
.woocommerce ul.products li.product:hover::before, .woocommerce ul.products li.product:focus-within::before,
.woocommerce div.product div.images .flex-viewport:hover::before { transform:rotate(3.4deg) translate(11px,4px); }

/* hoja frontal de papel: la dibuja un pseudoelemento para no recortar lo que sobresale (papelito) */
.woocommerce .frente, .woocommerce div.product .woocommerce-product-gallery__wrapper { position:relative; isolation:isolate; transition:transform .3s ease; }
.woocommerce .frente::before, .woocommerce div.product .woocommerce-product-gallery__wrapper::before {
  content:""; position:absolute; inset:0; z-index:-1; background:var(--papel);
  clip-path:polygon(0 1.2%,9% 0,27% 1%,50% 0,73% 1.2%,91% 0,100% 1%,99.6% 50%,100% 98.8%,78% 100%,52% 99%,26% 100%,8% 99%,0 100%,.4% 50%); }
.woocommerce ul.products li.product:hover .frente, .woocommerce ul.products li.product:focus-within .frente { transform:translateY(-4px); }

/* ----- listado: rejilla (anula las columnas flotantes de WooCommerce) ----- */
.woocommerce ul.products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:60px 48px; margin:0; padding:26px 12px 40px; list-style:none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none; }
.woocommerce ul.products li.product { width:auto; margin:0; padding:0; }
.woocommerce ul.products li.product .frente { padding:16px 16px 22px; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display:block; text-decoration:none; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:focus-visible { outline-offset:2px; }

/* panel de la foto (envoltorio .foto/.zoom del listado y __image de la ficha) */
.woocommerce .foto, .woocommerce div.product .woocommerce-product-gallery__image {
  position:relative; background:var(--panel); aspect-ratio:1 / 1; overflow:hidden; margin:0 0 16px; cursor:zoom-in;
  clip-path:polygon(0 3%,20% 0,52% 2%,82% 0,100% 3%,99% 55%,100% 97%,70% 100%,38% 98%,10% 100%,0 96%,1% 50%); }
.woocommerce .zoom, .woocommerce div.product .woocommerce-product-gallery__image > a {
  position:absolute; inset:0; display:grid; place-items:center; transform-origin:var(--ox,50%) var(--oy,50%);
  transition:transform 1.4s cubic-bezier(.2,.7,.2,1), transform-origin .5s ease-out; }
.woocommerce .foto:hover .zoom { transform:scale(2.2); }
.woocommerce div.product .woocommerce-product-gallery__image:hover > a { transform:scale(2); }
.woocommerce .foto img, .woocommerce div.product .woocommerce-product-gallery__image img {
  display:block; width:100%; height:100%; margin:0; object-fit:contain; box-shadow:none; filter:drop-shadow(0 4px 4px rgba(29,42,77,.35)); }

/* título y precio de la tarjeta */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:var(--serif); font-weight:700; font-size:1.3rem; line-height:1.15; margin:0 0 6px; padding:0; color:var(--tinta); }
.woocommerce .price { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:4px 0 6px; color:var(--tinta); font-size:1rem; }
.woocommerce .price del { order:1; font-size:1.05rem; color:var(--suave); text-decoration:line-through; text-decoration-thickness:2px; opacity:1; }
.woocommerce .price ins { order:2; font-family:var(--serif); font-weight:700; font-size:1.7rem; line-height:1.25; color:#2b1a05; background:var(--naranja); text-decoration:none;
  padding:2px 14px 4px; transform:rotate(-1.5deg); box-shadow:0 2px 0 var(--naranja-osc); border-radius:4px 8px 5px 9px / 8px 5px 9px 4px; }
.woocommerce .price > .woocommerce-Price-amount { font-family:var(--serif); font-weight:700; font-size:1.7rem; line-height:1.25; color:#2b1a05; background:var(--naranja);
  padding:2px 14px 4px; transform:rotate(-1.5deg); box-shadow:0 2px 0 var(--naranja-osc); border-radius:4px 8px 5px 9px / 8px 5px 9px 4px; }
.woocommerce .price .woocommerce-price-suffix { order:3; flex-basis:100%; font-size:.82rem; font-weight:400; color:var(--suave); margin-bottom:10px; }

/* papelito de descuento (span.onsale) */
.woocommerce span.onsale { position:absolute; top:-18px; right:-16px; left:auto; z-index:3; display:block; width:80px; min-width:0; min-height:0; margin:0; padding:10px 8px 14px; border-radius:0;
  text-align:center; font-weight:400; line-height:1; background:var(--hoja); color:var(--tinta); transform:rotate(7deg); transition:transform .38s cubic-bezier(.34,1.56,.64,1);
  filter:drop-shadow(0 1px 1px rgba(29,42,77,.45)) drop-shadow(0 5px 5px rgba(29,42,77,.35));
  clip-path:polygon(0 0,100% 0,100% 78%,84% 100%,0 100%); }
.woocommerce span.onsale::after { content:""; position:absolute; right:0; bottom:0; width:16px; height:22px; background:var(--pliegue); clip-path:polygon(0 0,100% 0,0 100%); }
.woocommerce span.onsale b { display:block; font-family:var(--serif); font-size:1.6rem; line-height:1; color:var(--azul-osc); }
.woocommerce span.onsale i { display:block; font-style:normal; font-size:.9rem; font-weight:800; line-height:1; margin-top:3px; letter-spacing:.06em; color:var(--naranja-txt); }
.woocommerce ul.products li.product:hover span.onsale, .woocommerce ul.products li.product:focus-within span.onsale { transform:rotate(12deg) translate(2px,-3px); }

/* botón de papel: sirve para "Consultar por WhatsApp" hoy y "Añadir al carrito" mañana */
.woocommerce a.button, .woocommerce button.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
  --alto:5px; position:relative; z-index:2; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:52px; margin:0; padding:12px 20px; border:0; cursor:pointer;
  font:700 1rem system-ui,-apple-system,"Segoe UI",sans-serif; color:#06341a; background:var(--verde); text-decoration:none;
  border-radius:6px 12px 7px 11px / 11px 7px 12px 6px;
  box-shadow:0 var(--alto) 0 var(--lip,var(--verde-osc)), 0 calc(var(--alto) + 6px) 10px var(--sombra), inset 0 1px 0 rgba(255,255,255,.45);
  transition:transform .12s ease, box-shadow .12s ease; }
.woocommerce a.button:hover, .woocommerce button.button:hover { transform:translateY(-2px); --alto:7px; background:var(--verde); color:#06341a; }
.woocommerce a.button:active, .woocommerce button.button:active { transform:translateY(4px); --alto:1px; }
.woocommerce a.button:focus-visible, .woocommerce button.button:focus-visible { outline:3px solid var(--azul-osc); outline-offset:4px; }
.woocommerce a.button.add_to_cart_button, .woocommerce button.button.single_add_to_cart_button, .woocommerce a.button.checkout-button { --lip:var(--azul-lip); background:var(--azul-osc); color:#fff; }
.woocommerce a.button.add_to_cart_button:hover, .woocommerce button.button.single_add_to_cart_button:hover, .woocommerce a.button.checkout-button:hover { background:var(--azul-hov); color:#fff; }
.woocommerce a.button.add_to_cart_button::before, .woocommerce button.button.single_add_to_cart_button::before { content:""; width:22px; height:22px; flex:none; background:#fff; -webkit-mask:var(--ico-bolsa) center / contain no-repeat; mask:var(--ico-bolsa) center / contain no-repeat; }
.woocommerce a.button.secundario { --lip:var(--lip-panel); background:var(--panel); color:var(--tinta); }
.woocommerce a.button.secundario:hover { background:var(--panel); color:var(--tinta); }
.woocommerce .button.whatsapp::before { content:""; width:26px; height:26px; flex:none; background:#fff; filter:drop-shadow(0 1px 1px rgba(6,52,26,.5));
  -webkit-mask:var(--wa) center / contain no-repeat; mask:var(--wa) center / contain no-repeat; }

/* estrellas (WooCommerce las pinta con su fuente; aquí con la estrella generada) */
.woocommerce .star-rating { position:relative; display:inline-block; float:none; width:5.6em; height:1.12em; margin:0; font-size:1rem; line-height:1; overflow:hidden; vertical-align:middle; }
.woocommerce .star-rating::before { content:""; position:absolute; inset:0; letter-spacing:0; font-family:inherit; color:inherit;
  background:var(--nat-estrella-vacia) 0 0 / 1.12em 1.12em repeat-x; }
.woocommerce .star-rating span { position:absolute; left:0; top:0; height:100%; overflow:hidden; padding:0; color:transparent; white-space:nowrap;
  background:var(--nat-estrella-llena) 0 0 / 1.12em 1.12em repeat-x; }
.woocommerce .star-rating span::before { display:none; }

/* ----- página de producto ----- */
.woocommerce .woocommerce-breadcrumb { margin:0 0 28px; font-size:.85rem; color:var(--suave); }
.woocommerce .woocommerce-breadcrumb a { color:var(--azul-osc); }
.woocommerce div.product { position:relative; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:64px 64px; align-items:start; }
.woocommerce div.product > span.onsale { grid-column:1; grid-row:1; justify-self:end; align-self:start; position:relative; top:auto; right:auto; margin:-14px -14px 0 0; }
.woocommerce div.product div.images.woocommerce-product-gallery { grid-column:1; grid-row:1; width:auto; float:none; margin:0; opacity:1 !important; }
.woocommerce div.product div.images .flex-viewport { overflow:visible !important; margin:18px 12px 0 8px; } /* por verificar con el deslizador real */
.woocommerce div.product div.summary { grid-column:2; grid-row:1; width:auto; float:none; margin:18px 8px 0 0; padding:0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related.products, .woocommerce div.product .upsells.products { grid-column:1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin:0; padding:14px; }
.woocommerce div.product div.images .woocommerce-product-gallery__image { margin:0; }

/* miniaturas (las crea el deslizador de WooCommerce) */
.woocommerce div.product div.images .flex-control-thumbs { display:flex; flex-wrap:wrap; gap:14px; margin:30px 0 0 6px; padding:0; list-style:none; }
.woocommerce div.product div.images .flex-control-thumbs li { position:relative; float:none; width:104px; margin:0; padding:0; cursor:pointer;
  filter:drop-shadow(0 1px 2px rgba(29,42,77,.4)) drop-shadow(0 6px 7px rgba(29,42,77,.25)); transition:transform .25s cubic-bezier(.34,1.56,.64,1); }
.woocommerce div.product div.images .flex-control-thumbs li::before { content:""; position:absolute; inset:0; background:var(--azul-osc); transform:rotate(-5deg); opacity:0; transition:opacity .2s;
  clip-path:polygon(0 4%,30% 0,70% 3%,100% 0,98% 50%,100% 100%,60% 97%,25% 100%,0 96%,2% 45%); }
.woocommerce div.product div.images .flex-control-thumbs img { position:relative; display:block; width:100%; aspect-ratio:1; object-fit:contain; background:var(--panel); opacity:1; padding:2px;
  clip-path:polygon(0 3%,25% 0,60% 2%,100% 0,99% 55%,100% 97%,65% 100%,30% 98%,0 100%,1% 50%); }
.woocommerce div.product div.images .flex-control-thumbs li:hover { transform:translateY(-3px) rotate(-1.5deg); }
.woocommerce div.product div.images .flex-control-thumbs li:has(> img.flex-active) { transform:translateY(-4px) rotate(1.5deg); }
.woocommerce div.product div.images .flex-control-thumbs li:has(> img.flex-active)::before { opacity:1; }

/* hoja de información */
.woocommerce div.product div.summary .frente { padding:34px 32px 36px; }
.woocommerce div.product .brand-name { display:inline-block; font-size:.78rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--azul-osc); margin-bottom:6px; }
.woocommerce div.product .product_title { font-family:var(--serif); font-weight:700; font-size:2.05rem; line-height:1.1; margin:0 0 10px; padding:0; color:var(--tinta); clear:none; }
.woocommerce div.product .woocommerce-product-rating { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-size:.88rem; color:var(--suave); }
.woocommerce div.product .woocommerce-product-rating a { color:var(--azul-osc); }
.woocommerce div.product div.summary .price { margin:0; }
.woocommerce div.product div.summary .price del { font-size:1.2rem; }
.woocommerce div.product div.summary .price ins, .woocommerce div.product div.summary .price > .woocommerce-Price-amount { font-size:2.1rem; padding:3px 18px 5px; }
.woocommerce div.product div.summary .price .woocommerce-price-suffix { margin:2px 0 22px; }
.woocommerce div.product .woocommerce-product-details__short-description { margin:0; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin:0 0 14px; font-size:.95rem; }

/* insignias (van dentro de la descripción corta) */
.insignias { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 0 26px; padding:0; list-style:none; }
.insignias li { display:flex; align-items:center; gap:10px; font-size:.86rem; font-weight:600; line-height:1.25; }
.insignias .ico { display:grid; place-items:center; width:40px; height:40px; flex:none; background:var(--panel); color:var(--azul-osc); font-size:1.35rem;
  clip-path:polygon(0 8%,30% 0,70% 6%,100% 0,97% 50%,100% 100%,65% 94%,30% 100%,0 92%,3% 50%); }

/* formulario de compra */
.woocommerce div.product form.cart { display:block; margin:0 0 6px; }
.woocommerce div.product form.cart .variations { width:100%; margin:0 0 22px; border:0; border-collapse:collapse; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display:block; padding:0; text-align:left; border:0; }
.woocommerce div.product form.cart .variations label { display:block; font-size:.86rem; font-weight:700; margin-bottom:10px; color:var(--tinta); }
.woocommerce select, .woocommerce div.product form.cart .variations select { appearance:none; -webkit-appearance:none; min-width:200px; padding:11px 44px 11px 16px; border:0; cursor:pointer;
  font:600 .98rem system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--tinta); background:var(--panel);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233d55a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
  border-radius:5px 9px 6px 10px / 9px 6px 10px 5px; box-shadow:0 3px 0 var(--lip-panel), 0 8px 12px rgba(29,42,77,.18); }
.woocommerce div.product form.cart .quantity { float:none; margin:0 0 22px; }
.woocommerce div.product form.cart .quantity::before { content:"Cantidad"; display:block; font-size:.86rem; font-weight:700; margin-bottom:10px; }
.woocommerce div.product form.cart .quantity .qty { width:120px; height:46px; padding:0 8px; border:0; text-align:center; font:700 1.3rem var(--serif); color:var(--tinta); background:var(--panel);
  box-shadow:0 3px 0 var(--lip-panel); border-radius:5px 9px 6px 10px / 9px 6px 10px 5px; }
.woocommerce div.product form.cart .single_add_to_cart_button { float:none; margin-top:4px; }
.woocommerce div.product .aviso { margin:16px 0 22px; font-size:.82rem; color:var(--suave); text-align:center; }
.woocommerce div.product .product_meta { margin:0 0 20px; font-size:.82rem; color:var(--suave); }
.woocommerce div.product .product_meta > span { display:block; }

/* desplegables (Envío, Pagos, Garantía...) */
.acordeon details { border-top:2px dashed var(--borde-suave); }
.acordeon details:last-child { border-bottom:2px dashed var(--borde-suave); }
.acordeon summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 2px; cursor:pointer; list-style:none; font-weight:700; font-size:.98rem; }
.acordeon summary::-webkit-details-marker { display:none; }
.acordeon summary::after { content:"+"; display:grid; place-items:center; width:26px; height:26px; flex:none; font-size:1.2rem; line-height:1; color:#fff; background:var(--azul); border-radius:4px 8px 5px 9px / 8px 5px 9px 4px; }
.acordeon details[open] summary::after { content:"–"; background:var(--azul-osc); }
.acordeon p { margin:0 0 16px; padding:0 2px; font-size:.92rem; color:var(--suave); }

/* ----- pestañas de WooCommerce: se muestran una debajo de otra ----- */
.woocommerce div.product .woocommerce-tabs { margin-top:40px; padding:0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display:none; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel { display:block !important; margin:0 0 72px; padding:0; }
.woocommerce div.product .woocommerce-tabs h2, .woocommerce .related.products > h2, .woocommerce .upsells.products > h2, .woocommerce .titulo-seccion {
  display:inline-block; position:relative; font-family:var(--serif); font-weight:700; font-size:1.8rem; line-height:1.15; margin:0 0 34px; padding:0 4px 8px; color:var(--tinta); }
.woocommerce div.product .woocommerce-tabs h2::after, .woocommerce .related.products > h2::after, .woocommerce .upsells.products > h2::after, .woocommerce .titulo-seccion::after {
  content:""; position:absolute; left:0; right:-10px; bottom:0; height:9px; background:var(--naranja); transform:rotate(-.8deg); opacity:.9;
  clip-path:polygon(0 25%,18% 0,52% 20%,84% 0,100% 30%,97% 100%,60% 78%,30% 100%,3% 80%); }

/* tarjetas de la descripción (clases para bloques "Grupo") */
.dos-col { display:grid; grid-template-columns:1fr 1fr; gap:64px 56px; align-items:start; margin-top:14px; }
.papel-simple { position:relative; isolation:isolate; padding:28px 28px 30px; filter:drop-shadow(0 1px 2px rgba(29,42,77,.35)) drop-shadow(0 10px 14px rgba(29,42,77,.22)); }
.papel-simple::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
  clip-path:polygon(0 1.4%,12% 0,34% 1%,58% 0,84% 1.2%,100% 0,99.4% 50%,100% 98.8%,72% 100%,46% 99%,20% 100%,0 98.8%,.5% 50%); }
.papel-simple h3 { font-family:var(--serif); font-size:1.25rem; margin:0 0 14px; color:var(--azul-osc); }
.papel-simple p { margin:0 0 12px; font-size:.96rem; }
.papel-simple.nat-crece-abajo { padding-bottom:0; }
.lista-hojas { margin:0; padding:0; list-style:none; display:grid; gap:12px; }
.lista-hojas li { display:flex; gap:12px; font-size:.96rem; }
.lista-hojas .icono { margin-top:4px; width:20px; height:20px; color:#2f8f4e; }
.pasos { margin:0; padding:0; list-style:none; display:grid; gap:16px; counter-reset:paso; }
.pasos li { display:flex; gap:14px; align-items:flex-start; font-size:.96rem; counter-increment:paso; }
.pasos li::before { content:counter(paso); flex:none; display:grid; place-items:center; width:34px; height:34px; font-family:var(--serif); font-weight:700; font-size:1.1rem; color:#fff; background:var(--azul-osc);
  clip-path:polygon(0 10%,30% 0,70% 8%,100% 0,96% 50%,100% 100%,65% 92%,30% 100%,0 90%,4% 50%); }
.ficha { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin:44px 0 0; }
.ficha > div { position:relative; overflow:hidden; padding:16px 18px; background:var(--panel); border-radius:6px 12px 7px 11px / 11px 7px 12px 6px; box-shadow:0 4px 0 var(--lip-panel), 0 12px 16px rgba(29,42,77,.24), 0 2px 4px rgba(29,42,77,.28); }
.ficha > div::after { content:""; position:absolute; right:-8px; top:-8px; width:64px; height:64px; background:var(--nat-semillas) center / contain no-repeat; pointer-events:none; }
.ficha dt { font-size:.76rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--azul-osc); }
.ficha dd { margin:4px 0 0; font-family:var(--serif); font-weight:700; font-size:1.1rem; }

/* valoraciones: la lista de WooCommerce como papelitos */
.woocommerce #reviews #comments ol.commentlist { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:34px 28px; margin:0; padding:0; list-style:none; }
.woocommerce #reviews #comments ol.commentlist li { position:relative; isolation:isolate; margin:0; padding:0; list-style:none; border:0; background:none;
  filter:drop-shadow(0 1px 2px rgba(29,42,77,.35)) drop-shadow(0 8px 10px rgba(29,42,77,.2)); }
.woocommerce #reviews #comments ol.commentlist li::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
  clip-path:polygon(0 2%,20% 0,55% 1.5%,100% 0,99% 55%,100% 100%,70% 98%,30% 100%,0 98%,1% 50%); }
.woocommerce #reviews #comments ol.commentlist li:nth-child(3n+1) { transform:rotate(-1.2deg); }
.woocommerce #reviews #comments ol.commentlist li:nth-child(3n+2) { transform:rotate(.9deg); }
.woocommerce #reviews #comments ol.commentlist li:nth-child(3n) { transform:rotate(-.6deg); }
.woocommerce #reviews #comments ol.commentlist li .comment_container { padding:22px 20px 24px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin:0; padding:0; border:0; }
.woocommerce #reviews #comments ol.commentlist li .star-rating { float:none; display:block; margin:0 0 8px; font-size:.9rem; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p { margin:0 0 10px; font-size:.92rem; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { font-size:.82rem; color:var(--suave); margin:8px 0 0; }
.woocommerce #reviews #comments ol.commentlist li .woocommerce-review__author { font-weight:700; color:var(--tinta); }

/* relacionados */
.woocommerce .related.products { margin-top:24px; }
.woocommerce .related.products ul.products { display:flex; gap:38px; overflow-x:auto; padding:34px 28px 50px; margin:-20px -28px 0; scroll-snap-type:x mandatory; scroll-padding-inline:28px; }
.woocommerce .related.products ul.products li.product { flex:0 0 280px; scroll-snap-align:start; }


/* =====================================================================
   PARTE 3 · PORTADA, BARRA SUPERIOR Y PIE DE PÁGINA
   ===================================================================== */
.logo { display:block; height:32px; width:auto; fill:#000; }
.logo--claro { fill:#fff; }

/* aviso superior */
.aviso-top { position:relative; background:var(--azul-osc); color:#fff; font-size:.82rem; text-align:center; padding:7px 16px 11px;
  filter:var(--sombra-papel); z-index:41;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 3px),94% 100%,80% calc(100% - 3px),63% 100%,46% calc(100% - 4px),28% 100%,12% calc(100% - 3px),0 calc(100% - 1px)); }
.aviso-top p { margin:0; }

/* barra superior (queda fija al bajar) */
.site-header { position:sticky; top:0; z-index:40; isolation:isolate; filter:var(--sombra-papel); }
.site-header::before { content:""; position:absolute; inset:0 0 -8px 0; z-index:-1; background:var(--azul);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 2px),91% 100%,77% calc(100% - 4px),58% 100%,39% calc(100% - 3px),21% 100%,7% calc(100% - 4px),0 calc(100% - 1px)); }
.site-header__papel { position:relative; isolation:isolate; }
.site-header__papel::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--papel-cabecera,var(--papel));
  clip-path:polygon(0 0,100% 0,100% calc(100% - 4px),94% 100%,82% calc(100% - 3px),66% 100%,48% calc(100% - 4px),30% 100%,14% calc(100% - 3px),0 calc(100% - 1px)); }
.site-header .fila { display:flex; align-items:center; gap:18px; min-height:78px; padding-bottom:6px; }
.custom-logo-link { display:block; flex:none; }
.main-navigation { flex:1; }
.main-navigation ul.menu { display:flex; gap:4px; margin:0; padding:0; list-style:none; }
.main-navigation .menu-item > a { position:relative; display:block; white-space:nowrap; padding:8px 8px; text-decoration:none; font-weight:600; font-size:.95rem; color:var(--tinta); }
.main-navigation .menu-item > a:hover { color:var(--azul-osc); }
.main-navigation .current-menu-item > a::after { content:""; position:absolute; left:10px; right:10px; bottom:1px; height:6px; background:var(--naranja);
  clip-path:polygon(0 30%,20% 0,55% 25%,86% 0,100% 35%,96% 100%,60% 75%,30% 100%,4% 80%); }
.woocommerce-product-search { position:relative; flex:none; }
.woocommerce-product-search .search-field { width:150px; padding:10px 40px 10px 16px; border:0; font:500 .92rem system-ui,sans-serif; color:var(--tinta); background:var(--panel);
  border-radius:5px 10px 6px 11px / 10px 6px 11px 5px; box-shadow:0 3px 0 var(--lip-panel), 0 8px 12px rgba(29,42,77,.16); }
.woocommerce-product-search .search-field::placeholder { color:var(--suave); }
.woocommerce-product-search button { position:absolute; right:4px; top:50%; transform:translateY(-52%); display:grid; place-items:center; width:34px; height:34px; border:0; background:none; cursor:pointer; color:var(--azul-osc); font-size:1.2rem; }
.woocommerce .site-header a.btn-cotizar { flex:none; width:auto; min-height:44px; padding:8px 18px; font-size:.92rem; white-space:nowrap; }
.menu-toggle { display:none; flex:none; width:46px; height:46px; border:0; cursor:pointer; color:var(--tinta); background:var(--panel); font-size:1.5rem; place-items:center;
  border-radius:5px 10px 6px 11px / 10px 6px 11px 5px; box-shadow:0 3px 0 var(--lip-panel), 0 8px 12px rgba(29,42,77,.16); }
.site-header__menu { display:contents; }

/* portada */
.hero { margin-bottom:64px; }
.hero .pila { margin:8px 10px 0 8px; }
.hero .frente { padding:36px 36px 26px 48px; }
.hero-slides { display:grid; }
.hero-slide { grid-area:1 / 1; display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center; opacity:0; visibility:hidden; transform:translateX(18px);
  transition:opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.hero-slide.activa { opacity:1; visibility:visible; transform:none; transition:opacity .5s ease, transform .5s ease; }
.hero h1, .hero h2.hero-titulo { font-family:var(--serif); font-weight:700; font-size:clamp(2.1rem,4.4vw,3.3rem); line-height:1.05; margin:6px 0 16px; color:var(--tinta); }
.hero p { margin:0 0 26px; font-size:1.05rem; color:var(--suave); max-width:34ch; }
.hero-botones { display:flex; flex-wrap:wrap; gap:16px; }
.woocommerce .hero a.button { width:auto; padding:12px 26px; }
.hero .foto { margin:0; cursor:default; aspect-ratio:1 / .82; }
.hero .foto .zoom { transform:none !important; }
.hero-controles { display:flex; align-items:center; gap:16px; margin-top:22px; }
.hero-flecha { display:grid; place-items:center; width:46px; height:46px; border:0; cursor:pointer; color:var(--azul-osc); background:var(--panel);
  border-radius:6px 12px 7px 11px / 11px 7px 12px 6px; box-shadow:0 4px 0 var(--lip-panel), 0 8px 12px rgba(29,42,77,.2); transition:transform .12s ease, box-shadow .12s ease; }
.hero-flecha:hover { transform:translateY(-2px); box-shadow:0 6px 0 var(--lip-panel), 0 12px 14px rgba(29,42,77,.22); }
.hero-flecha:active { transform:translateY(3px); box-shadow:0 1px 0 var(--lip-panel); }
.hero-flecha svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.hero-flecha.ant svg { transform:scaleX(-1); }
.hero-puntos { display:flex; gap:10px; margin:0; padding:0; list-style:none; }
.hero-puntos button { display:block; width:14px; height:14px; padding:0; border:0; cursor:pointer; background:var(--lip-panel); border-radius:50% 45% 55% 48%; transition:transform .2s, background .2s; }
.hero-puntos button[aria-current="true"] { background:var(--azul-osc); transform:scale(1.35); }
.hero-pausa { margin-left:auto; border:0; background:none; cursor:pointer; font:600 .82rem system-ui,sans-serif; color:var(--suave); text-decoration:underline; text-underline-offset:3px; }
.hero .marca { display:inline-block; font-size:.78rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--azul-osc); }

.categorias { display:flex; flex-wrap:wrap; justify-content:center; gap:26px 24px; margin:0 0 72px; padding:8px 8px 18px; list-style:none; }
.categorias li { flex:1 1 160px; max-width:214px; filter:var(--sombra-papel); transition:transform .2s cubic-bezier(.34,1.56,.64,1); }
.categorias li:hover { transform:translateY(-4px) rotate(-1deg); }
.categorias li:nth-child(even):hover { transform:translateY(-4px) rotate(1deg); }
/* tabla de madera: veta con fórmulas (--nat-madera), cada tabla con un corte distinto de la veta */
.categorias a { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px; min-height:206px; padding:16px 14px 18px;
  text-decoration:none; text-align:center; font-family:var(--serif); font-weight:700; font-size:1.08rem; color:#3a2210;
  background:var(--nat-madera) var(--vx,0px) 0 / 240px 100% repeat-x, #d9ab6a;
  box-shadow:inset 0 3px 0 rgba(255,236,190,.55), inset 0 -7px 0 rgba(120,70,20,.38), inset 4px 0 0 rgba(120,70,20,.16), inset -4px 0 0 rgba(120,70,20,.16);
  clip-path:polygon(0 3%,10% 0,36% 2%,64% 0,90% 2%,100% 0,99% 34%,100% 68%,98% 100%,70% 98%,42% 100%,14% 98%,0 100%,1% 66%,0 32%); }
.categorias li:nth-child(1) a { --vx:0px; --vy:0px; }
.categorias li:nth-child(2) a { --vx:-71px; --vy:-34px; }
.categorias li:nth-child(3) a { --vx:-143px; --vy:-17px; }
.categorias li:nth-child(4) a { --vx:-38px; --vy:-58px; }
.categorias li:nth-child(5) a { --vx:-109px; --vy:-8px; }
/* clavos: cuatro puntos de metal */
.categorias a::before { content:""; position:absolute; inset:9px; pointer-events:none;
  background:radial-gradient(circle at 0 0,#6b4a24 0 3px,transparent 3.5px) 0 0 / 100% 100% no-repeat, radial-gradient(circle at 100% 0,#6b4a24 0 3px,transparent 3.5px) 0 0 / 100% 100% no-repeat,
             radial-gradient(circle at 0 100%,#6b4a24 0 3px,transparent 3.5px) 0 0 / 100% 100% no-repeat, radial-gradient(circle at 100% 100%,#6b4a24 0 3px,transparent 3.5px) 0 0 / 100% 100% no-repeat; }
.categorias a:focus-visible { outline:3px solid var(--azul-osc); outline-offset:4px; clip-path:none; }
.categorias .icono-papel { display:block; width:104px; height:104px; margin-bottom:2px; background:center / contain no-repeat; transition:transform .25s cubic-bezier(.34,1.56,.64,1); }
.categorias a:hover .icono-papel { transform:scale(1.08) rotate(-4deg); }
.categorias small { font-family:system-ui,sans-serif; font-weight:700; font-size:.78rem; color:#5b3a15; }
.categorias .ic-lapiz { background-image:var(--nat-icono-lapiz); } .categorias .ic-kit { background-image:var(--nat-icono-kit); } .categorias .ic-papel { background-image:var(--nat-icono-papel); }
.categorias .ic-libreta { background-image:var(--nat-icono-libreta); } .categorias .ic-bolsa { background-image:var(--nat-icono-bolsa); }

.beneficios { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; margin:0 0 80px; padding:0 8px; }
.beneficios .papel-simple { padding:24px 26px 26px; display:flex; gap:16px; align-items:flex-start; }
.beneficios .ico { display:grid; place-items:center; width:46px; height:46px; flex:none; background:var(--panel); color:var(--azul-osc); font-size:1.5rem;
  clip-path:polygon(0 8%,30% 0,70% 6%,100% 0,97% 50%,100% 100%,65% 94%,30% 100%,0 92%,3% 50%); }
.beneficios h3 { font-family:var(--serif); font-size:1.1rem; margin:0 0 4px; color:var(--tinta); }
.beneficios p { margin:0; font-size:.9rem; color:var(--suave); }

/* barra de la tienda */
.shop-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; margin-bottom:6px; }
.shop-toolbar .titulo-seccion { margin:0 auto 0 0; }
.woocommerce-result-count { margin:0; font-size:.88rem; color:var(--suave); }
.woocommerce-ordering { margin:0; }
.woocommerce-ordering select { min-width:210px; }
.woocommerce ul.products.columns-4 { grid-template-columns:repeat(4,minmax(0,1fr)); gap:60px 36px; }
.woocommerce ul.products.columns-4 li.product .frente { padding:14px 14px 20px; }
.woocommerce ul.products.columns-4 .woocommerce-loop-product__title { font-size:1.12rem; min-height:2.3em; }
.woocommerce ul.products.columns-4 .price ins, .woocommerce ul.products.columns-4 .price > .woocommerce-Price-amount { font-size:1.4rem; padding:2px 11px 3px; }
.woocommerce ul.products.columns-4 .price del { font-size:.95rem; }
.woocommerce ul.products.columns-4 .button { font-size:.9rem; padding:10px 12px; min-height:48px; }
.woocommerce ul.products li.product h2.woocommerce-loop-product__title { margin-bottom:22px; }
.woocommerce ul.products li.product .price { margin-bottom:6px; }
.woocommerce ul.products.columns-4 li.product .frente { display:flex; flex-direction:column; }
.woocommerce ul.products.columns-4 li.product .woocommerce-LoopProduct-link { flex:1 1 auto; }
.woocommerce ul.products.columns-4 li.product .frente > .button { margin-top:18px; }
.woocommerce ul.products.columns-4 .button.whatsapp::before { width:22px; height:22px; }
.woocommerce ul.products.columns-4 span.onsale { width:68px; padding:8px 6px 12px; }
.woocommerce ul.products.columns-4 span.onsale b { font-size:1.35rem; }
.woocommerce ul.products.columns-4 span.onsale i { font-size:.8rem; }

.woocommerce-pagination { margin:14px 0 0; }
.woocommerce-pagination ul.page-numbers { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin:0; padding:10px 0 18px; list-style:none; }
.woocommerce-pagination .page-numbers > li > * { display:grid; place-items:center; min-width:46px; height:46px; padding:0 16px; text-decoration:none; font-weight:700; color:var(--tinta); background:var(--hoja);
  border-radius:6px 12px 7px 11px / 11px 7px 12px 6px; box-shadow:0 4px 0 var(--lip-hoja), 0 10px 14px rgba(29,42,77,.2), 0 2px 4px rgba(29,42,77,.26); }
.woocommerce-pagination .page-numbers > li > .current { background:var(--azul-osc); color:#fff; box-shadow:0 4px 0 var(--azul-lip), 0 10px 14px rgba(29,42,77,.24); }

.cta-empresa { margin:70px 10px 0 8px; }
.cta-empresa .frente { display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; padding:34px 40px; }
.cta-empresa h2 { font-family:var(--serif); font-size:1.7rem; line-height:1.15; margin:0 0 6px; color:var(--tinta); }
.cta-empresa p { margin:0; color:var(--suave); }
.woocommerce .cta-empresa a.button { width:auto; padding:12px 28px; }

/* pie de página: la tierra continúa hacia abajo y aquí van los datos */
.site-footer { color:#f6ead6; text-shadow:0 1px 3px rgba(40,22,8,.75); }
.site-footer .redes a, .site-footer .etiqueta-logo { text-shadow:none; }
.site-footer a { color:#f6ead6; text-decoration-color:rgba(246,234,214,.5); text-underline-offset:3px; }
.site-footer a:hover { color:#fff; text-decoration-color:#fff; }
.site-footer :focus-visible { outline-color:#fff; }
.site-footer .columnas { display:grid; grid-template-columns:1.25fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:44px; }
.site-footer .widget-title { font-family:var(--serif); font-weight:700; font-size:1.1rem; margin:0 0 14px; color:#fff; }
.site-footer ul { margin:0; padding:0; list-style:none; display:grid; gap:9px; font-size:.94rem; }
.site-footer p { margin:0 0 12px; font-size:.94rem; }
.etiqueta-logo { position:relative; isolation:isolate; display:inline-block; padding:14px 20px 16px; margin-bottom:18px; filter:var(--sombra-papel); }
.etiqueta-logo::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
  clip-path:polygon(0 4%,14% 0,40% 3%,68% 0,100% 4%,98% 52%,100% 96%,72% 100%,40% 97%,12% 100%,0 96%,2% 50%); }
.etiqueta-logo .logo { height:30px; }
.redes { display:flex; flex-wrap:wrap; gap:10px; }
.redes a { display:inline-block; padding:7px 14px; text-decoration:none; font-weight:700; font-size:.85rem; color:var(--tinta); background:var(--hoja);
  border-radius:4px 9px 5px 10px / 9px 5px 10px 4px; box-shadow:0 3px 0 var(--lip-hoja), 0 8px 12px rgba(0,0,0,.35); }
.site-footer .redes a:hover { color:var(--azul-osc); }
.site-footer .barra-final { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; padding:20px 0 26px; border-top:2px dashed rgba(246,234,214,.3); font-size:.85rem; color:rgba(246,234,214,.85); }
.site-footer .barra-final p { margin:0; font-size:.85rem; }
.site-footer .barra-final ul { display:flex; gap:20px; }

@media (max-width:1180px) {
  .menu-toggle { display:grid; }
  .site-header-cart { margin-left:auto; }
  .site-header .fila { gap:14px; min-height:68px; }
  .logo { height:26px; }
  .woocommerce .site-header a.btn-cotizar { padding:8px 14px; }
  .site-header__menu { display:none; position:absolute; left:12px; right:12px; top:calc(100% + 14px); z-index:60; flex-direction:column; align-items:stretch; gap:14px; padding:20px 18px 22px; isolation:isolate; filter:var(--sombra-papel); }
  .site-header__menu::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
    clip-path:polygon(0 2%,16% 0,44% 2%,72% 0,100% 2%,99% 50%,100% 98%,70% 100%,38% 98%,12% 100%,0 98%,1% 50%); }
  .site-header.abierto .site-header__menu { display:flex; }
  .main-navigation ul.menu { flex-direction:column; gap:0; }
  .main-navigation .menu-item > a { padding:12px 8px; font-size:1.02rem; }
  .woocommerce-product-search .search-field { width:100%; }
  .site-footer .columnas { grid-template-columns:1fr 1fr; gap:36px 28px; }
  .beneficios { grid-template-columns:1fr; gap:30px; }
  .woocommerce ul.products.columns-4 { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:820px) {
  .hero .frente { padding:30px 22px 24px; }
  .hero-slide { grid-template-columns:1fr; gap:28px; }
  .hero-slide .foto { order:-1; }
  .hero p { max-width:none; }
  .woocommerce ul.products.columns-4 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:44px 20px; }
}
@media (max-width:560px) {
  .contenedor { padding:0 16px; }
  .txt-largo { display:none; }
  .woocommerce .site-header a.btn-cotizar { padding:8px 12px; min-height:46px; }
  .site-header .fila { gap:10px; }
  .logo { height:22px; }
  .site-header .fila { padding-inline:16px; }
  .woocommerce ul.products.columns-4 { padding-inline:6px; gap:40px 18px; }
  .woocommerce ul.products.columns-4 li.product .frente { padding:10px 10px 14px; }
  .woocommerce ul.products.columns-4 .woocommerce-loop-product__title { font-size:.98rem; }
  .woocommerce ul.products.columns-4 .price { gap:6px; }
  .woocommerce ul.products.columns-4 .price ins, .woocommerce ul.products.columns-4 .price > .woocommerce-Price-amount { font-size:1.2rem; padding:1px 8px 2px; }
  .woocommerce ul.products.columns-4 .price .woocommerce-price-suffix { font-size:.72rem; margin-bottom:8px; }
  .woocommerce ul.products.columns-4 .button { font-size:.85rem; min-height:44px; padding:8px; }
  .woocommerce ul.products.columns-4 span.onsale { width:56px; right:-8px; top:-12px; padding:6px 4px 10px; }
  .woocommerce ul.products.columns-4 span.onsale b { font-size:1.1rem; }
  .woocommerce ul.products.columns-4 span.onsale i { font-size:.7rem; }
  .site-footer .columnas { grid-template-columns:1fr; }
  .categorias { gap:22px 14px; }
  .categorias li { flex:1 1 42%; max-width:none; }
  .categorias a { min-height:176px; font-size:1rem; }
  .categorias .icono-papel { width:84px; height:84px; }
  .nat-suelo { margin-top:190px; }
  .hero-pausa { display:none; }
  .cta-empresa .frente { padding:26px 22px; }
  .shop-toolbar .titulo-seccion { flex-basis:100%; }
  .aviso-top { font-size:.76rem; }
}

:root { --ico-bolsa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l1 12H5L6 8z'/%3E%3Cpath d='M9 8a3 3 0 016 0'/%3E%3C/svg%3E"); }

/* ---- carrito en la barra superior + minicarrito ---- */
.site-header-cart { position:relative; flex:none; }
.site-header .cart-contents { position:relative; display:grid; place-items:center; width:48px; height:48px; border:0; cursor:pointer; color:var(--azul-osc); background:var(--panel); text-decoration:none;
  border-radius:6px 12px 7px 11px / 11px 7px 12px 6px; box-shadow:0 4px 0 var(--lip-panel), 0 9px 12px rgba(29,42,77,.2); transition:transform .12s ease, box-shadow .12s ease; }
.site-header .cart-contents:hover { transform:translateY(-2px); box-shadow:0 6px 0 var(--lip-panel), 0 12px 14px rgba(29,42,77,.22); }
.site-header .cart-contents svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; }
.site-header .cart-contents .count { position:absolute; top:-9px; right:-9px; min-width:24px; height:24px; padding:0 6px; display:grid; place-items:center; font:800 .78rem system-ui,sans-serif; color:#2b1a05; background:var(--naranja);
  border-radius:50% 45% 55% 48%; box-shadow:0 2px 0 var(--naranja-osc); }
.site-header .cart-contents .count[data-n="0"] { display:none; }
.site-header .cart-contents.rebote { animation:rebote .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes rebote { 30% { transform:translateY(-6px) rotate(-6deg); } 65% { transform:translateY(1px) rotate(3deg); } }
.widget_shopping_cart { position:absolute; right:-6px; top:calc(100% + 20px); z-index:70; width:min(370px,calc(100vw - 32px)); isolation:isolate; filter:var(--sombra-papel); display:none; }
.widget_shopping_cart.abierto { display:block; }
/* fondo oscurecido y difuminado detrás del minicarrito (queda debajo de la barra, que sigue nítida) */
.fondo-modal { position:fixed; inset:0; z-index:39; background:rgba(18,28,24,.52); opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .25s ease, visibility 0s linear .25s; }
.fondo-modal.visible { opacity:1; visibility:visible; pointer-events:auto; transition:opacity .25s ease; }
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  .fondo-modal { -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); background:rgba(18,28,24,.42); }
}
@media (prefers-reduced-motion: reduce) { .fondo-modal, .fondo-modal.visible { transition:none; } }
.widget_shopping_cart::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
  clip-path:polygon(0 1.5%,14% 0,40% 1.5%,70% 0,100% 1.5%,99% 50%,100% 98.5%,72% 100%,42% 98.5%,14% 100%,0 98.5%,1% 50%); }
.widget_shopping_cart_content { padding:22px 20px 22px; color:var(--tinta); }
.widget_shopping_cart .titulo-mini { font-family:var(--serif); font-size:1.15rem; margin:0 0 12px; }
ul.woocommerce-mini-cart { display:grid; gap:12px; max-height:290px; overflow:auto; margin:0; padding:2px 4px 6px 0; list-style:none; }
.woocommerce-mini-cart-item { position:relative; display:grid; grid-template-columns:58px 1fr; gap:4px 12px; align-items:center; padding-right:26px; font-size:.9rem; }
.woocommerce-mini-cart-item img { grid-row:1 / 3; width:58px; height:58px; object-fit:contain; background:var(--panel); border-radius:6px 10px 6px 9px / 9px 6px 10px 6px; }
.woocommerce-mini-cart-item .nombre { font-weight:700; line-height:1.25; color:var(--tinta); text-decoration:none; }
.woocommerce-mini-cart-item .quantity { font-size:.84rem; color:var(--suave); }
.woocommerce-mini-cart-item a.remove { position:absolute; top:0; right:0; display:grid; place-items:center; width:24px; height:24px; text-decoration:none; font-weight:800; line-height:1; color:var(--naranja-txt); background:var(--remover-bg); border-radius:50% 45% 55% 48%; }
.woocommerce-mini-cart-item a.remove:hover { background:var(--naranja); color:#2b1a05; }
p.woocommerce-mini-cart__total { display:flex; justify-content:space-between; align-items:baseline; margin:16px 0 4px; padding-top:14px; border-top:2px dashed var(--lip-hoja); font-size:.95rem; }
p.woocommerce-mini-cart__total strong { font-weight:700; }
p.woocommerce-mini-cart__total .amount { font-family:var(--serif); font-weight:700; font-size:1.3rem; }
.woocommerce-mini-cart__suffix { margin:0 0 16px; font-size:.78rem; color:var(--suave); }
p.woocommerce-mini-cart__buttons { display:grid; gap:16px; margin:0; }
.woocommerce .woocommerce-mini-cart__buttons a.button { min-height:46px; }
.woocommerce-mini-cart__empty-message { margin:4px 0 6px; color:var(--suave); }

/* ---- aviso al agregar ---- */
.aviso-carrito { position:fixed; right:20px; bottom:22px; z-index:90; max-width:min(380px,calc(100vw - 32px)); isolation:isolate; filter:var(--sombra-papel);
  opacity:0; visibility:hidden; transform:translateY(16px) rotate(1deg); transition:opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1), visibility 0s .3s; }
.aviso-carrito.visible { opacity:1; visibility:visible; transform:none; transition:opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.aviso-carrito::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--hoja);
  clip-path:polygon(0 4%,16% 0,45% 3%,74% 0,100% 4%,99% 50%,100% 96%,72% 100%,42% 97%,14% 100%,0 96%,1% 50%); }
.aviso-carrito p { display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin:0; padding:16px 22px 18px; font-size:.92rem; color:var(--tinta); }
.aviso-carrito a { font-weight:700; color:var(--azul-osc); }
.aviso-carrito a.wc-forward { margin-left:auto; }

/* ---- página del carrito (clases del carrito clásico de WooCommerce) ---- */
.woocommerce .titulo-pagina { font-family:var(--serif); font-weight:700; font-size:clamp(2rem,4vw,2.8rem); line-height:1.1; margin:0 0 30px; color:var(--tinta); }
.woocommerce-cart-wrapper { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(0,1fr); gap:44px; align-items:start; margin:0 8px 0 4px; }
.woocommerce-cart-form .frente { padding:10px 26px 24px; }
.woocommerce table.shop_table { width:100%; margin:0; border:0; border-collapse:collapse; }
.woocommerce table.shop_table th { padding:14px 10px; text-align:left; font-size:.8rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--azul-osc); border-bottom:3px solid var(--lip-hoja); }
.woocommerce table.shop_table td { padding:16px 10px; vertical-align:middle; border-bottom:2px dashed var(--lip-hoja); color:var(--tinta); }
.woocommerce table.cart td.product-remove { width:44px; padding-left:0; }
.woocommerce table.cart a.remove { display:grid; place-items:center; width:32px; height:32px; font-size:1.2rem; font-weight:800; line-height:1; text-decoration:none; color:var(--naranja-txt); background:var(--remover-bg);
  border-radius:50% 45% 55% 48%; box-shadow:0 2px 0 var(--naranja-osc); }
.woocommerce table.cart a.remove:hover { background:var(--naranja); color:#2b1a05; }
.woocommerce table.cart td.product-thumbnail { width:96px; }
.woocommerce table.cart td.product-thumbnail img { display:block; width:82px; height:82px; object-fit:contain; background:var(--panel); border-radius:7px 12px 7px 11px / 11px 7px 12px 7px; }
.woocommerce table.cart td.product-name a { font-family:var(--serif); font-weight:700; font-size:1.08rem; line-height:1.25; color:var(--tinta); text-decoration:none; }
.woocommerce table.cart td.product-name a:hover { color:var(--azul-osc); text-decoration:underline; }
.woocommerce table.cart td.product-name small { display:block; margin-top:4px; font-size:.8rem; color:var(--suave); }
.woocommerce table.cart td.product-price, .woocommerce table.cart td.product-subtotal { white-space:nowrap; font-weight:700; }
.woocommerce table.cart td.product-subtotal { font-family:var(--serif); font-size:1.15rem; }
.woocommerce table.cart .quantity .qty { width:92px; height:44px; padding:0 6px; border:0; text-align:center; font:700 1.1rem var(--serif); color:var(--tinta); background:var(--panel);
  border-radius:5px 9px 6px 10px / 9px 6px 10px 5px; box-shadow:0 3px 0 var(--lip-panel); }
.woocommerce table.cart td.actions { padding:22px 0 0; border-bottom:0; }
.woocommerce table.cart td.actions .fila-acciones { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:18px 24px; }
.woocommerce .coupon { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.woocommerce .coupon label { display:block; width:100%; font-size:.86rem; font-weight:700; }
.woocommerce .coupon .input-text { width:190px; height:46px; padding:0 14px; border:0; font:600 .95rem system-ui,sans-serif; color:var(--tinta); background:var(--panel);
  border-radius:5px 9px 6px 10px / 9px 6px 10px 5px; box-shadow:0 3px 0 var(--lip-panel); }
.woocommerce .coupon .input-text::placeholder { color:var(--suave); }
.woocommerce table.cart td.actions button.button { width:auto; min-height:46px; padding:10px 20px; font-size:.92rem; }
.woocommerce table.cart td.actions button.button[name="update_cart"] { --lip:var(--lip-panel); background:var(--panel); color:var(--tinta); }
.woocommerce table.cart td.actions button.button[disabled] { opacity:.5; cursor:not-allowed; transform:none; }
.woocommerce .coupon button.button { --lip:var(--azul-lip); background:var(--azul-osc); color:#fff; }
.woocommerce .coupon button.button:hover { background:var(--azul-hov); color:#fff; }
.seguir-comprando { display:inline-block; margin:26px 4px 0; font-weight:700; color:var(--azul-osc); }
.woocommerce-message, .woocommerce-error { position:relative; margin:0 0 22px; padding:14px 20px; list-style:none; font-weight:600; font-size:.94rem; color:var(--tinta); background:var(--hoja);
  border-radius:6px 12px 7px 11px / 11px 7px 12px 6px; box-shadow:inset 6px 0 0 var(--azul-osc), 0 4px 0 var(--lip-hoja), 0 10px 14px rgba(29,42,77,.2); }
.woocommerce-error { box-shadow:inset 6px 0 0 var(--naranja), 0 4px 0 #f3d3a4, 0 10px 14px rgba(29,42,77,.2); }
.cart-collaterals .cart_totals .frente { padding:22px 26px 28px; }
.cart_totals h2 { font-family:var(--serif); font-size:1.4rem; margin:0 0 10px; color:var(--tinta); }
.cart_totals table.shop_table th { width:38%; padding:14px 0; font-size:.82rem; border-bottom:2px dashed var(--lip-hoja); }
.cart_totals table.shop_table td { padding:14px 0; text-align:right; font-weight:700; }
.cart_totals table.shop_table tr.order-total td { font-family:var(--serif); font-size:1.7rem; }
.cart_totals table.shop_table tr.order-total th { color:var(--tinta); }
.cart_totals td small { display:block; font-family:system-ui,sans-serif; font-weight:500; font-size:.76rem; color:var(--suave); }
.wc-proceed-to-checkout { display:grid; gap:18px; margin-top:22px; }
.woocommerce .wc-proceed-to-checkout a.button { min-height:54px; }
.wc-proceed-to-checkout .nota { margin:0; text-align:center; font-size:.82rem; color:var(--suave); }
.cart-empty { display:flex; flex-direction:column; align-items:center; gap:12px; padding:46px 20px 40px; text-align:center; }
.cart-empty .ilustracion { width:150px; height:150px; background:var(--nat-icono-bolsa) center / contain no-repeat; }
.cart-empty p { margin:0; font-family:var(--serif); font-size:1.3rem; font-weight:700; color:var(--tinta); }
.cart-empty .sub { font-family:system-ui,sans-serif; font-size:.95rem; font-weight:400; color:var(--suave); }
.woocommerce .cart-empty a.button { width:auto; margin-top:12px; padding:12px 28px; }

.woocommerce div.product form.cart .button + .button { margin-top:18px; }
@media (max-width:1100px) { .woocommerce-cart-wrapper { grid-template-columns:1fr; gap:48px; } }
@media (max-width:760px) {
  .woocommerce-cart-form .frente { padding:8px 16px 22px; }
  .woocommerce table.cart thead { display:none; }
  .woocommerce table.cart, .woocommerce table.cart tbody { display:block; }
  .woocommerce table.cart tr.cart_item { position:relative; display:grid; grid-template-columns:82px 1fr; gap:2px 14px; padding:18px 0; border-bottom:2px dashed var(--lip-hoja); }
  .woocommerce table.cart tr.cart_item td { display:flex; justify-content:space-between; align-items:center; padding:5px 0; border:0; text-align:right; }
  .woocommerce table.cart tr.cart_item td::before { content:attr(data-title); font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--azul-osc); }
  .woocommerce table.cart tr.cart_item td.product-remove { position:absolute; top:14px; right:0; width:auto; padding:0; z-index:2; }
  .woocommerce table.cart tr.cart_item td.product-remove::before, .woocommerce table.cart tr.cart_item td.product-thumbnail::before, .woocommerce table.cart tr.cart_item td.product-name::before { display:none; }
  .woocommerce table.cart tr.cart_item td.product-thumbnail { grid-row:1 / 3; width:auto; padding:0; }
  .woocommerce table.cart tr.cart_item td.product-name { display:block; text-align:left; padding-right:36px; align-self:start; }
  .woocommerce table.cart tr.cart_item td.product-price, .woocommerce table.cart tr.cart_item td.product-quantity, .woocommerce table.cart tr.cart_item td.product-subtotal { grid-column:1 / -1; }
  .woocommerce table.cart tr.cart_item td.product-thumbnail { grid-column:1; }
  .woocommerce table.cart tr.cart_item td.product-name { grid-column:2; }
  .woocommerce table.cart tr:not(.cart_item) { display:block; }
  .woocommerce table.cart td.actions { display:block; padding-top:18px; }
  .woocommerce .coupon .input-text { flex:1 1 140px; width:auto; }
  .woocommerce table.cart td.actions button.button[name="update_cart"] { width:100%; }
  .aviso-carrito { right:16px; bottom:16px; }
}
@media (max-width:560px) { .site-header .cart-contents { width:44px; height:44px; } .woocommerce-cart-wrapper { margin:0; } }

/* color de la hoja frontal de las tarjetas del listado (se elige con el selector de pruebas) */
.woocommerce ul.products li.product .frente::before { background:var(--papel-tarjeta); transition:background-color .25s ease; }
