/* ==========================================================================
   ZEVYRO · product page (owner: commerce)
   A jeweller's display case: one lit stage, inscription caps, hairlines, the price at once.
   Mobile first (390), desktop from 990: sticky stage left, the buy column right.
   ========================================================================== */

.z-product {
  position: relative;
  padding-bottom: var(--z-section-y-s);
}
.z-product__grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--z-space-l); }

/* ------------------------------------------------------------------ gallery */
.z-product__media { min-width: 0; }
@media (max-width: 989.98px) {
  .z-product__media { margin-inline: calc(-1 * max(var(--z-gutter), env(safe-area-inset-left, 0px))) calc(-1 * max(var(--z-gutter), env(safe-area-inset-right, 0px))); }
}
.z-pgal { position: relative; }
.z-pgal__stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  background: var(--z-obsidian);
  touch-action: pan-x pan-y;
}
.z-pgal__track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.z-pgal__track::-webkit-scrollbar { display: none; }
.z-pgal__track:focus { outline: none; }
.z-pgal__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.z-pgal__plate { display: block; height: 100%; --zt-radius: 0; --zt-glare: .5; --zt-sheen: .45; }
.z-pgal__plate[data-z-tilt] { touch-action: pan-x pan-y; }    /* the swipe belongs to the gallery */
.z-pgal__plate .z-tilt__target, .z-pgal__plate-in { box-shadow: none; }
.z-pgal__plate-in { position: relative; display: block; height: 100%; overflow: hidden; background: var(--z-obsidian); }
.z-pgal__plate-in::after {            /* the studio floor melts into the page */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 70px 26px var(--z-obsidian);
}
.z-pgal__img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* one slow sheet of light across the stage (on load and on every image change) */
.z-pgal__light {
  position: absolute;
  inset: -10% -40%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(104deg, rgba(255, 246, 222, 0) 38%, rgba(255, 246, 222, .09) 47%, rgba(255, 238, 200, .16) 50%, rgba(255, 246, 222, .09) 53%, rgba(255, 246, 222, 0) 62%);
  mix-blend-mode: screen;
  transform: translate3d(-70%, 0, 0);
  opacity: 0;
}
.z-pgal__stage.is-sweeping .z-pgal__light { animation: z-pgal-sweep 2.2s var(--z-ease-inout) both; }
@keyframes z-pgal-sweep {
  0% { transform: translate3d(-70%, 0, 0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate3d(70%, 0, 0); opacity: 0; }
}

/* engraved corner marks, like a proof plate */
.z-pgal__corners {
  position: absolute;
  inset: 14px;
  z-index: 3;
  pointer-events: none;
  background: var(--z-gold);
  opacity: .5;
  -webkit-mask: var(--z-corner-tl) top left / 22px no-repeat, var(--z-corner-tr) top right / 22px no-repeat, var(--z-corner-bl) bottom left / 22px no-repeat, var(--z-corner-br) bottom right / 22px no-repeat;
  mask: var(--z-corner-tl) top left / 22px no-repeat, var(--z-corner-tr) top right / 22px no-repeat, var(--z-corner-bl) bottom left / 22px no-repeat, var(--z-corner-br) bottom right / 22px no-repeat;
}
.z-pgal__illustrative { left: 22px; bottom: 22px; z-index: 4; }

/* 3D */
.z-pgal__stage3d {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--z-obsidian);
  opacity: 0;
  transition: opacity var(--z-dur-slow) var(--z-ease-out);
}
.z-pgal__stage3d.is-ready { opacity: 1; }
.z-pgal__stage3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.z-pgal__3d {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--z-line);
  border-radius: var(--z-radius-pill);
  background: rgba(7, 7, 7, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--z-ivory);
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: border-color var(--z-dur-base), color var(--z-dur-base), background-color var(--z-dur-base);
}
.z-pgal__3d-icon { width: 20px; height: 20px; color: var(--z-gold); transition: transform var(--z-dur-slow) var(--z-ease-out); }
.z-pgal__3d:hover { border-color: var(--z-gold); color: var(--z-gold-hi); }
.z-pgal__3d:hover .z-pgal__3d-icon { transform: rotate(-18deg); }
.z-pgal__3d[aria-pressed="true"] { border-color: var(--z-gold); background: rgba(201, 166, 91, .12); }
.z-pgal__3d[aria-busy="true"] .z-pgal__3d-icon { animation: z-pgal-turn 1.4s var(--z-ease-inout) infinite; }
@keyframes z-pgal-turn { 50% { transform: rotateY(180deg); } }
.z-pgal__hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  transform: translate3d(-50%, 8px, 0);
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-ivory-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--z-dur-slow) var(--z-ease-out), transform var(--z-dur-slow) var(--z-ease-out);
}
.z-pgal__hint.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.z-product.is-3d .z-pgal__nav { opacity: 0; pointer-events: none; }
.z-pgal__nav { transition: opacity var(--z-dur-base); }
.z-pgal__illustrative { z-index: 6; }

