.brand-symbol{display:block;width:43px;height:45px;flex:none;background-image:url('../imagenes/logos/hana-mark.png');background-size:contain;background-position:center;background-repeat:no-repeat}.brand-word{display:block;width:125px;height:34px;flex:none;background-image:url('../imagenes/logos/hana-wordmark.svg');background-size:contain;background-position:center;background-repeat:no-repeat}.brand{gap:8px}.story-logo.brand-original{aspect-ratio:960/1080;background:transparent url('../imagenes/logos/hana-brand.svg') center/contain no-repeat;padding:0}.story-art .story-logo{background-color:transparent}.subcategory-panel{margin:25px 0 32px;padding:28px;background:#fffdfa;border:1px solid var(--line)}.subcategory-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.subcategory-heading .eyebrow{margin-bottom:8px}.subcategory-heading h3{font-family:'Playfair Display',serif;font-size:28px;font-weight:500;margin:0}.subcategory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.subcategory-choice{padding:17px 15px;background:var(--cream);border:1px solid transparent;color:var(--green);text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:10px;min-height:125px;transition:background .25s,border-color .25s,transform .25s}.subcategory-choice>span{font-size:10px;color:var(--pink);letter-spacing:.12em}.subcategory-choice strong{font-family:'Playfair Display',serif;font-size:20px;font-weight:500;line-height:1.2;overflow-wrap:anywhere}.subcategory-choice small{font-size:10px;color:var(--muted);margin-top:auto}.subcategory-choice:hover{transform:translateY(-3px);border-color:var(--pink)}.subcategory-choice.active{background:var(--green);color:white;border-color:var(--green)}.subcategory-choice.active small,.subcategory-choice.active>span{color:#f4ccd9}.subcategory-intro{color:var(--muted);font-size:13px;line-height:1.7}.pdf-links{display:flex;gap:20px;flex-wrap:wrap}.pdf-links a,.product-source{color:var(--green);font-size:11px;text-underline-offset:4px}.product-source{display:inline-block;margin-top:14px;line-height:1.6}.subcategory-pdf{display:inline-block;margin-top:20px}.photo-category img{object-position:center}.photo-category h3{color:white}.photo-category:before{opacity:.35}.product-media img{object-fit:contain;background:white}.product-category{line-height:1.7}.product-info h3{font-size:19px}.product-media{aspect-ratio:1}.subcategory-panel .eyebrow{text-transform:uppercase}.footer-brand .brand-symbol{width:43px}.footer-brand .brand-word{width:125px}
@media(max-width:1100px){.subcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.brand-symbol{width:34px;height:38px;background-size:contain;background-position:center}.brand-word{width:108px;height:30px;background-size:contain;background-position:center}.brand{gap:4px}.subcategory-panel{padding:18px}.subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subcategory-heading{align-items:flex-start;flex-direction:column;gap:12px}.subcategory-choice{min-height:113px;padding:15px 13px}.subcategory-choice strong{font-size:18px}.product-info h3{font-size:16px}.product-category{font-size:8px}.category-card h3{font-size:24px}.pdf-links{gap:14px}}

/* Precios visibles para comparar tamaños antes de agregar el producto. */
.product-media > .fav { z-index: 2; }
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  overflow: visible;
}
.sizes button {
  flex: 1 1 72px;
  min-width: 0;
  min-height: 54px;
  height: auto;
  padding: 9px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.2;
}
.size-label { font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.size-price { font-size: 13px; font-weight: 600; white-space: nowrap; }
.product-price { font-size: 14px; line-height: 1.5; padding-right: 10px; }
.product-buy-row .add-btn { flex-shrink: 0; }

/* Todas las fotografías comparten un marco cuadrado, con el producto completo. */
.product-card { min-width: 0; }
.product-media {
  width: 100%;
  aspect-ratio: 1;
  background: white;
}
.product-media > .fav { z-index: 2; }
.catalog-photo {
  width: 100%;
  height: 100%;
  padding: 4%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: white;
}
.product-media > .catalog-photo { position: absolute; inset: 0; }
.catalog-photo-window {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}
.catalog-photo-window > img {
  position: absolute;
  max-width: none;
  max-height: none;
  object-fit: fill;
  transform: none;
  transition: none;
}
.product-card:hover .catalog-photo-window > img { transform: none; }
.cart-item > .catalog-photo { width: 60px; height: 75px; padding: 3px 2.4px; }
.cart-item > img { object-fit: contain; background: white; }
.catalog-photo-mask {
  position: absolute;
  background: white;
  z-index: 1;
  pointer-events: none;
}
