.ppcv2-section,
.ppcv2-section *,
.ppcv2-section *::before,
.ppcv2-section *::after { box-sizing: border-box; }

.ppcv2-section {
  --ppcv2-ink: #777;
  --ppcv2-border: #d9d9d9;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.ppcv2-shell, .ppcv2-grid, .ppcv2-gallery {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.ppcv2-gallery { position: relative; border: 0; box-shadow: none; outline: none; }
.ppcv2-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  touch-action: pan-y;
}
.ppcv2-section .ppcv2-slide,
.ppcv2-section .ppcv2-preview {
  position: absolute;
  inset: 0 auto auto 10%;
  display: block;
  width: 80%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 16px;
  pointer-events: none;
}
.ppcv2-section .ppcv2-slide {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 16px rgb(0 0 0 / 15%);
  transition: opacity .35s ease, visibility .35s ease;
}
.ppcv2-section .ppcv2-slide.is-active { opacity: 1; visibility: visible; }
.ppcv2-section .ppcv2-preview { z-index: 1; opacity: .24; }
.ppcv2-section .ppcv2-preview.is-previous { transform: translateX(-16%); }
.ppcv2-section .ppcv2-preview.is-next { transform: translateX(16%); }
.ppcv2-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
}
.ppcv2-section .ppcv2-arrow {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ppcv2-border);
  border-radius: 50%;
  background: transparent;
  color: var(--ppcv2-ink);
  cursor: pointer;
  box-shadow: none;
  transition: color .2s ease, border-color .2s ease;
}
.ppcv2-section .ppcv2-arrow:hover { color: #333; border-color: #888; background: transparent; }
.ppcv2-arrow:disabled { opacity: .4; cursor: default; }
.ppcv2-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ppcv2-dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; max-width: 50%; min-width: 36px; }
.ppcv2-dot { flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; background: #ddd; }
.ppcv2-dot.is-active { background: #888; }
.ppcv2-gallery:focus-visible, .ppcv2-arrow:focus-visible { outline: 2px solid #888; outline-offset: 3px; }
.ppcv2-section--single-image .ppcv2-stage { aspect-ratio: 1 / 1; }
.ppcv2-section--single-image .ppcv2-slide { left: 0; width: 100%; }
.ppcv2-section--single-image .ppcv2-controls { display: none; }
.ppcv2-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ppcv2-editor-notice { width: 100%; padding: 18px; border: 1px dashed #ccc; color: #555; text-align: center; }

@media (max-width: 768px) {
  .ppcv2-stage { aspect-ratio: 50 / 41; border-radius: 14px; }
  .ppcv2-section .ppcv2-slide, .ppcv2-section .ppcv2-preview { left: 9%; width: 82%; border-radius: 14px; }
  .ppcv2-section .ppcv2-preview.is-previous { transform: translateX(-14%); }
  .ppcv2-section .ppcv2-preview.is-next { transform: translateX(14%); }
  .ppcv2-controls { margin-top: 12px; }
  .ppcv2-section--single-image .ppcv2-stage { aspect-ratio: 1 / 1; }
  .ppcv2-section--single-image .ppcv2-slide { left: 0; width: 100%; }
}
@media (max-width: 576px) {
  .ppcv2-stage { aspect-ratio: 25 / 21; border-radius: 12px; }
  .ppcv2-section .ppcv2-slide, .ppcv2-section .ppcv2-preview { left: 8%; width: 84%; border-radius: 12px; }
  .ppcv2-section .ppcv2-preview.is-previous { transform: translateX(-12%); }
  .ppcv2-section .ppcv2-preview.is-next { transform: translateX(12%); }
  .ppcv2-controls { margin-top: 10px; gap: 8px; }
  .ppcv2-section--single-image .ppcv2-stage { aspect-ratio: 1 / 1; }
  .ppcv2-section--single-image .ppcv2-slide { left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ppcv2-section .ppcv2-slide, .ppcv2-section .ppcv2-arrow { transition: none; }
}