/* nav: dots + index (phones), thumbnail rail (desktop) */
.z-pgal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(var(--z-gutter), env(safe-area-inset-right, 0px)) 4px max(var(--z-gutter), env(safe-area-inset-left, 0px));
}
.z-pgal__thumbs { display: none; list-style: none; margin: 0; padding: 0; }
.z-pgal__dots { display: flex; gap: 6px; flex: 1 1 auto; max-width: 160px; }
.z-pgal__dot {
  position: relative;
  flex: 1 1 0;
  height: 1px;
  background: var(--z-line);
  transition: background-color var(--z-dur-slow) var(--z-ease-out);
}
.z-pgal__dot::after {                   /* 44 px tall hit area without changing the hairline */
  content: "";
  position: absolute;
  inset: -12px 0;
}
.z-pgal__dot.is-active { background: var(--z-gold-hi); }
.z-pgal__index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  order: 2;
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: .2em;
  color: var(--z-ivory-2);
}
.z-pgal__index [data-z-gallery-current] { color: var(--z-ivory); }
.z-pgal__index-sep { width: 22px; height: 1px; background: var(--z-line); }
.z-pgal > .z-microprint { margin-top: 12px; }

/* ------------------------------------------------------------- info column */
.z-product__info { min-width: 0; }
.z-product__mark { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.z-product__numeral { flex: 0 0 auto; font-family: var(--z-font-display); font-size: 2.5rem; font-weight: 300; line-height: 1; letter-spacing: .04em; }
.z-product__numeral--s { font-size: 1.75rem; }
.z-product__numeral .z-foil { margin: 0; padding: 0 .12em 0 0; }
.z-product__mark-rule { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--z-line), var(--z-line-soft)); }
.z-product__series {
  flex: 0 0 auto;
  margin-right: calc(-1 * var(--z-track-caps));
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-eyebrow);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-gold);
}

.z-product__title {
  margin-top: 14px;
  font-family: var(--z-font-caps);
  font-size: clamp(1.75rem, 1.3rem + 1.85vw, 2.875rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--z-ivory);
  text-wrap: balance;
}
.z-product__title-main { display: block; margin-right: -.12em; }
.z-product__subtitle {
  margin-top: 10px;
  font-family: var(--z-font-display);
  font-size: clamp(1.3125rem, 1.15rem + .65vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  color: var(--z-ivory-2);
}

.z-product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 26px;
  padding-block: 16px;
  border-block: 1px solid var(--z-line-soft);
}
.z-product__price .z-price { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem); font-weight: 400; letter-spacing: .005em; line-height: 1; }
.z-product__price-note { display: inline-flex; align-items: center; gap: .7em; font-size: var(--z-fs-xs); color: var(--z-ivory-2); }
.z-product__price-note .z-lozenge { color: var(--z-gold); width: 5px; height: 5px; vertical-align: 0; }

