.rentigue-site .piece-section { padding-top: 18px; }
.rentigue-site .piece-information { padding-top: 8px; }
.rentigue-site .piece-information h1 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.2; }
.piece-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.piece-meta-row .eyebrow { margin: 0; }
.piece-tools { display: flex; align-items: center; gap: 4px; }
.rentigue-site .product-share-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; padding: 8px; background: transparent; color: #111; cursor: pointer; }
.product-share-button svg { width: 22px; height: 22px; }
.rentigue-site .product-back { position: absolute; top: 10px; left: 10px; z-index: 4; display: grid; place-items: center; width: 40px; height: 40px; color: #111; background: transparent; border: 0; padding: 0; text-decoration: none; }
.product-back svg { width: 24px; height: 24px; }
.rentigue-site .product-back::after { display: none; }
.purchase-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.rentigue-site .purchase-button { min-height: 50px; padding: 12px; border: 1px solid #1b1917; font: 400 11px/1.4 Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.rentigue-site .purchase-cart { background: #1b1917; color: #fffdf9; }
.rentigue-site .purchase-now { background: transparent; color: #1b1917; }
.purchase-button:hover { opacity: 0.85; }
.standard-fit { font-size: 12px; color: var(--rentigue-muted); }
.product-alternative { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--rentigue-border); }
.product-alternative p { flex-basis: 100%; font-size: 13px; margin: 0; }
.rental-detail-sizes + .product-alternative { border-top: 0; }
.product-alternative strong { font-size: 16px; font-weight: 400; }
.product-alternative small { font-size: 11px; }
.product-alternative .text-link { margin-left: auto; }
.product-share-dialog { position: fixed; inset: 0; width: min(440px, calc(100% - 32px)); max-width: calc(100% - 32px); max-height: calc(100dvh - 40px); margin: auto; padding: 24px; overflow: auto; color: #1b1917; background: var(--rentigue-bg, #f5f1ea); border: 0; box-shadow: 0 16px 60px #0002; }
.product-share-dialog::backdrop { background: #0005; }
.share-dialog-header { position: relative; padding: 8px 40px 24px; text-align: center; }
.share-dialog-header h2 { margin: 0; font: 400 20px/1.3 Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
.rentigue-site .share-close { position: absolute; top: -4px; right: -8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 12px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.share-close svg { width: 20px; height: 20px; }
.rentigue-site .share-copy { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 16px 0; background: transparent; border: 0; font: 400 13px/1.4 Arial, sans-serif; text-transform: uppercase; color: inherit; cursor: pointer; text-align: left; }
.share-copy svg { width: 20px; height: 20px; flex: none; }
.share-feedback { min-height: 18px; margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--rentigue-text-soft); }
.share-url-fallback { width: 100%; }
.product-share-button:focus-visible, .product-back:focus-visible, .purchase-button:focus-visible, .share-close:focus-visible, .share-copy:focus-visible { outline: 2px solid #938779; outline-offset: 3px; }
.purchase-error { color: #963c31; font-size: 13px; }
@media (max-width: 900px) {
  .rentigue-site .piece-layout { gap: 35px; }
}
@media (max-width: 600px) {
  .rentigue-site.product-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .rentigue-site .piece-section { width: 100%; padding-top: 0; }
  .rentigue-site .piece-layout { display: block; }
  .rentigue-site .piece-information { position: static; padding: 18px 20px 0; }
  .rentigue-site .piece-information h1 { font-size: 28px; }
  .rentigue-site .piece-image { aspect-ratio: 4 / 5; }
  .rentigue-site .piece-thumbnails { gap: 3px; margin-top: 0; padding: 8px 0; overflow: hidden; }
  .rentigue-site .piece-thumbnails .product-thumbnail { flex: 1; width: auto; min-width: 0; height: 12px; padding: 0; border: 0; background: linear-gradient(#d8d2c8, #d8d2c8) center / 100% 2px no-repeat; }
  .rentigue-site .piece-thumbnails .product-thumbnail.active { background-image: linear-gradient(#1b1917, #1b1917); }
  .piece-thumbnails .product-thumbnail img { display: none; }
  .piece-meta-row { margin-bottom: 12px; }
  .rentigue-site .piece-price { margin: 18px 0 24px; }
  .purchase-actions { position: fixed; z-index: 40; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--rentigue-bg, #f5f1ea); border-top: 1px solid var(--rentigue-border); }
  .rentigue-site.menu-is-open .purchase-actions { visibility: hidden; pointer-events: none; }
  .related-edit { padding: 0 20px; }
  .product-share-dialog { inset: auto 0 0; width: 100%; max-width: none; max-height: calc(100dvh - 16px); margin: 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; }
}
@media (hover: hover) and (pointer: fine) {
  .rentigue-site .piece-image > #mainProductImage {
    transition: transform 0.3s ease;
  }

  .rentigue-site .piece-image.is-zoomed > #mainProductImage {
    transform: scale(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rentigue-site .piece-image > #mainProductImage {
    transition: none;
  }
}

.rentigue-site .rental-back-icon { position: static; margin-bottom: 18px; width: 40px; height: 40px; border-radius: 0; box-shadow: none; }

.rentigue-site .gallery-swipe {
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.rentigue-site .gallery-swipe > .gallery-neighbour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.rentigue-site .gallery-swipe.is-dragging > img { will-change: transform; }

.rentigue-site.lightbox-open { overflow: hidden; }
.rentigue-site .gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  color: #f7f5f0;
  background: #222224;
  isolation: isolate;
}
.gallery-lightbox[open] {
  display: grid;
  grid-template-rows: 40px minmax(0, 1fr) 82px;
  gap: 10px;
}
.gallery-lightbox::backdrop { background: transparent; }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lightbox-counter { font: 400 15px/1.4 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.lightbox-toolbar { display: flex; gap: 6px; }
.rentigue-site .lightbox-tool,
.rentigue-site .lightbox-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 9px;
  color: inherit;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.rentigue-site .lightbox-tool[hidden], .rentigue-site .lightbox-arrow[hidden] { display: none; }
.lightbox-tool svg, .lightbox-arrow svg { width: 24px; height: 24px; }
.rentigue-site .lightbox-tool:hover, .rentigue-site .lightbox-arrow:hover { background: rgba(255, 255, 255, 0.17); }
.lightbox-stage { position: relative; min-height: 0; display: flex; justify-content: center; padding: 0 70px; }
.lightbox-picture { position: relative; isolation: isolate; width: min(100%, 1000px); height: 100%; overflow: hidden; background: #fff; cursor: zoom-in; }
.lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 1; filter: none; mix-blend-mode: normal; }
.lightbox-picture.is-zoomed { cursor: zoom-out; }
.lightbox-picture.is-zoomed .lightbox-image { transform: scale(1.8); }
.rentigue-site .lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; }
.lightbox-previous { left: 0; }
.lightbox-next { right: 0; }
.lightbox-thumbnails { display: flex; gap: 8px; width: max-content; max-width: 100%; overflow-x: auto; margin: 0 auto; padding: 3px; }
.rentigue-site .lightbox-thumbnail { flex: 0 0 66px; height: 72px; padding: 0; overflow: hidden; background: #fff; border: 2px solid transparent; opacity: 0.6; cursor: pointer; }
.lightbox-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.rentigue-site .lightbox-thumbnail[aria-pressed="true"] { opacity: 1; border-color: #f7f5f0; }
.lightbox-tool:focus-visible, .lightbox-arrow:focus-visible, .lightbox-thumbnail:focus-visible { outline: 2px solid #f7f5f0; outline-offset: 2px; }
@media (min-width: 901px) and (pointer: fine) {
  .rentigue-site .piece-image, .rentigue-site .rental-detail-main-image { cursor: zoom-in; }
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-lightbox[open] .lightbox-stage { animation: lightbox-appear 160ms ease-out; }
}
@keyframes lightbox-appear { from { transform: translateY(8px); } to { transform: translateY(0); } }
