/* =============================================================
   Shred Video — customer media page styles
   Version: 1.0
   -------------------------------------------------------------
   Framework-agnostic CSS. Works with vanilla HTML, React, Vue,
   Svelte, etc. Class names use the BEM-ish convention:
     .sv-{component}[__element][--modifier]
   ============================================================= */

:root {
  /* Color */
  --sv-ink: #111;
  --sv-ink-muted: #666;
  --sv-ink-subtle: #999;
  --sv-ink-faint: #bbb;
  --sv-surface: #fff;
  --sv-surface-muted: #f4f4f2;
  --sv-surface-dark: #0a0a0a;
  --sv-border: #e5e5e5;
  --sv-border-faint: #eee;

  --sv-brand-orange: #ff7a3d;
  --sv-success: #1d9e75;
  --sv-success-dark: #0f6e56;
  --sv-success-tint: #e1f5ee;

  --sv-google-blue: #4285f4;
  --sv-google-yellow: #f5b300;
  --sv-tripadvisor-green: #00aa6c;

  /* Radius */
  --sv-radius-sm: 6px;
  --sv-radius-md: 8px;
  --sv-radius-lg: 10px;
  --sv-radius-xl: 16px;
  --sv-radius-pill: 999px;

  /* Layout */
  --sv-content-max: 820px;
  --sv-mobile-pad: 16px;
  --sv-desktop-pad: 28px;

  /* Typography stack */
  --sv-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

/* =============================================================
   Base / layout
   ============================================================= */

.sv-page {
  font-family: var(--sv-font-sans);
  color: var(--sv-ink);
  background: var(--sv-surface);
  margin: 0;
  padding: 0;
}

/* Neutralize global heading / paragraph styles leaking in from legacy style.css.
   :where() gives these rules 0 specificity so they beat bare-element selectors
   via source order without overriding the design's class-based rules. */
:where(.sv-page) :is(h1, h2, h3, h4, h5, h6, p) {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  text-align: inherit;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
}

.sv-content {
  max-width: var(--sv-content-max);
  margin: 0 auto;
  padding: 0 var(--sv-mobile-pad);
}

@media (min-width: 900px) {
  .sv-content {
    padding: 0 var(--sv-desktop-pad);
  }
}

/* =============================================================
   Status panel
   ============================================================= */

.sv-status {
  max-width: 520px;
  margin: 24px auto 40px;
  padding: 0 var(--sv-mobile-pad);
  text-align: center;
}

.sv-status__panel {
  padding: 30px 22px;
  border: 0.5px solid var(--sv-border);
  border-radius: var(--sv-radius-xl);
  background: var(--sv-surface-muted);
}

.sv-status__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  color: var(--sv-brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
}

.sv-status__icon--processing svg {
  animation: sv-spin 1.4s linear infinite;
}

.sv-status__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sv-ink);
}

.sv-status__message {
  max-width: 390px;
  margin: 0 auto;
  color: var(--sv-ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sv-status__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 24px;
  background: var(--sv-ink);
  color: #fff;
  border-radius: var(--sv-radius-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

@keyframes sv-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 900px) {
  .sv-status {
    margin-top: 18px;
  }

  .sv-status__panel {
    padding: 36px 34px;
  }
}

/* =============================================================
   Brand banner (dark header with dropzone logo)
   ============================================================= */

.sv-brand {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sv-surface-dark);
}

.sv-brand__logo {
  display: block;
  line-height: 0;
}

.sv-brand__logo img {
  display: block;
  height: 68px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 900px) {
  .sv-brand {
    height: 104px;
    padding: 0 28px;
  }
  .sv-brand__logo img {
    height: 80px;
  }
}

/* Rows under the page title (location + date) */
.sv-title__info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.sv-title__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sv-ink-muted);
}

.sv-title__row svg {
  flex-shrink: 0;
}

.sv-title__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  margin-left: 4px;
  border: 0.5px solid var(--sv-border);
  border-radius: var(--sv-radius-pill);
  font-size: 11px;
  color: var(--sv-ink-muted);
  text-decoration: none;
  background: var(--sv-surface);
}

@media (min-width: 900px) {
  .sv-title__info {
    margin-top: 8px;
    align-items: center;
    flex-direction: row;
    gap: 14px;
    justify-content: center;
  }
}

/* =============================================================
   DropzoneHeader
   ============================================================= */

.sv-dz-header {
  position: static;
  width: auto;
  height: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--sv-mobile-pad) 12px;
}

