/*
Theme Name: 3DTONE
Theme URI: https://3dtone.com
Author: TMCT
Author URI: https://3dtone.com
Description: Theme a medida para 3DTONE sobre WooCommerce. Portado desde la maqueta HTML (direccion de diseno "tone"): landing, tienda, ficha de producto y configurador. Hecho en Valencia.
Version: 0.35.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3dtone
WC requires at least: 7.0
WC tested up to: 9.9
*/

/* =========================================================
   3DTONE — Landing
   Tokens: edita aquí paleta y radios
   ========================================================= */
:root{
  --ink:        #1A1A1A;
  --paper:      #FFFFFF;
  --paper-2:    #F2F2F2;
  --line:       #E5E5E5;
  --mute:       #707070;

  --radius-sm:  16px;
  --radius-md:  24px;
  --radius-lg:  40px;
  --radius-xl:  64px;
  --radius-2xl: 96px;

  --container:  1280px;
  --gutter:     24px;

  --ease:       cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size:16px;
  line-height:1.5;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
input{font:inherit;}

/* type system */
.tone-eyebrow{
  font-size:12px; font-weight:500; letter-spacing:.18em; text-transform:uppercase;
}
.tone-h1{
  font-weight:900; text-transform:uppercase;
  font-size:clamp(44px, 7.2vw, 104px);
  line-height:.92; letter-spacing:-.025em; margin:0;
}
.tone-h2{
  font-weight:900; text-transform:uppercase;
  font-size:clamp(34px, 5vw, 72px);
  line-height:.95; letter-spacing:-.02em; margin:0;
}
.tone-h3{
  font-weight:700; text-transform:uppercase;
  font-size:clamp(20px, 1.6vw, 24px);
  line-height:1.05; letter-spacing:.02em; margin:0;
}
.tone-label{
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.12em;
}

/* container */
.tone-container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

/* buttons (pill) */
.tone-btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:16px 28px;
  border-radius:999px;
  font-weight:700; font-size:13px; letter-spacing:.12em; text-transform:uppercase;
  border:1.5px solid var(--ink);
  background:var(--ink); color:var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  cursor:pointer; white-space:nowrap;
}
.tone-btn:hover{ background:var(--paper); color:var(--ink); transform:scale(1.02); }
.tone-btn--ghost{ background:transparent; color:var(--ink); }
.tone-btn--ghost:hover{ background:var(--ink); color:var(--paper); }
.tone-btn--inverse{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.tone-btn--inverse:hover{ background:var(--ink); color:var(--paper); border-color:var(--paper); }
.tone-btn--full{ width:100%; justify-content:center; }
.tone-arrow{ display:inline-block; transition: transform .3s var(--ease); }
.tone-btn:hover .tone-arrow{ transform: translateX(4px); }

/* =========================================================
   TOP BAR (marquee)
   ========================================================= */
/* ACF repeater: anuncios */
.tone-topbar{
  background:var(--ink); color:var(--paper);
  height:38px; display:flex; align-items:center; overflow:hidden;
  border-bottom:1px solid var(--ink);
}
.tone-marquee{
  display:flex; flex-wrap:nowrap; width:max-content;
  animation: tone-marquee 38s linear infinite;
  will-change: transform;
}
.tone-marquee__item{
  display:inline-flex; align-items:center; padding:0 28px;
  font-size:11px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; white-space:nowrap;
}
.tone-marquee__item::before{
  content:"✱"; margin-right:28px; font-weight:900; opacity:.8;
}
@keyframes tone-marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* =========================================================
   HEADER
   ========================================================= */
/* Header flotante (fixed). Base transparente sobre el hero; .is-scrolled lo compacta con fondo sólido translúcido */
.tone-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:transparent;
  border:1px solid transparent;
  transition: top .35s var(--ease), left .35s var(--ease), right .35s var(--ease),
              background .35s var(--ease), border-color .35s var(--ease),
              border-radius .35s var(--ease), box-shadow .35s var(--ease);
}
.tone-header.is-scrolled{
  top: 14px; left: 14px; right: 14px;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-color: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
}
@media (max-width:720px){
  .tone-header.is-scrolled{ top: 10px; left: 10px; right: 10px; border-radius: var(--radius-md); }
}
.tone-header.is-scrolled .tone-nav a{ color: var(--ink); }
.tone-header.is-scrolled .tone-nav a::after{ background: var(--ink); }
.tone-header.is-scrolled .tone-cart{ border-color: var(--ink); color: var(--ink); }
.tone-header.is-scrolled .tone-cart:hover{ background: var(--ink); color: var(--paper); }
.tone-header.is-scrolled .tone-burger span,
.tone-header.is-scrolled .tone-burger span::before,
.tone-header.is-scrolled .tone-burger span::after{ background: var(--ink); }
.tone-header__inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  height:96px;
  gap:24px;
  transition: height .35s var(--ease);
}
.tone-header.is-scrolled .tone-header__inner{ height:64px; }
.tone-header.is-scrolled .tone-logo__img{ height:36px; }
.tone-nav{ display:flex; gap:32px; }
.tone-nav--left{ justify-content:flex-start; }
.tone-nav--right{ justify-content:flex-end; align-items:center; }
.tone-nav a{
  position:relative;
  color: var(--paper);
  font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  padding:6px 0;
  transition: color .3s var(--ease);
}
.tone-nav a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:100%; height:1px; background:var(--paper);
  transform: scaleX(0); transform-origin:left;
  transition: transform .35s var(--ease);
}
.tone-nav a:hover::after{ transform: scaleX(1); }

/* ===== Megamenú "Productos" (desktop, al hacer hover) ===== */
.tone-has-dropdown{ position:relative; display:inline-flex; align-items:center; }
/* puente invisible para no perder el hover al cruzar del enlace al panel */
.tone-has-dropdown::after{
  content:""; position:absolute; top:100%; left:-12px; right:-12px; height:20px;
}
.tone-dropdown{
  position:absolute; top:100%; left:0;
  margin-top:16px;
  display:flex; gap:44px;
  padding:28px 34px;
  background:var(--paper); color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:0 24px 60px rgba(0,0,0,.14);
  opacity:0; visibility:hidden; pointer-events:none;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index:60;
}
.tone-has-dropdown:hover .tone-dropdown,
.tone-has-dropdown:focus-within .tone-dropdown{
  opacity:1; visibility:visible; pointer-events:auto; transform: translateY(0);
}
.tone-dropdown__col{ display:flex; flex-direction:column; gap:2px; }
.tone-dropdown__title{
  font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--mute); margin-bottom:12px;
}
.tone-dropdown__grid{ display:grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap:2px 36px; }
/* enlaces del panel: anular el estilo mayúsculas/blanco de .tone-nav a */
.tone-dropdown a{
  color:var(--ink);
  font-size:14px; font-weight:500; letter-spacing:0; text-transform:none;
  padding:7px 0;
  transition: opacity .2s var(--ease);
}
.tone-dropdown a::after{ display:none; }
.tone-dropdown a:hover{ opacity:.5; }

.tone-logo{
  font-weight:900; font-size:30px; letter-spacing:-.03em; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:6px; line-height:1;
}
.tone-logo__mark{
  display:inline-block; width:14px; height:14px; background:var(--ink);
  border-radius:4px; transform: rotate(45deg) translateY(-2px);
  margin-right:2px;
}
/* Isotipo del header — usar <img> dentro de .tone-logo */
.tone-logo__img{
  display:block;
  height:44px;
  width:auto;
  border-radius:8px;
}
@media (max-width: 1100px){
  .tone-logo__img{ height:38px; }
}

/* Wordmark "3DTONE" — usado en footer y newsletter */
.tone-wordmark{ display:block; height: 56px; width:auto; }
.tone-wordmark--xl{ display:block; margin: 0 auto; height: clamp(140px, 22vw, 260px); width:auto; }

.tone-cart{
  display:inline-flex; align-items:center; gap:10px;
  border:1.5px solid var(--paper); border-radius:999px;
  padding:8px 14px;
  color: var(--paper);
  font-size:12px; font-weight:700; letter-spacing:.12em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tone-cart:hover{ background:var(--paper); color:var(--ink); }
.tone-cart svg{ width:16px; height:16px; }

.tone-burger{ display:none; width:36px; height:36px; align-items:center; justify-content:center; }
.tone-burger span{ display:block; width:20px; height:2px; background:var(--paper); position:relative; transition: background .3s var(--ease); }
.tone-burger span::before, .tone-burger span::after{
  content:""; position:absolute; left:0; width:20px; height:2px; background:var(--paper);
  transition: background .3s var(--ease);
}
.tone-burger span::before{ top:-6px; }
.tone-burger span::after{ top:6px; }

@media (max-width: 768px){
  .tone-nav--left, .tone-nav--right{ display:none; }
  .tone-header__inner{ grid-template-columns: auto 1fr auto; }
  .tone-burger{ display:inline-flex; }
  .tone-logo{ justify-self:center; font-size:24px; }
}

/* =========================================================
   HERO
   ========================================================= */
/* ACF: hero */
.tone-hero{
  position:relative;
  margin: 16px var(--gutter) 0;
  height: clamp(520px, 68vh, 720px);
  border-radius: var(--radius-2xl);
  overflow:hidden;
  background:var(--ink);
  color:var(--paper);
}
@media (max-width:720px){
  .tone-hero{ margin: 12px 12px 0; height: 560px; border-radius: 56px; }
}
/* TODO: imagen hero (músico tocando con atril 3DTONE) */
.tone-hero__bg{
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(135deg, var(--ink) 0 14px, #2a2a2a 14px 28px);
  display:flex; align-items:center; justify-content:center;
  color:#3a3a3a;
  font-family:"SFMono-Regular", ui-monospace, Menlo, monospace;
  font-size:11px; letter-spacing:.2em; text-transform:uppercase;
}
.tone-hero__bg::after{
  content:"FOTO HERO — ATRIL TROMPETA EN ACCIÓN";
}
.tone-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.7) 100%);
}
.tone-hero__content{
  position:relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 48px clamp(24px, 5vw, 72px);
  gap:24px;
}
.tone-hero__top{
  position:absolute; top:120px; left:0; right:0;
  display:flex; justify-content:space-between; align-items:center;
  padding: 0 clamp(24px, 5vw, 72px);
}
.tone-hero__eyebrow{ color:var(--paper); opacity:.85; }
.tone-hero__badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(255,255,255,.5); color:var(--paper);
  padding:8px 14px; border-radius:999px;
  font-size:11px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
}
.tone-hero__badge .dot{ width:8px; height:8px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(255,255,255,.18); }
.tone-hero__h1{ max-width: 14ch; }
.tone-hero__sub{
  max-width: 52ch; font-size:clamp(15px, 1.2vw, 18px); line-height:1.5; opacity:.9;
}
.tone-hero__row{
  display:flex; gap:16px; flex-wrap:wrap; align-items:center; margin-top:8px;
}
.tone-hero .tone-btn{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.tone-hero .tone-btn:hover{ background:var(--ink); color:var(--paper); border-color:var(--paper); }
.tone-hero .tone-btn--ghost{ background:transparent; color:var(--paper); border-color:rgba(255,255,255,.6); }
.tone-hero .tone-btn--ghost:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }

.tone-hero__meta{
  position:absolute; bottom:36px; right:clamp(24px, 5vw, 72px);
  text-align:right; display:flex; flex-direction:column; gap:4px;
  font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--paper); opacity:.8;
}
.tone-hero__meta strong{ font-weight:700; letter-spacing:0; font-size:34px; line-height:1; text-transform:none; }
@media (max-width:720px){
  .tone-hero__meta{ display:none; }
}

/* =========================================================
   RETAILERS MARQUEE
   ========================================================= */
.tone-retailers{
  padding: 80px 0 64px;
  background:var(--paper);
}
.tone-retailers__head{
  text-align:center; margin-bottom: 28px;
}
.tone-retailers__head .tone-eyebrow{ color:var(--mute); }
.tone-retailers__row{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 8px 0;
}
.tone-retailers__track{
  display:flex; width:max-content; gap:14px; padding: 6px 0;
  animation: tone-marquee 48s linear infinite;
}
.tone-retailers__row--reverse .tone-retailers__track{
  animation-duration: 56s; animation-direction: reverse;
}
.tone-retailers__chip{
  flex:0 0 auto;
  border:1.5px solid var(--ink);
  border-radius:999px;
  padding: 14px 26px;
  font-size:14px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  white-space:nowrap;
  background:var(--paper);
  color:var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tone-retailers__chip:hover{ background:var(--ink); color:var(--paper); }
.tone-retailers__chip--filled{ background:var(--ink); color:var(--paper); }
.tone-retailers__chip--filled:hover{ background:var(--paper); color:var(--ink); }

/* =========================================================
   CATEGORÍAS — 4 globos
   ========================================================= */
/* WC: product_cat loop */
.tone-section{ padding: 96px 0; }
.tone-section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom: 40px;
}
.tone-section__head p{ color:var(--mute); max-width: 48ch; margin:8px 0 0; }
.tone-section__link{
  font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  border-bottom:1.5px solid var(--ink); padding-bottom:4px;
}
/* Botón circular con icono (p.ej. Instagram) */
.tone-section__ig{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px;
  border-radius:50%;
  border:1.5px solid var(--ink);
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tone-section__ig:hover{ background: var(--ink); color: var(--paper); }
.tone-section__ig svg{ width:22px; height:22px; }

.tone-cats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}
.tone-cat{
  position:relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background:var(--paper-2);
  overflow:hidden;
  isolation:isolate;
  cursor:pointer;
}
.tone-cat__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition: transform .8s var(--ease);
}
.tone-cat:hover .tone-cat__img{ transform: scale(1.04); }

.tone-cat__caption{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 64px 28px 26px;
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 100%);
}
.tone-cat__title{
  font-weight:900; text-transform:uppercase; letter-spacing:-.02em;
  font-size: clamp(22px, 2vw, 32px); line-height:.95;
}
.tone-cat__cta{
  font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  white-space:nowrap;
}

@media (max-width:560px){ .tone-cats{ grid-template-columns: 1fr; } }

/* =========================================================
   PRODUCT GRID (NEW IN / BEST SELLERS)
   ========================================================= */
/* WC: products loop */
.tone-products{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:24px;
}
.tone-product{
  list-style:none;
  background:var(--paper-2);
  border-radius:var(--radius-lg);
  overflow:hidden;
  display:flex; flex-direction:column;
  position:relative;
  transition: transform .35s var(--ease);
}
.tone-product:hover{ transform: translateY(-4px); }
.tone-product__media{
  position:relative;
  aspect-ratio: 1 / 1;
  background:var(--paper);
  margin: 12px 12px 0;
  border-radius: calc(var(--radius-lg) - 12px);
  overflow:hidden;
}
/* v0.34.4: con .tone-product delante para ganar a woocommerce-layout.css
   (.woocommerce img{height:auto} pisaba el estirado SOLO en la tienda —
   la "linea blanca" bajo las fotos que veia Marc en el movil). */
