/* Photo-led catalogue: real product pictures keep their proportions and detail. */
.gallery-guide {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #77796f;
  font-size: 11px;
  line-height: 1.6;
}
.gallery-guide > .icon { width: 16px; height: 16px; color: var(--orange); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; border-radius: 14px; border-color: #e6e5df; box-shadow: 0 3px 14px #24242204; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 13px 30px #2424220b; }
.product-media { aspect-ratio: 1.18; background: #f5f4ef; }
.product-photo { position: relative; padding: 22px 28px 43px; }
.product-photo > img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.photo-open-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid #e3e2db;
  background: #ffffffed;
  color: #66665d;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: border-color .2s, color .2s;
}
.photo-open-hint > .icon { width: 13px; height: 13px; }
.product-photo:hover .photo-open-hint { border-color: #f1ac8d; color: var(--orange-dark); }
.product-media > .card-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid #e4e2d9;
  background: #fffffff2;
  box-shadow: 0 2px 8px #24242208;
}
.product-media > .card-favorite .icon { width: 18px; height: 18px; }
.product-media > .card-favorite.saved { color: #e66b46; background: #fff2eb; border-color: #f0cbbd; }
.product-media > .card-favorite.saved .icon { fill: currentColor; }
.card-photo-strip { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid #efeee8; }
.card-photo-thumb {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 43px;
  aspect-ratio: 1;
  padding: 3px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e7e6e0;
  background: #fafaf7;
  transition: border-color .2s, transform .2s;
}
.card-photo-thumb:hover { border-color: var(--orange); transform: translateY(-2px); }
.card-photo-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; }
.card-photo-thumb > span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: #1b1c219e; font-size: 13px; font-weight: 700; }
.card-photo-strip > span { margin-left: auto; color: #a0a093; text-transform: uppercase; font-size: 8px; letter-spacing: 1px; line-height: 1.5; }
.product-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-content > .product-universe { font-size: 9px; letter-spacing: 1.1px; color: #8e8e82; }
.product-name { margin: 7px 0 10px; min-height: 42px; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.4px; }
.product-name:hover { color: var(--orange-dark); }
.product-name .number { color: #9b9b90; font-size: 12px; white-space: nowrap; }
.product-badges { position: static; flex-direction: row; flex-wrap: wrap; gap: 5px; min-height: 22px; margin-bottom: 3px; }
.product-badges .badge { font-size: 8px; padding: 4px 7px; border-radius: 4px; }
.card-price-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 15px 0 16px; }
.product-price { font-size: 25px; letter-spacing: -1px; }
.card-detail-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0 8px 8px; color: #838379; font-size: 10px; font-weight: 500; }
.card-detail-link > .icon { width: 13px; height: 13px; }
.card-detail-link:hover { color: var(--orange-dark); }
.card-purchase-actions { display: flex; gap: 8px; }
.card-purchase-actions > .button { flex: 1; min-height: 43px; padding: 10px 14px; gap: 8px; border-radius: 6px; font-size: 11px; }
.card-purchase-actions > .button .icon { width: 17px; height: 17px; }
.card-purchase-actions > .card-add { width: 43px; height: 43px; border: 1px solid #e4e4db; border-radius: 6px; background: #fafaf7; }
.card-purchase-actions > .card-add .icon { width: 18px; height: 18px; }
.photo-stage { background: #efeee8; }
.photo-stage.is-loading #photo-image { opacity: 0; }
.viewer-thumbnails { display: flex; justify-content: center; gap: 9px; overflow-x: auto; padding: 12px 20px; background: #fafaf7; border-top: 1px solid #e5e4dc; flex-shrink: 0; }
.viewer-thumbnail { width: 56px; height: 56px; flex-shrink: 0; border-radius: 6px; padding: 4px; border: 1px solid #ddddd3; background: #fff; transition: border-color .2s, box-shadow .2s; }
.viewer-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.viewer-thumbnail.active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.photo-product-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; background: #fff; border-top: 1px solid #eeede6; flex-shrink: 0; }
.photo-product-actions > span { color: #8f8f80; font-size: 11px; }
.photo-product-actions > div { display: flex; gap: 8px; }
.photo-product-actions .button { font-size: 10px; gap: 10px; min-height: 39px; padding: 10px 14px; }
.photo-product-actions .button > .icon { width: 16px; height: 16px; }
.photo-thumbnails > button { width: 55px; height: 55px; }
.photo-thumbnails > button.active { box-shadow: 0 0 0 1px var(--orange); }
@media (max-width: 1000px) {
  .product-grid { gap: 16px; }
  .product-content { padding: 16px; }
  .product-photo { padding: 20px 20px 42px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 22px; }
  .card-photo-strip > span { display: none; }
}
@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 540px) {
  .gallery-guide { font-size: 10px; align-items: flex-start; gap: 7px; margin: 0 0 16px; }
  .gallery-guide > .icon { margin-top: 2px; }
  .product-grid { gap: 14px 10px; }
  .product-card { border-radius: 11px; }
  .product-media { aspect-ratio: .93; }
  .product-photo { padding: 16px 12px 37px; }
  .product-media > .card-favorite { top: 8px; right: 8px; width: 32px; height: 32px; }
  .product-media > .card-favorite .icon { width: 15px; height: 15px; }
  .photo-open-hint { bottom: 9px; font-size: 8px; padding: 4px 8px; gap: 4px; }
  .photo-open-hint > .icon { width: 11px; height: 11px; }
  .card-photo-strip { padding: 10px; gap: 5px; }
  .card-photo-thumb { border-radius: 4px; padding: 2px; }
  .card-photo-thumb > span { font-size: 10px; }
  .product-content { padding: 13px 11px 12px; }
  .product-content > .product-universe { font-size: 7px; letter-spacing: .5px; }
  .product-name { font-size: 13px; min-height: 50px; margin: 6px 0 8px; }
  .product-name .number { font-size: 10px; }
  .product-badges { gap: 3px; min-height: 20px; }
  .product-badges .badge { font-size: 6px; padding: 3px 5px; }
  .card-price-line { padding: 10px 0 12px; gap: 3px; }
  .product-price { font-size: 21px; letter-spacing: -.8px; }
  .card-detail-link { font-size: 8px; gap: 2px; padding-left: 2px; }
  .card-detail-link > .icon { width: 10px; height: 10px; }
  .card-purchase-actions { gap: 5px; }
  .card-purchase-actions > .button { min-height: 44px; font-size: 9px; padding: 8px 6px; gap: 5px; }
  .card-purchase-actions > .button .icon { width: 14px; height: 14px; }
  .card-purchase-actions > .card-add { width: 38px; height: 44px; }
  .card-purchase-actions > .card-add .icon { width: 15px; height: 15px; }
  .photo-heading { padding: 14px 14px 11px; }
  .photo-heading h2 { font-size: 16px; }
  .photo-heading p { font-size: 9px; }
  .viewer-thumbnails { gap: 7px; padding: 10px 12px; }
  .viewer-thumbnail { width: 44px; height: 44px; padding: 3px; }
  .photo-product-actions { padding: 10px 12px; justify-content: center; }
  .photo-product-actions > span { display: none; }
  .photo-product-actions > div { width: 100%; gap: 7px; }
  .photo-product-actions .button { font-size: 9px; gap: 6px; padding: 9px 10px; }
  .photo-product-actions .button-whatsapp { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .photo-open-hint, .card-photo-thumb, .viewer-thumbnail { transition: none; }
  .product-card:hover, .card-photo-thumb:hover { transform: none; }
}
