/* Printcase.ru — Lightweight Lazy Video Reels & Spotlight Sections (CLS = 0) */
.pc-reel-card {
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  background: #0f172a;
}
.pc-reel-card img.pc-reel-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(.22, 1, .36, 1);
}
.pc-reel-card:hover img.pc-reel-poster { transform: scale(1.06); }
.pc-reel-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.16) 0%, rgba(15,23,42,0.02) 42%, rgba(15,23,42,0.82) 100%);
  pointer-events: none;
  z-index: 2;
}
.pc-reel-dur {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
  pointer-events: none;
}
.pc-reel-dur::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b00;
  display: inline-block;
}
.pc-reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
  pointer-events: none;
}
.pc-reel-play svg { width: 17px; height: 17px; margin-left: 2px; fill: currentColor; }
.pc-reel-card:hover .pc-reel-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff3b00;
  color: #fff;
}
.pc-reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 10px 11px 11px;
  pointer-events: none;
}
.pc-reel-cap-title {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-reel-cap-sub {
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Video Strip Section (3-7 videos) */
.pc-reels-sec {
  background: #ffffff;
  border-top: 1px solid #e2e0d8;
  border-bottom: 1px solid #e2e0d8;
  padding: 44px 36px;
  box-sizing: border-box;
  width: 100%;
}
.pc-reels-inner { max-width: 1240px; margin: 0 auto; }
.pc-reels-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pc-reels-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: #ff3b00;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pc-reels-h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: #0f172a;
  margin: 0;
  line-height: 1.15;
  text-transform: uppercase;
}
.pc-reels-lead {
  font-size: 14px;
  color: #475569;
  margin: 7px 0 0;
  max-width: 640px;
  line-height: 1.48;
}
.pc-reels-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.pc-reels-arr {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s;
  padding: 0;
}
.pc-reels-arr:hover { background: #0f172a; color: #fff; border-color: #0f172a; }
.pc-reels-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.pc-reels-track::-webkit-scrollbar { display: none; }
.pc-reels-track .pc-reel-card {
  flex: 0 0 188px;
  width: 188px;
  height: 318px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 6px 20px rgba(15,23,42,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pc-reels-track .pc-reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15,23,42,0.16);
}

/* Spotlight layout (1-2 videos: editorial copy left + crisp 9:16 cards right) */
.pc-reels-spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: #f8f7f3;
  border: 1px solid #e2e0d8;
  border-radius: 20px;
  padding: 28px 32px;
}
.pc-reels-spot-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.pc-reels-spot-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  border: 1px solid #d9d6cc;
  border-radius: 999px;
  padding: 5px 11px;
}
.pc-reels-spot-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: background 0.16s, transform 0.16s;
}
.pc-reels-spot-cta:hover { background: #2563eb; transform: translateY(-1px); }
.pc-reels-spot-cards { display: flex; gap: 14px; justify-content: flex-end; }
.pc-reels-spot-cards .pc-reel-card {
  flex: 0 0 192px;
  width: 192px;
  height: 324px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.1);
  box-shadow: 0 10px 26px rgba(15,23,42,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pc-reels-spot-cards .pc-reel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.18);
}

/* Fullscreen Lightbox Reels Modal */
#pcReelModal {
  position: fixed;
  inset: 0;
  z-index: 100500;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
#pcReelModal.is-open { display: flex; animation: pcReelFade 0.18s ease-out; }
@keyframes pcReelFade { from { opacity: 0; } to { opacity: 1; } }
.pcr-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  max-height: 100%;
}
.pcr-phone {
  position: relative;
  width: min(390px, calc(100vw - 32px));
  height: min(694px, calc(100vh - 36px));
  max-height: 88vh;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcr-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; cursor: pointer; }
.pcr-prog-track {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255,255,255,0.28);
  border-radius: 99px;
  z-index: 5;
  overflow: hidden;
}
.pcr-prog-fill { height: 100%; width: 0%; background: #fff; border-radius: 99px; transition: width 0.08s linear; }
.pcr-top-bar {
  position: absolute;
  top: 20px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.pcr-counter {
  pointer-events: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
}
.pcr-close {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15,23,42,0.68);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.16s, transform 0.16s;
}
.pcr-close:hover { background: #ff3b00; border-color: #ff3b00; transform: scale(1.06); }
.pcr-pause-ind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(15,23,42,0.68);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 5;
}
.pcr-pause-ind.is-show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pcr-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 44px 16px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(8,11,18,0.88) 65%, rgba(8,11,18,0.96) 100%);
}
.pcr-title { color: #fff; font-size: 16px; font-weight: 800; line-height: 1.25; margin: 0 0 4px; }
.pcr-sub { color: rgba(255,255,255,0.78); font-size: 12.5px; margin: 0 0 12px; }
.pcr-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.16s, transform 0.16s;
  box-sizing: border-box;
}
.pcr-cta:hover { background: #1d4ed8; transform: translateY(-1px); }
.pcr-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.16s, transform 0.16s;
}
.pcr-nav:hover { background: rgba(255,255,255,0.26); transform: scale(1.06); }
.pcr-nav.is-hidden { visibility: hidden; pointer-events: none; }

@media (max-width: 900px) {
  .pc-reels-spot { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 20px; }
  .pc-reels-spot-cards { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pc-reels-spot-cards::-webkit-scrollbar { display: none; }
}
@media (max-width: 680px) {
  .pc-reels-sec { padding: 30px 16px; }
  .pc-reels-h2 { font-size: 20px; }
  .pc-reels-arrows { display: none; }
  .pc-reels-track .pc-reel-card,
  .pc-reels-spot-cards .pc-reel-card { flex: 0 0 156px; width: 156px; height: 266px; border-radius: 14px; }
  .pc-reel-play { width: 40px; height: 40px; }
  .pc-reel-play svg { width: 15px; height: 15px; }
  .pcr-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 100510; width: 38px; height: 38px; background: rgba(15,23,42,0.72); }
  .pcr-nav:hover { transform: translateY(-50%); }
  #pcReelPrev { left: 8px; }
  #pcReelNext { right: 8px; }
  .pcr-phone { width: min(360px, calc(100vw - 24px)); max-height: 86vh; border-radius: 18px; }
}