/* -------------------------------------------------------------- tier switch */
.z-pswitch { margin-top: 24px; }
.z-pswitch__label {
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-ivory-2);
}
.z-pswitch .z-pswitch__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.z-pswitch__opt {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  min-height: 44px;
  padding: 14px 2px 11px;
  border: 1px solid var(--z-line-soft);
  color: var(--z-ivory-2);
  text-decoration: none;
  transition: border-color var(--z-dur-base) var(--z-ease-out), color var(--z-dur-base), background-color var(--z-dur-slow) var(--z-ease-out);
}
.z-pswitch__opt::after {                 /* the lozenge that marks the chosen engraving */
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--z-gold);
  -webkit-mask: var(--z-lozenge) center / contain no-repeat;
  mask: var(--z-lozenge) center / contain no-repeat;
  transform: scale(0);
  transition: transform var(--z-dur-slow) var(--z-ease-out);
}
@media (hover: hover) {
  .z-pswitch__opt:hover { border-color: var(--z-line); color: var(--z-ivory); }
  .z-pswitch__opt:hover .z-pswitch__chip { transform: translateY(-2px) rotate(-3deg); }
}
.z-pswitch__opt[aria-current="page"], .z-pswitch__opt.is-going {
  border-color: var(--z-gold);
  color: var(--z-ivory);
  background: linear-gradient(180deg, rgba(201, 166, 91, .09), rgba(201, 166, 91, 0) 80%);
}
.z-pswitch__opt[aria-current="page"]::after, .z-pswitch__opt.is-going::after { transform: scale(1); }
.z-pswitch__chip {
  position: relative;
  display: block;
  width: 46px;
  aspect-ratio: 85.6 / 54;
  border-radius: 3px;
  background: var(--z-tier-foil, var(--z-foil));
  box-shadow: inset 0 0 0 1px rgba(255, 252, 240, .14), 0 8px 14px -8px rgba(0, 0, 0, .95);
  transition: transform var(--z-dur-slow) var(--z-ease-out);
}
.z-pswitch__chip::before {               /* the engraved frame */
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(20, 18, 15, .32);
  border-radius: 1.5px;
}
.z-pswitch__chip > span {                /* the cameo */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  height: 52%;
  border: 1px solid rgba(20, 18, 15, .38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.z-pswitch__opt[data-tier="black"] .z-pswitch__chip { background: linear-gradient(110deg, #121110, #2B2A28 46%, #151413 70%, #232220); }
.z-pswitch__opt[data-tier="black"] .z-pswitch__chip::before,
.z-pswitch__opt[data-tier="black"] .z-pswitch__chip > span { border-color: rgba(200, 204, 209, .42); }
/* A Coleção: the gold chip in front of the black and the silver (the pseudo-chips sit in the option's
   stacking context, behind the gold; no transform on this chip, or they would paint over it). */
.z-pswitch__opt { isolation: isolate; }
.z-pswitch__opt[data-tier="colecao"] .z-pswitch__chip { width: 40px; margin-top: 3px; background: var(--z-foil); transform: none; }
.z-pswitch__opt[data-tier="colecao"] .z-pswitch__chip::before,
.z-pswitch__opt[data-tier="colecao"] .z-pswitch__chip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 0;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 252, 240, .16), 0 6px 10px -6px rgba(0, 0, 0, .9);
  transition: transform var(--z-dur-slow) var(--z-ease-out);
}
.z-pswitch__opt[data-tier="colecao"] .z-pswitch__chip::before { background: linear-gradient(110deg, #121110, #2B2A28 46%, #151413); transform: translate(-10px, -5px) rotate(-10deg); }
.z-pswitch__opt[data-tier="colecao"] .z-pswitch__chip::after { background: var(--z-foil-silver); transform: translate(10px, -5px) rotate(9deg); }
@media (hover: hover) {
  .z-pswitch__opt[data-tier="colecao"]:hover .z-pswitch__chip { transform: none; }
  .z-pswitch__opt[data-tier="colecao"]:hover .z-pswitch__chip::before { transform: translate(-13px, -6px) rotate(-14deg); }
  .z-pswitch__opt[data-tier="colecao"]:hover .z-pswitch__chip::after { transform: translate(13px, -6px) rotate(13deg); }
}
.z-pswitch__name {
  font-family: var(--z-font-caps);
  font-size: .65625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-right: -.2em;
  white-space: nowrap;
}
.z-pswitch__price { font-size: .71875rem; color: var(--z-ivory-2); letter-spacing: .02em; }
.z-pswitch__opt[aria-current="page"] .z-pswitch__price { color: var(--z-ivory); }

/* -------------------------------------------------------------- buy actions */
.z-product__form { margin-top: 22px; }
.z-product__actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.z-product__qty { height: 60px; grid-template-columns: 40px 3ch 40px; }
.z-product__qty button[disabled] { color: var(--z-ivory-3); cursor: default; }
.z-product__add { width: 100%; padding-inline: 1.2em; }
.z-btn.is-done { background-position: 0 0, 0 0, 70% 50%; }
.z-product__status { margin-top: 10px; font-size: var(--z-fs-sm); color: var(--z-error); }

.z-product__delivery {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--z-line-soft);
  background: rgba(243, 238, 227, .018);
}
.z-product__delivery-icon { width: 22px; height: 22px; margin-top: 1px; color: var(--z-gold); }
.z-product__delivery-text { display: grid; gap: 3px; }
.z-product__eta { font-size: var(--z-fs-sm); line-height: 1.5; color: var(--z-ivory); }
.z-product__eta b { font-weight: 600; color: var(--z-gold-hi); }
.z-product__carrier { font-size: var(--z-fs-xs); line-height: 1.5; color: var(--z-ivory-2); }
.z-product__pay { margin-top: 12px; text-align: center; font-size: .75rem; letter-spacing: .03em; color: var(--z-ivory-2); }

/* the Coleção, suggested (never added on its own) */
.z-product__upsell {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--z-line);
  background: linear-gradient(115deg, rgba(201, 166, 91, .08), rgba(201, 166, 91, 0) 58%);
  color: var(--z-ivory);
  text-decoration: none;
  transition: border-color var(--z-dur-base), background-color var(--z-dur-slow);
}
.z-product__upsell::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: var(--z-gold);
  opacity: .75;
  -webkit-mask: var(--z-corner-tl) top left / 14px no-repeat, var(--z-corner-tr) top right / 14px no-repeat, var(--z-corner-bl) bottom left / 14px no-repeat, var(--z-corner-br) bottom right / 14px no-repeat;
  mask: var(--z-corner-tl) top left / 14px no-repeat, var(--z-corner-tr) top right / 14px no-repeat, var(--z-corner-bl) bottom left / 14px no-repeat, var(--z-corner-br) bottom right / 14px no-repeat;
}
.z-product__upsell-media { grid-row: 1 / 3; display: block; aspect-ratio: 1; overflow: hidden; background: var(--z-obsidian); }
.z-product__upsell-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.32); transition: transform var(--z-dur-epic) var(--z-ease-out); }
.z-product__upsell-text { font-family: var(--z-font-display); font-size: 1.1875rem; font-style: italic; line-height: 1.28; align-self: end; }
.z-product__upsell-cta {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  align-self: start;
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-gold-hi);
}
.z-product__upsell-cta svg { width: 1.1em; height: 1.1em; transition: transform var(--z-dur-slow) var(--z-ease-out); }
@media (hover: hover) {
  .z-product__upsell:hover { border-color: var(--z-gold); }
  .z-product__upsell:hover .z-product__upsell-cta svg { transform: translateX(4px); }
  .z-product__upsell:hover .z-product__upsell-media img { transform: scale(1.4); }
}

