.product-video-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin: 18px 0; }
.product-video-card { display: flex; flex-direction: column; width: 100%; max-width: 620px; padding: 0; overflow: hidden; text-align: left; color: #15241f; font: inherit; background: #fff; border: 1px solid #d9e6df; border-radius: 20px; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.product-video-card:hover { border-color: #277653; box-shadow: 0 12px 28px rgb(18 66 45 / 10%); }
.product-video-card:focus-visible, .product-video-modal button:focus-visible, .product-video-modal a:focus-visible { outline: 3px solid #36a678; outline-offset: 4px; }
.product-video-card__preview { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f0f5f2; }
.product-video-card__preview img { display: block; width: 100%; height: 100%; max-height: 260px; margin: 0; object-fit: contain; }
.product-video-card__preview::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgb(8 32 23 / 25%), transparent 65%); pointer-events: none; }
.product-video-card__play { position: absolute; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; padding-left: 3px; color: #fff; font-size: 24px; line-height: 1; background: #153e2e; border: 3px solid rgb(255 255 255 / 85%); border-radius: 50%; box-shadow: 0 6px 24px rgb(0 0 0 / 22%); }
.product-video-card__body { display: grid; gap: 9px; padding: 20px 22px; }
.product-video-card__title { display: flex; align-items: center; gap: 9px; color: #14251d; font-size: 17px; font-weight: 750; line-height: 1.4; }
.product-video-card__camera { position: relative; flex-shrink: 0; width: 19px; height: 14px; margin-right: 5px; color: #277653; border: 2px solid currentColor; border-radius: 4px; }
.product-video-card__camera::after { position: absolute; top: 2px; right: -7px; width: 6px; height: 7px; content: ''; background: currentColor; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%); }
.product-video-card__explanation { color: #53635b; font-size: 14px; line-height: 1.6; }
.product-video-card__action { display: flex; align-items: center; gap: 9px; margin-top: 4px; color: #1b6d49; font-size: 14px; font-weight: 750; }
.product-video-modal { box-sizing: border-box; width: min(920px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; color: #17251f; background: #fff; border: 0; border-radius: 22px; box-shadow: 0 24px 100px rgb(0 0 0 / 35%); }
.product-video-modal:not([open]) { display: none; }
.product-video-modal::backdrop { background: rgb(8 17 14 / 78%); backdrop-filter: blur(6px); }
.product-video-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.product-video-modal__header p { margin: 0 0 5px; color: #277653; font-size: 12px; font-weight: 750; }
.product-video-modal__header h2 { margin: 0; font-size: 21px; line-height: 1.35; }
.product-video-modal .product-video-modal__close, .product-video-modal__navigation button { display: grid; flex-shrink: 0; place-items: center; width: 44px; height: 44px; padding: 0; color: #203d2d; font-size: 20px; background: #edf4ef; border: 1px solid #d9e6df; border-radius: 50%; cursor: pointer; }
.product-video-modal video { display: block; width: 100%; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); margin: 0; background: #080b0a; }
.product-video-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px 22px; }
.product-video-modal__footer p { margin: 0; color: #53635b; font-size: 14px; line-height: 1.6; }
.product-video-modal__navigation { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.product-video-modal__navigation[hidden], .product-video-modal__error[hidden] { display: none; }
.product-video-modal__error { margin: 16px 24px; color: #8f301b; font-size: 14px; line-height: 1.6; }
.product-video-modal__error a { color: inherit; text-decoration: underline; }
html.product-video-is-open { overflow: hidden; }
@media (max-width: 600px) {
  .product-video-card__body { padding: 17px; }
  .product-video-modal { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 17px; }
  .product-video-modal__header { padding: 16px; }
  .product-video-modal__header h2 { font-size: 18px; }
  .product-video-modal__footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .product-video-modal video { max-height: calc(100dvh - 240px); }
}
@media (prefers-reduced-motion: reduce) { .product-video-card { transition: none; } }
