/* Product View - pixel-precise layout */

/* Scaffold */
body.page-product-view {
  background: #fff;
}

.pv-wrap {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 130px 1rem 60px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #101223;
}
@media (min-width: 640px) {
  .pv-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Breadcrumbs */
.pv-breadcrumbs {
  font-size: 16px;
  color: #7a7d86;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pv-breadcrumbs a {
  color: #7a7d86;
  text-decoration: none;
}

.pv-breadcrumbs a:hover {
  color: #101223;
}

.pv-breadcrumbs .sep {
  color: #cacbd1;
}

/* Two-column main */
.pv-main {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.pv-gallery {
  position: relative;
}

.pv-hero {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f8;
  cursor: zoom-in;
}

.pv-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Product Magnifier Lens (Loupe) */
.pv-magnifier-lens {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 0 20px rgba(0, 0, 0, 0.25);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 15;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: left, top, background-position;
}

.pv-magnifier-lens::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

.pv-magnifier-lens.active {
  opacity: 1;
  visibility: visible;
}

/* Subtle Zoom Indicator Badge */
.pv-zoom-hint {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 18, 35, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.pv-zoom-hint svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.pv-hero:hover .pv-zoom-hint {
  opacity: 0;
  transform: translateY(-4px);
}

.pv-hero .overlay-actions {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  gap: 14px;
  z-index: 18;
}

.pv-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(16, 18, 35, 0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pv-nav-btn svg {
  width: 20px;
  height: 20px;
}

.pv-hero:hover .pv-nav-btn {
  opacity: 1;
  visibility: visible;
}

.pv-nav-btn:hover {
  background: #101223;
  transform: translateY(-50%) scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.pv-nav-btn.prev {
  left: 20px;
}

.pv-nav-btn.next {
  right: 20px;
}

.pv-btn {
  background: rgba(16, 18, 35, 0.85);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: saturate(160%) blur(6px);
  -webkit-backdrop-filter: saturate(160%) blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pv-btn:hover {
  background: #101223;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pv-thumbs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 14px;
}

.pv-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e9ebf0;
  background: #f3f4f8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pv-thumb:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.pv-thumb.active {
  border-color: #e53e3e;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.25);
}

.pv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details */
.pv-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.pv-stock-badge {
  display: inline-block;
  background: #2d3748;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.pv-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pv-features li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 26px;
  color: #555a66;
}

.pv-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #9aa0ab;
}

.pv-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}

.pv-select label {
  display: block;
  font-size: 14px;
  color: #7a7d86;
  margin-bottom: 12px;
}

.pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-chip {
  padding: 8px 20px;
  border: 1px solid #d9dbe2;
  border-radius: 999px;
  background: #fff;
  color: #101223;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pv-chip:hover {
  border-color: #101223;
}

.pv-chip.active {
  background: #101223;
  color: #fff;
  border-color: #101223;
}

.pv-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 22px;
}

.pv-download {
  font-size: 15px;
  color: #5b5d6b;
  text-decoration: none;
  margin-top: 60px;
}

.pv-download:hover {
  color: #101223;
}

.pv-contact {
  background: #bf2026;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.pv-contact:hover {
  background: #a6191f;
}

.pv-date {
  font-size: 13px;
  color: #a0a3ab;
  margin-top: 4px;
}

.pv-image-disclaimer {
  font-size: 13px;
  color: #a0a3ab;
  margin-top: 20px;
  font-style: italic;
  line-height: 1.4;
  opacity: 0.9;
}

.pv-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
}

.pv-share .icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* Specs */
.pv-specs {
  margin-top: 40px;
}

.pv-specs h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Specs Disclaimer Box */
.pv-disclaimer-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #f8f9fa;
  border: 1px solid #e9ebf0;
  border-radius: 12px;
  margin-top: 32px;
  gap: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pv-disclaimer-box .info-icon {
  color: #bf2026;
  flex-shrink: 0;
}

.pv-disclaimer-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #7a7d86;
  margin: 0 !important;
  text-align: left;
}

@media (max-width: 768px) {
  .pv-disclaimer-box {
    flex-direction: column;
    text-align: center;
  }
  .pv-disclaimer-box p {
    text-align: center;
  }
}

/* ─── Features Showcase (Samsung-style) ─── */
.pv-features-showcase {
  width: 100%;
  margin-top: 48px;
  margin-bottom: 0;
  padding: 80px 0;
  overflow: hidden;
}

.pv-features-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.pv-feat-block {
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(30px);
  animation: featFadeIn 0.7s ease forwards;
}

.pv-feat-block:last-child {
  margin-bottom: 0;
}

/* Stagger animation */
.pv-feat-block:nth-child(1) {
  animation-delay: 0.1s;
}

.pv-feat-block:nth-child(2) {
  animation-delay: 0.25s;
}