/* ------------------------------------------------------------------- story */
.z-product__story { margin-top: var(--z-space-2xl); padding-top: var(--z-space-xl); border-top: 1px solid var(--z-line-soft); }
.z-product__tagline { font-size: var(--z-fs-display-m); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.z-product__tagline em { font-weight: 300; }
.z-product__description { margin-top: 22px; }
.z-product__description p:first-child { color: var(--z-ivory); }
.z-product__description p:last-child {
  font-family: var(--z-font-display);
  font-size: var(--z-fs-display-xs);
  font-style: italic;
  line-height: 1.3;
  color: var(--z-ivory);
}

.z-product__minihead {
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-eyebrow);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-gold);
}
.z-product__includes { margin-top: var(--z-space-xl); }
.z-product__includes .z-product__includes-list { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--z-line-soft); }
.z-product__includes-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--z-line-soft);
  font-size: var(--z-fs-sm);
  color: var(--z-ivory);
}
.z-product__includes-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + .62em);
  width: 6px;
  height: 6px;
  background: var(--z-gold);
  -webkit-mask: var(--z-lozenge) center / contain no-repeat;
  mask: var(--z-lozenge) center / contain no-repeat;
}

/* «Antes de comprar»: an engraved certificate of honest notes */
.z-product__before {
  position: relative;
  margin-top: var(--z-space-xl);
  padding: 26px 20px 12px;
  border: 1px solid var(--z-line);
  background: linear-gradient(180deg, rgba(201, 166, 91, .045), rgba(201, 166, 91, 0) 40%), var(--z-onyx);
}
.z-product__before::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--z-line-soft);
  pointer-events: none;
}
.z-product__before::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: var(--z-gold);
  opacity: .8;
  -webkit-mask: var(--z-corner-tl) top left / 22px no-repeat, var(--z-corner-tr) top right / 22px no-repeat, var(--z-corner-bl) bottom left / 22px no-repeat, var(--z-corner-br) bottom right / 22px no-repeat;
  mask: var(--z-corner-tl) top left / 22px no-repeat, var(--z-corner-tr) top right / 22px no-repeat, var(--z-corner-bl) bottom left / 22px no-repeat, var(--z-corner-br) bottom right / 22px no-repeat;
}
.z-product__before-title { padding-inline: 4px; }
.z-product__before .z-product__before-list { margin: 14px 0 0; padding: 0; list-style: none; }
.z-product__before-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 4px;
  border-top: 1px solid var(--z-line-soft);
  font-size: var(--z-fs-sm);
  line-height: 1.6;
  color: var(--z-ivory-2);
}
.z-product__before-num { font-family: var(--z-font-caps); font-size: .75rem; letter-spacing: .08em; line-height: 1.9; color: var(--z-gold); }
.z-product__before-text strong { color: var(--z-ivory); font-weight: 600; }