.sv-dz-header__name {
  font-size: 13px;
  font-weight: 500;
}

.sv-dz-header__date {
  font-size: 11px;
  color: var(--sv-ink-subtle);
}

@media (min-width: 900px) {
  .sv-dz-header {
    justify-content: center;
    padding: 18px var(--sv-desktop-pad);
    border-bottom: 0.5px solid var(--sv-border-faint);
  }
  .sv-dz-header__name {
    font-size: 15px;
  }
  .sv-dz-header__date {
    display: none;
  }
}

/* =============================================================
   PageTitle (index only)
   ============================================================= */

.sv-title {
  padding: 18px var(--sv-mobile-pad) 20px;
  text-align: center;
}

.sv-title__name {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.sv-title__meta,
.sv-title__date {
  display: none;
}

@media (min-width: 900px) {
  .sv-title {
    padding: 40px var(--sv-desktop-pad) 24px;
    text-align: center;
  }
  .sv-title__name {
    font-size: 44px;
    margin-bottom: 8px;
  }
  .sv-title__meta {
    display: block;
    font-size: 13px;
    color: var(--sv-ink-muted);
  }
  .sv-title__date {
    display: block;
    font-size: 12px;
    color: var(--sv-ink-subtle);
    margin-top: 2px;
  }
}

/* =============================================================
   AssetHeader (viewer pages)
   ============================================================= */

.sv-asset-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px var(--sv-mobile-pad) 12px;
}

.sv-asset-header__back {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: -4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--sv-ink);
  text-decoration: none;
}

.sv-asset-header__labels {
  flex: 1;
  min-width: 0;
}

.sv-asset-header__customer {
  font-size: 11px;
  color: var(--sv-ink-subtle);
  line-height: 1.2;
}

.sv-asset-header__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.sv-asset-header__number {
  font-size: 11px;
  color: var(--sv-ink-subtle);
}

.sv-asset-header__nav {
  display: none;
}

@media (min-width: 900px) {
  .sv-asset-header {
    max-width: var(--sv-content-max);
    margin: 0 auto;
    padding: 24px var(--sv-desktop-pad) 14px;
    justify-content: space-between;
  }
  .sv-asset-header__labels {
    flex: initial;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sv-asset-header__customer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sv-ink-muted);
  }
  .sv-asset-header__title {
    font-size: 14px;
  }
  .sv-asset-header__title::before {
    content: "/";
    color: var(--sv-ink-faint);
    margin-right: 10px;
    font-weight: 400;
  }
  .sv-asset-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .sv-asset-header__nav button {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 0.5px solid var(--sv-border);
    background: var(--sv-surface);
    color: var(--sv-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .sv-asset-header__nav button svg {
    display: block;
  }
}

/* =============================================================
   HeroMedia (index)
   ============================================================= */

.sv-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
  overflow: hidden;
}

.sv-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.sv-hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .sv-hero {
    aspect-ratio: 16 / 9;
    border-radius: var(--sv-radius-lg);
    max-width: var(--sv-content-max);
    margin: 0 auto;
  }
  .sv-hero__play {
    width: 60px;
    height: 60px;
  }
}

/* Play triangle (used in hero and thumbnail overlays) */
.sv-play-icon {
  width: 0;
  height: 0;
  border-left: 13px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

.sv-play-icon--lg {
  border-left-width: 15px;
  border-top-width: 10px;
  border-bottom-width: 10px;
}

/* =============================================================
   ActionBar — the central component
   ============================================================= */

.sv-actionbar {
  margin: 14px var(--sv-mobile-pad) 0;
  padding: 22px 20px 20px;
  border-radius: var(--sv-radius-xl);
  line-height: 1.2;
}

.sv-actionbar__body {
  padding: 0;
}

.sv-actionbar__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0;
}

.sv-actionbar__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.sv-actionbar__tagline {
  font-size: 12px;
  line-height: 1.3;
  margin: 0 0 16px;
}

.sv-actionbar__btn {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  border: none;
  border-radius: var(--sv-radius-lg);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  vertical-align: middle;
}

.sv-actionbar__btn--secondary {
  background: transparent;
  border: 0.5px solid #ccc;
  color: var(--sv-ink);
  padding: 11px;
  font-size: 13px;
}