.pv-feat-block:nth-child(3) {
  animation-delay: 0.4s;
}

.pv-feat-block:nth-child(4) {
  animation-delay: 0.55s;
}

.pv-feat-block:nth-child(5) {
  animation-delay: 0.7s;
}

.pv-feat-block:nth-child(n+6) {
  animation-delay: 0.85s;
}

@keyframes featFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text Block */
.pv-feat-text {
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.pv-feat-text h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}

.pv-feat-text h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.pv-feat-text h3 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}

.pv-feat-text p {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
}

.pv-feat-text ul,
.pv-feat-text ol {
  color: rgba(255, 255, 255, 0.75);
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
}

/* Image Block */
.pv-feat-image {
  text-align: center;
}

.pv-feat-image img {
  max-width: 100%;
  height: auto;
}

.pv-feat-caption {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  text-align: center;
}

/* Video Block */
.pv-feat-video {
  text-align: center;
}

.pv-feat-video video {
  width: 100%;
}

/* Photo Grid Block */
.pv-feat-grid {
  display: grid;
  gap: 12px;
}

.pv-feat-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.pv-feat-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.pv-feat-grid-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.05);
}

.pv-feat-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pv-feat-grid-item:hover img {
  transform: scale(1.05);
}

/* Image + Text Block */
.pv-feat-imgtext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pv-feat-imgtext.swapped {
  direction: rtl;
}

.pv-feat-imgtext.swapped>* {
  direction: ltr;
}

.pv-feat-imgtext-img img {
  width: 100%;
  height: auto;
}

.pv-feat-imgtext-text {
  color: rgba(255, 255, 255, 0.95);
}

.pv-feat-imgtext-text h1,
.pv-feat-imgtext-text h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #fff;
}

.pv-feat-imgtext-text h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.pv-feat-imgtext-text p {
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

/* Embed Block */
.pv-feat-embed {
  overflow: hidden;
}

.pv-feat-embed iframe {
  width: 100%;
  min-height: 400px;
  border: none;
}

/* Features responsive */
@media (max-width: 768px) {
  .pv-features-showcase {
    padding: 48px 0;
  }

  .pv-feat-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .pv-feat-imgtext {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pv-feat-block {
    margin-bottom: 36px;
    text-align: center;
  }

  .pv-feat-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .pv-features-showcase {
    padding: 32px 0;
  }

  .pv-feat-grid.cols-2,
  .pv-feat-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}


.pv-accordion {
  width: 100%;
}

.pv-acc-item {
  border: 1px solid #e9ebf0;
  border-radius: 0;
  margin-bottom: -1px;
  overflow: hidden;
}

.pv-acc-header {
  background: #f7f7fa;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.pv-acc-title {
  font-size: 24px;
  font-weight: 700;
  color: #101223;
}

.pv-acc-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555a66;
  transition: transform 0.25s ease, color 0.2s ease;
}

.pv-acc-arrow::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg); /* down chevron */
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.pv-acc-item.open .pv-acc-arrow {
  color: #bf2026;
}

.pv-acc-item.open .pv-acc-arrow::before {
  transform: rotate(-135deg); /* up chevron (^) */
  margin-top: 3px;
}

.pv-acc-content {
  display: none;
  background: #fff;
}

.pv-acc-item.open .pv-acc-content {
  display: block;
}

.pv-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  padding: 24px;
}

.pv-spec-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid transparent;
}

.pv-spec-label {
  font-size: 13px;
  font-weight: 700;
  color: #101223;
  margin-bottom: 4px;
}

.pv-spec-value {
  font-size: 14px;
  color: #555a66;
  line-height: 1.5;
}

.pv-metafield-link {
  color: #bf2026;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.pv-metafield-link:hover {
  color: #991b1b;
  text-decoration-color: #991b1b;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .pv-spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .pv-spec-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .pv-spec-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
  }

  .pv-spec-item:last-child {
    border-bottom: none;
  }
}

/* Responsive */
@media (max-width: 1280px) {
  .pv-wrap {
    width: 95%;
  }

  .pv-main {
    grid-template-columns: 50% 1fr;
  }

  .pv-hero {
    width: 100%;
    height: 480px;
  }
}

@media (max-width: 1024px) {
  .pv-wrap {
    width: 92%;
    padding-top: 100px;
  }

  .pv-main {
    grid-template-columns: 1fr;
  }

  .pv-hero {
    width: 100%;
    height: 420px;
  }

  .pv-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pv-hero {
    height: 320px;
  }

  .pv-title {
    font-size: 22px;
  }
}

/* Page-only hero min-height adjustments (product_view.php) */
@media (min-width: 1024px) and (orientation: landscape) {

  body.page-product-view .hero-section-container,
  body.page-product-view .hero-content {
    min-height: 200px !important;
  }
}

@media (min-width: 820px) and (max-width: 1023px) {

  body.page-product-view .hero-section-container,
  body.page-product-view .hero-content {
    min-height: 10vh !important;
  }
}