.tone-product .tone-product__img,
.tone-product .tone-product__img--alt{
  position:absolute; inset:0; top:0; right:0; bottom:0; left:0;
  width:100% !important; height:100% !important; max-width:none;
  object-fit:cover;
  transition: opacity .5s var(--ease);
}
.tone-product__img--alt{ opacity:0; }
.tone-product:hover .tone-product__img{ opacity:0; }
.tone-product:hover .tone-product__img--alt{ opacity:1; }
.tone-product__shape{
  position:absolute; left:50%; top:55%; transform: translate(-50%, -50%);
  width:60%; aspect-ratio:1/1.4;
  background:var(--ink); border-radius: 16% 16% 32% 32% / 12% 12% 26% 26%;
  opacity:.9;
}
.tone-product__shape--alt{
  width:62%; aspect-ratio:1/1.2; border-radius: 30%;
  background: linear-gradient(135deg, #1a1a1a, #444);
}
.tone-product__badge{
  position:absolute; top:12px; left:12px; z-index:3;
  background:var(--ink); color:var(--paper);
  padding: 6px 12px; border-radius:999px;
  font-size:10px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
}
.tone-product__badge--alt{ background:var(--paper); color:var(--ink); border:1px solid var(--ink); }

.tone-product__body{
  padding: 18px 20px 20px;
  display:flex; flex-direction:column; gap:6px; flex:1;
}
.tone-product__title{
  font-size:15px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  line-height:1.25;
}
.tone-product__price{
  font-size:15px; font-weight:700; letter-spacing:.02em;
}
.tone-product__price del{ color:var(--mute); font-weight:500; margin-right:8px; }
.tone-product__swatches{
  display:flex; gap:6px; margin-top:auto; padding-top:12px;
}
.tone-product__swatches span{
  width:14px; height:14px; border-radius:50%; border:1px solid var(--line);
}
.tone-product__btn{
  margin: 0 16px 16px;
  padding: 14px 20px;
  border-radius:999px;
  background:var(--ink); color:var(--paper);
  font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  border:1.5px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tone-product__btn:hover{ background:var(--paper); color:var(--ink); }

.tone-section__more{ text-align:center; margin-top:48px; }

/* =========================================================
   PROMO BANNER (2 globos)
   ========================================================= */
/* ACF: feature banners */
.tone-promo{
  display:grid; grid-template-columns: 1fr 1fr; gap:24px;
}
@media (max-width:900px){ .tone-promo{ grid-template-columns: 1fr; } }

.tone-promo__card{
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4vw, 56px);
  display:grid; grid-template-columns: 1fr 1fr; gap:24px; align-items:center;
  min-height: 420px;
  position:relative; overflow:hidden;
}
.tone-promo__card--dark{ background:var(--ink); color:var(--paper); }
.tone-promo__card--light{ background:var(--paper-2); color:var(--ink); }
.tone-promo__visual{
  aspect-ratio: 1/1.1;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  position:relative;
  display:flex; align-items:center; justify-content:center;
}
.tone-promo__card--light .tone-promo__visual{ background:var(--paper); }
.tone-promo__shape{
  width:100%; height:100%;
  object-fit:cover;
  border-radius: var(--radius-md);
}
.tone-promo__eyebrow{
  font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  opacity:.7; margin-bottom:14px; display:block;
}
.tone-promo__title{
  font-size:clamp(28px, 3vw, 44px); font-weight:900; text-transform:uppercase; letter-spacing:-.02em;
  line-height:.95; margin: 0 0 16px;
}
.tone-promo__price{
  font-size:18px; font-weight:700; margin: 0 0 24px; letter-spacing:.02em;
}
.tone-promo__card--dark .tone-btn{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.tone-promo__card--dark .tone-btn:hover{ background:transparent; color:var(--paper); border-color:var(--paper); }

/* =========================================================
   MANIFESTO
   ========================================================= */
/* ACF: manifiesto */
.tone-manifesto{
  position:relative;
  padding: 96px var(--gutter);
  background: var(--ink);
  color: var(--paper);
  overflow:hidden;
}
.tone-manifesto__bg{
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(45deg, var(--ink) 0 14px, #2a2a2a 14px 28px);
  opacity:.85;
}
.tone-manifesto__bg::after{
  content:"IMAGEN MANIFIESTO — BANDA TOCANDO";
  position:absolute; bottom:14px; left:18px;
  font-family: ui-monospace, Menlo, monospace; font-size:10px; letter-spacing:.2em; color:#3a3a3a;
}
.tone-manifesto__card{
  position:relative;
  max-width: 980px; margin-inline:auto;
  background:var(--paper); color:var(--ink);
  border-radius: var(--radius-2xl);
  padding: clamp(40px, 6vw, 80px);
  text-align:center;
}
.tone-manifesto__star{
  font-size:48px; font-weight:900; line-height:1; display:block; margin-bottom:24px;
}
.tone-manifesto__h2{ margin-bottom:24px; }
.tone-manifesto__body{
  max-width: 56ch; margin: 0 auto 32px;
  font-size: clamp(15px, 1.15vw, 18px); line-height:1.55;
  color: var(--ink);
}
.tone-manifesto__divider{
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin-top: 36px; color:var(--mute); font-size:12px; letter-spacing:.18em; text-transform:uppercase;
}
.tone-manifesto__divider::before,
.tone-manifesto__divider::after{
  content:""; height:1px; width:40px; background:var(--line);
}

/* =========================================================
   FEATURES (¿POR QUÉ ES ÚNICO?)
   ========================================================= */
/* ACF: features */
.tone-features__top{
  display:grid; grid-template-columns: 2fr 3fr; gap:48px; align-items:center;
}
@media (max-width:900px){ .tone-features__top{ grid-template-columns: 1fr; } }
.tone-features__text p{
  color:var(--mute); margin: 24px 0 32px; font-size: 17px; line-height:1.6;
}
.tone-features__media{
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background:
    repeating-linear-gradient(45deg, #ececec 0 12px, #f5f5f5 12px 24px);
  display:flex; align-items:center; justify-content:center;
  font-family: ui-monospace, Menlo, monospace; font-size:11px; letter-spacing:.18em; color:#aaa; text-transform:uppercase;
  position:relative;
}
.tone-features__media::after{ content:"FOTO LIFESTYLE — MÚSICO USANDO ATRIL"; }

.tone-features__row{
  margin-top: 64px;
  display:grid; grid-template-columns: repeat(3, 1fr);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
@media (max-width:720px){ .tone-features__row{ grid-template-columns: 1fr; } }
.tone-features__pill{
  padding: 28px 24px;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  font-size:14px;
  display:flex; align-items:center; gap:14px; justify-content:center;
  border-right:1px solid var(--line);
}
.tone-features__pill:last-child{ border-right:0; }
.tone-features__pill .star{ font-size:20px; font-weight:900; }
@media (max-width:720px){
  .tone-features__pill{ border-right:0; border-bottom:1px solid var(--line); }
  .tone-features__pill:last-child{ border-bottom:0; }
}

/* =========================================================
   COMUNIDAD
   ========================================================= */
/* ACF repeater: ugc */
.tone-fam__grid{
  display:grid; grid-template-columns: repeat(6, 1fr); gap:16px;
}
@media (max-width:1100px){ .tone-fam__grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width:560px){
  .tone-fam__grid{
    grid-template-columns: repeat(6, 70vw);
    overflow-x:auto; gap:12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .tone-fam__item{ scroll-snap-align: start; }
}
.tone-fam__item{ display:flex; flex-direction:column; gap:10px; }
.tone-fam__img{
  aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, #ececec 0 10px, #f5f5f5 10px 20px);
  position:relative;
  display:flex; align-items:center; justify-content:center;
  font-family: ui-monospace, Menlo, monospace; font-size:10px; letter-spacing:.18em; color:#bbb; text-transform:uppercase;
  overflow:hidden;
  transition: transform .35s var(--ease);
}
.tone-fam__item:hover .tone-fam__img{ transform: scale(1.02); }
.tone-fam__img::after{ content: attr(data-label); }
.tone-fam__caption{
  font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
/* INTEGRACIÓN: Mailchimp/Brevo */
.tone-newsletter{
  margin: 0 var(--gutter) 24px;
  background:var(--ink); color:var(--paper);
  border-radius: var(--radius-2xl);
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  text-align:center;
  position:relative; overflow:hidden;
}
@media (max-width:720px){
  .tone-newsletter{ margin: 0 12px 16px; border-radius: 56px; }
}
.tone-newsletter__brand{
  font-weight:900; text-transform:uppercase;
  font-size: clamp(64px, 13vw, 168px);
  line-height:.85; letter-spacing:-.04em;
  margin: 0 0 32px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  opacity:.95;
}
.tone-newsletter__brand .tone-logo__mark{ width:28px; height:28px; border-radius:8px; background:var(--paper); }
.tone-newsletter__h2{ margin: 0 0 16px; }
.tone-newsletter__sub{
  margin: 0 auto 32px; max-width: 44ch; opacity:.8; font-size:15px;
}
.tone-newsletter__form{
  display:flex; align-items:center; gap:0; max-width:520px; margin: 0 auto 18px;
  border-bottom: 1.5px solid rgba(255,255,255,.5);
  padding-bottom: 8px;
}
.tone-newsletter__form input{
  flex:1; background:transparent; border:0; outline:none;
  color:var(--paper); padding: 14px 8px;
  font-size:15px; letter-spacing:.02em;
}
.tone-newsletter__form input::placeholder{ color: rgba(255,255,255,.55); }
.tone-newsletter__form button{
  border-radius:999px; background:var(--paper); color:var(--ink);
  padding: 12px 24px; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  border:1.5px solid var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.tone-newsletter__form button:hover{ background:transparent; color:var(--paper); }
.tone-newsletter__legal{
  font-size:11px; letter-spacing:.06em; opacity:.55;
}
.tone-newsletter__legal a{ text-decoration:underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.tone-footer{
  background:var(--ink); color:var(--paper);
  padding: 80px 0 32px;
}
.tone-footer__grid{
  display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:48px;
}
@media (max-width:900px){ .tone-footer__grid{ grid-template-columns: 1fr 1fr; gap:36px; } }
@media (max-width:560px){ .tone-footer__grid{ grid-template-columns: 1fr; } }
.tone-footer__brand{
  font-weight:900; font-size:32px; letter-spacing:-.03em; text-transform:uppercase; margin-bottom: 16px;
  display:inline-flex; align-items:center; gap:6px;
}
.tone-footer__brand .tone-logo__mark{ background:var(--paper); }
.tone-footer__claim{ color: rgba(255,255,255,.6); max-width: 36ch; line-height:1.55; font-size:14px; }
.tone-footer__heading{
  font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; margin: 0 0 18px;
}
.tone-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.tone-footer ul a{
  font-size:14px; color: rgba(255,255,255,.75);
  transition: color .2s var(--ease);
}
.tone-footer ul a:hover{ color:var(--paper); }
.tone-footer__bottom{
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12px; letter-spacing:.08em; color: rgba(255,255,255,.5); text-transform:uppercase;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.tone-reveal{
  opacity:0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tone-reveal.is-in{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .tone-marquee, .tone-retailers__track{ animation: none !important; }
  .tone-reveal{ opacity:1 !important; transform:none !important; }
  *{ transition: none !important; }
}

/* =========================================================
   MINI-CART DRAWER
   ========================================================= */
.tone-cart-drawer{ position:fixed; inset:0; z-index:100; visibility:hidden; }
.tone-cart-drawer.is-open{ visibility:visible; }
.tone-cart-drawer__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); opacity:0; transition:opacity .35s var(--ease); }
.tone-cart-drawer.is-open .tone-cart-drawer__overlay{ opacity:1; }
.tone-cart-drawer__panel{ position:absolute; top:0; right:0; height:100%; width:min(420px,92vw); background:var(--paper); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .4s var(--ease); box-shadow:-20px 0 60px rgba(0,0,0,.18); }
.tone-cart-drawer.is-open .tone-cart-drawer__panel{ transform:translateX(0); }
.tone-cart-drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:24px; border-bottom:1px solid var(--line); }
.tone-cart-drawer__head h2{ font-size:18px; font-weight:900; text-transform:uppercase; letter-spacing:-.01em; margin:0; }
.tone-cart-drawer__count{ color:var(--mute); font-weight:700; }
.tone-cart-drawer__close{ width:40px; height:40px; border-radius:50%; border:1.5px solid var(--line); font-size:15px; cursor:pointer; transition:background .2s var(--ease), color .2s var(--ease); }
.tone-cart-drawer__close:hover{ background:var(--ink); color:var(--paper); }
.tone-cart-drawer__ship{ padding:18px 24px; border-bottom:1px solid var(--line); }
.tone-cart-drawer__bar{ height:6px; border-radius:999px; background:var(--paper-2); overflow:hidden; margin-bottom:10px; }
.tone-cart-drawer__bar span{ display:block; height:100%; background:var(--ink); border-radius:999px; transition:width .4s var(--ease); }
.tone-cart-drawer__ship p{ font-size:12px; color:var(--mute); margin:0; }
.tone-cart-drawer__items{ flex:1; overflow-y:auto; padding:8px 24px; }
.tone-cart-drawer__empty{ color:var(--mute); text-align:center; margin-top:48px; }
.tone-cart-item{ display:flex; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.tone-cart-item__img{ width:64px; height:64px; border-radius:var(--radius-sm); object-fit:cover; background:var(--paper-2); flex:0 0 auto; }
.tone-cart-item__info{ flex:1; min-width:0; }
.tone-cart-item__info h3{ font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.02em; margin:0; }
.tone-cart-item__variant{ font-size:12px; color:var(--mute); }
.tone-cart-item__row{ display:flex; justify-content:space-between; margin-top:8px; font-size:14px; font-weight:700; }
.tone-cart-item__remove{ width:26px; height:26px; color:var(--mute); cursor:pointer; flex:0 0 auto; font-size:12px; transition:color .2s var(--ease); }
.tone-cart-item__remove:hover{ color:var(--ink); }
.tone-cart-drawer__foot{ padding:24px; border-top:1px solid var(--line); }
.tone-cart-drawer__subtotal{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:16px; font-size:15px; }
.tone-cart-drawer__subtotal strong{ font-size:20px; }
.tone-cart-drawer__note{ font-size:11px; color:var(--mute); text-align:center; margin-top:12px; }
@media (prefers-reduced-motion: reduce){ .tone-cart-drawer__overlay,.tone-cart-drawer__panel{ transition:none; } }


.tone-qtybox{ display:inline-flex; align-items:center; gap:10px; border:1.5px solid var(--line); border-radius:999px; padding:2px 8px; }
.tone-qtybox button{ width:22px; height:22px; font-size:15px; font-weight:700; cursor:pointer; color:var(--ink); line-height:1; }
.tone-qtybox button:hover{ opacity:.55; }
.tone-qtybox > span{ min-width:16px; text-align:center; font-size:13px; }


/* =========================================================
   PRODUCT DETAIL PAGE (PDP) — portado de product.html
   ========================================================= */
.tone-pdp{ padding: 124px 0 96px; }
.tone-pdp__grid{ display:grid; grid-template-columns: 1.05fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .tone-pdp__grid{ grid-template-columns:1fr; gap:32px; } }
.tone-pdp__gallery{ position:sticky; top:110px; display:flex; flex-direction:column; gap:14px; }
@media (max-width:900px){ .tone-pdp__gallery{ position:static; } }
.tone-pdp__main{ aspect-ratio:1/1; background:var(--paper-2); border-radius:var(--radius-lg); overflow:hidden; }
.tone-pdp__main img{ width:100%; height:100%; object-fit:cover; }
.tone-pdp__thumbs{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.tone-pdp__thumb{ aspect-ratio:1/1; background:var(--paper-2); border-radius:var(--radius-sm); overflow:hidden; padding:0; border:2px solid transparent; cursor:pointer; transition:border-color .2s var(--ease); }
.tone-pdp__thumb img{ width:100%; height:100%; object-fit:cover; }
.tone-pdp__thumb.is-active{ border-color:var(--ink); }
.tone-pdp__breadcrumb{ font-size:12px; letter-spacing:.06em; color:var(--mute); margin-bottom:18px; }
.tone-pdp__breadcrumb a:hover{ color:var(--ink); }
.tone-pdp__title{ font-weight:900; text-transform:uppercase; letter-spacing:-.02em; font-size:clamp(30px,4vw,52px); line-height:.98; margin:8px 0 16px; }
.tone-pdp__price{ font-size:24px; font-weight:700; margin-bottom:20px; }
.tone-pdp__short{ color:var(--mute); font-size:16px; line-height:1.55; margin-bottom:28px; max-width:46ch; }
.tone-pdp__variations{ margin-bottom:28px; }
.tone-pdp__label{ display:block; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; }
.tone-pdp__swatches{ display:flex; gap:12px; }
.tone-swatch{ width:38px; height:38px; border-radius:50%; cursor:pointer; background:var(--sw); border:1.5px solid var(--line); box-shadow:inset 0 0 0 3px var(--paper); transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.tone-swatch.is-active{ box-shadow:inset 0 0 0 3px var(--paper), 0 0 0 2px var(--ink); transform:scale(1.05); }
.tone-pdp__buy{ display:flex; gap:14px; align-items:stretch; margin-bottom:24px; }
.tone-qty{ display:inline-flex; align-items:center; border:1.5px solid var(--ink); border-radius:999px; overflow:hidden; }
.tone-qty__btn{ width:46px; height:54px; font-size:20px; font-weight:700; cursor:pointer; }
.tone-qty__btn:hover{ background:var(--ink); color:var(--paper); }
.tone-qty__input{ width:46px; text-align:center; border:0; font-size:16px; font-weight:700; -moz-appearance:textfield; }
.tone-qty__input::-webkit-outer-spin-button,.tone-qty__input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.tone-pdp__buy .tone-btn{ flex:1; }
.tone-pdp__perks{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px 24px; font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--mute); }
.tone-pdp__perks li::before{ content:"\2731  "; font-weight:900; color:var(--ink); }
.tone-pdp__details{ display:grid; grid-template-columns:1.6fr 1fr; gap:48px; margin-top:80px; padding-top:56px; border-top:1px solid var(--line); }
@media (max-width:900px){ .tone-pdp__details{ grid-template-columns:1fr; gap:32px; } }
.tone-pdp__desc h2,.tone-pdp__desc h3{ text-transform:uppercase; letter-spacing:-.01em; margin:28px 0 12px; }
.tone-pdp__desc h2:first-child{ margin-top:0; }
.tone-pdp__desc p{ color:var(--mute); line-height:1.65; margin:0 0 14px; }
.tone-pdp__desc ul,.tone-pdp__desc ol{ color:var(--mute); line-height:1.6; padding-left:20px; margin:0 0 14px; }
.tone-pdp__desc li{ margin-bottom:8px; }
.tone-pdp__specs{ background:var(--paper-2); border-radius:var(--radius-md); padding:28px; height:max-content; }
.tone-pdp__specs h3{ text-transform:uppercase; font-size:14px; letter-spacing:.06em; margin:0 0 12px; }
.tone-pdp__specs h3:not(:first-child){ margin-top:24px; }
.tone-pdp__specs ul{ list-style:none; padding:0; margin:0; }
.tone-pdp__specs li{ font-size:14px; color:var(--mute); padding:7px 0; border-bottom:1px solid var(--line); }
.tone-pdp__quote{ margin:80px auto 0; max-width:760px; text-align:center; font-size:clamp(20px,2.4vw,30px); font-weight:500; line-height:1.4; letter-spacing:-.01em; }
.tone-pdp__quote cite{ display:block; margin-top:20px; font-size:13px; font-style:normal; letter-spacing:.1em; text-transform:uppercase; color:var(--mute); }
.tone-pdp__faq{ margin-top:80px; max-width:820px; }
.tone-pdp__faq h2{ text-transform:uppercase; margin-bottom:20px; }
.tone-pdp__faq details{ border-top:1px solid var(--line); padding:18px 0; }
.tone-pdp__faq details:last-child{ border-bottom:1px solid var(--line); }
.tone-pdp__faq summary{ font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.tone-pdp__faq summary::-webkit-details-marker{ display:none; }
.tone-pdp__faq summary::after{ content:"+"; font-size:24px; font-weight:400; transition:transform .25s var(--ease); }
.tone-pdp__faq details[open] summary::after{ transform:rotate(45deg); }

/* =========================================================
   HEADER HÍBRIDO v2 — diseño de Raúl (announcement + nav card
   clara + wordmark fijo) integrado en los tokens tone
   ========================================================= */

/* Announcement: tira fina a sangre completa (no roba espacio) */
.tone-topbar{
  position:static; height:auto; display:block;
  background:var(--ink); color:var(--paper); border:0;
  margin:0; overflow:visible;
}
.tone-topbar .tone-announce{
  background:transparent; color:var(--paper);
  height:32px; border-radius:0; width:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  text-align:center; padding:0 16px;
}

/* Nav card clara y sticky (no se comprime, wordmark siempre visible) */
.tone-header{
  position:sticky; top:10px; left:auto; right:auto; z-index:50;
  margin:12px var(--gutter) 0;
  background:#ececea;
  border:1px solid var(--line);
  border-radius:20px;
  transition: box-shadow .3s var(--ease);
}
body.admin-bar .tone-header{ top:42px; }
.tone-header.is-stuck{ box-shadow:0 10px 34px rgba(0,0,0,.12); }
.tone-header__inner{ height:76px; padding-inline:28px; }
.tone-header.is-scrolled .tone-header__inner{ height:76px; }

/* Enlaces siempre en tinta (tarjeta clara) */
.tone-nav a{ color:var(--ink); }
.tone-nav a::after{ background:var(--ink); }

/* Wordmark fijo (sin cambio a isotipo) */
.tone-logo__word{ display:block; height:58px; width:auto; fill:var(--ink); }
.tone-logo .tone-logo__img{ display:none; }
.tone-header.is-scrolled .tone-logo__word{ display:block; }
.tone-header.is-scrolled .tone-logo__img{ display:none; }
@media (max-width:1100px){ .tone-logo__word{ height:48px; } }

/* Iconos cuenta/carrito estilo Raúl (sin borde pill, solo icono) */
.tone-cart{
  border:0; padding:6px 8px; color:var(--ink);
  font-size:13px; font-weight:700; letter-spacing:.06em;
}
.tone-cart:hover{ background:transparent; color:var(--mute); }
.tone-header.is-scrolled .tone-cart{ border:0; color:var(--ink); }
.tone-header.is-scrolled .tone-cart:hover{ background:transparent; color:var(--mute); }
.tone-cart svg{ width:20px; height:20px; }
.tone-burger span, .tone-burger span::before, .tone-burger span::after{ background:var(--ink); }

/* ===== Megamenú (píldoras + tarjetas de producto) ===== */
.tone-mega{
  position:absolute; top:100%; left:-12px;
  margin-top:14px;
  width:min(880px, 92vw);
  padding:24px 26px 26px;
  background:var(--paper); color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:0 24px 60px rgba(0,0,0,.14);
  opacity:0; visibility:hidden; pointer-events:none;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index:60;
}
.tone-has-dropdown:hover .tone-mega,
.tone-has-dropdown:focus-within .tone-mega{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
.tone-mega a{ color:var(--ink); text-transform:none; letter-spacing:0; padding:0; }
.tone-mega a::after{ display:none; }
.tone-mega__pills{ display:flex; flex-wrap:wrap; gap:8px; }
.tone-mega__pill{
  border:1.5px solid var(--ink); border-radius:999px; padding:8px 16px;
  font-size:11px !important; font-weight:700 !important;
  letter-spacing:.12em !important; text-transform:uppercase !important;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tone-mega__pill:hover{ background:var(--ink); color:var(--paper); }
.tone-mega__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:20px; }
@media (max-width:900px){ .tone-mega__grid{ grid-template-columns:repeat(2,1fr); } }
.tone-mega__card{ display:flex; flex-direction:column; gap:6px; }
.tone-mega__thumb{ display:block; aspect-ratio:1/1; overflow:hidden; background:var(--paper-2); border-radius:var(--radius-sm); }
.tone-mega__thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.tone-mega__card:hover .tone-mega__thumb img{ transform:scale(1.05); }
.tone-mega__name{ font-size:12px; font-weight:700; text-transform:uppercase !important; letter-spacing:.04em !important; line-height:1.3; }
.tone-mega__price{ font-size:12px; color:var(--mute); }

/* ===== Menú móvil ===== */
.tone-mobile{
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:70;
  background:var(--paper); border:1px solid var(--line);
  border-radius:var(--radius-md); box-shadow:0 24px 60px rgba(0,0,0,.18);
  padding:14px 18px;
}
.tone-mobile nav{ display:flex; flex-direction:column; }
.tone-mobile a{
  color:var(--ink); font-size:14px; font-weight:700;
  text-transform:uppercase; letter-spacing:.08em;
  padding:13px 6px; border-bottom:1px solid var(--line);
}
.tone-mobile a:last-child{ border-bottom:0; }

/* ===== Hero media (foto real) + media altura (petición cliente) ===== */
.tone-hero{ height:clamp(380px, 52vh, 540px); margin-top:16px; }
.tone-hero__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* ===== Sección productos estrella bajo el hero ===== */
.tone-featured{ padding:56px 0 8px; }

/* ===== Reseñas (diseño Raúl adaptado a tone) ===== */
.tone-reviews{ padding:72px 0 8px; }
.tone-reviews__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:32px; }
@media (max-width:900px){ .tone-reviews__grid{ grid-template-columns:1fr; } }
.tone-review{
  background:var(--paper-2); border-radius:var(--radius-lg);
  padding:28px 26px; display:flex; flex-direction:column; gap:14px;
}
.tone-review__stars{ letter-spacing:3px; font-size:14px; }
.tone-review__text{ font-size:15px; line-height:1.55; margin:0; }
.tone-review__author{ margin-top:auto; }
.tone-review__author strong{ display:block; font-size:14px; }
.tone-review__author span{ font-size:12px; color:var(--mute); }

/* ===== FAQ (acordeón) ===== */
.tone-faq{ padding:72px 0 40px; max-width:900px; margin-inline:auto; }
.tone-faq details{
  background:var(--paper-2); border-radius:18px;
  padding:20px 24px; margin-top:12px;
}
.tone-faq summary{
  font-weight:700; font-size:15px; cursor:pointer; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.tone-faq summary::-webkit-details-marker{ display:none; }
.tone-faq summary::after{ content:"+"; font-size:22px; font-weight:400; transition:transform .25s var(--ease); }
.tone-faq details[open] summary::after{ transform:rotate(45deg); }
.tone-faq p{ color:var(--mute); line-height:1.6; margin:14px 0 0; }

/* =========================================================
   AJUSTES v3 — feedback Marc 05/07
   ========================================================= */

/* Hero: tipografia mas contenida para que el titular no se corte */
.tone-hero .tone-hero__h1{ font-size:clamp(30px, 4.4vw, 60px); }
.tone-hero__content{ padding-bottom:36px; gap:16px; }

/* Newsletter (footer): el "JOIN THE BANDA" y el wordmark gigante, reducidos */
.tone-newsletter{ padding:clamp(48px, 7vw, 84px) var(--gutter); }
.tone-wordmark--xl{ height:clamp(60px, 9vw, 110px); }
.tone-newsletter__h2{ font-size:clamp(26px, 3.2vw, 40px); }
.tone-newsletter__brand{ margin:0 0 20px; }

/* Tarjetas de producto: media como enlace + hover con foto alternativa (en uso) */
.tone-product__media{ display:block; }
.tone-product:not(.has-alt):hover .tone-product__img{ opacity:1; transform:scale(1.04); }
.tone-product__img{ transition:opacity .5s var(--ease), transform .6s var(--ease); }
.tone-product__body a{ color:inherit; }

/* Paginas interiores: el header ya no es flotante -> menos aire arriba */
.tone-pdp{ padding-top:48px; }

/* Tienda (archive-product) */
.tone-shop{ padding:48px 0 96px; }
.tone-shop__pills{ margin:24px 0 8px; display:flex; flex-wrap:wrap; gap:8px; }
.tone-shop__grid{ margin-top:28px; }
.woocommerce-pagination{ margin-top:44px; text-align:center; }
.woocommerce-pagination ul{ list-style:none; display:inline-flex; gap:8px; padding:0; margin:0; }
.woocommerce-pagination a, .woocommerce-pagination span{
  display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center;
  border:1.5px solid var(--ink); border-radius:50%; font-weight:700; font-size:13px;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.woocommerce-pagination a:hover{ background:var(--ink); color:var(--paper); }
.woocommerce-pagination span.current{ background:var(--ink); color:var(--paper); }

/* =========================================================
   RESPONSIVE MÓVIL v4 — prioridad marcada por Marc
   ========================================================= */
@media (max-width:768px){
  /* Announce más compacta */
  .tone-announce{ font-size:10px; letter-spacing:.1em; height:30px; padding:0 10px; }

  /* Header: tarjeta más ceñida, wordmark reducido */
  .tone-header{ margin:10px 12px 0; }
  .tone-header__inner{ height:60px; padding-inline:12px; gap:10px; grid-template-columns:auto 1fr auto; }
  .tone-logo__word{ height:38px; }

  /* En móvil se mantienen burger + iconos; solo se ocultan los enlaces de texto */
  .tone-nav--left{ display:flex; align-items:center; }
  .tone-nav--left > a, .tone-nav--left .tone-has-dropdown{ display:none; }
  .tone-nav--right{ display:flex; align-items:center; gap:2px; }
  .tone-nav--right > a:not(.tone-cart){ display:none; }
  .tone-cart{ padding:6px 6px; }
  .tone-cart svg{ width:19px; height:19px; }
  .tone-cart__count{ font-size:11px; }

  /* Menú móvil pegado a la tarjeta */
  .tone-mobile{ left:0; right:0; }

  /* Hero más contenido */
  .tone-hero{ height:clamp(300px, 44vh, 420px); margin:12px 12px 0; border-radius:44px; }
  .tone-hero__content{ padding:28px 22px; gap:12px; }
  .tone-hero .tone-hero__h1{ font-size:clamp(26px, 8vw, 38px); }
  .tone-hero__sub{ font-size:14px; }

  /* Cabeceras de sección apiladas */
  .tone-section__head{ flex-direction:column; align-items:flex-start; gap:14px; }
  .tone-section{ padding:56px 0; }
  .tone-featured{ padding:40px 0 4px; }
  .tone-reviews{ padding:48px 0 4px; }

  /* Ficha de producto: compra apilable */
  .tone-pdp{ padding-top:24px; }
  .tone-pdp__buy{ flex-wrap:wrap; }
  .tone-pdp__buy .tone-btn{ flex:1 1 100%; justify-content:center; }

  /* Tienda */
  .tone-shop{ padding:28px 0 64px; }
  .tone-shop__pills{ gap:6px; }
  .tone-mega__pill{ padding:7px 13px; }

  /* Newsletter y footer ya reducidos en v3; margen lateral menor */
  .tone-newsletter{ margin:0 12px 16px; border-radius:48px; }
}

@media (max-width:400px){
  .tone-logo__word{ height:32px; }
  .tone-hero{ border-radius:36px; }
  .tone-products{ grid-template-columns:1fr; }
}

/* Badge de las tarjetas (Nuevo lanzamiento) — asegurar ancla */
.tone-product{ position:relative; }
.tone-product .tone-product__badge{ z-index:3; }

/* =========================================================
   MÓVIL v4.1 — feedback Marc: menos compacto, tipografía menor,
   hero sin recortes (crece con el contenido)
   ========================================================= */
@media (max-width:768px){
  /* announce: que pueda partir en 2 lineas sin cortarse */
  .tone-announce{ height:auto; min-height:30px; padding:6px 14px; line-height:1.5; }

  /* tipografia general mas contenida */
  .tone-h2{ font-size:clamp(22px, 6vw, 32px); }
  .tone-eyebrow{ font-size:10px; }
  .tone-btn{ padding:12px 20px; font-size:11.5px; letter-spacing:.1em; gap:8px; }

  /* hero: altura automatica -> el titular nunca se recorta;
     la foto respira arriba y el contenido va debajo en flujo */
  .tone-hero{ height:auto; min-height:0; }
  .tone-hero__content{ padding:180px 20px 26px; gap:10px; }
  .tone-hero .tone-hero__h1{ font-size:clamp(24px, 7vw, 32px); }
  .tone-hero__sub{ font-size:13.5px; line-height:1.5; }
  .tone-hero__row{ gap:10px; }

  /* mas aire entre secciones y titulares de seccion menores */
  .tone-section__head p{ font-size:14px; }
  .tone-product__title{ font-size:13px; }
  .tone-product__price{ font-size:14px; }
  .tone-review__text{ font-size:14px; }
  .tone-faq summary{ font-size:14px; }
  .tone-faq details{ padding:16px 18px; }
}

/* =========================================================
   CONFIGURADOR (page-configurador.php) — visor 3D escaparate
   ========================================================= */
.tone-cfg3d{ padding:32px 0 72px; }
.tone-cfg3d__grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:start; }
@media (max-width:900px){ .tone-cfg3d__grid{ grid-template-columns:1fr; gap:24px; } }
.tone-cfg3d__stage{ position:relative; background:var(--paper-2); border-radius:var(--radius-lg); overflow:hidden; height:min(64vh,600px); }
@media (max-width:768px){ .tone-cfg3d__stage{ height:min(56vh,460px); } }
.tone-cfg3d__stage model-viewer{ width:100%; height:100%; --poster-color:transparent; }
/* v0.28.1 — previsualizador: FOTO del atril seleccionado y, debajo, la
   imagen del cliente en pequeño (compacto en móvil y PC). Sin tintes.
   Estados por clase .is-on (TranslatePress pierde los hidden). */
/* v0.28.3 — la FOTO DEL ATRIL LLENA todo el panel (petición Marc: "que
   ocupe la parte gris") y el logo del cliente flota encima, abajo, en su
   tarjetita blanca. Las fotos del catálogo tienen fondo neutro, así que
   el recorte a sangre queda limpio. */
.tone-cfg3d__stage .tone-cfg3d__photo{
  position:absolute; inset:0; display:block;
  width:100%; height:100%; object-fit:cover; margin:0;
  border-radius:inherit; /* v0.34.2: esquinas propias, a prueba de caches */
}
.tone-cfg3d__logo{
  display:none; position:absolute; left:50%; bottom:20px; transform:translateX(-50%);
  max-width:46%; max-height:88px; width:auto; height:auto; z-index:3;
  user-select:none; -webkit-user-drag:none;
  background:#fff; padding:10px 16px; border-radius:16px;
  box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.tone-cfg3d__logo.is-on{ display:block; }
@media (max-width:768px){
  .tone-cfg3d__logo{ max-height:64px; padding:8px 12px; bottom:14px; }
}

/* Grupo de acabado oculto cuando el atril no tiene colores (simples) */
.tone-cfg3d__group.is-off{ display:none; }

/* El desplegable del tipo de personalización, con pinta de desplegable */
.cfg3d-select-label{
  display:block; font-size:11px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:#6e6e6e; margin:0 0 8px;
}
select.cfg3d-modo{
  -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23262626' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 20px center;
  padding-right:46px; cursor:pointer;
}
/* Atajo al checkout tras añadir (el pago express vive allí) */
.cfg3d-pagar{ display:none; margin-top:10px; }
.cfg3d-pagar.is-on{ display:block; }
#cfg3d-remove{ display:none; }
#cfg3d-remove.is-on{ display:inline-block; }

/* Bloques del tipo de personalización (imagen / iniciales) */
#cfg3d-modo{ margin-bottom:16px; }
.cfg3d-bloque{ display:none; }
.cfg3d-bloque.is-on{ display:block; }
#cfg3d-iniciales{
  width:100%; height:50px; box-sizing:border-box;
  border:1.5px solid var(--line); border-radius:999px; background:var(--paper);
  padding:0 20px; font-family:var(--font-body); font-size:14px; color:var(--ink);
  letter-spacing:.12em; text-transform:uppercase;
}
#cfg3d-iniciales:focus{ outline:none; border-color:var(--ink); }

/* v0.33.0 — "¿Completas tu pedido?" dentro del desplegable del carrito */
.tone-drawer-cross{
  border-top:1px solid var(--line); padding:16px 24px 4px; flex:0 0 auto;
}
.tone-drawer-cross[hidden]{ display:none; }
.tone-drawer-cross__title{
  font-family:var(--font-display); font-size:11px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#6e6e6e; margin:0 0 12px;
}
.tone-drawer-cross__item{
  display:flex; align-items:center; gap:12px; margin-bottom:10px;
}
.tone-drawer-cross__item[hidden]{ display:none; }
.tone-drawer-cross__media{ flex:0 0 44px; }
.tone-drawer-cross__media img{
  width:44px; height:44px; object-fit:cover; border-radius:10px; display:block;
}
.tone-drawer-cross__body{ flex:1 1 auto; min-width:0; font-size:12.5px; line-height:1.3; }
.tone-drawer-cross__body a{ display:block; font-weight:600; }
.tone-drawer-cross__body span{ color:var(--mute); }
.tone-drawer-cross__add{
  flex:0 0 auto; width:32px; height:32px; border-radius:50%;
  border:1.5px solid var(--ink); display:inline-flex; align-items:center;
  justify-content:center; font-size:17px; font-weight:700; line-height:1;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.tone-drawer-cross__add:hover{ background:var(--ink); color:var(--paper); }

/* =========================================================
   v0.32.0 — "¿Completas tu pedido?" en el carrito + enlace a Google
   ========================================================= */
.tone-crosssell{
  margin:28px 0 0; padding:24px; background:var(--paper-2);
  border-radius:var(--radius-lg);
}
.tone-crosssell__title{
  font-size:16px; font-weight:900; text-transform:uppercase;
  letter-spacing:-.01em; margin:0;
}
.tone-crosssell__sub{ font-size:13px; color:var(--mute); margin:6px 0 18px; }
.tone-crosssell__grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:14px;
}
.tone-crosssell__item{
  display:flex; align-items:center; gap:12px;
  background:var(--paper); border-radius:var(--radius-sm); padding:10px 12px;
}
.tone-crosssell__media{ flex:0 0 62px; }
.tone-crosssell__media img{
  width:62px; height:62px; object-fit:cover; border-radius:12px; display:block;
}
.tone-crosssell__body{ flex:1 1 auto; min-width:0; }
.tone-crosssell__body h3{
  font-family:var(--font-body); font-size:13px; font-weight:600;
  margin:0 0 4px; line-height:1.25;
}
.tone-crosssell__price{ font-size:13px; font-weight:700; }
.tone-crosssell__price del{ opacity:.5; font-weight:400; margin-right:4px; }
.tone-crosssell__btn{
  flex:0 0 auto; padding:9px 16px; font-size:11px; letter-spacing:.06em;
}
@media (max-width:768px){
  .tone-crosssell{ padding:18px 14px; }
  .tone-crosssell__grid{ grid-template-columns:1fr; }
}

/* Enlace "Ver todas en Google" junto a las reseñas */
.tone-reviews__google{
  align-self:flex-end; font-size:13px; font-weight:600; color:var(--ink);
  border-bottom:1.5px solid var(--ink); padding-bottom:3px; white-space:nowrap;
}
.tone-reviews__google:hover{ opacity:.6; }
@media (max-width:768px){
  .tone-reviews__google{ align-self:flex-start; margin-top:10px; }
}

/* =========================================================
   v0.28.0 — COMPRA de personalizados + botón Personalizar en la ficha +
   FIX tienda móvil (píldoras sin deslizar y buscador desbordado)
   ========================================================= */

/* Ficha: botón hacia el personalizador */
.tone-pdp__custom{ margin-top:12px; }

/* Selector de unidades del personalizador (misma píldora que el modal) */
.tone-modal__field .cfg3d-uds{
  width:96px; height:38px; border-radius:999px; border:1.5px solid var(--line);
  background:var(--paper); text-align:center; font-family:var(--font-body);
  font-size:14px; color:var(--ink); padding:0 10px;
}

/* Total en vivo */
.cfg3d-total{ font-size:14px; margin:14px 0; color:#6e6e6e; }
.cfg3d-total strong{ font-size:22px; color:var(--ink); letter-spacing:-.01em; }
.cfg3d-total.is-off{ display:none; }
#tdt-cta-comprar.is-off{ display:none; }

/* El botón de presupuesto solo aparece con 4 o más unidades */
.cfg3d-presu{ display:none; margin-top:10px; }
.cfg3d-presu.is-on{ display:block; }

/* Estado de la compra: v0.29.0 — si falta algo, en ROJO y bien visible */
#cfg3d-buy-status{
  text-align:left; margin-top:10px;
  color:#b3261e; font-weight:600;
}
#cfg3d-buy-status.is-ok{ color:#2d5a2d; }

/* Charangas y agrupaciones → contacto */
.cfg3d-charanga{
  margin:16px 0 0; padding-top:14px; border-top:1px solid var(--line);
  font-size:13px; color:#6e6e6e;
}
.cfg3d-charanga a{ color:var(--ink); text-decoration:underline; font-weight:600; }

/* v0.28.1 — spots duo de la home: mismo alto los dos y foto a sangre
   (la izquierda dejaba una franja del fondo debajo) + un pelín más bajos */
.tone-spot__frame--duo{ aspect-ratio:1/0.92; }
.tone-spot__frame--duo .tone-spot__img{ width:100%; height:100%; object-fit:cover; }

/* FIX tienda móvil: las píldoras son un flex item — sin min-width:0 no
   pueden encoger, medían su contenido entero, inflaban el contenedor
   (el buscador heredaba ese ancho) y no quedaba nada que deslizar. */
@media (max-width:768px){
  .tone-shop__head, .tone-shop__tools{ max-width:100%; min-width:0; }
  .tone-shop__tools .tone-shop__pills{ min-width:0; }
}

/* =========================================================
   v0.27.1 — media incrustada en contenido: el cliente pegó un vídeo de
   YouTube con width="500" FIJO en la descripción del producto y TODA la
   página quedaba con 524px de ancho mínimo en móvil (desplazamiento
   lateral: el header parecía descuadrado). Verificado en vivo: con esto
   la ficha vuelve a 390px sin desborde. Vale para cualquier iframe/tabla
   que el cliente pegue en descripciones a futuro.
   ========================================================= */
main iframe, main video, main embed, main object{ max-width:100% !important; }
main iframe[src*="youtube"], main iframe[src*="youtube-nocookie"], main iframe[src*="vimeo"]{
  width:100%; height:auto; aspect-ratio:16/9;
}
main table{ max-width:100%; }
/* Cinturón global: si algo vuelve a desbordar, la página no se desplaza
   lateralmente (clip no rompe el sticky del header; hidden sí podría) */
html, body{ overflow-x:clip; }

/* v0.27.0 — lupa de la tienda en móvil: el input desbordaba la pantalla
   (padding sin box-sizing) */
.tone-shop__search input[type="search"]{ box-sizing:border-box; }
@media (max-width:768px){
  .tone-shop__tools{ min-width:0; }
  .tone-shop__search{ min-width:0; max-width:100%; }
  .tone-shop__search form,
  .tone-shop__search.is-open form{ width:100%; max-width:100%; margin:0; }
}
.tone-cfg3d__logo:active{ cursor:grabbing; }
.tone-cfg3d__group{ margin:22px 0; padding-bottom:22px; border-bottom:1px solid var(--line); }
.tone-cfg3d__group:first-child{ margin-top:0; }
.tone-cfg3d__group h2{ font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin:0 0 14px; }
.tone-cfg3d__swatches{ display:flex; gap:12px; }
.tone-cfg3d-sw{ width:38px; height:38px; border-radius:50%; cursor:pointer; border:1.5px solid var(--line); box-shadow:inset 0 0 0 3px var(--paper); transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.tone-cfg3d-sw.is-active{ box-shadow:inset 0 0 0 3px var(--paper), 0 0 0 2px var(--ink); transform:scale(1.05); }
.tone-cfg3d__upload{ display:flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; border:1.5px dashed var(--line); border-radius:var(--radius-sm); padding:16px 18px; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; transition:border-color .2s var(--ease); }
.tone-cfg3d__upload:hover{ border-color:var(--ink); }
.tone-cfg3d__upload input{ display:none; }
.tone-cfg3d__range{ width:100%; margin-top:14px; accent-color:var(--ink); }
.tone-cfg3d__remove{ display:inline-block; font-size:12px; color:var(--mute); text-decoration:underline; margin-top:10px; cursor:pointer; background:none; border:0; }
.tone-cfg3d__hint{ font-size:12px; color:var(--mute); margin-top:10px; line-height:1.5; }
.tone-cfg3d__prices{ list-style:none; padding:0; margin:0 0 6px; }
.tone-cfg3d__prices li{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line); font-size:14px; }
.tone-cfg3d__prices li:last-child{ border-bottom:0; }
.tone-cfg3d__prices strong{ font-weight:700; }

/* =========================================================
   v4.2 — Megamenú de categorías con foto + móvil 2 por fila
   ========================================================= */

/* Megamenú: tarjetas de categoría (Todos / Atriles / Sordinas / Packs...) */
.tone-mega__cats{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.tone-mega__cat{
  position:relative; display:block; overflow:hidden;
  aspect-ratio:4/3; border-radius:var(--radius-sm);
  background:var(--paper-2); isolation:isolate;
}
.tone-mega__cat img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.tone-mega__cat:hover img{ transform:scale(1.06); }
.tone-mega__catname{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:26px 12px 10px;
  background:linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
  color:#fff !important;
  font-size:12px !important; font-weight:800 !important;
  letter-spacing:.08em !important; text-transform:uppercase !important;
}

/* Móvil: 2 tarjetas de producto por fila, más compactas (petición Marc) */
@media (max-width:768px){
  .tone-products{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .tone-product{ border-radius:var(--radius-md); }
  .tone-product__media{ margin:8px 8px 0; border-radius:calc(var(--radius-md) - 8px); }
  .tone-product__body{ padding:12px 14px; gap:4px; }
  .tone-product__title{ font-size:12px; letter-spacing:.03em; }
  .tone-product__price{ font-size:13px; }
  .tone-product__btn{ margin:0 10px 12px; padding:10px 10px; font-size:10.5px; letter-spacing:.08em; }
  .tone-product__badge{ top:8px; left:8px; padding:5px 9px; font-size:9px; }
}

/* =========================================================
   v4.3 — Ajuste tipográfico (feedback Marc):
   negros menos duros, bold menos pesado, eyebrows con más cuerpo,
   newsletter reducida, fuera los ✱
   ========================================================= */
:root{
  --ink:#262626;          /* antes #1A1A1A — negro mas suave en toda la web */
  --mute:#6b6b6b;
}
.tone-h1, .tone-h2,
.tone-promo__title, .tone-cat__title,
.tone-newsletter__brand, .tone-footer__brand,
.tone-pdp__title,
.tone-hero .tone-hero__h1{
  font-weight:800;        /* antes 900 */
}
.tone-cart-drawer__head h2{ font-weight:800; }
/* Eyebrows ("Destacados", "Categorías"...): menos finos y menos grises */
.tone-eyebrow{ font-weight:600; color:#585858; }
.tone-section__head .tone-eyebrow{ color:#585858; }

/* Newsletter "Únete a la banda": más contenida en TODAS las páginas */
.tone-newsletter{ padding:clamp(36px, 5vw, 60px) var(--gutter); }
.tone-wordmark--xl{ height:clamp(44px, 6.5vw, 80px); }
.tone-newsletter__h2{ font-size:clamp(22px, 2.6vw, 32px); }
.tone-newsletter__sub{ font-size:14px; margin-bottom:24px; }
.tone-newsletter__brand{ margin:0 0 14px; }

/* Fuera los asteriscos decorativos ✱ */
.tone-marquee__item::before{ content:none; }
.tone-pdp__perks li::before{ content:none; }
.tone-features__pill .star{ display:none; }
.tone-manifesto__star{ display:none; }

/* Relacionados en la ficha (estructura tone) */
.tone-related{ margin-top:72px; }
.tone-related .tone-products{ margin-top:28px; }

/* =========================================================
   v4.4 — Home móvil (feedback Marc, página por página):
   hero más bajo · categorías 2x2 · footer compacto · fam real
   ========================================================= */
@media (max-width:768px){
  /* Hero: menos alto (la foto ocupaba demasiado) */
  .tone-hero__content{ padding:96px 20px 22px; gap:8px; }
  .tone-hero .tone-hero__h1{ font-size:clamp(22px, 6.4vw, 30px); }
  .tone-hero__sub{ font-size:13px; }
  .tone-hero .tone-btn{ padding:11px 18px; }

  /* Explora por categoría: rejilla 2x2 */
  .tone-cats{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .tone-cat__caption{ padding:36px 14px 13px; }
  .tone-cat__title{ font-size:16px; }
  .tone-cat__cta{ display:none; }

  /* 3DTONE Fam: 2 columnas, sin carrusel horizontal */
  .tone-fam__grid{ grid-template-columns:repeat(2, 1fr); gap:12px; overflow:visible; padding-bottom:0; }

  /* Footer "Boring stuff": mitad de alto reorganizando en 2 columnas */
  .tone-footer{ padding:40px 0 20px; }
  .tone-footer__grid{ grid-template-columns:1fr 1fr; gap:20px 16px; }
  .tone-footer__grid > div:first-child{ grid-column:1 / -1; }
  .tone-wordmark{ height:36px; }
  .tone-footer__claim{ font-size:13px; max-width:none; }
  .tone-footer__heading{ font-size:11px; margin:0 0 8px; }
  .tone-footer ul{ gap:5px; }
  .tone-footer ul a{ font-size:13px; }
  .tone-footer__bottom{ margin-top:24px; padding-top:14px; font-size:10px; gap:6px; }
}

/* Fam con fotos reales (imagen destacada de reseñas) */
img.tone-fam__img{ width:100%; height:100%; }

/* =========================================================
   v0.5.1 — Botones de tarjeta menos negros (feedback Marc):
   pasan a contorno; se rellenan solo al pasar el cursor.
   Badge "Nuevo lanzamiento" en claro con borde.
   ========================================================= */
.tone-product__btn{
  background:transparent; color:var(--ink);
  border:1.5px solid #c9c9c9;
}
.tone-product__btn:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.tone-product__badge{
  background:var(--paper); color:var(--ink);
  border:1px solid var(--ink);
}

/* =========================================================
   v0.6.0 — Nombres de producto en Title Case grisáceo (ref. B3TTER,
   evitando gris-sobre-gris) + sección shoppable con hotspot
   ========================================================= */

/* Nombres de producto: fuera mayúsculas; gris medio legible sobre la tarjeta */
.tone-product__title{
  text-transform:none; letter-spacing:.01em;
  font-weight:600; color:#6e6e6e;
}
.tone-product:hover .tone-product__title{ color:var(--ink); }
.tone-product__price{ color:var(--ink); }

/* ===== Foto shoppable (sustituye al manifiesto) ===== */
.tone-spot{ padding:24px 0 8px; }
.tone-spot__frame{
  position:relative; border-radius:var(--radius-xl); overflow:hidden;
  background:var(--paper-2);
}
.tone-spot__img{ display:block; width:100%; height:auto; }
.tone-spot__hot{ position:absolute; transform:translate(-50%,-50%); }
.tone-spot__dot{
  position:relative; width:26px; height:26px; border-radius:50%;
  background:#fff; border:0; cursor:pointer; display:block;
  box-shadow:0 2px 10px rgba(0,0,0,.35);
}
.tone-spot__dot span{
  content:""; position:absolute; inset:-8px; border-radius:50%;
  border:2px solid rgba(255,255,255,.65);
  animation:tone-pulse 2s ease-out infinite;
}
@keyframes tone-pulse{
  0%{ transform:scale(.7); opacity:1; }
  100%{ transform:scale(1.25); opacity:0; }
}
.tone-spot__card{
  position:absolute; left:24px; top:24px; z-index:5;
  display:flex; align-items:center; gap:12px;
  min-width:220px; max-width:280px;
  background:var(--paper); border-radius:16px;
  box-shadow:0 16px 44px rgba(0,0,0,.22);
  padding:10px 14px 10px 10px;
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.tone-spot__card img{ width:52px; height:52px; object-fit:cover; border-radius:10px; background:var(--paper-2); }
.tone-spot__info{ display:flex; flex-direction:column; gap:2px; }
.tone-spot__info strong{ font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.25; }
.tone-spot__info > span{ font-size:13px; color:var(--mute); }
.tone-spot__hot:hover .tone-spot__card,
.tone-spot__hot:focus-within .tone-spot__card,
.tone-spot__hot.is-open .tone-spot__card{
  opacity:1; visibility:visible; transform:translateY(0);
}
@media (max-width:768px){
  .tone-spot__frame{ border-radius:var(--radius-lg); }
  .tone-spot__card{ left:auto; right:-40px; top:30px; min-width:190px; }
  .tone-spot__info strong{ font-size:12.5px; }
}

/* =========================================================
   v0.7.0 — Packs retirados · duo shoppable en vez de promos ·
   badge ocre Title Case · precio menos negro · spot contenido en PC
   ========================================================= */

/* Precio: un paso menos de negro (feedback Marc) */
.tone-product__price{ color:#5a5a5a; }

/* Badge "Nuevo lanzamiento": ocre, Title Case */
.tone-product__badge{
  background:#D9A441; color:#262626; border:0;
  text-transform:none; letter-spacing:.02em;
  font-weight:700; font-size:11px;
  padding:6px 12px;
}

/* Shoppable grande (trombón): contenido en pantallas grandes */
.tone-spot__frame--full .tone-spot__img{
  max-height:520px; object-fit:cover; object-position:50% 42%;
}

/* Duo shoppable (sustituye a los 2 globos de promo) */
.tone-spot__duo{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:820px){ .tone-spot__duo{ grid-template-columns:1fr; gap:16px; } }
.tone-spot__frame--duo .tone-spot__img{ width:100%; height:auto; }
.tone-spot__frame--duo{ border-radius:var(--radius-lg); }
/* En los duo, la tarjeta se abre hacia la izquierda del punto (los puntos caen a la derecha) */
.tone-spot__frame--duo .tone-spot__card{ left:auto; right:26px; top:26px; }

/* Etiqueta sobre la foto ("Best seller") — mismo ocre que el badge */
.tone-spot__label{
  position:absolute; top:16px; left:16px; z-index:4;
  background:#D9A441; color:#262626;
  padding:7px 14px; border-radius:999px;
  font-size:11px; font-weight:700; letter-spacing:.02em;
}

/* =========================================================
   v0.8.0 — feedback Marc 15/07 (home, revisión desde el móvil):
   menú móvil a media anchura + cierre al scroll · iconos separados ·
   categorías 1 fila en PC · foto lifestyle real · footer mini ·
   "Añadiendo…" en el botón de carrito · landscape móvil
   ========================================================= */

/* Botón "Añadir al carrito" mientras Woo responde */
.tone-product__btn.is-adding{ opacity:.55; pointer-events:none; }

/* Categorías: en PC siempre UNA fila (1×N con columnas iguales) */
@media (min-width:769px){
  .tone-cats{ grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:1fr; }
}

/* Foto lifestyle (músico usando el atril) en "¿Por qué es único?" */
/* v0.25.4: overflow hidden para que la foto respete las esquinas curvas */
.tone-features__media{ overflow:hidden; }
.tone-features__media.has-img::after{ content:none; }
.tone-features__media.has-img img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:50% 30%; /* el atril + móvil quedan en el tercio alto de la foto */
}

@media (max-width:768px){
  /* Menú móvil: la mitad de ancho que antes, anclado al burger */
  .tone-mobile{ left:0; right:auto; width:50%; min-width:190px; }

  /* Iconos cuenta y carrito: más aire entre ellos */
  .tone-nav--right{ gap:14px; }

  /* Footer "Boring stuff": otra pasada de compactado */
  .tone-footer{ padding:26px 0 12px; }
  .tone-footer__grid{ gap:14px 14px; }
  .tone-wordmark{ height:26px; }
  .tone-footer__claim{ font-size:12px; }
  .tone-footer__heading{ font-size:10px; margin:0 0 5px; }
  .tone-footer ul{ gap:3px; }
  .tone-footer ul a{ font-size:12px; }
  .tone-footer__bottom{ margin-top:14px; padding-top:10px; font-size:9.5px; }
}

/* =========================================================
   v0.10.0 — feedback del CLIENTE (vía Marc):
   tipografía premium (Space Grotesk display + Hanken Grotesk texto,
   auto-alojadas) · badge sin pisar la esquina redondeada · nombre y
   precio de producto de vuelta al negro
   ========================================================= */

/* Fuentes variables self-hosted (assets/fonts, subset latin, ~56 KB total) */
@font-face{
  font-family:"Space Grotesk";
  src:url("assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight:300 700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Hanken Grotesk";
  src:url("assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight:100 900; font-style:normal; font-display:swap;
}

:root{
  --font-display:"Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:"Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body{ font-family:var(--font-body); }

/* Display: titulares, navegación, precios, botones y etiquetas */
h1, h2, h3, h4,
.tone-h1, .tone-h2, .tone-hero__h1,
.tone-cat__title, .tone-promo__title, .tone-newsletter__h2, .tone-pdp__title,
.tone-btn, .tone-product__btn,
.tone-product__price, .tone-product__badge,
.tone-nav a, .tone-announce, .tone-eyebrow,
.tone-footer__heading, .tone-mega__pill, .tone-mega__name,
.tone-spot__label, .tone-cart__count, .tone-mobile a{
  font-family:var(--font-display);
}

/* Nombre y precio del producto: en negro (petición del cliente) */
.tone-product__title{ color:var(--ink); }
.tone-product__price{ color:var(--ink); }

/* Badge "Nuevo lanzamiento": un poco más abajo y a la derecha para no
   solapar la esquina redondeada de la foto (petición del cliente) */
.tone-product .tone-product__badge{ top:22px; left:22px; }
@media (max-width:768px){
  .tone-product .tone-product__badge{ top:14px; left:14px; }
}

/* =========================================================
   v0.10.1 — carrito (feedback Marc):
   añadir NO abre el drawer (confirmación en el propio botón) ·
   fuera el "View cart" que inyecta Woo · items del drawer en Title Case
   ========================================================= */

/* Confirmación "✓ Añadido" en el botón */
.tone-product__btn.is-added{
  background:var(--ink); color:var(--paper); border-color:var(--ink);
  pointer-events:none;
}

/* Woo añade un enlace "View cart" junto al botón AJAX — nunca se muestra */
.added_to_cart{ display:none !important; }

/* Nombres de producto del drawer: Title Case, como en las tarjetas */
.tone-cart-item__info h3{ text-transform:none; letter-spacing:0; font-weight:600; }

/* =========================================================
   v0.11.0 — Tienda: título a la izquierda con las categorías y una
   lupa de búsqueda a la derecha (petición Marc)
   ========================================================= */
.tone-shop__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.tone-shop__tools{
  display:flex; align-items:center; gap:10px;
  padding-bottom:6px; flex-wrap:wrap;
}
.tone-shop__tools .tone-shop__pills{ margin:0; }

.tone-shop__search{ position:relative; display:flex; align-items:center; }
.tone-shop__search-btn{
  width:40px; height:40px; border-radius:50%; flex:0 0 auto;
  border:1.5px solid var(--ink); background:transparent; color:var(--ink);
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.tone-shop__search-btn:hover{ background:var(--ink); color:var(--paper); }
.tone-shop__search-btn svg{ width:16px; height:16px; }
.tone-shop__search form{
  overflow:hidden; width:0; opacity:0;
  transition:width .3s var(--ease), opacity .25s var(--ease), margin .3s var(--ease);
}
.tone-shop__search.is-open form{ width:220px; opacity:1; margin-left:8px; }
.tone-shop__search input[type="search"]{
  width:100%; height:40px; border-radius:999px;
  border:1.5px solid var(--ink); background:var(--paper);
  padding:0 16px; font-family:var(--font-body); font-size:13px; color:var(--ink);
}
.tone-shop__search input[type="search"]:focus{ outline:none; border-width:2px; }
.tone-shop__search input[type="search"]::-webkit-search-cancel-button{ -webkit-appearance:none; }

/* =========================================================
   v0.12.0 — búsqueda EN VIVO en la tienda + tarjetas menos altas +
   el campo se limpia al volver atrás (feedback Marc)
   ========================================================= */

/* Tarjetas de producto: foto 5:4 en vez de cuadrada -> menos alto total */
.tone-product__media{ aspect-ratio:5/4; }

/* v0.12.1 — la foto a 5:4 recortaba mal los atriles (son verticales):
   vuelve a casi-cuadrada y la altura se gana compactando cuerpo y botón */
.tone-product__media{ aspect-ratio:1/0.95; }
.tone-product__body{ padding:14px 18px 14px; gap:4px; }
.tone-product__btn{ margin:0 14px 14px; padding:11px 16px; }

/* Mensaje de "sin resultados" del filtro en vivo */
.tone-shop__empty{ grid-column:1/-1; color:var(--mute); margin:24px 0; }

/* =========================================================
   v0.12.2 — footer compacto también en PC (feedback Marc: "ocupa mucho
   espacio al final en todas las pantallas"; el móvil ya iba compacto)
   ========================================================= */
@media (min-width:769px){
  .tone-footer{ padding:44px 0 22px; }
  .tone-footer__grid{ gap:32px; }
  .tone-footer__brand{ margin-bottom:10px; }
  .tone-footer .tone-wordmark{ height:34px; }
  .tone-footer__claim{ font-size:13px; }
  .tone-footer__heading{ font-size:12px; margin:0 0 10px; }
  .tone-footer ul{ gap:6px; }
  .tone-footer ul a{ font-size:13px; }
  .tone-footer__bottom{ margin-top:28px; padding-top:14px; }
}

/* =========================================================
   v0.13.0 — newsletter contenida fuera de la home · cabecera del
   configurador en una fila · CARRITO y CHECKOUT clásicos vestidos
   con la estética tone (feedback Marc)
   ========================================================= */

/* --- "Join the banda": en la home se queda como está; en el resto
       de páginas, versión reducida (se veía enorme) --- */
body:not(.home) .tone-newsletter{ padding:clamp(24px, 3.5vw, 40px) var(--gutter); }
body:not(.home) .tone-wordmark--xl{ height:clamp(34px, 4.5vw, 52px); }
body:not(.home) .tone-newsletter__h2{ font-size:clamp(19px, 2.2vw, 24px); }
body:not(.home) .tone-newsletter__sub{ font-size:13px; margin-bottom:14px; }
body:not(.home) .tone-newsletter__brand{ margin:0 0 10px; }

/* --- Configurador: título a la izquierda, intro a la derecha --- */
.tone-cfg3d__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:40px; margin-bottom:22px;
}
.tone-cfg3d__intro{ color:var(--mute); max-width:52ch; margin:0 0 4px; font-size:14.5px; line-height:1.55; }
@media (max-width:900px){
  .tone-cfg3d__head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .tone-cfg3d__intro{ margin:0; }
}

/* --- Carrito y checkout clásicos (shortcodes) --- */
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  background:var(--paper-2); border:0; border-left:3px solid var(--ink);
  border-radius:var(--radius-sm); padding:14px 18px; margin:0 0 20px;
  color:var(--ink); font-size:14px; list-style:none;
}
/* v0.22.1 — fuera el glifo de la fuente de iconos de Woo en los avisos
   (sin su fuente cargada salia un cuadrado roto delante del texto) */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-error li::before{ display:none !important; content:none !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error{ padding-left:18px !important; }
.woocommerce .woocommerce-error{ border-left-color:#b3402e; }

/* Tablas (carrito y resumen) */
.woocommerce table.shop_table{
  border:0; border-collapse:collapse; width:100%; margin:0 0 24px;
}
.woocommerce table.shop_table th{
  font-family:var(--font-display); font-size:11px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:#8a8a8a;
  border:0; border-bottom:1px solid var(--line); padding:12px 10px; text-align:left;
}
.woocommerce table.shop_table td{
  border:0; border-bottom:1px solid var(--line);
  padding:16px 10px; vertical-align:middle; font-size:14.5px;
}
.woocommerce table.shop_table td.product-thumbnail img{
  width:72px; height:72px; object-fit:cover;
  border-radius:var(--radius-sm); background:var(--paper-2); display:block;
}
.woocommerce table.shop_table td.product-name a{ color:var(--ink); font-weight:600; }
.woocommerce table.shop_table td.product-remove a{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:50%; color:var(--mute) !important;
  font-weight:400; text-decoration:none; transition:all .2s var(--ease);
}
.woocommerce table.shop_table td.product-remove a:hover{ background:var(--ink); color:var(--paper) !important; }
.woocommerce .quantity .qty{
  width:70px; height:40px; text-align:center;
  border:1.5px solid var(--line); border-radius:999px;
  font-family:var(--font-body); font-size:14px; background:var(--paper);
}

/* Inputs de texto (cupón, checkout, cuenta) */
.woocommerce .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  height:44px; border:1.5px solid var(--line); border-radius:999px;
  padding:0 16px; font-family:var(--font-body); font-size:14px;
  color:var(--ink); background:var(--paper); width:100%;
}
.woocommerce form .form-row textarea{ height:auto; min-height:96px; padding:12px 16px; border-radius:var(--radius-sm); }
.woocommerce .input-text:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{ outline:none; border-color:var(--ink); }
.woocommerce form .form-row label{
  font-family:var(--font-display); font-size:11px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#6e6e6e; margin-bottom:4px;
}

/* Botones Woo -> botón tone (incluida la variante .alt, que pintaba
   morado "Proceder al pago" con más especificidad — v0.23.6) */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order{
  background:var(--ink); color:var(--paper); border:0; cursor:pointer;
  border-radius:999px; padding:13px 24px;
  font-family:var(--font-display); font-size:12px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover{ opacity:.85; color:var(--paper); background:var(--ink); }
/* Deshabilitado legible (el "Actualizar carrito" parecía una pastilla vacía) */
.woocommerce button.button:disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button[disabled]:hover{
  background:var(--paper-2); color:#9a9a9a; opacity:1; cursor:default;
}
/* Nota del IVA del total en gris discreto */
.woocommerce .includes_tax,
.woocommerce .woocommerce-Price-taxLabel{ color:var(--mute); font-size:12px; }
/* Glifo de la fuente de iconos de Woo junto a "Cambiar dirección" — fuera */
.woocommerce-shipping-calculator .shipping-calculator-button::after{ display:none !important; content:none !important; }

/* v0.23.7: "Ver carrito" en el drawer, bajo Tramitar pedido */
.tone-cart-drawer__viewcart{ margin-top:8px; }

/* =========================================================
   v0.24.0 — tarjetas de producto con DOS botones (Ver producto +
   Añadir al carrito) y bolsa con previsualización al pasar el cursor
   ========================================================= */
/* Previsualización (abierta al pasar el cursor): sin velo oscuro ni
   bloqueo de scroll — la página sigue viva detrás */
.tone-cart-drawer.is-preview .tone-cart-drawer__overlay{ opacity:0; pointer-events:none; }

/* =========================================================
   v0.24.1 — FIX Mi cuenta: la rejilla dependía de la clase
   .woocommerce-account del <body> (que la página del cliente NO tiene,
   porque su "Mi cuenta" no está declarada como página de cuenta en Woo)
   → el menú colapsaba y partía las palabras. Ahora se ancla al PROPIO
   markup de WooCommerce, sin depender de ninguna clase del body.
   ========================================================= */
.woocommerce:has(> nav.woocommerce-MyAccount-navigation){
  display:grid; grid-template-columns:290px minmax(0,1fr);
  gap:28px 40px; align-items:start;
  grid-template-areas:
    "notices notices"
    "nav     content";
}
.woocommerce:has(> nav.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper{ grid-area:notices; min-width:0; }
.woocommerce:has(> nav.woocommerce-MyAccount-navigation) > nav.woocommerce-MyAccount-navigation{ grid-area:nav; }
.woocommerce:has(> nav.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content{ grid-area:content; }

/* Respaldo sin :has() (navegadores antiguos): el layout flotado de Woo
   con anchos sanos, en vez de una columna estrujada */
nav.woocommerce-MyAccount-navigation{ width:290px; max-width:100%; }
.woocommerce-MyAccount-content{ overflow:hidden; width:auto; }

/* Los enlaces nunca parten palabras ("Escr-ito-rio") */
nav.woocommerce-MyAccount-navigation li a{
  white-space:nowrap; overflow-wrap:normal; word-break:normal;
}

@media (max-width:768px){
  .woocommerce:has(> nav.woocommerce-MyAccount-navigation){
    grid-template-columns:1fr; gap:20px;
    grid-template-areas: "notices" "nav" "content";
  }
  .woocommerce nav.woocommerce-MyAccount-navigation{ width:100%; min-width:0; }
  /* En móvil el menú es una fila deslizable: cada píldora a su medida */
  .woocommerce nav.woocommerce-MyAccount-navigation ul{ width:auto; min-width:0; max-width:none; }
  .woocommerce nav.woocommerce-MyAccount-navigation ul li{ width:auto; }
  .woocommerce nav.woocommerce-MyAccount-navigation ul li a{
    display:inline-block; width:auto; padding:11px 18px; font-size:12.5px;
  }
}

/* =========================================================
   v0.24.1 — texto alineado a la izquierda (Sobre nosotros) y FAQ con
   la respuesta FUERA del globo (peticiones Marc)
   ========================================================= */
.tone-about__text--solo{ max-width:76ch; margin:28px 0 0; }

/* FAQ: alineada a la izquierda como el resto de la página */
.tone-faq{ margin-inline:0; max-width:820px; }

/* =========================================================
   v0.25.2 — footer social en 2×2 · píldoras de Mi cuenta más grandes ·
   FAQ a todo el ancho con apertura suave · Sobre nosotros a la izquierda
   ========================================================= */

/* Redes sociales: los 4 iconos en UNA fila de 4 columnas (v0.25.4) */
.tone-footer .tone-footer__social{
  display:grid !important; grid-template-columns:repeat(4, 38px);
  gap:8px; justify-content:start; width:max-content;
}
.tone-footer .tone-footer__social li{ margin:0; }
.tone-footer .tone-footer__social a{ width:38px; height:38px; }
.tone-footer .tone-footer__social svg{ width:17px; height:17px; }

/* v0.25.3 — Mi cuenta: el óvalo ABRAZA el texto (antes la columna era
   estrecha y el texto se salía del óvalo). Ancho automático + la columna
   crece hasta el elemento más largo. */
.woocommerce nav.woocommerce-MyAccount-navigation{
  width:auto; min-width:max-content; max-width:100%; float:none;
}
/* v0.25.5: TODAS las píldoras con la misma longitud = la del texto más
   largo. La lista se dimensiona al contenido más ancho (max-content) y
   cada enlace ocupa el 100% de esa medida. */
.woocommerce nav.woocommerce-MyAccount-navigation ul{
  width:max-content; min-width:max-content; max-width:100%;
}
.woocommerce nav.woocommerce-MyAccount-navigation ul li{ display:block; width:100%; }
.woocommerce nav.woocommerce-MyAccount-navigation ul li a{
  display:block; width:100%; box-sizing:border-box;
  padding:15px 26px; font-size:13.5px; border-radius:999px;
  white-space:nowrap;
}
/* La primera columna del grid se adapta al menú */
.woocommerce:has(> nav.woocommerce-MyAccount-navigation){
  grid-template-columns:max-content minmax(0,1fr);
}

/* FAQ: a todo el ancho y con apertura suave */
.tone-faq{ max-width:none; }
.tone-faq details > p{ will-change:opacity, transform; }
.tone-faq details[open] > p{ animation:tone-faq-in .3s var(--ease) both; }
@keyframes tone-faq-in{
  from{ opacity:0; transform:translateY(-8px); }
  to{ opacity:1; transform:none; }
}
.tone-faq summary::after{ transition:transform .3s var(--ease); }
@media (prefers-reduced-motion: reduce){
  .tone-faq details[open] > p{ animation:none; }
}

/* Sobre nosotros: el texto ocupa el ancho del contenedor */
.tone-about__text--solo{ max-width:none; margin:28px 0 0; }

/* =========================================================
   v0.25.1 — "Join the band" en UNA SOLA FILA: logo a la izquierda,
   texto en medio y formulario a la derecha (antes ocupaba 3 filas)
   ========================================================= */
.tone-newsletter{ padding:clamp(22px, 3vw, 34px) var(--gutter); }
.tone-newsletter .tone-newsletter__inner{
  display:flex; align-items:center; justify-content:center; text-align:left;
  gap:clamp(18px, 3vw, 44px); flex-wrap:wrap;
  max-width:var(--container); margin-inline:auto;
}
.tone-newsletter .tone-newsletter__inner .tone-newsletter__brand{ margin:0; flex:0 0 auto; }
.tone-newsletter .tone-newsletter__brand svg.tone-wordmark--xl{
  height:clamp(28px, 3.2vw, 42px); margin:0;
}
.tone-newsletter .tone-newsletter__inner .tone-newsletter__text{ flex:1 1 240px; min-width:0; }
.tone-newsletter .tone-newsletter__inner .tone-newsletter__h2{
  font-size:clamp(19px, 2.1vw, 26px); margin:0; line-height:1.05;
}
.tone-newsletter .tone-newsletter__inner .tone-newsletter__sub{
  font-size:13.5px; margin:4px 0 0;
}
.tone-newsletter .tone-newsletter__inner .tone-newsletter__side{ flex:1 1 320px; min-width:0; }
.tone-newsletter .tone-newsletter__inner .tone-newsletter__form{ margin:0; max-width:none; }
.tone-newsletter .tone-newsletter__inner .tone-newsletter__legal{
  margin:8px 0 0; text-align:left; font-size:11.5px;
}
@media (max-width:900px){
  .tone-newsletter .tone-newsletter__inner{ flex-direction:column; align-items:flex-start; text-align:left; }
  /* v0.25.6 — CLAVE: en columna, el flex-basis pasa a ser ALTURA. Con
     `flex:1 1 320px` la caja del formulario medía 320px de alto y dejaba
     un enorme hueco negro. En vertical, cada bloque a su altura real. */
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__text,
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__side{
    flex:0 0 auto; width:100%;
  }
}

/* v0.25.4 — móvil: "Join the band" COMPACTO de verdad (seguía muy alto):
   logo y título en la misma línea, formulario en una sola fila */
@media (max-width:768px){
  .tone-newsletter{ padding:16px 16px 18px; margin:0 12px 14px; border-radius:28px; }
  .tone-newsletter .tone-newsletter__inner{ gap:10px; }
  .tone-newsletter .tone-newsletter__brand{ display:none; } /* el wordmark ya está en el footer */
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__text{ flex:0 0 auto; width:100%; }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__h2{ font-size:17px; }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__sub{ font-size:12px; margin:2px 0 0; }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__form{
    flex-wrap:nowrap; gap:8px; border-bottom:0; padding-bottom:0; align-items:center;
  }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__form input{
    flex:1 1 auto; min-width:0; padding:10px 14px; font-size:13.5px;
    border:1.5px solid rgba(255,255,255,.45); border-radius:999px;
  }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__form button{
    flex:0 0 auto; padding:10px 16px; font-size:10.5px; letter-spacing:.1em;
  }
  .tone-newsletter .tone-newsletter__inner .tone-newsletter__legal{ font-size:10.5px; margin:6px 0 0; }
}

/* =========================================================
   v0.25.0 — Acceso y REGISTRO de clientes en dos columnas
   (independiente de las clases del body, como el resto de v0.24.1)
   ========================================================= */
.woocommerce #customer_login.u-columns{
  display:grid; grid-template-columns:1fr 1fr; gap:24px 32px; align-items:start;
}
.woocommerce #customer_login .col-1,
.woocommerce #customer_login .col-2{ float:none; width:auto; max-width:none; }
/* v0.34.5: el clearfix de Woo (::before/::after con display:table) cuenta como
   ítem del grid y ocupaba la primera celda — login caía a la derecha y el
   registro a la fila de abajo. */
.woocommerce #customer_login.u-columns::before,
.woocommerce #customer_login.u-columns::after{ content:none; }
.woocommerce #customer_login h2{
  font-size:18px; text-transform:uppercase; letter-spacing:.02em; margin:0 0 14px;
}
.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register{
  border:0; background:var(--paper-2); border-radius:var(--radius-md);
  padding:26px; margin:0;
}
.woocommerce form.woocommerce-form-login .form-row,
.woocommerce form.woocommerce-form-register .form-row{ padding:0; margin:0 0 12px; }
.woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce form.woocommerce-form-register .woocommerce-privacy-policy-text{
  font-size:13px; color:var(--mute);
}
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce form.woocommerce-form-register .woocommerce-form-register__submit{ width:100%; }
.woocommerce .lost_password{ font-size:13px; margin-top:10px; }
.woocommerce .lost_password a{ text-decoration:underline; }
@media (max-width:768px){
  .woocommerce #customer_login.u-columns{ grid-template-columns:1fr; }
}

/* v0.24.2 — pago express (G Pay / Amazon Pay) de WooPayments en la ficha:
   separado del botón de compra y a ancho completo */
.tone-pdp__buy--wc #wcpay-payment-request-wrapper,
.tone-pdp__buy--wc .wcpay-payment-request-wrapper,
.tone-pdp__buy--wc #wcpay-express-checkout-element,
.tone-pdp__buy--wc .wc-block-components-express-payment{
  width:100%; margin:14px 0 0;
}
.tone-pdp__buy--wc #wcpay-payment-request-button-separator,
.tone-pdp__buy--wc .wcpay-payment-request-button-separator{
  margin:12px 0; color:var(--mute); font-size:12px;
}

/* El globo gris es SOLO la pregunta; la respuesta cae debajo, limpia */
.tone-faq details{
  background:transparent; border-radius:0; padding:0; margin-top:10px;
}
.tone-faq summary{
  background:var(--paper-2); border-radius:18px; padding:18px 24px;
  transition:background .2s var(--ease);
}
.tone-faq summary:hover{ background:#e6e6e3; }
.tone-faq p{ padding:14px 24px 6px; margin:0; }

.tone-product__actions{ display:flex; gap:8px; margin:0 14px 14px; }
.tone-product .tone-product__actions .tone-product__btn{
  margin:0; flex:1 1 0; min-width:0;
  display:inline-flex; align-items:center; justify-content:center;
  text-align:center; padding:11px 12px; font-size:11px; letter-spacing:.06em;
}
/* El de compra, con el borde más marcado; ambos se rellenan al hover */
.tone-product .tone-product__actions .tone-product__btn--add{ border-color:var(--ink); }
.tone-product .tone-product__actions .tone-product__btn--add.is-out{
  opacity:.45; pointer-events:none;
}
@media (max-width:768px){
  /* En móvil (2 tarjetas por fila) los botones se apilan */
  .tone-product__actions{ flex-direction:column; gap:6px; margin:0 10px 12px; }
  .tone-product .tone-product__actions .tone-product__btn{
    padding:10px 8px; font-size:10.5px; letter-spacing:.05em;
  }
}

/* Totales del carrito como tarjeta */
.woocommerce .cart_totals{
  background:var(--paper-2); border-radius:var(--radius-md); padding:26px;
}
/* v0.34.6: los totales (float:right de Woo) se montaban sobre "¿Completas tu
   pedido?" — las sugerencias limpian floats previos y los colaterales quedan
   SIEMPRE debajo, con aire, y encierran su propio float. */
.woocommerce-cart .tone-crosssell{ clear:both; }
.woocommerce-cart .cart-collaterals{ clear:both; display:flow-root; margin-top:28px; }
.woocommerce .cart_totals h2{
  font-size:16px; letter-spacing:.02em; margin:0 0 12px; text-transform:uppercase;
}
.woocommerce .cart_totals table.shop_table td,
.woocommerce .cart_totals table.shop_table th{ border-bottom:1px solid rgba(0,0,0,.06); }
.woocommerce .wc-proceed-to-checkout{ padding-top:16px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button{ display:block; text-align:center; width:100%; }

/* Cupón */
.woocommerce .coupon{ display:flex; gap:10px; align-items:center; }
.woocommerce .coupon .input-text{ width:190px; }

/* =========================================================
   v0.25.7 — carrito: campo de cupón más largo y el mensaje de
   financiación (Klarna) sin quedar cortado por el botón de pago
   ========================================================= */
.woocommerce .actions .coupon{ flex:1 1 auto; max-width:520px; }
.woocommerce .actions .coupon .input-text{
  flex:1 1 260px; width:auto; min-width:200px; max-width:360px;
}
/* Mensajes BNPL/Klarna que inyecta WooPayments dentro de los totales */
.woocommerce .cart_totals{ overflow:visible; }
.woocommerce .cart_totals table.shop_table{ margin-bottom:10px; }
.woocommerce .cart_totals table.shop_table td,
.woocommerce .cart_totals table.shop_table th{ overflow:visible; }
.woocommerce .cart_totals klarna-placement,
.woocommerce .cart_totals [class*="bnpl"],
.woocommerce .cart_totals [id*="bnpl"],
.woocommerce .cart_totals [class*="wcpay-"] iframe,
.woocommerce .cart_totals > iframe{
  display:block; width:100%; max-width:100%; margin:10px 0 0;
}
.woocommerce .wc-proceed-to-checkout{ padding-top:16px; clear:both; }

/* v0.33.1 — el mensaje de financiación (Klarna) se superponía al botón
   "Proceder al pago": las filas de la tabla no crecían con el widget que
   inyecta WooPayments después de pintar el layout. */
.woocommerce .cart_totals table.shop_table tr,
.woocommerce .cart_totals table.shop_table td,
.woocommerce .cart_totals table.shop_table th{ height:auto; }
.woocommerce .cart_totals [class*="klarna"],
.woocommerce .cart_totals [id*="klarna"],
.woocommerce .cart_totals [class*="osm"],
.woocommerce .cart_totals [data-testid*="osm"],
.woocommerce .cart_totals [class*="payment-method-message"]{
  position:static !important; display:block; width:100% !important;
  max-width:100%; margin:12px 0 0; float:none;
}
.woocommerce .wc-proceed-to-checkout{ margin-top:10px; }
@media (max-width:768px){
  .woocommerce .actions .coupon{ max-width:none; }
  .woocommerce .actions .coupon .input-text{ max-width:none; }
}

/* Checkout: datos a la izquierda, resumen a la derecha.
   Con ÁREAS explícitas: los errores de validación que Woo inyecta dentro
   del form ocupan su propia fila a lo ancho y no desplazan el resumen. */
form.woocommerce-checkout{
  display:grid; grid-template-columns:1.15fr .85fr; gap:8px 48px; align-items:start;
  grid-template-areas:
    "notices notices"
    "details heading"
    "details review"
    "details .";
}
form.woocommerce-checkout > .woocommerce-NoticeGroup{ grid-area:notices; min-width:0; }
form.woocommerce-checkout #customer_details{ grid-area:details; min-width:0; }
form.woocommerce-checkout #order_review_heading{
  grid-area:heading; margin:0 0 12px; font-size:16px; text-transform:uppercase;
}
form.woocommerce-checkout #order_review{
  grid-area:review; min-width:0; background:var(--paper-2);
  border-radius:var(--radius-md); padding:26px;
}
.woocommerce .col2-set{ width:100%; }
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2{ float:none; width:100%; max-width:none; }
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3{ font-size:16px; text-transform:uppercase; margin:22px 0 14px; }
.woocommerce form .form-row{ margin-bottom:12px; }

/* Métodos de pago */
.woocommerce-checkout #payment{ background:transparent; border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods{ border-bottom:1px solid var(--line); padding:0 0 14px; }
.woocommerce-checkout #payment div.payment_box{
  background:var(--paper); border-radius:var(--radius-sm); font-size:13px;
}
.woocommerce-checkout #payment div.payment_box::before{ display:none; }
#place_order{ width:100%; margin-top:14px; }

@media (max-width:900px){
  form.woocommerce-checkout{
    grid-template-columns:1fr; gap:20px;
    grid-template-areas: "notices" "details" "heading" "review";
  }
  .woocommerce .coupon{ flex-wrap:wrap; }
  .woocommerce .coupon .input-text{ flex:1; width:auto; }
  .woocommerce table.shop_table td.product-thumbnail img{ width:56px; height:56px; }
}

/* =========================================================
   v0.14.0 — checkout consistente (feedback Marc): los desplegables de
   Woo (select2) también en píldora, textarea redondeado, validación
   suave · instrucciones del configurador bajo el render
   ========================================================= */

/* País/provincia: Woo los convierte en widgets select2 — misma píldora */
.woocommerce .select2-container .select2-selection--single{
  height:44px; border:1.5px solid var(--line); border-radius:999px;
  background:var(--paper); outline:none;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:41px; padding-left:16px; padding-right:32px;
  color:var(--ink); font-family:var(--font-body); font-size:14px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{
  height:41px; right:10px;
}
.woocommerce .select2-container--focus .select2-selection--single,
.woocommerce .select2-container--open .select2-selection--single{ border-color:var(--ink); }
.select2-dropdown{
  border:1.5px solid var(--line); border-radius:var(--radius-sm); overflow:hidden;
  font-family:var(--font-body); font-size:14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:var(--ink); }
.select2-search--dropdown .select2-search__field{
  border:1.5px solid var(--line) !important; border-radius:999px; padding:6px 12px; outline:none;
}

/* Selects nativos (sin select2) y textarea: refuerzo de consistencia */
.woocommerce select,
.woocommerce-page select{
  height:44px; border:1.5px solid var(--line); border-radius:999px;
  padding:0 16px; font-family:var(--font-body); font-size:14px;
  color:var(--ink); background:var(--paper); width:100%;
}
.woocommerce textarea.input-text,
.woocommerce #order_comments{
  height:auto !important; min-height:96px;
  border:1.5px solid var(--line) !important; border-radius:var(--radius-sm) !important;
  padding:12px 16px !important; font-family:var(--font-body); font-size:14px;
}

/* Validación: sin rojos/verdes agresivos de Woo */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid .select2-container .select2-selection--single{
  border-color:#c9694f;
}
.woocommerce form .form-row.woocommerce-invalid label{ color:#a4543f; }
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated .select2-container .select2-selection--single{
  border-color:var(--line);
}

/* Instrucciones del configurador bajo la mesa 3D */
.tone-cfg3d__note{
  color:var(--mute); font-size:13.5px; line-height:1.55;
  margin:12px 6px 0; max-width:64ch;
}

/* =========================================================
   v0.15.0 — checkout: cupón dentro del resumen (como el antiguo) ·
   fuera "Información adicional" · FAQ de personalización en el
   configurador bajo el render
   ========================================================= */

/* FAQ dentro del configurador: sin los aires de la sección de la home */
.tone-faq--cfg{ padding:0; max-width:none; margin:14px 0 0; }
.tone-faq--cfg details{ margin-top:0; }

/* Cupón en el resumen del pedido */
.tone-review-coupon{ display:flex; gap:8px; margin:0 0 16px; }
.tone-review-coupon input{
  flex:1; min-width:0; height:40px;
  border:1.5px solid var(--line); border-radius:999px;
  padding:0 14px; font-family:var(--font-body); font-size:13px;
  color:var(--ink); background:var(--paper);
}
.tone-review-coupon input:focus{ outline:none; border-color:var(--ink); }
.tone-review-coupon button{
  flex:0 0 auto; height:40px; padding:0 18px;
  background:var(--ink); color:var(--paper); border:0; cursor:pointer;
  border-radius:999px; font-family:var(--font-display);
  font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  transition:opacity .2s var(--ease);
}
.tone-review-coupon button:hover{ opacity:.85; }
.tone-review-coupon button:disabled{ opacity:.5; cursor:default; }
#tdt-coupon-msg .woocommerce-error,
#tdt-coupon-msg .woocommerce-message,
#tdt-coupon-msg .woocommerce-info{
  margin:0 0 12px; padding:10px 14px; font-size:12.5px;
}

/* =========================================================
   v0.16.0 — configurador: selector de atriles en stock con los
   acabados PROPIOS de cada modelo (pa_acabado); fuera la tabla de
   precios por unidades (pendiente de confirmar con cliente)
   ========================================================= */
.tone-cfg3d__models{ display:flex; flex-wrap:wrap; gap:8px; }
.tone-cfg3d-model{
  padding:9px 16px; border-radius:999px;
  border:1.5px solid var(--line); background:var(--paper); color:var(--ink);
  cursor:pointer; font-family:var(--font-display);
  font-size:12px; font-weight:600; letter-spacing:.03em;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.tone-cfg3d-model:hover{ border-color:var(--ink); }
.tone-cfg3d-model.is-active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* =========================================================
   v0.17.0 — selector de atril desplegable · modal "solicitar muestra"
   con esbozo adjunto · Mi cuenta (escritorio, direcciones)
   ========================================================= */

/* Selector de atril: desplegable en píldora con flecha propia */
.tone-cfg3d__selectwrap{ position:relative; }
.tone-cfg3d__selectwrap::after{
  content:""; position:absolute; right:18px; top:50%;
  width:9px; height:9px; pointer-events:none;
  border-right:2px solid var(--ink); border-bottom:2px solid var(--ink);
  transform:translateY(-70%) rotate(45deg);
}
.tone-cfg3d__select{
  width:100%; height:46px; cursor:pointer;
  appearance:none; -webkit-appearance:none;
  border:1.5px solid var(--ink); border-radius:999px;
  padding:0 44px 0 18px; background:var(--paper); color:var(--ink);
  font-family:var(--font-display); font-size:13.5px; font-weight:600;
}
.tone-cfg3d__select:focus{ outline:none; border-width:2px; }

/* Modal de solicitud */
.tone-modal{ position:fixed; inset:0; z-index:200; display:none; }
.tone-modal.is-open{ display:block; }
.tone-modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.tone-modal__panel{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(460px, calc(100vw - 32px)); max-height:calc(100vh - 32px); overflow:auto;
  background:var(--paper); border-radius:var(--radius-md);
  padding:28px 26px; box-shadow:0 32px 80px rgba(0,0,0,.3);
}
.tone-modal__close{
  position:absolute; right:14px; top:14px; width:34px; height:34px;
  border:0; border-radius:50%; background:var(--paper-2); color:var(--ink);
  cursor:pointer; font-size:13px;
}
.tone-modal__close:hover{ background:var(--ink); color:var(--paper); }
.tone-modal__title{ font-size:20px; text-transform:uppercase; margin:0 0 6px; }
.tone-modal__sub{ color:var(--mute); font-size:13.5px; line-height:1.5; margin:0 0 14px; }
.tone-modal__preview{ margin:0 0 14px; }
.tone-modal__preview img{
  width:100%; border-radius:var(--radius-sm); background:var(--paper-2); display:block;
}
.tone-modal__preview span{ display:block; margin-top:6px; font-size:11px; color:var(--mute); text-align:center; }
.tone-modal__panel form{ display:flex; flex-direction:column; gap:10px; }
.tone-modal__panel input,
.tone-modal__panel textarea{
  border:1.5px solid var(--line); background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:14px; width:100%;
}
.tone-modal__panel input{ height:44px; border-radius:999px; padding:0 16px; }
.tone-modal__panel textarea{ border-radius:var(--radius-sm); padding:12px 16px; resize:vertical; }
.tone-modal__panel input:focus,
.tone-modal__panel textarea:focus{ outline:none; border-color:var(--ink); }
.tone-modal__status{ margin:2px 0 0; font-size:13px; text-align:center; }

/* =========================================================
   v0.26.2 — contención de restos de Elementor: en páginas con contenido
   antiguo, sus iconos SVG se pintaban ENORMES (sin la CSS de Elementor).
   ========================================================= */
.tone-prose img,
.tone-prose svg{ max-width:100%; height:auto; }
.tone-prose svg{ max-height:96px; width:auto; }
.tone-prose figure{ margin-inline:0; }
.tone-prose iframe{ max-width:100%; }

/* v0.26.0 — campo de unidades y aviso del logo adjunto */
.tone-modal__field{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:var(--paper-2); border-radius:999px; padding:6px 8px 6px 20px;
}
.tone-modal__field > span{
  font-family:var(--font-display); font-size:12px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:#6e6e6e;
}
.tone-modal__panel .tone-modal__field input[type="number"]{
  width:96px; height:38px; text-align:center; background:var(--paper);
}
.tone-modal__logo{
  margin:0; font-size:12.5px; color:#2d5a2d;
  background:#e2efe2; border-radius:12px; padding:8px 14px;
}

/* Mi cuenta: escritorio con accesos rápidos */
.tone-account__cards{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:12px; margin:18px 0 8px;
}
@media (max-width:560px){ .tone-account__cards{ grid-template-columns:1fr; } }
.tone-account__card{
  display:flex; flex-direction:column; gap:4px;
  background:var(--paper-2); border-radius:var(--radius-md);
  padding:18px 20px; color:var(--ink);
  transition:transform .25s var(--ease);
}
.tone-account__card:hover{ transform:translateY(-2px); }
.tone-account__card strong{ font-family:var(--font-display); font-size:14px; }
.tone-account__card span{ font-size:12.5px; color:var(--mute); }
.tone-account__h3{ font-size:15px; text-transform:uppercase; margin:26px 0 10px; }
.tone-account__status{
  display:inline-block; padding:4px 10px; border-radius:999px;
  font-size:11px; font-weight:600; background:var(--paper-2);
}
.tone-account__status--completed{ background:#e2efe2; color:#2d5a2d; }
.tone-account__status--processing{ background:#e8ecf5; color:#2c4a7c; }
.tone-account__status--on-hold{ background:#f5ecd9; color:#7c5f22; }
.tone-account__view{ font-size:12.5px; text-decoration:underline; }

/* v0.17.1 — FIX móvil: el wrapper de páginas (page.php y Woo) combina
   .tone-container y .tone-section en el MISMO div, y el padding:56px 0
   de .tone-section (móvil) pisaba el gutter lateral → contenido a sangre
   (captura de Marc del checkout en iPhone). El doble selector gana. */
.tone-container.tone-section{ padding-inline:var(--gutter); }

/* Mi cuenta: direcciones en tarjetas con Editar/Eliminar */
.tone-address__intro{ color:var(--mute); font-size:14px; margin:0 0 18px; }
.tone-address__grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 380px)); gap:14px; }
.tone-address__card{
  background:var(--paper-2); border-radius:var(--radius-md); padding:22px 24px;
}
.tone-address__card h3{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin:0 0 10px; }
.tone-address__card address{ font-style:normal; line-height:1.6; font-size:14px; color:var(--ink); }
.tone-address__actions{ display:flex; align-items:center; gap:16px; margin-top:14px; }
.tone-address__edit{
  display:inline-flex; padding:9px 18px; border-radius:999px;
  border:1.5px solid var(--ink); color:var(--ink);
  font-family:var(--font-display); font-size:11px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.tone-address__edit:hover{ background:var(--ink); color:var(--paper); }
.tone-address__delete{ font-size:12.5px; color:#a4543f; text-decoration:underline; }

/* =========================================================
   v0.18.0 — páginas Sobre nosotros y Contacto (frontend pendiente;
   trabajo 100% en ficheros para la migración a Hostinger)
   ========================================================= */

/* =========================================================
   v0.22.0 — Mi cuenta NATIVA vestida (nav lateral en píldoras +
   contenido); la página real se limpia a [woocommerce_my_account]
   ========================================================= */
/* v0.22.2: ÁREAS explícitas — el notices-wrapper vacío que inyecta Woo
   descolocaba las columnas (misma lección que el grid del checkout) */
.woocommerce-account.logged-in main > .tone-container > article .woocommerce{
  /* v0.24.0: columna más ancha — las píldoras respiran (petición Marc) */
  display:grid; grid-template-columns:290px minmax(0,1fr); gap:28px 40px; align-items:start;
  grid-template-areas:
    "notices notices"
    "nav     content";
}
.woocommerce-account.logged-in main > .tone-container > article .woocommerce > .woocommerce-notices-wrapper{ grid-area:notices; min-width:0; }
nav.woocommerce-MyAccount-navigation{ grid-area:nav; }
.woocommerce-MyAccount-content{ grid-area:content; }
nav.woocommerce-MyAccount-navigation ul{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:6px;
}
nav.woocommerce-MyAccount-navigation li{ width:100%; }
nav.woocommerce-MyAccount-navigation li a{
  display:block; width:100%; padding:12px 18px;
  border-radius:22px; /* v0.23.8: radio suave + ancho completo — la
     píldora abraza SIEMPRE todo el texto (antes recortaba "Direcciones") */
  color:var(--ink); font-family:var(--font-display);
  font-size:12.5px; font-weight:600; letter-spacing:.04em;
  border:1.5px solid transparent; min-width:0; overflow-wrap:break-word;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
nav.woocommerce-MyAccount-navigation li a:hover{ border-color:var(--ink); }
nav.woocommerce-MyAccount-navigation li.is-active a{
  background:var(--ink); color:var(--paper); border-color:var(--ink);
}
.woocommerce-MyAccount-content{ min-width:0; }
.woocommerce-MyAccount-content > p:first-child{ color:var(--mute); }
.woocommerce-MyAccount-content fieldset{ border:0; padding:0; margin:24px 0 0; }
.woocommerce-MyAccount-content legend{
  font-family:var(--font-display); font-size:14px; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px;
}
@media (max-width:768px){
  .woocommerce-account.logged-in main > .tone-container > article .woocommerce{
    grid-template-columns:1fr; gap:20px;
    grid-template-areas: "notices" "nav" "content";
  }
  nav.woocommerce-MyAccount-navigation ul{
    flex-direction:row; overflow-x:auto; padding-bottom:4px;
    scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  nav.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{ display:none; }
  nav.woocommerce-MyAccount-navigation li{ flex:0 0 auto; }
  nav.woocommerce-MyAccount-navigation li a{ border-color:var(--line); padding:10px 16px; white-space:nowrap; }
}

/* =========================================================
   v0.21.0 — ficha con producto VARIABLE vestida (la tienda real vende
   con selector de Colores): tabla de variaciones, selects en píldora y
   botón de añadir en tinta (adiós al morado de Woo)
   ========================================================= */
.tone-pdp__buy--wc form.cart{ width:100%; }
.tone-pdp__buy--wc table.variations{
  border:0; border-collapse:collapse; width:auto; margin:0 0 8px;
}
.tone-pdp__buy--wc table.variations th,
.tone-pdp__buy--wc table.variations td{ border:0; padding:6px 0; vertical-align:middle; }
.tone-pdp__buy--wc table.variations th.label{
  font-family:var(--font-display); font-size:11px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#6e6e6e;
  padding-right:16px; text-align:left; white-space:nowrap;
}
.tone-pdp__buy--wc .variations select{
  height:44px; min-width:200px; max-width:100%; cursor:pointer;
  border:1.5px solid var(--line); border-radius:999px;
  padding:0 42px 0 16px; background-color:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:14px;
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23262626' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center;
}
.tone-pdp__buy--wc .variations select:focus{ outline:none; border-color:var(--ink); }
.tone-pdp__buy--wc .reset_variations{ font-size:12px; color:var(--mute); text-decoration:underline; }
.tone-pdp__buy--wc .woocommerce-variation-price{ font-size:19px; font-weight:700; margin:8px 0 4px; }
.tone-pdp__buy--wc .woocommerce-variation-price del{ color:var(--mute); font-weight:500; margin-right:8px; }
.tone-pdp__buy--wc .woocommerce-variation-availability{ font-size:13px; color:var(--mute); }
.tone-pdp__buy--wc .woocommerce-variation-add-to-cart,
.tone-pdp__buy--wc form.cart:not(.variations_form){
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:8px;
}
.tone-pdp__buy--wc form.cart .quantity .qty{
  width:72px; height:48px; text-align:center;
  border:1.5px solid var(--line); border-radius:999px;
  font-family:var(--font-body); font-size:14px; background:var(--paper);
}
.tone-pdp__buy--wc .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button{
  background:var(--ink); color:var(--paper); border:0; cursor:pointer;
  border-radius:999px; padding:15px 28px;
  font-family:var(--font-display); font-size:12px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  transition:opacity .2s var(--ease);
}
.tone-pdp__buy--wc .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover{ opacity:.85; background:var(--ink); color:var(--paper); }
.tone-pdp__buy--wc .single_add_to_cart_button.disabled,
.woocommerce .single_add_to_cart_button.disabled{ opacity:.4; cursor:default; }
@media (max-width:768px){
  .tone-pdp__buy--wc .variations select{ min-width:0; width:100%; }
  .tone-pdp__buy--wc .single_add_to_cart_button{ flex:1 1 100%; }
}

/* =========================================================
   v0.23.2 — footer: wordmark 3DTONE (el del header) en blanco y redes
   sociales con ICONOS en vez de texto (petición Marc)
   ========================================================= */
.tone-footer__wordmark{
  display:block; height:38px; width:auto;
  fill:var(--paper); color:var(--paper);
}
/* v0.23.3: el wordmark de la newsletter tambien es el SVG en blanco */
svg.tone-wordmark--xl{
  display:block; width:auto; margin-inline:auto;
  fill:var(--paper); color:var(--paper);
}
.tone-footer__social{
  list-style:none; padding:0; margin:0;
  display:flex; flex-wrap:wrap; gap:10px;
}
.tone-footer__social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.35); color:rgba(255,255,255,.85);
  transition:background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tone-footer__social a:hover{
  background:var(--paper); color:var(--ink); border-color:var(--paper);
}
.tone-footer__social svg{ width:17px; height:17px; }
@media (min-width:769px){
  .tone-footer .tone-footer__wordmark{ height:34px; }
}

/* v0.20.0 — contacto real en el footer (email + teléfono del cliente) */
.tone-footer__contact{ list-style:none; padding:0; margin:14px 0 0; display:flex; flex-direction:column; gap:4px; }
.tone-footer__contact a{ font-size:13px; color:rgba(255,255,255,.75); }
.tone-footer__contact a:hover{ color:var(--paper); }

/* v0.19.0 — configurador SIN 3D por ahora (no hay renders por atril):
   la mesa muestra la foto del atril seleccionado, tintada por filtro */
.tone-cfg3d__photo{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; padding:24px;
  transition:filter .35s var(--ease), opacity .3s var(--ease);
}

/* =========================================================
   v0.23.0 — Sobre nosotros REAL: cabecera hero opcional (foto del brief
   del cliente), vídeo de YouTube y merch exclusivo "solo aquí"
   ========================================================= */

/* Cabecera hero (cuando exista about-hero.jpg): texto a la izquierda
   sobre el espacio limpio que pide el brief */
.tone-about__hero{
  position:relative; margin:16px 16px 40px; border-radius:var(--radius-xl);
  overflow:hidden; background:var(--paper-2); isolation:isolate;
}
.tone-about__hero-img{
  display:block; width:100%; height:clamp(320px, 48vh, 520px); object-fit:cover;
}
.tone-about__hero-content{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:clamp(24px, 5vw, 56px);
  background:linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 65%);
  color:var(--paper); display:flex; flex-direction:column; gap:10px;
  height:100%; justify-content:flex-end; max-width:60%;
}
.tone-about__hero-content .tone-eyebrow{ color:rgba(255,255,255,.8); }
@media (max-width:768px){
  .tone-about__hero{ margin:10px 12px 28px; border-radius:var(--radius-lg); }
  .tone-about__hero-content{ max-width:100%; background:linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 70%); }
}

/* v0.23.5: historia sin foto — texto a ancho de lectura
   v0.23.7: columna centrada (quedaba pegada a la izquierda con hueco) */
.tone-about__text--solo{ max-width:72ch; margin:28px auto 0; }

/* Vídeo responsive 16:9 */
.tone-about__video{ margin-top:56px; }
.tone-about__video-frame{
  position:relative; aspect-ratio:16/9; border-radius:var(--radius-lg);
  overflow:hidden; background:#111;
}
.tone-about__video-frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}

/* Merch exclusivo */
.tone-about__merch{ margin-top:64px; }
.tone-about__merch-sub{ color:var(--mute); max-width:52ch; margin:6px 0 24px; }
.tone-about__merch-grid{ grid-template-columns:repeat(auto-fill, minmax(240px, 320px)); }
@media (max-width:768px){
  .tone-about__video{ margin-top:40px; }
  .tone-about__merch{ margin-top:44px; }
}

/* Sobre nosotros */
.tone-about{ padding:48px 0 72px; }
.tone-about__grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px;
  align-items:center; margin-top:28px;
}
.tone-about__lead{ font-size:19px; line-height:1.5; font-weight:600; color:var(--ink); margin:0 0 16px; }
.tone-about__text p{ color:var(--mute); line-height:1.65; margin:0 0 14px; }
.tone-about__text p strong{ color:var(--ink); }
.tone-about__media img{
  width:100%; border-radius:var(--radius-lg); display:block;
  aspect-ratio:4/3; object-fit:cover; object-position:50% 30%;
  background:var(--paper-2);
}
.tone-about__steps{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-top:56px;
}
.tone-about__step{
  background:var(--paper-2); border-radius:var(--radius-md); padding:26px 24px;
}
.tone-about__num{
  font-family:var(--font-display); font-size:12px; font-weight:700;
  letter-spacing:.14em; color:#9a9a9a;
}
.tone-about__step h3{ font-size:15px; text-transform:uppercase; margin:10px 0 8px; }
.tone-about__step p{ color:var(--mute); font-size:14px; line-height:1.6; margin:0; }
.tone-about__cta{ text-align:center; margin-top:64px; }
.tone-about__cta-title{ margin-bottom:20px; }
.tone-about__cta .tone-hero__row{ justify-content:center; }

@media (max-width:900px){
  .tone-about__grid{ grid-template-columns:1fr; gap:24px; }
  .tone-about__steps{ grid-template-columns:1fr; gap:12px; margin-top:36px; }
  .tone-about__cta{ margin-top:44px; }
}

/* Contacto */
.tone-contact{ padding:48px 0 72px; }
.tone-contact__grid{
  display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; margin-top:28px;
  align-items:start;
}
.tone-contact__block{ margin-bottom:22px; }
.tone-contact__block h3{
  font-size:12px; text-transform:uppercase; letter-spacing:.1em;
  color:#8a8a8a; margin:0 0 4px;
}
.tone-contact__block a{ color:var(--ink); font-weight:600; }
.tone-contact__block a:hover{ text-decoration:underline; }
.tone-contact__block p{ margin:0; color:var(--ink); }
.tone-contact__faq{ text-decoration:underline; font-weight:600; }
.tone-contact__form{ display:flex; flex-direction:column; gap:12px; }
.tone-contact__form input,
.tone-contact__form textarea,
.tone-contact__form select{
  border:1.5px solid var(--line); background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:14px; width:100%;
}
.tone-contact__form input{ height:46px; border-radius:999px; padding:0 18px; }
.tone-contact__form textarea{ border-radius:var(--radius-sm); padding:14px 18px; resize:vertical; }
.tone-contact__selectwrap{ position:relative; }
.tone-contact__selectwrap::after{
  content:""; position:absolute; right:18px; top:50%;
  width:9px; height:9px; pointer-events:none;
  border-right:2px solid var(--ink); border-bottom:2px solid var(--ink);
  transform:translateY(-70%) rotate(45deg);
}
.tone-contact__form select{
  height:46px; border-radius:999px; padding:0 44px 0 18px;
  appearance:none; -webkit-appearance:none; cursor:pointer;
}
.tone-contact__form input:focus,
.tone-contact__form textarea:focus,
.tone-contact__form select:focus{ outline:none; border-color:var(--ink); }

@media (max-width:900px){
  .tone-contact__grid{ grid-template-columns:1fr; gap:28px; }
  .tone-contact__info{ order:2; }
  .tone-contact__form{ order:1; }
}

@media (max-width:768px){
  .tone-shop__head{ flex-direction:column; align-items:stretch; gap:12px; }
  .tone-shop__tools{ padding-bottom:0; gap:8px; }
  /* Píldoras deslizables en una línea */
  .tone-shop__tools .tone-shop__pills{
    flex:1 1 100%; display:flex; flex-wrap:nowrap; overflow-x:auto;
    scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:2px;
  }
  .tone-shop__tools .tone-shop__pills::-webkit-scrollbar{ display:none; }
  .tone-shop__tools .tone-mega__pill{ white-space:nowrap; flex:0 0 auto; }
  /* En táctil el campo va siempre visible a lo ancho; la lupa sobra */
  .tone-shop__search{ width:100%; }
  .tone-shop__search-btn{ display:none; }
  .tone-shop__search form{ width:100%; opacity:1; margin:0; }
}

/* =========================================================
   v0.9.0 — Fam y Reseñas deslizables en móvil (menos alto de página),
   fotos de la Fam enlazadas a su post de Instagram
   ========================================================= */

/* La foto enlazada conserva la estructura del item */
.tone-fam__link{ display:flex; flex-direction:column; gap:10px; color:inherit; }
.tone-fam__link:hover .tone-fam__img{ transform:scale(1.02); }

@media (max-width:768px){
  /* 3DTONE Fam: carrusel horizontal con snap (sustituye al grid 2x2) */
  .tone-fam__grid{
    display:grid; grid-template-columns:none;
    grid-auto-flow:column; grid-auto-columns:66%;
    gap:12px; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    padding:2px 2px 12px; scrollbar-width:none;
  }
  .tone-fam__grid::-webkit-scrollbar{ display:none; }
  .tone-fam__grid .tone-fam__item{ scroll-snap-align:start; }

  /* Reseñas: carrusel horizontal (ocupaban demasiado apiladas) */
  .tone-reviews__grid{
    display:grid; grid-template-columns:none;
    grid-auto-flow:column; grid-auto-columns:84%;
    gap:12px; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
    padding:2px 2px 12px; scrollbar-width:none;
  }
  .tone-reviews__grid::-webkit-scrollbar{ display:none; }
  .tone-review{ scroll-snap-align:start; }
}

/* Móvil girado (landscape): el hero dejaba de adaptarse y llenaba toda
   la pantalla; contenido en proporción al alto disponible */
@media (orientation:landscape) and (max-height:500px){
  .tone-hero{ height:auto; min-height:0; }
  .tone-hero__content{ padding:96px 28px 24px; gap:8px; }
  .tone-hero .tone-hero__h1{ font-size:clamp(22px, 4.2vw, 30px); }
  .tone-hero__sub{ font-size:13px; }
  .tone-newsletter{ padding:32px var(--gutter); }
}

/* =========================================================
   v0.8.1 — landscape: TODAS las fotos grandes contenidas al alto de la
   pantalla girada (feedback Marc: "se ven muy grandes") + 4ª tarjeta
   fija "Personalizados" → configurador
   ========================================================= */
@media (orientation:landscape) and (max-height:500px){
  /* Fotos shoppables (duo trompeta/saxo) y cualquier spot */
  .tone-spot{ padding:14px 0 4px; }
  .tone-spot__img{ max-height:82vh; object-fit:cover; }

  /* Foto lifestyle de "¿Por qué es único?": panorámica, no torre */
  .tone-features__media{ aspect-ratio:16/9; }

  /* Tarjetas de categoría: menos degradado para el alto reducido */
  .tone-cat__caption{ padding:40px 18px 16px; }
}