/* Variant: locked (buy) */
.sv-actionbar--locked {
  background: var(--sv-surface-dark);
  color: #fff;
}
.sv-actionbar--locked .sv-actionbar__eyebrow {
  color: var(--sv-brand-orange);
}
.sv-actionbar--locked .sv-actionbar__title {
  color: #fff;
}
.sv-actionbar--locked .sv-actionbar__tagline {
  color: var(--sv-ink-subtle);
}
.sv-actionbar--locked .sv-actionbar__btn {
  background: var(--sv-brand-orange);
  color: #fff;
  font-weight: 700;
}

/* Variant: unlocked (download) */
.sv-actionbar--unlocked {
  background: var(--sv-surface-muted);
  color: var(--sv-ink);
}
.sv-actionbar--unlocked .sv-actionbar__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sv-actionbar--unlocked .sv-actionbar__check {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sv-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sv-actionbar--unlocked .sv-actionbar__eyebrow {
  color: var(--sv-success-dark);
}
.sv-actionbar--unlocked .sv-actionbar__title {
  color: var(--sv-ink);
  font-size: 14px;
  margin: 0;
}
.sv-actionbar--unlocked .sv-actionbar__tagline {
  color: var(--sv-ink-muted);
  margin: 0;
}
.sv-actionbar--unlocked .sv-actionbar__btn {
  background: var(--sv-ink);
  color: #fff;
}

/* Desktop layout for ActionBar */
@media (min-width: 900px) {
  .sv-actionbar {
    max-width: var(--sv-content-max);
    margin: 24px auto 0;
    padding: 22px 26px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .sv-actionbar__body {
    flex: 1;
    min-width: 0;
  }
  .sv-actionbar__title {
    font-size: 20px;
    line-height: 1.25;
  }
  .sv-actionbar__tagline {
    font-size: 13px;
    margin: 4px 0 0;
  }
  .sv-actionbar__btn {
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 16px 32px;
    font-size: 16px;
  }

  .sv-actionbar--unlocked {
    align-items: center;
  }
  .sv-actionbar--unlocked .sv-actionbar__body {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .sv-actionbar--unlocked .sv-actionbar__header {
    margin-bottom: 0;
  }
  .sv-actionbar--unlocked .sv-actionbar__title {
    font-size: 20px;
    line-height: 1.25;
  }
  .sv-actionbar__btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
}

/* =============================================================
   SectionHeading
   ============================================================= */

.sv-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--sv-mobile-pad) 10px;
  gap: 10px;
}

.sv-section__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.sv-section__count {
  font-size: 12px;
  color: var(--sv-ink-subtle);
}

@media (min-width: 900px) {
  .sv-section {
    max-width: var(--sv-content-max);
    margin: 32px auto 0;
    padding: 0 var(--sv-desktop-pad);
  }
  .sv-section__label {
    font-size: 14px;
  }
}

/* StatusPill */
.sv-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--sv-radius-pill);
  font-size: 10px;
  font-weight: 500;
}

.sv-pill--locked {
  background: var(--sv-surface-muted);
  color: var(--sv-ink-muted);
}

.sv-pill--unlocked {
  background: var(--sv-success-tint);
  color: var(--sv-success-dark);
}

/* =============================================================
   Video thumbnails
   ============================================================= */

.sv-videos {
  padding: 0 var(--sv-mobile-pad) 4px;
}

.sv-videos__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sv-video {
  width: auto;
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
}

.sv-video__tile {
  position: relative;
  flex: 0 0 150px;
  aspect-ratio: 16 / 9;
  border-radius: var(--sv-radius-lg);
  overflow: hidden;
  background: #ddd;
  margin-bottom: 0;
}

.sv-video__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sv-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-video__play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-video__play-btn .sv-play-icon {
  border-left-width: 9px;
  border-top-width: 6px;
  border-bottom-width: 6px;
  margin-left: 2px;
}

.sv-video__duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sv-video__duration--reel {
  top: 8px;
  right: 8px;
  bottom: auto;
}

.sv-video__duration--pending {
  display: none;
}

.sv-video__dl-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-video__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.sv-video__num {
  display: none;
}

.sv-video__body {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.sv-video__meta {
  margin-top: 3px;
  color: var(--sv-ink-muted);
  font-size: 12px;
}

.sv-video__status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--sv-ink-muted);
  font-size: 11px;
}

.sv-video__status--ready {
  color: var(--sv-success-dark);
  font-weight: 500;
}

.sv-reels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 var(--sv-mobile-pad) 4px;
}

