.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px var(--page-gutter) 26px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(35px, 6vw, 95px); padding: 0 var(--page-gutter) 60px; align-items: start; }
.gallery { min-width: 0; }
.photo-track { position: relative; display: flex; width: min(100%, 48vh, 488px); margin-inline: auto; overflow: hidden; border-radius: 22px; scrollbar-width: none; }
.photo-track::-webkit-scrollbar { display: none; }
.main-photo { position: relative; display: block; flex: 0 0 100%; border: 0; overflow: hidden; background: #eeede7; padding: 0; aspect-ratio: 3 / 4; cursor: zoom-in; }
.main-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; user-select: none; }
.main-video { cursor: pointer; }
.main-video video { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.video-indicator { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #282821; pointer-events: none; }
.video-indicator::before { content: ""; width: 8px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateX(1px); }
.main-video .video-indicator { right: 16px; bottom: 16px; width: 40px; height: 40px; }
.main-video .video-indicator::before { width: 11px; height: 14px; }
.main-video.is-playing .video-indicator { visibility: hidden; }
.main-photo.is-zoomed { touch-action: none; cursor: grab; }
.main-photo.is-zoomed img { transform: translate3d(var(--pan-x,0px),var(--pan-y,0px),0) scale(2.2); }
.main-photo.is-panning img { transition: none; }
.main-photo.is-panning { cursor: grabbing; }
.gallery-footer { display: flex; align-items: center; justify-content: center; gap: 9px; margin-block: 10px; font-size: 13px; }
.gallery-footer button { min-width: 44px; min-height: 44px; border: 0; background: transparent; }
.gallery-footer [data-photo-step] { font-size: 25px; }
.gallery-footer [aria-disabled="true"] { opacity: .4; }
.photo-zoom { padding-inline: 10px; text-decoration: underline; text-underline-offset: 3px; }
.thumbnails { position: relative; display: flex; gap: 12px; overflow-x: auto; padding: 4px; }
.thumbnails button { position: relative; border: 2px solid transparent; padding: 3px; border-radius: 13px; background: transparent; flex: 0 0 78px; }
.thumbnails button[aria-pressed="true"] { border-color: var(--ink); background: var(--green); }
.thumbnails img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; }
.product-info { padding-top: 8px; max-width: 600px; min-width: 0; }
.product-info h1 { font-size: clamp(42px, 4vw, 62px); letter-spacing: -1.5px; line-height: 1.02; margin-bottom: 20px; }
.product-price { font-size: 24px; margin-bottom: 22px; }
.product-price span { font-size: 12px; color: var(--muted); margin-left: 8px; }
.product-intro { font-size: 17px; line-height: 1.7; margin-bottom: 24px; }
.gemstone-options { padding: 0; margin: 0 0 25px; border: 0; }
.gemstone-options legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-buttons button { background: #eeedea; border: 1px solid transparent; border-radius: 999px; padding: 11px 16px; font-size: 13px; font-weight: 500; transition: background .2s, transform .2s; }
.option-buttons button[aria-pressed="true"] { background: var(--green); border-color: #7d824b; }
.purchase-row { display: flex; gap: 12px; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.quantity-control button { border: 0; background: none; width: 36px; height: 50px; font-size: 20px; }
.quantity-control input { appearance: textfield; -moz-appearance: textfield; width: 32px; border: 0; background: transparent; text-align: center; font-size: 16px; }
.quantity-control input::-webkit-inner-spin-button { appearance: none; }
.add-bag { flex: 1; background: var(--green); color: var(--ink); border-color: transparent; }
.purchase-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 12px 0 26px; }
.product-details details { border-top: 1px solid var(--line); }
.product-details summary { cursor: pointer; font-size: 16px; font-weight: 500; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: '+'; }
.product-details details[open] summary::after { content: '−'; }
.product-details details > div { font-size: 15px; line-height: 1.8; padding-bottom: 16px; }
.product-details p { margin-bottom: 12px; }
.source-link { display: inline-block; margin-top: 20px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin-top: 28px; }
.related-price { display: block; font-size: 15px; margin-top: 8px; }
.enlarged-photo { width: 100%; max-height: 78vh; object-fit: contain; }
#product-dialog #dialog-content { display: block; }
.search-result-art { object-fit: cover; }
.bag-items { font-size: 15px; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (hover: hover) and (pointer: fine) { .option-buttons button:hover { transform: translateY(-2px); } .add-bag:hover { color: var(--cream); } }
@media (max-width: 800px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 12px; }
  .photo-track { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .photo-track.has-multiple-photos { --photo-peek: 32px; --photo-gap: 10px; gap: var(--photo-gap); border-radius: 0; }
  .photo-track.has-multiple-photos .main-photo { flex-basis: calc(100% - var(--photo-peek)); border-radius: 22px; }
  .photo-track.has-multiple-photos::after { content: ""; flex: 0 0 calc(var(--photo-peek) - var(--photo-gap)); }
  .photo-track.has-zoom { overflow: hidden; scroll-snap-type: none; }
  .photo-track.has-zoom .main-photo:not(.is-zoomed) { visibility: hidden; }
  .main-photo { scroll-snap-align: start; }
  .thumbnails { display: none; }
  .product-info { max-width: none; }
  .product-info > .gallery { margin-block: 24px; }
  .product-info h1 { font-size: 44px; }
}
@media (max-width: 450px) {
  .breadcrumbs { font-size: 11px; margin-top: 8px; gap: 8px; }
  .purchase-row { gap: 8px; }
  .add-bag { padding-inline: 12px; gap: 10px; font-size: 13px; }
  .related-grid { gap: 15px; }
  .quantity-control button { width: 30px; }
}
@media (prefers-reduced-motion: reduce) { .option-buttons button:hover { transform: none; } }
