/* TND Product Page Redesign – generado desde product-page-redesign-2026-10-07.html.
   Se carga después de tnd-catalog.css (colores, botones, tarjetas y bases compartidas). Prefijo .tnd-cat-root. */

.tnd-cat-root .tnd-pdp{max-width:1240px;margin:0 auto;padding:16px 20px 56px;display:flex;flex-direction:column;gap:40px}
.tnd-cat-root .tnd-crumbs{margin:0;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--tnd-muted)}
.tnd-cat-root .tnd-crumbs a{color:inherit;text-decoration:none}
.tnd-cat-root .tnd-crumbs a:hover{color:var(--tnd-teal)}
.tnd-cat-root .tnd-crumbs [aria-current]{color:var(--tnd-ink)}
.tnd-cat-root .tnd-hero-pdp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"gal buy" "facts buy";grid-template-rows:auto 1fr;gap:24px 44px;align-items:start;margin-top:-24px}
.tnd-cat-root .tnd-gallery{grid-area:gal}
.tnd-cat-root .tnd-buybox{grid-area:buy}
.tnd-cat-root .tnd-facts-wrap{grid-area:facts}
.tnd-cat-root .tnd-facts-title{margin:0 0 8px}
.tnd-cat-root .tnd-gallery{display:flex;flex-direction:column;gap:12px}
.tnd-cat-root .tnd-gallery-main{position:relative;margin:0;aspect-ratio:5/4;border-radius:var(--tnd-radius);overflow:hidden;background:var(--tnd-paper);border:1px solid var(--tnd-line);box-shadow:var(--tnd-shadow-card)}
.tnd-cat-root .tnd-gallery-main img{width:100%;height:100%;object-fit:cover}
.tnd-cat-root .tnd-gallery-main .tnd-tag{top:14px;left:14px;font-size:.72rem;padding:6px 12px}
.tnd-cat-root .tnd-gallery-count{position:absolute;right:12px;bottom:12px;background:rgba(43,35,33,.62);color:#fff;font-size:.74rem;letter-spacing:.06em;padding:4px 10px;border-radius:999px}
.tnd-cat-root .tnd-thumbs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.tnd-cat-root .tnd-thumbs button{display:block;width:100%;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;background:var(--tnd-paper);opacity:.78;transition:opacity .15s,border-color .15s}
.tnd-cat-root .tnd-thumbs button:hover{opacity:1}
.tnd-cat-root .tnd-thumbs button[aria-current="true"]{border-color:var(--tnd-teal);opacity:1}
.tnd-cat-root .tnd-thumbs img{width:100%;height:100%;object-fit:cover}
.tnd-cat-root .tnd-buybox{display:flex;flex-direction:column;gap:16px;min-width:0}
.tnd-cat-root .tnd-buybox h1{margin:0;font-family:var(--tnd-serif);font-weight:500;font-size:clamp(1.6rem,2.8vw,2.15rem);line-height:1.18}
.tnd-cat-root .tnd-ids{display:flex;flex-wrap:wrap;gap:6px 16px;margin:6px 0 0;font-size:.8rem;color:var(--tnd-muted);letter-spacing:.04em}
.tnd-cat-root .tnd-ids b{color:var(--tnd-ink);font-weight:600}
.tnd-cat-root .tnd-lede{margin:0;color:var(--tnd-muted);max-width:52ch}
.tnd-cat-root .tnd-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.tnd-cat-root .tnd-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;border:1px solid var(--tnd-line);background:var(--tnd-paper);font-size:.8rem;color:var(--tnd-ink)}
.tnd-cat-root .tnd-chip .tnd-ico{width:15px;height:15px;color:var(--tnd-teal)}
.tnd-cat-root .tnd-chip--stock{background:var(--tnd-teal-tint);border-color:#b9d6cf;color:var(--tnd-teal-dark);font-weight:600}
.tnd-cat-root .tnd-chip--stock i{width:8px;height:8px;border-radius:50%;background:var(--tnd-teal);display:inline-block}
.tnd-cat-root .tnd-price-card{background:var(--tnd-paper);border:1px solid var(--tnd-line);border-radius:calc(var(--tnd-radius) + 4px);box-shadow:var(--tnd-shadow-card);overflow:hidden}
.tnd-cat-root .tnd-price-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:11px 20px;background:linear-gradient(120deg,#b5603f 0%,var(--tnd-terracotta) 55%,#d99273 100%);color:#fff}
.tnd-cat-root .tnd-price-head .tnd-eyebrow{margin:0;color:#fde9df}
.tnd-cat-root .tnd-price-head strong{font-family:var(--tnd-serif);font-weight:500;font-size:1rem}
.tnd-cat-root .tnd-price-head > span{font-size:.8rem;color:#fff3ec}
.tnd-cat-root .tnd-price-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:16px}
.tnd-cat-root .tnd-price-main{display:grid;grid-template-columns:1.15fr 1fr;gap:12px}
.tnd-cat-root .tnd-price-block{padding:12px 14px;border-radius:12px;background:var(--tnd-cream);border:1px solid var(--tnd-line)}
.tnd-cat-root .tnd-price-block--case{background:#fff;border-color:var(--tnd-terracotta);box-shadow:inset 0 0 0 1px rgba(200,113,79,.25)}
.tnd-cat-root .tnd-price-label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tnd-brown)}
.tnd-cat-root .tnd-price-now{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:4px}
.tnd-cat-root .tnd-price-now b{font-family:var(--tnd-serif);font-weight:600;font-size:1.9rem;line-height:1.05;color:var(--tnd-ink)}
.tnd-cat-root .tnd-price-block:not(.tnd-price-block--case) .tnd-price-now b{font-size:1.5rem}
.tnd-cat-root .tnd-price-now del{color:var(--tnd-muted);font-size:.95rem}
.tnd-cat-root .tnd-off{display:inline-block;background:var(--tnd-terracotta);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.08em;padding:3px 8px;border-radius:999px}
.tnd-cat-root .tnd-price-sub{display:block;margin-top:4px;font-size:.78rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-price-rows{display:grid;grid-template-columns:repeat(2,1fr);margin:0;border:1px solid var(--tnd-line);border-radius:12px;overflow:hidden}
.tnd-cat-root .tnd-price-rows > div{padding:10px 12px;border-right:1px solid var(--tnd-line);background:#fff}
.tnd-cat-root .tnd-price-rows > div:last-child{border-right:0}
.tnd-cat-root .tnd-price-rows dt{font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--tnd-muted)}
.tnd-cat-root .tnd-price-rows dd{margin:2px 0 0;font-size:1.05rem;font-weight:600}
.tnd-cat-root .tnd-price-rows dd small{display:block;font-size:.74rem;font-weight:400;color:var(--tnd-muted);line-height:1.35}
.tnd-cat-root .tnd-price-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.tnd-cat-root .tnd-margin-pill{display:inline-block;background:var(--tnd-teal-tint);color:var(--tnd-teal-dark);border:1px solid #b9d6cf;font-size:.74rem;font-weight:700;letter-spacing:.04em;padding:2px 9px;border-radius:999px;white-space:nowrap}
.tnd-cat-root .tnd-min{grid-column:1/-1;margin:-2px 0 0;display:flex;align-items:center;gap:8px;font-size:.86rem;font-weight:600;color:var(--tnd-brown)}
.tnd-cat-root .tnd-min .tnd-ico{width:17px;height:17px;color:var(--tnd-teal)}
.tnd-cat-root .tnd-cartform{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;align-items:center}
.tnd-cat-root .tnd-qty-label{grid-column:1/-1;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tnd-muted)}
.tnd-cat-root .tnd-qty{display:inline-flex;align-items:center;border:1.5px solid var(--tnd-line);border-radius:999px;background:#fff;height:50px}
.tnd-cat-root .tnd-qty button{width:44px;height:100%;border:0;background:none;cursor:pointer;color:var(--tnd-teal);display:grid;place-items:center;border-radius:999px}
.tnd-cat-root .tnd-qty button:hover{background:var(--tnd-cream)}
.tnd-cat-root .tnd-qty input{width:40px;border:0;text-align:center;font:inherit;font-size:1.05rem;font-weight:600;background:transparent;-moz-appearance:textfield}
.tnd-cat-root .tnd-qty input::-webkit-outer-spin-button,
.tnd-cat-root .tnd-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.tnd-cat-root .tnd-qty .tnd-unit{min-width:42px;font-size:.84rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-cartform .tnd-btn--primary{height:50px;font-size:1rem;width:100%}
.tnd-cat-root .tnd-total{grid-column:1/-1;margin:0;padding:10px 14px;border-radius:10px;background:var(--tnd-teal-tint);color:var(--tnd-teal-dark);font-size:.92rem;display:flex;justify-content:space-between;gap:4px 10px;flex-wrap:wrap}
.tnd-cat-root .tnd-total b{font-weight:700}
.tnd-cat-root .tnd-note{margin:0;font-size:.78rem;color:var(--tnd-muted);line-height:1.45}
.tnd-cat-root .tnd-note b{color:var(--tnd-brown)}
.tnd-cat-root .tnd-acct-links{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tnd-cat-root .tnd-acct-link{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px dashed var(--tnd-line);border-radius:12px;text-decoration:none;color:var(--tnd-ink);font-size:.86rem;font-weight:600;line-height:1.25;transition:border-color .15s,background .15s}
.tnd-cat-root .tnd-acct-link:hover{border-color:var(--tnd-teal);border-style:solid;background:var(--tnd-paper)}
.tnd-cat-root .tnd-acct-link .tnd-qa-icon{flex:0 0 32px;height:32px;border-radius:9px}
.tnd-cat-root .tnd-acct-link .tnd-qa-icon .tnd-ico{width:17px;height:17px}
.tnd-cat-root .tnd-acct-link small{display:block;color:var(--tnd-muted);font-size:.74rem;font-weight:400}
.tnd-cat-root .tnd-facts{display:grid;grid-template-columns:repeat(4,1fr);margin:0;background:var(--tnd-paper);border:1px solid var(--tnd-line);border-radius:var(--tnd-radius);box-shadow:var(--tnd-shadow-card);overflow:hidden}
.tnd-cat-root .tnd-facts > div{padding:12px 14px;border-right:1px solid var(--tnd-line);min-width:0}
.tnd-cat-root .tnd-facts > div:nth-child(4n){border-right:0}
.tnd-cat-root .tnd-facts > div:nth-child(-n+4){border-bottom:1px solid var(--tnd-line)}
.tnd-cat-root .tnd-facts dt{display:flex;align-items:center;gap:6px;font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tnd-brown)}
.tnd-cat-root .tnd-facts dt .tnd-ico{width:14px;height:14px}
.tnd-cat-root .tnd-facts dd{margin:4px 0 0;font-size:.95rem;font-weight:600;overflow-wrap:anywhere}
.tnd-cat-root .tnd-facts dd small{display:block;font-weight:400;font-size:.76rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-tabs{background:var(--tnd-paper);border:1px solid var(--tnd-line);border-radius:var(--tnd-radius);box-shadow:var(--tnd-shadow-card)}
.tnd-cat-root .tnd-tablist{display:flex;gap:4px;padding:0 18px;border-bottom:1px solid var(--tnd-line);overflow-x:auto}
.tnd-cat-root .tnd-tab{flex:0 0 auto;padding:16px 14px 13px;background:none;border:0;border-bottom:3px solid transparent;font:inherit;font-size:.86rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--tnd-muted);cursor:pointer}
.tnd-cat-root .tnd-tab:hover{color:var(--tnd-teal)}
.tnd-cat-root .tnd-tab[aria-selected="true"]{color:var(--tnd-teal);border-bottom-color:var(--tnd-teal)}
.tnd-cat-root .tnd-tabpanel{padding:24px 26px 28px}
.tnd-cat-root .tnd-tabpanel[hidden]{display:none}
.tnd-cat-root .tnd-desc{display:grid;grid-template-columns:1.1fr 1fr;gap:32px}
.tnd-cat-root .tnd-tabpanel h3{margin:0 0 8px;font-family:var(--tnd-serif);font-weight:500;font-size:1.2rem}
.tnd-cat-root .tnd-desc p{margin:0 0 12px;color:var(--tnd-muted)}
.tnd-cat-root .tnd-ticks{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.tnd-cat-root .tnd-ticks li{display:flex;gap:10px;align-items:flex-start;font-size:.95rem}
.tnd-cat-root .tnd-ticks .tnd-ico{width:18px;height:18px;color:var(--tnd-teal);margin-top:2px}
.tnd-cat-root .tnd-sell{padding:14px 16px;border-radius:12px;background:var(--tnd-cream);border:1px solid var(--tnd-line);font-size:.88rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-sell b{color:var(--tnd-ink)}
.tnd-cat-root .tnd-spec{width:100%;border-collapse:collapse;font-size:.94rem}
.tnd-cat-root .tnd-spec th,
.tnd-cat-root .tnd-spec td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--tnd-line);vertical-align:top}
.tnd-cat-root .tnd-spec th{width:30%;font-weight:600;color:var(--tnd-muted);font-size:.84rem;letter-spacing:.04em}
.tnd-cat-root .tnd-spec tr:last-child th,
.tnd-cat-root .tnd-spec tr:last-child td{border-bottom:0}
.tnd-cat-root .tnd-ship{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tnd-cat-root .tnd-ship > div{padding:16px;border:1px dashed #d9b84a;border-radius:12px;background:#fffdf3}
.tnd-cat-root .tnd-ship > div.tnd-ship--set{border:1px solid #b9d6cf;background:var(--tnd-teal-tint)}
.tnd-cat-root .tnd-ship--set h4{color:var(--tnd-teal-dark)}
.tnd-cat-root .tnd-ship h4{margin:0 0 6px;font-family:var(--tnd-serif);font-weight:500;font-size:1.05rem}
.tnd-cat-root .tnd-ship p{margin:0;font-size:.88rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-values{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:16px}
.tnd-cat-root .tnd-values--3{grid-template-columns:repeat(3,1fr) 1.25fr}
.tnd-cat-root .tnd-value{padding:20px;background:var(--tnd-paper);border:1px solid var(--tnd-line);border-radius:var(--tnd-radius)}
.tnd-cat-root .tnd-value .tnd-qa-icon{width:42px;margin-bottom:10px}
.tnd-cat-root .tnd-value .tnd-qa-icon .tnd-ico{width:22px;height:22px}
.tnd-cat-root .tnd-value strong{display:block;font-family:var(--tnd-serif);font-weight:500;font-size:1.1rem}
.tnd-cat-root .tnd-value p{margin:4px 0 0;font-size:.86rem;color:var(--tnd-muted);line-height:1.45}
.tnd-cat-root .tnd-story{display:flex;flex-direction:column;justify-content:flex-end;min-height:220px;border-radius:var(--tnd-radius);overflow:hidden;padding:20px;text-decoration:none;color:#fff;
    background:linear-gradient(170deg,rgba(0,0,0,0) 25%,rgba(31,82,76,.92)),var(--tnd-story-img,none) center/cover}
.tnd-cat-root .tnd-story small{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;opacity:.9}
.tnd-cat-root .tnd-story strong{font-family:var(--tnd-serif);font-weight:500;font-size:1.3rem;line-height:1.2;margin:4px 0 8px}
.tnd-cat-root .tnd-story span{font-size:.88rem;font-weight:600}
.tnd-cat-root .tnd-story:hover span{text-decoration:underline}
.tnd-cat-root .tnd-recs{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.tnd-cat-root .tnd-recs .tnd-cat-media{aspect-ratio:1;background:var(--tnd-cream)}
.tnd-cat-root .tnd-recs .tnd-cat-body{padding:12px 14px 14px}
.tnd-cat-root .tnd-recs .tnd-cat-body strong{font-size:.98rem;line-height:1.3}
.tnd-cat-root .tnd-card-cat{font-size:.66rem!important;letter-spacing:.14em;text-transform:uppercase;color:var(--tnd-brown)!important}
.tnd-cat-root .tnd-card-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.tnd-cat-root .tnd-card-price b{font-size:1rem;color:var(--tnd-ink)}
.tnd-cat-root .tnd-card-price del{font-size:.8rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-card-price em{font-style:normal;font-size:.74rem;color:var(--tnd-muted);flex-basis:100%}
.tnd-cat-root .tnd-sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,250,245,.97);border-top:1px solid var(--tnd-line);box-shadow:0 -8px 24px rgba(60,35,25,.12);transform:translateY(110%);visibility:hidden;transition:transform .2s,visibility .2s}
.tnd-cat-root .tnd-sticky.is-visible{transform:none;visibility:visible}
.tnd-cat-root .tnd-sticky .tnd-wrap{display:flex;align-items:center;gap:14px;padding-top:10px;padding-bottom:10px}
.tnd-cat-root .tnd-sticky img{width:52px;height:52px;border-radius:10px;object-fit:cover;flex:0 0 52px}
.tnd-cat-root .tnd-sticky-title{flex:1;min-width:0}
.tnd-cat-root .tnd-sticky-title strong{display:block;font-family:var(--tnd-serif);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tnd-cat-root .tnd-sticky-title span{font-size:.82rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-sticky-title del{margin-right:6px}
.tnd-cat-root .tnd-sticky-title b{color:var(--tnd-ink)}
.tnd-cat-root .tnd-sticky-title em{font-style:normal}
.tnd-cat-root .tnd-sticky .tnd-qty,
.tnd-cat-root .tnd-sticky .tnd-btn{height:44px}
@media (max-width:1100px){
.tnd-cat-root .tnd-recs{grid-template-columns:repeat(3,1fr)}
.tnd-cat-root .tnd-values{grid-template-columns:1fr 1fr}
.tnd-cat-root .tnd-values--3{grid-template-columns:repeat(3,1fr)}
.tnd-cat-root .tnd-story{grid-column:1/-1;min-height:180px}
}
@media (max-width:900px){
.tnd-cat-root .tnd-hero-pdp{grid-template-columns:minmax(0,1fr);grid-template-areas:"gal" "buy" "facts";grid-template-rows:auto;gap:24px;margin-top:-28px}
.tnd-cat-root .tnd-desc{grid-template-columns:1fr;gap:18px}
.tnd-cat-root .tnd-ship{grid-template-columns:1fr}
.tnd-cat-root .tnd-cats{grid-template-columns:repeat(2,1fr);gap:12px}
.tnd-cat-root .tnd-sticky .tnd-qty,
.tnd-cat-root .tnd-sticky img{display:none}
}
@media (max-width:560px){
.tnd-cat-root .tnd-pdp{padding:14px 14px 48px;gap:30px}
.tnd-cat-root .tnd-promo .tnd-wrap{font-size:.82rem;gap:2px 10px}
.tnd-cat-root .tnd-promo-eyebrow{display:none}
.tnd-cat-root .tnd-thumbs{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px}
.tnd-cat-root .tnd-thumbs li{flex:0 0 64px}
.tnd-cat-root .tnd-price-body{padding:16px 14px 16px}
.tnd-cat-root .tnd-price-head{padding:10px 14px}
.tnd-cat-root .tnd-price-main{grid-template-columns:1fr}
.tnd-cat-root .tnd-price-rows{grid-template-columns:1fr 1fr}
.tnd-cat-root .tnd-price-rows > div:nth-child(2){border-right:0}
.tnd-cat-root .tnd-cartform{grid-template-columns:1fr}
.tnd-cat-root .tnd-qty{justify-self:start}
.tnd-cat-root .tnd-acct-links{grid-template-columns:1fr}
.tnd-cat-root .tnd-facts{grid-template-columns:repeat(2,1fr)}
.tnd-cat-root .tnd-facts > div{border-bottom:1px solid var(--tnd-line)}
.tnd-cat-root .tnd-facts > div:nth-child(2n){border-right:0}
.tnd-cat-root .tnd-facts > div:nth-child(4n+1),
.tnd-cat-root .tnd-facts > div:nth-child(4n+3){border-right:1px solid var(--tnd-line)}
.tnd-cat-root .tnd-facts > div:nth-last-child(-n+2){border-bottom:0}
.tnd-cat-root .tnd-value{display:grid;grid-template-columns:42px 1fr;gap:0 14px;padding:16px}
.tnd-cat-root .tnd-value .tnd-qa-icon{grid-row:span 2;margin:0}
.tnd-cat-root .tnd-acct-link{padding:8px 12px}
.tnd-cat-root .tnd-tabpanel{padding:18px 16px 20px}
.tnd-cat-root .tnd-tablist{padding:0 8px}
.tnd-cat-root .tnd-tab{padding:14px 9px 11px;font-size:.76rem;letter-spacing:.06em}
.tnd-cat-root .tnd-values{grid-template-columns:1fr}
.tnd-cat-root .tnd-recs{grid-template-columns:repeat(2,1fr);gap:12px}
.tnd-cat-root .tnd-cat-body > span.tnd-cat-desc{display:none}
.tnd-cat-root .tnd-sticky-title span{font-size:.76rem}
.tnd-cat-root .tnd-sticky-unit{display:none}
.tnd-cat-root .tnd-sticky .tnd-btn{padding:10px 16px}
}
@media (prefers-reduced-motion:reduce){
.tnd-cat-root *{transition:none!important}
}



/* ===== Ajustes para el sitio en vivo ===== */
.tnd-cat-root .tnd-pdp{max-width:1600px}
body.tnd-has-sticky{padding-bottom:72px}
.tnd-cat-root .tnd-sticky{z-index:99990}
.tnd-cat-root .tnd-sticky .tnd-wrap{max-width:1600px}
.tnd-cat-root .tnd-sticky img{max-width:none}
/* Galería: fotos cuadradas del catálogo, sin recortar de más. */
.tnd-cat-root .tnd-gallery-main{aspect-ratio:1/1;max-height:min(760px,80vh);width:100%}
.tnd-cat-root .tnd-gallery-zoom{display:block;width:100%;height:100%;cursor:zoom-in}
.tnd-cat-root .tnd-gallery-main img{width:100%;height:100%;object-fit:cover;max-width:none}
.tnd-cat-root .tnd-thumbs{grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}
.tnd-cat-root .tnd-thumbs button{margin:0;min-height:0}
/* Quick facts: cualquier número de datos, líneas entre celdas y sin huecos de color. */
.tnd-cat-root .tnd-facts{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));background:var(--tnd-paper)}
.tnd-cat-root .tnd-facts > div{border:0!important;box-shadow:1px 0 0 var(--tnd-line),0 1px 0 var(--tnd-line)}
.tnd-cat-root .tnd-facts dd{overflow-wrap:normal;word-break:normal}
@media (max-width:560px){.tnd-cat-root .tnd-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tnd-cat-root .tnd-facts dd{color:var(--tnd-ink)}
/* Precio */
.tnd-cat-root .tnd-price-card--plain .tnd-price-head{background:linear-gradient(120deg,var(--tnd-teal-dark),var(--tnd-teal))}
.tnd-cat-root .tnd-price-card--plain .tnd-price-block--case{border-color:var(--tnd-teal);box-shadow:inset 0 0 0 1px rgba(42,107,99,.2)}
.tnd-cat-root .tnd-price-main--one{grid-template-columns:1fr}
.tnd-cat-root .tnd-price-now small{font-size:.8rem;color:var(--tnd-muted)}
.tnd-cat-root .tnd-price-rows dt,.tnd-cat-root .tnd-price-rows dd{color:inherit}
.tnd-cat-root .tnd-price-rows dt{color:var(--tnd-muted)}
.tnd-cat-root .tnd-cartform .tnd-btn--primary{margin:0}
.tnd-cat-root .tnd-cartform .tnd-btn.is-loading{opacity:.7;pointer-events:none}
.tnd-cat-root .tnd-cartform .tnd-btn.is-added{background:var(--tnd-teal-dark)}
.tnd-cat-root .tnd-qty-label{display:block}
.tnd-cat-root .tnd-chip--out{background:#fbe9e3;border-color:#efc3b3;color:#8a3b1e;font-weight:600}
.tnd-cat-root .tnd-chip--out i{width:8px;height:8px;border-radius:50%;background:var(--tnd-terracotta);display:inline-block}
.tnd-cat-root .tnd-unavailable{margin:0;padding:12px 14px;border-radius:12px;background:var(--tnd-cream);border:1px solid var(--tnd-line);font-size:.92rem}
.tnd-cat-root .tnd-unavailable a{color:var(--tnd-teal);font-weight:600}
/* Productos variables: formulario de WooCommerce con el estilo de la página. */
.tnd-cat-root .tnd-varform table.variations{width:100%;border:0;margin:0 0 12px}
.tnd-cat-root .tnd-varform table.variations th,.tnd-cat-root .tnd-varform table.variations td{border:0;padding:4px 0;text-align:left;vertical-align:middle}
.tnd-cat-root .tnd-varform table.variations th label{font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tnd-muted)}
.tnd-cat-root .tnd-varform select{width:100%;height:44px;border:1px solid var(--tnd-line);border-radius:999px;padding:0 14px;background:#fff}
.tnd-cat-root .tnd-varform .reset_variations{font-size:.8rem;color:var(--tnd-teal)}
.tnd-cat-root .tnd-varform .woocommerce-variation-add-to-cart{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tnd-cat-root .tnd-varform .quantity input{height:50px;width:80px;border:1.5px solid var(--tnd-line);border-radius:999px;text-align:center}
.tnd-cat-root .tnd-varform .single_add_to_cart_button{flex:1;height:50px;border-radius:999px;background:var(--tnd-teal);color:#fff;border:0;font-weight:600;cursor:pointer;margin:0}
.tnd-cat-root .tnd-varform .single_add_to_cart_button.disabled{opacity:.5}
.tnd-cat-root .tnd-varform .woocommerce-variation-price{margin-bottom:8px;font-weight:600}
/* Descripción */
.tnd-cat-root .tnd-desc-text p{margin:0 0 12px;color:var(--tnd-ink);line-height:1.6}
.tnd-cat-root .tnd-desc-text p:first-child{color:var(--tnd-ink)}
.tnd-cat-root .tnd-spec-wrap table{width:100%;border-collapse:collapse}
.tnd-cat-root .tnd-spec-wrap th,.tnd-cat-root .tnd-spec-wrap td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--tnd-line)}
.tnd-cat-root .tnd-spec-wrap p{margin:0}
.tnd-cat-root .tnd-ship{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.tnd-cat-root .tnd-ship > div:not(.tnd-ship--set){border:1px solid var(--tnd-line);background:#fff}
.tnd-cat-root .tnd-ship a{color:var(--tnd-teal);font-weight:600}
.tnd-cat-root .tnd-tab{margin:0;min-height:0;border-radius:0;box-shadow:none}
.tnd-cat-root .tnd-tabpanel h3,.tnd-cat-root .tnd-ship h4{color:var(--tnd-ink);text-transform:none;letter-spacing:normal}
/* Relacionados */
.tnd-cat-root .tnd-recs .tnd-cat-media img{width:100%;height:100%;object-fit:cover;max-width:none}
.tnd-cat-root .tnd-recs .tnd-cat-body strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tnd-cat-root .tnd-cat-media .tnd-tag{z-index:1}
.tnd-cat-root .tnd-woocommerce-notices,.tnd-cat-root .woocommerce-message,.tnd-cat-root .woocommerce-error,.tnd-cat-root .woocommerce-info{border-radius:12px}
@media (max-width:900px){
  .tnd-cat-root .tnd-gallery-main{max-height:none}
}
/* Flatsome pone las listas <dl> en mayúsculas y en línea: volver al diseño. (1.0.1) */
.tnd-cat-root dl{text-transform:none;letter-spacing:normal;font-size:inherit}
.tnd-cat-root dl dt,.tnd-cat-root dl dd{display:block;float:none;width:auto;margin-left:0;text-transform:none}
.tnd-cat-root .tnd-facts dt{display:flex;text-transform:uppercase}
.tnd-cat-root .tnd-price-rows dt{text-transform:uppercase}
.tnd-cat-root .tnd-price-rows dd{margin:2px 0 0}
.tnd-cat-root .tnd-facts dd{margin:4px 0 0}
.tnd-cat-root .tnd-qty input[type=number]{border:0!important;box-shadow:none!important;background:transparent!important;height:auto;min-height:0;padding:0;margin:0}
/* Visor de fotos (1.0.2) */
.tnd-lb{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(30,22,20,.92);padding:56px 64px}
.tnd-lb[hidden]{display:none}
html.tnd-lb-open,html.tnd-lb-open body{overflow:hidden}
.tnd-lb-fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:100%;max-height:100%;width:100%;height:100%;justify-content:center}
.tnd-lb-fig img{max-width:100%;max-height:calc(100vh - 140px);width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.tnd-lb-count{color:#f3e7df;font-size:.85rem;letter-spacing:.08em;font-family:"Josefin Sans",Arial,sans-serif}
.tnd-lb button{position:absolute;border:0;cursor:pointer;color:#fff;background:rgba(255,255,255,.14);display:grid;place-items:center;line-height:1;padding:0;margin:0;min-height:0;box-shadow:none}
.tnd-lb button:hover{background:rgba(255,255,255,.28)}
.tnd-lb button:focus-visible{outline:3px solid #c8714f;outline-offset:2px}
.tnd-lb-close{top:14px;right:14px;width:46px;height:46px;border-radius:50%;font-size:2rem}
.tnd-lb-nav{top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;font-size:2.4rem}
.tnd-lb-prev{left:12px}
.tnd-lb-next{right:12px}
.tnd-lb-nav[hidden]{display:none}
@media (max-width:700px){
  .tnd-lb{padding:60px 8px 40px}
  .tnd-lb-nav{top:auto;bottom:10px;transform:none;width:46px;height:46px}
  .tnd-lb-prev{left:calc(50% - 56px)}
  .tnd-lb-next{right:calc(50% - 56px)}
  .tnd-lb-fig img{max-height:calc(100vh - 150px)}
}
/* Miniaturas de la galería 50% más grandes (~108 px; antes ~72). (1.0.4) */
.tnd-cat-root .tnd-thumbs{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}
@media (max-width:560px){.tnd-cat-root .tnd-thumbs li{flex:0 0 96px}}
/* Una sola fila de miniaturas (se desliza si no caben). (1.0.5) */
.tnd-cat-root .tnd-thumbs{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scrollbar-width:thin;scroll-snap-type:x proximity}
.tnd-cat-root .tnd-thumbs li{flex:0 0 108px;scroll-snap-align:start}
@media (max-width:560px){.tnd-cat-root .tnd-thumbs li{flex:0 0 96px}}
/* "Shop by category": fotos reales en vez de íconos. (1.0.6) */
.tnd-cat-root .tnd-cats .tnd-cat-media{background:var(--tnd-cream)}
.tnd-cat-root .tnd-cats .tnd-cat-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.tnd-cat-root .tnd-cats .tnd-cat-media .tnd-tag{z-index:1}

/* Easy Programs (1.0.11): display incluido, resumen y QR */
.tnd-cat-root .tnd-chip--disp{background:#f6e7dc;border-color:#e6c6b0;color:#7a3a1d;font-weight:600}
.tnd-cat-root .tnd-chip--disp .tnd-ico{color:#a3553a}
.tnd-cat-root .tnd-lede--prog p{margin:0 0 8px}
.tnd-cat-root .tnd-lede--prog p:last-child{margin-bottom:0}
.tnd-cat-root .tnd-qr{display:flex;gap:18px;align-items:center;padding:16px 18px;border:1px solid var(--tnd-line);border-radius:var(--tnd-radius);background:var(--tnd-paper)}
.tnd-cat-root .tnd-qr-img{flex:0 0 auto;display:block;width:120px;padding:6px;background:#fff;border:1px solid var(--tnd-line);border-radius:10px}
.tnd-cat-root .tnd-qr-img img{display:block;width:100%;height:auto}
.tnd-cat-root .tnd-qr p{margin:0 0 10px;color:var(--tnd-muted);font-size:.9rem;line-height:1.45}
.tnd-cat-root .tnd-qr .tnd-eyebrow{margin-bottom:4px}
.tnd-cat-root .tnd-desc-text ul{margin:0 0 14px;padding-left:20px}
.tnd-cat-root .tnd-desc-text li{margin:0 0 4px;line-height:1.5}
@media (max-width:480px){.tnd-cat-root .tnd-qr{gap:14px;padding:14px}.tnd-cat-root .tnd-qr-img{width:96px}}
/* Enlace a la categoría del producto (1.0.12) */
.tnd-cat-root .tnd-see-all{margin:14px 0 0;font-weight:600}
.tnd-cat-root .tnd-see-all a{color:var(--tnd-teal-dark);text-decoration:underline;text-underline-offset:3px}
