/* ==========================================================================
   EL PICAZO — capa visual de la tienda (se carga después de styles.css).
   El panel admin no la usa. Paleta de marca: punzó, oro, crema, carbón.
   ========================================================================== */
:root {
  --punzo: #721C0F;
  --punzo-oscuro: #54140A;
  --oro: #B89053;
  --crema: #FAF6F0;
  --papel: #F0E8DC;
  --carbon: #251F1C;
  --cuero: #5C4D43;
  --cardo: #3F5E45;
  --linea: #DFD5C6;

  --header-height: 72px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Guarda pampa: rombos escalonados como en las fajas tejidas */
  --guarda: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect width='48' height='24' fill='%23721C0F'/%3E%3Cpath d='M24 2l10 10-10 10-10-10z' fill='%23B89053'/%3E%3Cpath d='M24 7l5 5-5 5-5-5z' fill='%23251F1C'/%3E%3Cpath d='M0 2l10 10L0 22zM48 2L38 12l10 10z' fill='%23251F1C'/%3E%3Crect y='0' width='48' height='2' fill='%23B89053'/%3E%3Crect y='22' width='48' height='2' fill='%23B89053'/%3E%3C/svg%3E");
}

body { background: var(--crema); color: var(--carbon); }

.container { max-width: 1240px; padding-left: var(--gutter); padding-right: var(--gutter); }

:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 2000;
  background: var(--carbon); color: var(--crema); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.main-header,
.main-header.scrolled {
  height: var(--header-height);
  background: var(--carbon);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.main-header::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: -6px; height: 6px;
  background: var(--guarda); background-size: 24px 6px; opacity: .9;
}
.logo-link { gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--oro); color: var(--oro);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.logo-text span:first-child {
  font-family: var(--font-display); color: var(--crema);
  font-size: 1.25rem; letter-spacing: .04em; font-weight: 700;
}
.logo-sub {
  color: #CDBFAE; font-family: var(--font-sans);
  font-size: .72rem; letter-spacing: .02em; text-transform: none; font-weight: 400;
}
.nav-menu { gap: 32px; }
.nav-link {
  color: #D9CDBD; text-transform: none; letter-spacing: 0;
  font-size: .95rem; font-weight: 500; padding: 6px 0;
}
.nav-link::after { background: var(--oro); height: 2px; bottom: -2px; }
.nav-link:hover, .nav-link.active { color: var(--crema); }
.icon-btn { color: var(--crema); }
.icon-btn:hover { color: var(--oro); background: transparent; }
.cart-count { background: var(--punzo); color: var(--crema); border: 2px solid var(--carbon); }
.header-actions { gap: 8px; }

main#main-content { padding-top: 0; }
.main-header { position: sticky; top: 0; }

