/* Scoped product-detail presentation; no grid, checkout or idle-screen styles. */
.abadiy-product-media.has-product-film,.product-detail-media.has-product-film {
  position:relative; isolation:isolate; display:block; background:#402819;
  overflow:hidden; height:min(65svh,700px); min-height:280px;
}
.has-product-film > img,.has-product-film > video.abadiy-product-film {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
}
.has-product-film > img {object-fit:cover;}
.has-product-film > video.abadiy-product-film {z-index:1; opacity:1; background:#402819;}
.has-product-film.film-photo > video {visibility:hidden;}
.abadiy-film-brand {
  position:absolute; z-index:2; left:20px; top:20px; pointer-events:none;
  font-size:10px; line-height:1; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:#fff9; text-shadow:0 1px 8px #000;
}
.abadiy-film-controls {
  position:absolute; z-index:3; bottom:16px; left:16px; right:16px;
  display:flex; justify-content:space-between; gap:8px; pointer-events:none;
}
.abadiy-film-controls button {
  pointer-events:auto; min-height:44px; padding:11px 16px; border:1px solid #ffffff42;
  border-radius:100px; background:#362318df; color:#fff6e9; font:inherit;
  font-size:12px; font-weight:700; cursor:pointer; box-shadow:0 4px 16px #0002;
}
.abadiy-film-controls button:hover {background:#6b4937;}
.abadiy-film-controls button:focus-visible {outline:3px solid #f5d49c; outline-offset:3px;}
.abadiy-film-controls button:disabled {opacity:.7; cursor:default;}
.abadiy-guest-product-card {scrollbar-width:thin; overscroll-behavior:contain;}
.abadiy-guest-product-card:has(.has-product-film) {max-width:520px!important; max-height:94svh!important;}
.abadiy-guest-product-card:has(.has-product-film) .abadiy-product-copy {position:relative; background:var(--card); border-radius:24px 24px 0 0; margin-top:-22px; z-index:2;}
.abadiy-product-media.has-product-film .abadiy-product-close {z-index:4;}
.abadiy-guest-product-card:has(.has-product-film) .abadiy-film-controls {bottom:40px;}
.abadiy-product-media.has-product-film .abadiy-product-discount {z-index:3; top:44px!important;}
.product-detail-card:has(.has-product-film) {width:min(1080px,100%);}
.product-detail-media.has-product-film {height:min(63dvh,1000px);}
.product-detail-card:has(.has-product-film) .product-detail-close {z-index:5;}
.product-detail-card:has(.has-product-film) .abadiy-film-controls button {min-height:54px; font-size:16px; padding:14px 20px;}
@media(min-width:800px) and (orientation:landscape) {
  .product-detail-card:has(.has-product-film) .product-detail-scroll {display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr);}
  .product-detail-media.has-product-film {height:min(63dvh,760px); position:sticky; top:0;}
}
@media(max-width:360px) {
  .abadiy-product-media.has-product-film {height:58svh; min-height:230px;}
  .abadiy-film-brand {font-size:9px; left:16px;}
  .abadiy-film-controls button {padding:10px 12px; font-size:11px;}
}
@media(prefers-reduced-motion:reduce) {
  .abadiy-guest-product-card {animation:none!important;}
}