/* --------------------------------------------------------------- details */
.z-product__details { margin-top: var(--z-space-xl); }
.z-product__acc .z-accordion__inner { font-size: var(--z-fs-sm); }
.z-product__acc .z-prose { font-size: inherit; }
.z-product__acc .z-prose ol > li { padding-left: .3em; }
.z-product__acc-link { margin-top: 18px; }
.z-product__acc-link .z-link { color: var(--z-ivory); }
.z-product__specs { margin: 0; border-top: 1px solid var(--z-line-soft); }
.z-product__spec { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--z-line-soft); }
.z-product__spec dt { padding-top: .25em; font-family: var(--z-font-caps); font-size: var(--z-fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--z-ivory-2); }
.z-product__spec dd { margin: 0; color: var(--z-ivory); }
.z-product__notice { margin-top: 18px; }
.z-product__notice img { width: 100%; height: auto; }

/* GPSR block (snippets/gpsr) */
.z-gpsr { display: grid; gap: 14px; }
.z-gpsr__facts { margin: 0; border-top: 1px solid var(--z-line-soft); }
.z-gpsr__fact { display: grid; gap: 4px; padding: 11px 0; border-bottom: 1px solid var(--z-line-soft); }
.z-gpsr__fact dt { font-family: var(--z-font-caps); font-size: var(--z-fs-micro); letter-spacing: .18em; text-transform: uppercase; color: var(--z-ivory-2); }
.z-gpsr__fact dd { margin: 0; color: var(--z-ivory); overflow-wrap: anywhere; }
.z-gpsr__fact a { color: inherit; text-decoration-color: var(--z-line); }
.z-gpsr__heading { margin-top: 8px; font-family: var(--z-font-caps); font-size: var(--z-fs-eyebrow); font-weight: 400; letter-spacing: var(--z-track-caps); text-transform: uppercase; color: var(--z-gold); }
.z-gpsr__warnings { margin: 0; padding: 0; list-style: none; }
.z-gpsr__warnings li { position: relative; padding: 5px 0 5px 20px; }
.z-gpsr__warnings li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(5px + .66em);
  width: 6px;
  height: 6px;
  background: var(--z-gold);
  -webkit-mask: var(--z-lozenge) center / contain no-repeat;
  mask: var(--z-lozenge) center / contain no-repeat;
}
.z-gpsr__contact { font-size: var(--z-fs-xs); }
.z-gpsr__contact a { color: var(--z-ivory); }