/* ---------- Botones ---------- */
.btn {
  border-radius: 4px; text-transform: none; letter-spacing: 0;
  font-weight: 600; font-size: .98rem; padding: 14px 24px; gap: 10px;
}
.btn-primary { background: var(--punzo); border-color: var(--punzo); color: var(--crema); box-shadow: none; }
.btn-primary:hover { background: var(--punzo-oscuro); border-color: var(--punzo-oscuro); transform: none; box-shadow: none; }
.btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(250, 246, 240, .45); color: var(--crema); background: transparent;
}
.btn-ghost-light:hover { border-color: var(--crema); }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cardo); border: 1.5px solid var(--cardo); color: #fff;
}
.btn-wa:hover { background: #304A35; border-color: #304A35; }
.btn-wa i { font-size: 1.2em; }

/* ---------- Hero: el mostrador ---------- */
#home-view { display: block; }
.hero {
  background: var(--carbon); color: var(--crema);
  min-height: min(calc(100svh - var(--header-height)), 860px); display: flex; align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 112px);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero-place { color: var(--oro); font-size: .95rem; margin-bottom: 20px; }
.hero-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.06; letter-spacing: -.005em;
  color: var(--crema); max-width: 13ch; margin-bottom: 24px;
}
.hero-lede { color: #D9CDBD; font-size: 1.08rem; line-height: 1.7; max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-counter {
  position: relative; aspect-ratio: 1 / .92; min-height: 300px;
}
.counter-item {
  position: absolute; margin: 0; overflow: hidden; background: var(--papel);
  border: 6px solid var(--crema); box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.counter-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.counter-item-1 { left: 0; top: 4%; width: 60%; aspect-ratio: 4 / 5; z-index: 2; }
.counter-item-2 { right: 0; top: 0; width: 44%; aspect-ratio: 1; transform: rotate(3deg); }
.counter-item-3 { right: 6%; bottom: 0; width: 40%; aspect-ratio: 1; transform: rotate(-4deg); z-index: 3; }

@media (prefers-reduced-motion: no-preference) {
  .counter-item { animation: apoyar .7s cubic-bezier(.2, .7, .2, 1) both; }
  .counter-item-2 { animation-delay: .12s; }
  .counter-item-3 { animation-delay: .24s; }
  @keyframes apoyar { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}

/* Cinta: fotos reales pasando como en una vidriera */
.cinta { background: var(--carbon); padding: 0 0 28px; overflow: hidden; }
.cinta-track { display: flex; gap: 14px; width: max-content; }
.cinta-item { width: 150px; aspect-ratio: 1; flex: none; overflow: hidden; background: var(--papel); border: 0; padding: 0; cursor: pointer; opacity: .88; transition: opacity .2s; }
.cinta-item:hover, .cinta-item:focus-visible { opacity: 1; }
.cinta-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .cinta-track { animation: cinta 70s linear infinite; }
  .cinta:hover .cinta-track, .cinta:focus-within .cinta-track { animation-play-state: paused; }
  @keyframes cinta { to { transform: translateX(-50%); } }
  .hero-counter { transition: transform .4s ease-out; transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
}
@media (prefers-reduced-motion: reduce) { .cinta-track { overflow-x: auto; width: auto; } }

/* ---------- Secciones de la home ---------- */
.home-section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 20px; row-gap: 6px;
  margin-bottom: 32px; border-bottom: 1px solid var(--linea); padding-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display); font-weight: 600; color: var(--carbon);
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15;
}
.section-note { color: var(--cuero); font-size: 1rem; }
.section-link { margin-left: auto; color: var(--punzo); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Estantes */
.shelf-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.shelf {
  all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 4px;
}
.shelf-img {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--papel);
  border-bottom: 4px solid var(--punzo); margin-bottom: 10px;
}
.shelf-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shelf:hover .shelf-img img { transform: scale(1.04); }
.shelf-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--carbon); }
.shelf-count { color: var(--cuero); font-size: .88rem; }
.shelf:focus-visible { outline: 2px solid var(--oro); outline-offset: 4px; }

/* Del taller */
.taller { background: var(--papel); }
.taller .section-head { border-bottom-color: #D6C8B4; }
.taller-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: max(200px, calc((100% - 60px) / 4));
  gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory;
}
.taller-item { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.taller-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--crema); margin-bottom: 10px; }
.taller-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.taller-name { font-weight: 500; line-height: 1.35; }
.taller-price { color: var(--punzo); font-weight: 600; }
.taller-item:focus-visible { outline: 2px solid var(--oro); outline-offset: 4px; }

/* Cómo comprar */
.visit-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.steps { list-style: none; counter-reset: paso; margin-top: 28px; display: grid; gap: 22px; max-width: 56ch; }
.steps li {
  counter-increment: paso; position: relative; padding-left: 56px;
  color: var(--cuero); font-size: 1.05rem; line-height: 1.6;
}
.steps li strong { color: var(--carbon); font-weight: 600; }
.steps li::before {
  content: counter(paso); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--punzo); color: var(--punzo);
  font-family: var(--font-display); font-weight: 700;
}
.visit-card {
  background: var(--carbon); color: var(--crema); padding: 32px;
  border-top: 10px solid transparent; border-image: var(--guarda) 0 0 100% 0 / 10px 0 0 0 round;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.visit-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--oro); font-weight: 600; }
.visit-address { font-size: 1.15rem; line-height: 1.5; }
.visit-ig { color: #D9CDBD; display: inline-flex; gap: 8px; align-items: center; }
.visit-ig:hover { color: var(--crema); }

/* ---------- Catálogo ---------- */
.catalog-section { padding: 48px 0 96px; }
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.catalog-aside { position: sticky; top: calc(var(--header-height) + 30px); }

.search-filter { position: relative; margin: 0 0 24px; max-width: none; width: 100%; }
.search-input {
  width: 100%; border: 1.5px solid var(--linea); background: #fff; border-radius: 4px;
  padding: 12px 14px 12px 40px; font-size: .95rem;
}
.search-input:focus { border-color: var(--oro); box-shadow: none; outline: none; }
.search-icon { left: 14px; right: auto; color: var(--cuero); }

.category-tree ul { list-style: none; margin: 0; padding: 0; }
.tree-depth-1, .tree-depth-2 { margin-left: 12px !important; padding-left: 10px !important; border-left: 1px solid var(--linea) !important; }
.tree-btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 7px 10px; border-radius: 4px; color: var(--cuero); font-size: .95rem;
}
.tree-depth-0 > li > .tree-btn { font-family: var(--font-display); font-weight: 600; color: var(--carbon); font-size: 1.02rem; }
.tree-btn:hover { background: var(--papel); color: var(--carbon); }
.tree-btn.open { color: var(--carbon); }
.tree-btn.active { background: var(--carbon); color: var(--crema); }
.tree-btn.active .tree-count { color: var(--oro); }
.tree-btn:focus-visible { outline: 2px solid var(--oro); }
.tree-all { margin-bottom: 6px; font-weight: 600; color: var(--carbon); }
.tree-count { font-size: .8rem; color: #9A8B7D; font-variant-numeric: tabular-nums; }

.catalog-head { margin-bottom: 28px; }
.catalog-crumbs { color: var(--cuero); font-size: .9rem; min-height: 1.3em; }
.catalog-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.1; margin: 2px 0 4px; }
.catalog-count { color: var(--cuero); font-size: .92rem; }