/* Portrait tablets/desktops: page-only adjustment */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {

  body.page-product-view .hero-section-container,
  body.page-product-view .hero-content {
    min-height: 10vh !important;
  }
}

/* Fullscreen Zoom / Lightbox Inspection Modal */
.pv-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 2000000;
  background: rgba(8, 10, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-sizing: border-box;
  user-select: none;
  overflow: hidden;
}

.pv-zoom-modal.active {
  display: flex;
  animation: pvModalFadeIn 0.22s ease-out;
}

@keyframes pvModalFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.pv-zoom-topbar {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 30;
  padding-bottom: 12px;
}

.pv-zoom-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pv-zoom-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f8fafc;
  margin: 0;
}

.pv-zoom-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
}

.pv-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 18, 35, 0.75);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.pv-zoom-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pv-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.06);
}

.pv-zoom-btn:active {
  transform: scale(0.96);
}

.pv-zoom-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.pv-zoom-level-badge {
  min-width: 50px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.pv-zoom-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 12px;
}

.pv-zoom-close:hover {
  background: #e53e3e;
  border-color: #e53e3e;
  transform: scale(1.08);
}

.pv-zoom-close svg {
  width: 20px;
  height: 20px;
}

.pv-zoom-viewport {
  position: relative;
  width: 100%;
  max-width: 1400px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  margin: 10px 0;
  touch-action: none;
}

.pv-zoom-viewport.dragging {
  cursor: grabbing;
}

.pv-zoom-target {
  max-width: 82%;
  max-height: 72vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.1s cubic-bezier(0.2, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pv-zoom-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 18, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.pv-zoom-nav-arrow:hover {
  background: #101223;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.pv-zoom-nav-arrow.prev { left: 24px; }
.pv-zoom-nav-arrow.next { right: 24px; }

.pv-zoom-bottombar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 30;
}

.pv-zoom-thumbs-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(16, 18, 35, 0.7);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.pv-zoom-modal-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.pv-zoom-modal-thumb.active,
.pv-zoom-modal-thumb:hover {
  border-color: #e53e3e;
  opacity: 1;
  transform: scale(1.1);
}

.pv-zoom-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pv-zoom-instructions {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

/* Touch and small screens adjustments */
@media (hover: none), (max-width: 768px) {
  .pv-magnifier-lens {
    display: none !important;
  }
  .pv-zoom-hint {
    display: none !important;
  }
  .pv-zoom-nav-arrow {
    display: none;
  }
  .pv-zoom-topbar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .pv-zoom-modal {
    padding: 12px;
  }
}

/* ============================================================
   Product Demo Video Modal (Pixel-matched to Client Testimonials)
   ============================================================ */
.pv-btn-demo svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
  transition: transform 0.2s ease, color 0.2s ease;
}
.pv-btn:hover .pv-btn-demo svg,
.pv-btn-demo:hover svg {
  color: #ffffff;
  transform: scale(1.15);
}

.pv-video-modal.uk-modal-container {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.pv-video-modal.uk-modal-container.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.pv-video-modal .uk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  display: block !important;
}

.pv-video-modal-content {
  background: #ffffff !important;
  max-width: 900px !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35) !important;
  margin: 40px auto !important;
  position: relative;
  z-index: 2;
  transform: translateY(0) scale(1) !important;
  animation: pvVideoModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pvVideoModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96) !important;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
  }
}

.pv-video-modal-article {
  padding: 54px 44px 44px !important;
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pv-video-modal-header {
  margin-bottom: 24px !important;
  text-align: left;
}

.pv-video-modal-header .uk-modal-article-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bf2026;
  margin-bottom: 8px;
  display: block;
}

.pv-video-modal-header .uk-modal-article-title {
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
}

.pv-video-modal-player-wrap {
  width: 100%;
  background: #000000;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16 / 9;
}

.pv-video-modal-video {
  width: 100%;
  height: 100%;
  max-height: 65vh;
  display: block;
  margin: 0 auto;
  outline: none;
  background: #000000;
  border-radius: 0;
}

.pv-video-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  box-sizing: border-box !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.06) !important;
  color: #111827 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  flex-shrink: 0;
  line-height: 1;
  overflow: hidden;
  transition: all 0.2s ease !important;
  z-index: 10;
}

.pv-video-modal-close svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  aspect-ratio: 1 / 1;
  display: block;
  flex-shrink: 0;
  margin: auto;
}

.pv-video-modal-close:hover {
  background: #bf2026 !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

@media (max-width: 768px) {
  .pv-video-modal-content {
    margin: 20px auto !important;
  }
  .pv-video-modal-article {
    padding: 40px 18px 24px !important;
  }
  .pv-video-modal-header .uk-modal-article-title {
    font-size: 22px;
  }
}