/* -------------------------------------------------------- sticky buy bar */
.z-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--z-consent-h, 0px);   /* sits above the cookie sheet while it is open, never under it */
  z-index: var(--z-layer-sticky);
  padding: 10px max(var(--z-gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--z-gutter), env(safe-area-inset-left, 0px));
  background: var(--z-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid var(--z-line);
  box-shadow: 0 -20px 40px -24px rgba(0, 0, 0, .9);
  visibility: hidden;
  transform: translate3d(0, 110%, 0);
  transition: transform var(--z-dur-slow) var(--z-ease-out), bottom var(--z-dur-slow) var(--z-ease-out), visibility 0s linear var(--z-dur-slow);
}
.z-buybar.is-visible { visibility: visible; transform: none; transition-delay: 0s; }
.z-buybar__in { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; max-width: var(--z-max); margin: 0 auto; }
.z-buybar__card {
  display: block;
  aspect-ratio: 85.6 / 54;
  overflow: hidden;
  border-radius: 3px;
  background: var(--z-tier-foil, var(--z-graphite));
  box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .95);
}
.z-buybar[data-tier="colecao"] .z-buybar__card { border-radius: 0; background: var(--z-obsidian); }
.z-buybar__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.47); }
.z-buybar[data-tier="colecao"] .z-buybar__img { transform: scale(1.12); }
.z-buybar__text { display: grid; gap: 2px; min-width: 0; }
.z-buybar__name { overflow: hidden; font-family: var(--z-font-caps); font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--z-ivory); }
.z-buybar__price { font-size: var(--z-fs-sm); font-weight: 500; color: var(--z-ivory); }
.z-buybar__btn { --z-btn-h: 46px; padding: 0 16px; gap: .6em; font-size: .6875rem; }
html.z-buybar-on .z-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* -------------------------------------------------- tier switch: the veil */
.z-product.is-leaving .z-pgal__stage,
.z-product.is-leaving .z-product__title,
.z-product.is-leaving .z-product__subtitle,
.z-product.is-leaving .z-product__price { opacity: 0; transition: opacity .34s var(--z-ease-in), transform .34s var(--z-ease-in); }
.z-product.is-leaving .z-pgal__stage { transform: scale(.985); }

/* ------------------------------------------------------------------ phones
   A 5:4 stage (the render's empty sky and most of its floor are cropped) with the index inside it, so the title,
   the price, the switcher and «Adicionar ao saco» all fit in the first screen of a 390 × 844 phone. */
@media (max-width: 749.98px) {
  .z-pgal__stage { aspect-ratio: 5 / 4; }
  .z-pgal__img { object-position: 50% 0%; }
  .z-pgal__nav { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 46px 20px; pointer-events: none; }
  .z-pgal__dots, .z-pgal__index { pointer-events: auto; }
  .z-pgal > .z-microprint { display: none; }
  .z-pgal__illustrative { top: 20px; bottom: auto; left: 46px; }
  .z-pgal__3d { top: 10px; right: 42px; min-height: 40px; padding: 0 14px 0 10px; }
  .z-pgal__3d-long { display: none; }
  .z-pgal__hint { bottom: 46px; }
  .z-product__grid { row-gap: 22px; }
  .z-product__price { margin-top: 20px; padding-block: 12px; }
  .z-pswitch { margin-top: 18px; }
  .z-pswitch .z-pswitch__list { margin-top: 10px; }
  .z-pswitch__opt { padding: 12px 2px 9px; gap: 6px; }
  .z-product__form { margin-top: 16px; }
}

/* ------------------------------------------------------------------ tablet */
@media (min-width: 750px) and (max-width: 989.98px) {
  .z-pgal__stage { width: min(100%, 640px); margin-inline: auto; aspect-ratio: 5 / 4; }   /* as on phones: price and button closer to the first screen */
  .z-pgal__img { object-position: 50% 0%; }
  .z-product__info { width: min(100%, 600px); margin-inline: auto; }
}