.product-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 36px 24px; }
.product-card,
.product-card:hover {
  background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none;
}
.product-img-wrapper {
  all: unset; cursor: pointer; display: block; width: 100%;
  aspect-ratio: 4 / 5; height: auto; overflow: hidden; background: var(--papel); border-radius: 2px;
}
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-img { transform: scale(1.03); }
.product-img-wrapper:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.product-info { padding: 14px 0 0; gap: 4px; }
.product-category { color: var(--cuero); font-size: .82rem; }
.product-title { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; line-height: 1.35; margin: 0; }
.product-title a { color: var(--carbon); }
.product-title a:hover { color: var(--punzo); }
.product-price { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: var(--carbon); margin-top: 2px; }
.product-price-span { font-weight: 400; color: var(--cuero); font-size: .85rem; text-transform: none; letter-spacing: 0; margin: 0; }
.price-ask { color: var(--cardo); font-weight: 600; }

.no-products { grid-column: 1 / -1; text-align: left; padding: 40px 0; color: var(--cuero); }
.no-products h3 { font-family: var(--font-display); color: var(--carbon); margin-bottom: 8px; }
.no-products a { color: var(--punzo); text-decoration: underline; }

/* ---------- Detalle de producto ---------- */
.modal-container { border-radius: 6px; max-width: 1040px; }
.detail-gallery { background: var(--papel); }
.detail-main-img { object-fit: contain; }
.detail-category { color: var(--cuero); text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; }
.detail-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }
.detail-price { color: var(--punzo); font-family: var(--font-sans); font-weight: 700; }
.detail-desc { color: var(--cuero); line-height: 1.7; max-width: 60ch; }
.variant-label { text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--carbon); }
.size-option-btn { border-radius: 4px; }
.size-option-btn.active { background: var(--carbon); border-color: var(--carbon); color: var(--crema); }
.size-option-btn.ask-only:not(.active) { border-style: dashed; }
.color-option-btn.ask-only:not(.active) { opacity: .8; }
.purchase-row[hidden] { display: none; }
.add-to-cart-btn { flex: 1; }
.ask-box { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ask-btn { width: 100%; }
.purchase-row:not([hidden]) + .ask-box .ask-btn {
  background: transparent; color: var(--cardo); border-color: var(--cardo);
}
.purchase-row:not([hidden]) + .ask-box .ask-btn:hover { background: rgba(63, 94, 69, .08); }
.ask-note { color: var(--cuero); font-size: .88rem; text-align: center; }

/* ---------- Carrito y checkout: ajustes de tono ---------- */
.cart-title, .checkout-section-title { font-family: var(--font-display); text-transform: none; letter-spacing: 0; }
.checkout-view, .success-view { padding-top: 48px; }

/* ---------- Footer ---------- */
.main-footer { background: var(--carbon); color: #D9CDBD; padding: 64px 0 28px; border-top: 0; position: relative; }
.main-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: var(--guarda); background-size: 24px 12px;
}
.footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr; gap: 40px; }
.footer-brand { font-family: var(--font-display); color: var(--crema); font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.footer-title { font-family: var(--font-sans); color: var(--oro); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; margin-bottom: 14px; }
.footer-desc { color: #CDBFAE; font-size: .92rem; line-height: 1.6; max-width: 36ch; }
.footer-links { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.footer-links a { color: #D9CDBD; }
.footer-links a:hover { color: var(--crema); }
.footer-bottom { border-top: 1px solid rgba(217, 205, 189, .15); margin-top: 48px; padding-top: 20px; font-size: .82rem; color: #A6978A; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-counter { max-width: 520px; width: 100%; margin: 0 auto; }
  .visit-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-aside { position: static; }
  .category-tree { max-height: none; }
  .tree-depth-0 { display: flex; flex-wrap: wrap; gap: 6px; }
  .tree-depth-0 > li { flex: 0 0 auto; }
  .tree-depth-0 > li:has(> .tree-btn.open) { flex-basis: 100%; }
  .tree-depth-0 > li > .tree-btn { border: 1px solid var(--linea); width: auto; }
  .tree-all { width: auto; border: 1px solid var(--linea); }
}
@media (max-width: 768px) {
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .section-link { margin-left: 0; }
  .logo-sub { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

.cinta + .home-section { border-top: 24px solid transparent; border-image: var(--guarda) 100% 0 0 0 / 24px 0 0 0 round; }
@media (max-width: 768px) {
  .nav-menu { display: flex; gap: 16px; }
  #nav-home { display: none; }
  .nav-link { font-size: .88rem; }
  .cinta-item { width: 110px; }
}
@media (max-width: 480px) {
  .logo-mark { display: none; }
  .logo-text span:first-child { font-size: 1.1rem; white-space: nowrap; }
  .nav-link { white-space: nowrap; font-size: .84rem; }
  .nav-menu { gap: 12px; }
  .header-wa { display: none; }
}

/* ---------- Logo real del local ---------- */
.logo-img { height: 52px; width: auto; display: block; border-radius: 4px; }
.hero-logo {
  display: block; width: min(100%, 420px); height: auto; margin: 0 0 28px;
  border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: apoyar .7s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (max-width: 480px) {
  .logo-img { height: 40px; }
}

/* ==========================================================================
   MOVIMIENTO Y DETALLES QUE HACEN LA VISITA MÁS ENTRETENIDA
   ========================================================================== */

/* Portada: el título entra línea por línea */
.hero-heading .hl { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-heading .hl { animation: subir .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-heading .hl:nth-child(2) { animation-delay: .12s; }
  .hero-heading .hl:nth-child(3) { animation-delay: .24s; }
  .hero-lede, .hero-actions { animation: subir .8s .38s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* Secciones que aparecen al hacer scroll */
.reveal-on .section-head,
.reveal-on .shelf,
.reveal-on .taller-item,
.reveal-on .steps li,
.reveal-on .visit-card {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.reveal-on .is-in { opacity: 1 !important; transform: none !important; }

/* Estantes: la foto se inclina apenas, como al sacarla del estante */
.shelf-img { transition: transform .35s ease, box-shadow .35s ease; }
.shelf:hover .shelf-img, .shelf:focus-visible .shelf-img {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 18px 30px rgba(37, 31, 28, .18);
}
.shelf-name { background: linear-gradient(var(--punzo), var(--punzo)) 0 100% / 0 2px no-repeat; transition: background-size .3s ease; justify-self: start; width: fit-content; }
.shelf:hover .shelf-name { background-size: 100% 2px; }

/* Franja con los productos del campo, en letras grandes */
.franja { background: var(--punzo); color: var(--crema); overflow: hidden; padding: 22px 0; }
.franja-track { display: flex; width: max-content; }
.franja-track span {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  white-space: nowrap; display: inline-flex; align-items: center;
}
.franja-track span::after {
  content: ""; width: .55em; height: .55em; margin: 0 .9em;
  background: var(--oro); transform: rotate(45deg); display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .franja-track { animation: cinta 45s linear infinite reverse; }
}

/* Catálogo: las tarjetas entran escalonadas cuando cambiás de categoría */
@media (prefers-reduced-motion: no-preference) {
  .product-card { animation: subir .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
}

/* Lupa en la foto del producto */
.detail-gallery.zoomable { overflow: hidden; cursor: zoom-in; }
.detail-gallery.zoomable .detail-main-img { transition: transform .25s ease; }
.detail-gallery.zooming .detail-main-img { transform: scale(2); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cardo); color: #fff; border-radius: 999px;
  padding: 14px 20px 14px 16px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 31, 28, .3);
  transition: transform .2s ease, background .2s ease;
}
.wa-float i { font-size: 1.5rem; }
.wa-float:hover { background: #304A35; transform: translateY(-2px); }
body.no-scroll .wa-float { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: asomar .6s 1.6s cubic-bezier(.2, .9, .3, 1.3) both; }
  @keyframes asomar { from { opacity: 0; transform: translateY(30px) scale(.8); } to { opacity: 1; transform: none; } }
}
@media (max-width: 600px) {
  .wa-float { padding: 14px; right: 14px; bottom: 14px; }
  .wa-float-text { display: none; }
}

/* Ficha de producto: que la grilla nunca supere el ancho de la pantalla */
.detail-layout > * { min-width: 0; }
.color-options, .size-options { flex-wrap: wrap; }
@media (min-width: 769px) { .detail-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
@media (max-width: 768px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .modal-overlay { padding: 10px; }
}