.sv-reel {
  width: 162px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.sv-reel__tile {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}

.sv-reel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-reel__shade {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.sv-reel__title {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .sv-videos {
    max-width: var(--sv-content-max);
    margin: 0 auto;
    overflow: visible;
    padding: 12px var(--sv-desktop-pad) 24px;
  }
  .sv-videos__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: auto;
  }
  .sv-video {
    width: auto;
    display: block !important;
  }
  .sv-video__tile {
    width: 100%;
    border-radius: var(--sv-radius-md);
    margin-bottom: 8px;
  }
  .sv-video__body {
    display: block;
    width: 100%;
    padding-top: 0;
  }
  .sv-video__title {
    display: block;
    font-size: 15px;
  }
  .sv-video__meta {
    display: block;
  }
  .sv-video__status {
    display: flex;
    visibility: visible;
    opacity: 1;
  }
  .sv-video__dl-badge {
    top: 8px;
    right: 8px;
  }

  .sv-reels {
    max-width: var(--sv-content-max);
    margin: 0 auto;
    padding: 0 var(--sv-desktop-pad) 4px;
  }
}

/* =============================================================
   Photo grid
   ============================================================= */

.sv-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 var(--sv-mobile-pad) 24px;
}

.sv-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--sv-radius-sm);
  overflow: hidden;
  background: #ddd;
}

.sv-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sv-photo--locked .sv-photo__img {
  filter: blur(1.5px) brightness(0.88);
}

.sv-photo--more {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .sv-photos {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-width: var(--sv-content-max);
    margin: 0 auto;
    padding: 12px var(--sv-desktop-pad) 40px;
  }
}

/* =============================================================
   VideoPlayer (viewer page)
   ============================================================= */

.sv-player {
  position: relative;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  max-height: 64vh;
}

.sv-player[data-portrait="true"] {
  aspect-ratio: 9 / 16;
  max-width: 36vh;
  margin-left: auto;
  margin-right: auto;
}

.sv-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sv-player__video:fullscreen,
.sv-player__video:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.sv-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sv-player__play .sv-play-icon {
  border-left-width: 14px;
  border-top-width: 10px;
  border-bottom-width: 10px;
}

.sv-player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sv-player__track {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.sv-player__track-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

/* Watermark overlay (locked state only) */
.sv-watermark {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -30deg,
    transparent,
    transparent 60px,
    rgba(255, 255, 255, 0.07) 60px,
    rgba(255, 255, 255, 0.07) 160px
  );
  pointer-events: none;
}

.sv-watermark__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  color: rgba(255, 255, 255, 0.35);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.sv-watermark__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 70%;
  opacity: 0.6;
  pointer-events: none;
}

@media (min-width: 900px) {
  .sv-player {
    border-radius: var(--sv-radius-lg);
    max-width: var(--sv-content-max);
    margin: 0 auto;
  }
  .sv-player__play {
    width: 72px;
    height: 72px;
  }
  .sv-player__play .sv-play-icon {
    border-left-width: 18px;
    border-top-width: 13px;
    border-bottom-width: 13px;
    margin-left: 4px;
  }
  .sv-player__controls {
    padding: 16px 20px;
    gap: 14px;
    font-size: 12px;
  }
  .sv-watermark__text {
    font-size: 32px;
  }
}

/* =============================================================
   PhotoViewer
   ============================================================= */

.sv-pviewer {
  position: relative;
  aspect-ratio: 1;
  background: #000;
  overflow: hidden;
}

.sv-pviewer__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-pviewer--locked .sv-pviewer__img {
  filter: brightness(0.85);
}

.sv-pviewer__img--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.sv-pviewer__shield {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.sv-pviewer__peek-left,
.sv-pviewer__peek-right {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  opacity: 0.4;
}
.sv-pviewer__peek-left {
  left: -12%;
}
.sv-pviewer__peek-right {
  right: -12%;
}
.sv-pviewer__peek-left img,
.sv-pviewer__peek-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.6);
}

.sv-pviewer__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.sv-pviewer__arrow svg {
  display: block;
}

.sv-pviewer__arrow--prev {
  left: 10px;
}
.sv-pviewer__arrow--next {
  right: 10px;
}

.sv-pviewer__counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--sv-radius-pill);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
  .sv-pviewer {
    aspect-ratio: 4 / 3;
    border-radius: var(--sv-radius-lg);
    max-width: var(--sv-content-max);
    margin: 0 auto;
  }
  .sv-pviewer__peek-left,
  .sv-pviewer__peek-right {
    display: none;
  }
  .sv-pviewer__arrow {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
  }
  .sv-pviewer__arrow--prev {
    left: 16px;
  }
  .sv-pviewer__arrow--next {
    right: 16px;
  }
  .sv-pviewer__counter {
    bottom: 16px;
    padding: 5px 14px;
    font-size: 13px;
  }
}

