/* Product actions: heart left, price centred, quiet cart on the right. */
.home-page #product-area .product-content { overflow: visible; }
.home-page #product-area .product-content .product-price { padding-left: 64px; padding-right: 64px; }
.home-page .pb-add-cart {
  position: absolute; right: 0; bottom: 2px; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #efe4df; border-radius: 8px;
  color: #a56d59; background: #fcf7f4; box-shadow: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.home-page .pb-add-cart svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.home-page .pb-add-cart:hover { background: #f7ece6; border-color: #e6cfc3; }
.home-page .pb-add-cart:focus-visible, .home-page .pb-image-preview:focus-visible { outline: 2px solid #b68470; outline-offset: 3px; }
.home-page .pb-image-preview { display: block; cursor: zoom-in; }
/* Gallery: large photo, thumbnail strip, then description. */
#image-zoom-modal .modal-dialog { max-width: 880px; width: calc(100% - 32px); margin: 24px auto; }
#image-zoom-modal .modal-content { border-radius: 10px; background: #fff; }
#image-zoom-modal .modal-header { padding: 10px 16px; border: 0; }
#image-zoom-modal .zoom-close-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; margin: 0 0 0 auto; color: #746b66; opacity: 1; font-size: 28px; }
#image-zoom-modal .zoom-close-btn:hover { color: #a56d59; }
#image-zoom-modal .pb-gallery { margin: 0; padding: 0 24px 20px; }
#image-zoom-modal .pb-gallery-stage { display: flex; align-items: center; justify-content: center; background: #faf9f7; border-radius: 6px; overflow: hidden; }
#image-zoom-modal #zoomed-image { display: block; width: auto; max-width: 100%; height: auto; max-height: 65vh; max-height: 65svh; object-fit: contain; border-radius: 0; cursor: default; }
#image-zoom-modal #zoomed-thumbnails { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 3px; overflow-x: auto; overscroll-behavior-x: contain; }
#image-zoom-modal #zoomed-thumbnails[hidden] { display: none; }
#image-zoom-modal .pb-gallery-thumb { flex: 0 0 64px; width: 64px; height: 64px; margin: 0; padding: 3px; border: 1px solid #e7e2de; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
#image-zoom-modal .pb-gallery-thumb img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 4px; }
#image-zoom-modal .pb-gallery-thumb:hover { border-color: #c7b2a7; }
#image-zoom-modal .pb-gallery-thumb[aria-pressed="true"] { border-color: #b7836b; background: #f8ede6; box-shadow: 0 0 0 1px #b7836b; }
#image-zoom-modal .pb-gallery-thumb:focus-visible { outline: 2px solid #a8745d; outline-offset: 2px; }
#image-zoom-modal .pb-gallery-description { border-top: 1px solid #eee9e5; padding: 24px 30px 30px; margin: 0; text-align: left; white-space: pre-line; overflow-wrap: anywhere; color: #494541; font: 400 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
@media (max-width: 575px) {
  #image-zoom-modal .modal-dialog { width: calc(100% - 16px); margin: 8px auto; }
  #image-zoom-modal .pb-gallery { padding: 0 12px 16px; }
  #image-zoom-modal .pb-gallery-description { padding: 20px; }
  #image-zoom-modal .pb-gallery-thumb { flex-basis: 56px; width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .pb-add-cart, #image-zoom-modal .pb-gallery-thumb { transition: none; }
  #image-zoom-modal.modal.fade .modal-dialog { opacity: 1; transform: none; animation: none; }
}
