/* Fichas compartibles, con la identidad morado / naranja / crema del catálogo. */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 27px 25px;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb a { color: var(--ink); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb > span[aria-hidden] { color: #b49dbd; }
.product-page-hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: clamp(35px, 5vw, 76px);
  align-items: start;
  padding-bottom: 67px;
}
.product-gallery { min-width: 0; }
.gallery-stage {
  width: 100%;
  min-height: 490px;
  height: clamp(420px, 43vw, 590px);
  border: 1px solid #e4d9df;
  border-radius: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 40px;
  background: var(--photo-bg, #f0e8f3);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-stage::before {
  content: '';
  width: 70%;
  height: 70%;
  position: absolute;
  border: 1px solid #ffffff90;
  border-radius: 90px 25px 90px 25px;
  transform: rotate(-12deg);
  pointer-events: none;
}
.gallery-stage img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 21px 19px #29143518);
  transition: transform .3s ease;
}
.gallery-stage:hover img { transform: scale(1.025); }
.gallery-stage { background: #fff; }
.gallery-stage::before { display: none; }
.gallery-stage img { filter: none; }
.gallery-zoom {
  position: absolute;
  right: 19px;
  bottom: 18px;
  background: #fffaf2e8;
  border: 1px solid #d9cadf;
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
}
.gallery-thumbnails {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 16px 2px 7px;
  scrollbar-width: thin;
}
.gallery-thumbnail {
  width: 78px;
  height: 82px;
  flex: 0 0 78px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s, background .2s;
}
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbnail:hover { border-color: #9f729e; }
.gallery-thumbnail[aria-pressed="true"] { border: 2px solid var(--plum); background: #f2eaf5; }
.gallery-note { margin-top: 10px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.product-page-copy { padding-top: 14px; }
.product-page-copy > .eyebrow { color: #80658b; font-size: 10px; }
.availability-pill {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dccbe2;
  background: #f2eaf5;
  padding: 6px 11px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 600;
  color: #664175;
}
.availability-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #866191; }
.availability-pill.sold-out { color: #7f4840; background: #f5e6df; border-color: #e6c9c1; }
.availability-pill.sold-out::before { background: #b76b57; }
.product-page-copy h1 {
  font-size: clamp(38px, 4vw, 57px);
  letter-spacing: -2.6px;
  font-weight: 600;
  line-height: 1.08;
  margin-top: 19px;
  overflow-wrap: anywhere;
}
.page-variant { margin-top: 15px; font-size: 16px; color: #765e80; line-height: 1.6; }
.page-description { max-width: 480px; font-size: 14px; line-height: 1.9; color: #6c5b74; margin-top: 26px; }
.product-page-copy .detail-price-label { margin-top: 28px; }
.page-price { margin-top: 3px; font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -1.8px; }
.page-shipping { margin-top: 9px; color: var(--muted); font-size: 12px; }
.page-buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-buy-actions > .button { min-height: 51px; padding-inline: 22px; gap: 17px; font-size: 12px; }
.page-buy-actions .button-accent { color: var(--plum); }
.page-buy-actions .button:disabled { background: #e9dfe8; color: #796a7e; transform: none; opacity: .85; }
.page-reassurance { margin-top: 20px; max-width: 435px; font-size: 11px; color: var(--muted); line-height: 1.8; border-top: 1px solid var(--line); padding-top: 18px; }
.share-status { margin-top: 13px; font-size: 12px; color: #775a84; }
.share-fallback { margin-top: 15px; width: 100%; }
.share-fallback label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 7px; }
.share-fallback input { width: 100%; padding: 12px; border: 1px solid #d7c8dd; border-radius: 9px; background: white; color: var(--ink); font-size: 12px; }
.product-information { padding-block: 55px 25px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(35px, 6vw, 85px); align-items: start; }
.product-information .eyebrow { color: var(--muted); margin-bottom: 17px; }
.product-information h2 { font-size: clamp(28px, 3vw, 39px); letter-spacing: -1.7px; max-width: 530px; }
.page-specs { margin: 30px 0 0; }
.page-specs > div { padding: 15px 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.page-specs dt { color: var(--muted); }
.page-specs dd { margin: 0; font-weight: 600; color: #432b4e; }
.product-package { padding: 30px; border: 1px solid #e3d5e8; background: #f2eaf5; border-radius: 20px; }
.product-package .eyebrow { font-size: 9px; letter-spacing: 1.3px; color: #80658b; }
.product-package h3 { font-size: 24px; font-weight: 600; letter-spacing: -.7px; line-height: 1.25; margin: 0 0 17px; }
.product-package > p { font-size: 12px; color: #735c7c; line-height: 1.9; }
.product-package ol { padding-left: 18px; margin: 21px 0 0; font-size: 12px; color: #735c7c; }
.product-package li { margin-top: 10px; padding-left: 3px; }
.product-package li::marker { color: #ac492c; font-weight: 700; }
.product-package .source-link { margin-top: 23px; font-size: 11px; }
.related-products { padding-block: 70px; }
.related-products .section-heading { margin-bottom: 28px; }
.related-products .text-link { white-space: nowrap; margin-top: 0; }
.related-products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-dialog { width: min(1000px, calc(100% - 40px)); padding: 40px; background: #fbf6ef; overflow: hidden; }
.gallery-dialog > img { width: 100%; height: min(75dvh, 800px); object-fit: contain; }
.gallery-dialog .close-button { background: var(--plum); color: var(--cream); border-color: #735a80; }
.gallery-dialog .close-button:hover { background: #562c68; }
.product-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1180px) {
  .product-page-hero { gap: 38px; }
  .gallery-stage { min-height: 430px; padding: 45px 28px; }
  .page-buy-actions { gap: 10px; }
  .page-buy-actions > .button { padding-inline: 18px; gap: 12px; }
  .page-description { font-size: 13px; }
}
@media (max-width: 900px) {
  .product-page-hero { gap: 28px; }
  .product-page-copy { padding-top: 4px; }
  .gallery-stage { min-height: 390px; height: 440px; padding: 45px 22px; }
  .product-page-copy h1 { font-size: 38px; letter-spacing: -1.8px; }
  .page-variant { font-size: 13px; }
  .page-description { margin-top: 20px; font-size: 12px; }
  .availability-pill { margin-top: 17px; }
  .product-page-copy .detail-price-label { margin-top: 20px; }
  .page-price { font-size: 36px; }
  .page-buy-actions { margin-top: 21px; flex-direction: column; align-items: stretch; }
  .page-reassurance { font-size: 10px; }
  .product-information { gap: 30px; grid-template-columns: 1fr 1fr; }
  .product-package { padding: 25px; }
  .product-package h3 { font-size: 22px; }
  .page-specs > div { font-size: 12px; gap: 18px; }
}
@media (max-width: 640px) {
  .breadcrumb { font-size: 10px; gap: 7px; padding-block: 20px 19px; }
  .product-page-hero { grid-template-columns: 1fr; gap: 29px; padding-bottom: 40px; }
  .gallery-stage { min-height: 0; height: 385px; padding: 42px 33px; border-radius: 20px; }
  .gallery-stage img { max-height: 290px; }
  .gallery-zoom { font-size: 10px; padding: 7px 10px; bottom: 14px; right: 14px; }
  .gallery-thumbnails { gap: 10px; padding-top: 14px; }
  .gallery-thumbnail { width: 66px; height: 70px; flex-basis: 66px; padding: 8px; border-radius: 10px; }
  .gallery-note { font-size: 10px; margin-top: 7px; }
  .product-page-copy { padding: 0 3px; }
  .product-page-copy > .eyebrow { font-size: 9px; }
  .availability-pill { margin-top: 16px; font-size: 10px; }
  .product-page-copy h1 { margin-top: 17px; font-size: 39px; line-height: 1.1; letter-spacing: -2px; }
  .page-variant { margin-top: 13px; font-size: 14px; }
  .page-description { font-size: 13px; line-height: 1.85; margin-top: 21px; }
  .product-page-copy .detail-price-label { margin-top: 23px; }
  .page-price { font-size: 39px; }
  .page-shipping { font-size: 11px; }
  .page-buy-actions { flex-direction: row; gap: 9px; margin-top: 25px; }
  .page-buy-actions > .button { min-height: 50px; font-size: 11px; padding-inline: 17px; gap: 10px; flex: 1; }
  .page-buy-actions .share-product { flex: 0 0 auto; }
  .page-reassurance { font-size: 11px; line-height: 1.8; margin-top: 20px; }
  .product-information { grid-template-columns: 1fr; gap: 31px; padding-top: 37px; padding-bottom: 0; }
  .product-information .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .product-information h2 { font-size: 31px; letter-spacing: -1.5px; }
  .page-specs { margin-top: 23px; }
  .page-specs > div { padding-block: 13px; font-size: 12px; gap: 20px; grid-template-columns: 1fr 1.05fr; }
  .product-package { padding: 25px; border-radius: 16px; }
  .product-package h3 { font-size: 25px; }
  .product-package > p, .product-package ol { font-size: 12px; }
  .related-products { padding-block: 45px; }
  .related-products .section-heading { display: block; }
  .related-products .text-link { margin-top: 17px; font-size: 11px; }
  .related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-products .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc((100% - 12px) / 2); }
  .gallery-dialog { padding: 38px 15px 20px; width: calc(100% - 22px); border-radius: 18px; }
  .gallery-dialog > img { height: min(72dvh, 650px); }
}
@media (max-width: 370px) {
  .gallery-stage { height: 335px; padding: 40px 24px; }
  .product-page-copy h1 { font-size: 35px; }
  .page-buy-actions { flex-direction: column; }
  .page-buy-actions > .button { flex: initial; }
  .page-specs > div { gap: 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-stage img { transition: none; }
}