/* Desktop thumbnail strip below the viewer */
.sv-thumbstrip {
  display: none;
}

@media (min-width: 900px) {
  .sv-thumbstrip {
    display: flex;
    gap: 6px;
    overflow: hidden;
    max-width: var(--sv-content-max);
    margin: 0 auto;
    padding: 16px var(--sv-desktop-pad) 0;
  }
  .sv-thumbstrip__item {
    flex: 0 0 90px;
    aspect-ratio: 1;
    border-radius: var(--sv-radius-sm);
    overflow: hidden;
    opacity: 0.5;
  }
  .sv-thumbstrip__item--active {
    opacity: 1;
    outline: 2px solid var(--sv-ink);
    outline-offset: -2px;
  }
  .sv-thumbstrip__item--active.sv-thumbstrip__item--locked {
    outline-color: var(--sv-brand-orange);
  }
  .sv-thumbstrip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sv-thumbstrip__item--locked img {
    filter: blur(1px) brightness(0.88);
  }
}

/* =============================================================
   ReviewCards
   ============================================================= */

.sv-reviews {
  padding: 28px var(--sv-mobile-pad) 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sv-review {
  border: 0.5px solid var(--sv-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.sv-review__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  margin: 0 auto 8px;
}

.sv-review--google .sv-review__icon {
  background: var(--sv-google-blue);
  font-family: serif;
}

.sv-review--tripadvisor .sv-review__icon {
  background: var(--sv-tripadvisor-green);
}

.sv-review__title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 3px;
}

.sv-review__stars {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.sv-review--google .sv-review__stars {
  color: var(--sv-google-yellow);
}

.sv-review--tripadvisor .sv-review__stars {
  color: var(--sv-tripadvisor-green);
}

.sv-review__subtitle {
  font-size: 11px;
  color: var(--sv-ink-subtle);
}

@media (min-width: 900px) {
  .sv-reviews {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    max-width: var(--sv-content-max);
    margin: 0 auto;
    padding: 40px var(--sv-desktop-pad);
  }
  .sv-review {
    flex: 1;
    max-width: 260px;
    padding: 20px;
  }
  .sv-review__icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .sv-review__title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .sv-review__stars {
    font-size: 13px;
    margin-bottom: 8px;
  }
}

/* =============================================================
   SocialFooter
   ============================================================= */

.sv-social {
  padding: 18px var(--sv-mobile-pad) 24px;
  text-align: center;
}

.sv-social__eyebrow {
  font-size: 11px;
  color: var(--sv-ink-subtle);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sv-social__links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sv-social__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sv-ink);
  text-decoration: none;
}
.sv-social__link svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.sv-social__sep {
  color: #ddd;
}

@media (min-width: 900px) {
  .sv-social {
    padding: 0 var(--sv-desktop-pad) 40px;
  }
}

/* =============================================================
   PoweredBy
   ============================================================= */

.sv-poweredby {
  padding: 18px var(--sv-mobile-pad) 22px;
  border-top: 0.5px solid var(--sv-border-faint);
  text-align: center;
  font-size: 11px;
  color: var(--sv-ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sv-poweredby img {
  height: 18px;
  width: auto;
  display: block;
}

@media (min-width: 900px) {
  .sv-poweredby {
    padding: 18px var(--sv-desktop-pad);
  }
}

/* =============================================================
   StickyCtaBar (mobile only)
   ============================================================= */

.sv-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sv-surface);
  border-top: 0.5px solid var(--sv-border-faint);
  padding: 12px 14px;
  z-index: 10;
}

.sv-page ~ footer,
.sv-page + footer {
  padding-bottom: 105px;
}

.sv-sticky__btn {
  width: 100%;
  border: none;
  border-radius: var(--sv-radius-lg);
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sv-sticky__btn--locked {
  background: var(--sv-brand-orange);
  color: #fff;
  font-weight: 700;
}

.sv-sticky__btn--unlocked {
  background: var(--sv-ink);
  color: #fff;
}

@media (min-width: 900px) {
  .sv-sticky {
    display: none;
  }
  .sv-page ~ footer,
  .sv-page + footer {
    padding-bottom: 0;
  }
}
