/* One visual language for the full catalog, including bandanas and basics. */
#grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
#grid .catalog-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #ded3dd;border-radius:18px;overflow:hidden;padding:0}
#grid .catalog-photo{position:relative;aspect-ratio:4/5;width:100%;height:auto;overflow:hidden;background:#fff}
#grid .catalog-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .2s ease;padding:10px}
#grid .catalog-secondary{opacity:0}
#grid .catalog-photo.show-second .catalog-secondary{opacity:1}
#grid .catalog-photo.show-second .catalog-primary{opacity:0}
.catalog-photo-toggle{position:absolute;bottom:10px;right:10px;border:1px solid #d3c4d5;border-radius:8px;background:#fff;color:#503d4d;padding:7px 11px;font-size:12px}
@media(hover:hover) and (pointer:fine){#grid .catalog-photo.has-second:hover .catalog-secondary{opacity:1}#grid .catalog-photo.has-second:hover .catalog-primary{opacity:0}.catalog-photo-toggle{opacity:0}.catalog-photo-toggle:focus-visible{opacity:1}}
#grid .catalog-card .product-info{padding:18px;display:flex;flex:1;flex-direction:column;gap:12px}
#grid .catalog-card .product-category{font-size:11px;letter-spacing:.04em;color:#62475a;margin:0}
#grid .catalog-card h3{font-size:18px;line-height:1.3;margin:0;min-height:2.6em}
#grid .catalog-card .product-price{font-size:22px;line-height:1.3;color:#9b3855;margin:0;font-weight:750}
#grid .catalog-card .product-price small{font-size:11px;font-weight:400;color:#503d4d}
.catalog-size-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:13px;margin-top:auto}
.catalog-size-heading .text-link{font-size:12px;margin:0;color:#66334e}
.size-chips{display:flex;flex-wrap:wrap;gap:6px}
.size-chips button{min-width:36px;min-height:38px;padding:6px;border:1px solid #cbbdd1;border-radius:8px;background:#fff;color:#503d4d;font:inherit;font-size:13px;cursor:pointer}
.size-chips button[aria-pressed=true]{background:#9b3855;border-color:#9b3855;color:#fff;font-weight:700}
.size-chips button:focus-visible,.catalog-card button:focus-visible{outline:3px solid #8b709b;outline-offset:3px}
#grid .catalog-card .buy{width:100%;font-size:14px;background:#91354f;color:#fff;min-height:44px;margin:0;padding:11px 6px}
.catalog-footnote{font-size:11px;line-height:1.5;color:#675563}
.catalog-order-error{font-size:12px;background:#f6e6ed;color:#7a213e;border-radius:8px;padding:9px;margin:0}
.catalog-color-label{display:grid;gap:5px;font-size:13px}.catalog-color-label select{width:100%;min-width:0;padding:7px;border:1px solid #cbbdd1;border-radius:8px}
.catalog-guide-table{width:100%;border-collapse:collapse;min-width:420px}.catalog-guide-table th,.catalog-guide-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #ded3dd}.catalog-guide-table thead{background:#ede7f3}
#measures .measure-guide{margin:16px 0}#measures .table-scroll{overflow-x:auto}#measures .catalog-guide-table tr{display:table-row}#measures .catalog-guide-table td,#measures .catalog-guide-table th{display:table-cell}#measures .catalog-guide-table td:before{content:none}
.trust-bar{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:18px 24px;background:#eae1f0;color:#503d4d;font-size:13px}.trust-bar span{display:flex;gap:6px}
#waFloat{position:fixed;bottom:24px;right:20px;z-index:60;background:#fff;color:#593e51;border:1px solid #cbbbc9}
@media(max-width:1099px){#grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(max-width:767px){#grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#grid .catalog-photo{aspect-ratio:3/4}#grid .catalog-card .product-info{padding:12px;gap:10px}#grid .catalog-card h3{font-size:15px}#grid .catalog-card .product-price{font-size:19px}.catalog-size-heading{flex-wrap:wrap}.size-chips button{min-width:32px;min-height:38px}.trust-bar{gap:10px;justify-content:flex-start;padding:15px 20px;font-size:12px}.trust-bar span{width:100%}#waFloat{bottom:82px}#grid .catalog-card .buy{font-size:12px}.catalog-footnote{font-size:10px}}
@media(prefers-reduced-motion:reduce){#grid .catalog-photo img{transition:none}}
/* Compact visual categories lead straight to the shared catalog. */
.category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:767px){.category-grid{display:grid;grid-auto-flow:column;grid-auto-columns:145px;grid-template-columns:none;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:12px}.category-card{scroll-snap-align:start}.category-card h3{font-size:13px}.size-chips{gap:4px}.size-chips button{min-width:30px}}
/* Center the complete guide heading rather than only its text inside a left column. */
#guia>h2{width:100%;max-width:760px;margin:12px auto 18px;text-align:center}
#guia>.eyebrow{display:block;width:100%;text-align:center}
#guia>p{max-width:760px;margin-inline:auto;text-align:center}
#guia>.pv-guide-switch{justify-content:center}
#grid .catalog-card a.buy{display:block;text-align:center;text-decoration:none}
.catalog-add{align-self:center;margin:0;font-size:12px;color:#66334e}
/* Audit adjustments: readable body copy and reliable touch targets. */
.announcement{display:block;width:100%;border:0;cursor:pointer;font:inherit}
.size-chips button{min-height:44px}
.catalog-card .catalog-add{min-height:44px;display:flex;align-items:center}
@media(max-width:767px){body{font-size:16px}input,select,textarea{font-size:16px}#grid .catalog-card h3{font-size:16px}.catalog-footnote{font-size:12px}#grid .catalog-card .product-category{font-size:12px}}
/* Founder story: original portrait, complete framing, generous reading space. */
#historia.pv-founder-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,72px);align-items:center;padding:64px max(5%,calc((100% - 1200px)/2));background:#eee8f3}
.pv-founder-photo{margin:0;min-width:0}.pv-founder-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:20px}.pv-founder-photo figcaption{margin-top:12px;font-size:13px;color:#675563;line-height:1.5}
.pv-founder-copy{min-width:0}.pv-founder-copy h2{font-size:clamp(30px,3.3vw,46px);line-height:1.12;margin:16px 0 24px;letter-spacing:-.8px}.pv-founder-copy p{font-size:16px;line-height:1.75;max-width:none;margin:0 0 18px}.pv-founder-copy .eyebrow{font-size:11px;line-height:1.6}.pv-founder-signature{margin-top:26px!important}.pv-founder-copy>a{display:inline-flex;align-items:center;min-height:44px;margin-top:6px}
@media(max-width:767px){#historia.pv-founder-story{grid-template-columns:1fr;padding:36px 20px;gap:28px}.pv-founder-photo{max-width:480px;margin-inline:auto}.pv-founder-copy h2{font-size:32px}.pv-founder-copy p{font-size:16px;line-height:1.7}}
/* Seis familias visuales, incluida Navidad, sin dejar una tarjeta aislada. */
@media(min-width:1001px){.category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1000px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