/* ------------------------------------------------------------------ desktop */
@media (min-width: 990px) {
  .z-product { padding-top: var(--z-space-l); }
  .z-product__grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); column-gap: clamp(48px, 5.4vw, 104px); align-items: start; }
  .z-product__media { position: sticky; top: calc(var(--z-header-offset, var(--z-header-h)) + 20px); transition: top var(--z-dur-slow) var(--z-ease-out); }
  .z-pgal { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .z-pgal__stage {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, calc(100svh - var(--z-header-h) - var(--z-announce-h) - 96px));
    min-width: 420px;
    justify-self: center;
  }
  .z-pgal__track { display: grid; overflow: hidden; scroll-snap-type: none; }
  .z-pgal__slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition: opacity 1s var(--z-ease-out), transform 1.4s var(--z-ease-out), visibility 0s linear 1s;
  }
  .z-pgal__slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; transition-delay: 0s; }
  .z-pgal__nav { grid-column: 1; grid-row: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; padding: 0; }
  .z-pgal__dots { display: none; }
  .z-pgal__thumbs { display: grid; gap: 10px; }
  .z-pgal__thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--z-obsidian);
    box-shadow: inset 0 0 0 1px var(--z-line-soft);
    opacity: .62;
    transition: opacity var(--z-dur-base), box-shadow var(--z-dur-base);
  }
  .z-pgal__thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--z-dur-base); }
  .z-pgal__thumb-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.3); transition: transform var(--z-dur-epic) var(--z-ease-out); }
  .z-pgal__thumb:hover { opacity: 1; }
  .z-pgal__thumb:hover .z-pgal__thumb-img { transform: scale(1.38); }
  .z-pgal__thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 1px var(--z-gold); }
  .z-pgal__thumb[aria-current="true"]::after { box-shadow: inset 0 0 0 4px var(--z-obsidian), inset 0 0 0 5px var(--z-line); }
  .z-pgal__index { order: 0; flex-direction: column; gap: 8px; align-items: center; }
  .z-pgal__index-sep { width: 1px; height: 18px; }
  .z-pgal > .z-microprint { grid-column: 2; margin-top: 14px; }

  .z-product__info { max-width: 540px; padding-top: 8px; }
  .z-product__before { padding: 30px 28px 14px; }
}
@media (min-width: 1200px) {
  .z-pgal { grid-template-columns: 80px minmax(0, 1fr); column-gap: 28px; }
}

/* ------------------------------------------------ cross-document transition */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .z-pgal__stage { view-transition-name: z-product-stage; }
  .z-product__title-main { view-transition-name: z-product-title; }
  .z-pswitch__list { view-transition-name: z-product-switch; }
  ::view-transition-group(root) { animation-duration: .5s; }
  ::view-transition-old(z-product-stage) { animation: z-vt-out .42s cubic-bezier(.7, 0, .84, 0) both; }
  ::view-transition-new(z-product-stage) { animation: z-vt-in 1s cubic-bezier(.16, 1, .3, 1) .12s both; }
  ::view-transition-old(z-product-title) { animation: z-vt-fade-out .3s ease-in both; }
  ::view-transition-new(z-product-title) { animation: z-vt-rise .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
  ::view-transition-group(z-product-switch) { animation: none; }
  ::view-transition-old(z-product-switch) { animation: none; opacity: 0; }
  ::view-transition-new(z-product-switch) { animation: none; }
}
@keyframes z-vt-out { to { opacity: 0; transform: scale(.97); filter: brightness(.6); } }
@keyframes z-vt-in { from { opacity: 0; transform: scale(1.03); filter: brightness(1.25); } }
@keyframes z-vt-fade-out { to { opacity: 0; } }
@keyframes z-vt-rise { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .z-pgal__slide { transform: none !important; }
  .z-pgal__light { display: none; }
  .z-pswitch__opt:hover .z-pswitch__chip { transform: none; }
  .z-buybar { transition: visibility 0s, opacity var(--z-dur-base); transform: none; opacity: 0; }
  .z-buybar.is-visible { opacity: 1; }
}

/* v6 (30 out 2026) · 3D on touch screens: the card opens full screen, every drag turns it */
.z-stage-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: var(--z-obsidian);
  color: var(--z-ivory);
  opacity: 0;
  transition: opacity var(--z-dur-slow) var(--z-ease-out);
  overscroll-behavior: contain;
  touch-action: none;
}
.z-stage-modal.is-open { opacity: 1; }
.z-stage-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: env(safe-area-inset-top, 0px) 20px 0;
  border-bottom: 1px solid var(--z-line-soft);
}
.z-stage-modal__name {
  margin: 0;
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-ivory-2);
}
.z-stage-modal__close { margin-right: -10px; }
.z-stage-modal__box { position: relative; flex: 1 1 auto; min-height: 0; opacity: 0; transition: opacity var(--z-dur-slow) var(--z-ease-out); }
.z-stage-modal__box.is-ready { opacity: 1; }
.z-stage-modal__box canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: none !important; }
.z-stage-modal__hint {
  margin: 0;
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-ivory-2);
}
html.z-stage-open, html.z-stage-open body { overflow: hidden; }
