:root {
  --font-family: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f8;
  --color-text: #121212;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-primary: #121212;
  --color-primary-hover: #2d3748;
  --color-accent: #0070ba; /* PayPal blue */
  --color-sale: #dc2626;
  --color-success: #16a34a;
  --max-width: 1240px;
  --border-radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #121212;
  color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: #000;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-bg-alt);
  padding: 0 12px;
  height: 40px;
  min-width: 40px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text);
  text-decoration: none;
}

.cart-btn:hover {
  background: #e5e7eb;
}

.cart-count {
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.2;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: #111827;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.mobile-toggle:hover {
  background: #e5e7eb;
  transform: scale(1.03);
}

.mobile-toggle:active {
  transform: scale(0.96);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #fbfbfb 0%, #f0f2f5 100%);
  padding: 60px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #111827;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 24px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4b5563;
  box-shadow: var(--shadow-sm);
}

/* Product Grid */
.products-section {
  padding: 50px 0 80px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-image-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-sale);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-tags {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #111827;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
}

.compare-price {
  font-size: 0.95rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.discount-tag {
  font-size: 0.75rem;
  color: var(--color-sale);
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
  border-color: #9ca3af;
}

.btn-paypal {
  background: #ffc439;
  color: #003087;
  font-weight: 700;
}

.btn-paypal:hover {
  background: #f2ba36;
}

/* Product Detail Page */
.product-detail-wrap {
  padding: 40px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 52px;
  align-items: start;
}

.gallery-column {
  max-width: 480px;
  width: 100%;
}

.gallery-main {
  width: 100%;
  max-width: 480px;
  max-height: 480px;
  aspect-ratio: 1/1;
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
  user-select: none;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #f8fafc;
  transition: transform 0.25s ease;
}

/* Gallery Arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.gallery-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.gallery-arrow-prev {
  left: 10px;
}

.gallery-arrow-next {
  right: 10px;
}

.gallery-badge-counter {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 5;
  pointer-events: none;
}

.gallery-zoom-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.gallery-main:hover .gallery-zoom-hint {
  opacity: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  max-width: 480px;
}

.gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.65;
  transition: var(--transition);
  background: #f8fafc;
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: #000;
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================================
   Fullscreen Lightbox Modal
   ======================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.lightbox-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-title {
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

.lightbox-counter {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.lightbox-content {
  position: relative;
  z-index: 3;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 0;
}

.lightbox-image-wrap {
  flex-grow: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

#lightbox-img {
  max-height: 78vh;
  max-width: 86vw;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: opacity 0.2s ease;
}

.lightbox-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.lightbox-thumbs-bar {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #1e293b;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active {
  border-color: #ffffff;
  opacity: 1;
  transform: scale(1.08);
}

.lightbox-thumb:hover {
  opacity: 0.9;
}
  flex-shrink: 0;
  opacity: 0.7;
  transition: var(--transition);
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: #000;
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.detail-price-box {
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}

.instant-delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.detail-description {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  font-size: 0.98rem;
  color: #374151;
  line-height: 1.7;
}

.detail-description h2, .detail-description h3, .detail-description strong {
  color: #111827;
  margin-top: 14px;
  margin-bottom: 6px;
  display: block;
}

.detail-description ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.detail-description ul li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.detail-description ul li:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.detail-description ul li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f172a;
  flex-shrink: 0;
}

/* ========================================================
   Designer Style Packs & Film Stock Lists
   ======================================================== */
.style-pack-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 18px 0 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.style-pack-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.style-pack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.style-pack-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.style-pack-film-icon {
  color: #475569;
  flex-shrink: 0;
}

.style-pack-badge {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.style-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 16px 18px;
  background: #ffffff;
}

.style-item-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 9px 13px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 42px;
}

.style-item-chip:hover {
  background: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.style-chip-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.style-chip-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.style-item-chip:hover .style-chip-bullet {
  background: #0f172a;
  transform: scale(1.3);
}

.style-chip-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e293b;
  letter-spacing: -0.01em;
  line-height: 1.3;
  word-break: break-word;
}

.style-item-subbadge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.detail-description img {
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 40px;
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* FAQ Designer Blocks */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.faq-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.faq-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 !important;
  display: block;
}

.faq-body {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
  padding-left: 52px;
}

.faq-body strong {
  color: #0f172a;
}

.faq-contact-box {
  margin-top: 40px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f1f5f9 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
}

@media (max-width: 640px) {
  .faq-body {
    padding-left: 0;
    margin-top: 10px;
  }
}

/* Installation Guide Designer Styles */
.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 20px;
  align-items: stretch;
}

.platform-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.platform-logo-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px;
  flex-shrink: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-bottom-color: #94a3b8;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  white-space: nowrap;
}

.platform-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.platform-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.55;
}

.step-content code, .code-copy-box code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: monospace;
}

.code-copy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 0.8rem;
  word-break: break-all;
}

/* Free Packs Designer Styles */
.free-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.free-pack-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.free-pack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.free-pack-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.free-pack-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.free-pack-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.free-pack-desc {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.free-pack-features {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .platform-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Cart & Checkout */
.cart-wrap {
  max-width: 760px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  object-fit: cover;
  background: #f1f5f9;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-summary {
  margin-top: 24px;
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Success / Download Page */
.success-card {
  max-width: 680px;
  margin: 60px auto 80px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.download-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  text-align: left;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 50px 0 30px;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Admin Styling */
.admin-wrap {
  display: flex;
  min-height: 100vh;
  background: #f8fafc;
  width: 100%;
}

.admin-sidebar {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  flex-shrink: 0;
  background: #0f172a;
  color: #e2e8f0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 40;
}

.admin-sidebar h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 24px;
  padding-left: 8px;
}

.admin-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.admin-nav a:hover {
  background: #1e293b;
  color: #ffffff;
}

.admin-nav a.active {
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
}

.admin-main {
  flex: 1 1 0%;
  min-width: 0;
  padding: 32px 36px;
  overflow-y: auto;
  box-sizing: border-box;
}

.product-edit-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 1100px) {
  .product-edit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Rich HTML Editor Styles */
.editor-toolbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mode-toggle-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mode-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ql-toolbar.ql-snow {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ql-container.ql-snow {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-color: #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.ql-editor {
  min-height: 260px;
  line-height: 1.6;
}

.admin-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.admin-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #4b5563;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.92rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* Responsive */
@media (max-width: 860px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .header-actions {
    gap: 10px;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  .cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    gap: 5px;
    min-width: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .admin-wrap {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
  }
}

/* ========================================================
   Add to Cart Animations & Slide-over Cart Drawer
   ======================================================== */

/* Flying Clone Element */
.flying-cart-clone {
  position: fixed;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
  transition: all 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

/* Button Added State */
.btn-added-animate {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  transform: scale(1.02);
}

/* Header Cart Bounce Animation */
.cart-bounce {
  animation: cartBounceKeyframes 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBounceKeyframes {
  0% { transform: scale(1); }
  35% { transform: scale(1.25); background: #fef08a; }
  65% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Slide-over Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-count {
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
}

.cart-drawer-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  position: relative;
  transition: var(--transition);
}

.drawer-item:hover {
  border-color: #cbd5e1;
}

.drawer-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}

.drawer-item-details {
  flex-grow: 1;
  min-width: 0;
}

.drawer-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.drawer-item-meta {
  font-size: 0.78rem;
  color: #16a34a;
  font-weight: 600;
}

.drawer-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
}

.drawer-item-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
}

.drawer-item-remove:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

/* ========================================================
   Admin Product Image Management & Delete Button
   ======================================================== */
.admin-image-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, opacity 0.25s ease;
}

.admin-image-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delete-image-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.delete-image-btn:hover {
  background: #dc2626;
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.5);
}

.delete-image-btn:active {
  transform: scale(0.92);
}

/* ========================================================
   35mm Filmstrip Slider ("Фотопленка с перфорацией")
   ======================================================== */
.filmstrip-section {
  background: #09090c;
  color: #ffffff;
  padding: 40px 0 52px;
  position: relative;
  overflow: hidden;
  border-top: none;
  border-bottom: 1px solid #1e1e24;
}

.filmstrip-header-container {
  max-width: 860px;
  margin: 0 auto 35px;
  text-align: center;
  padding: 0 20px;
}

.filmstrip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #f1f5f9;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.film-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: filmRecBlink 1.8s ease-in-out infinite;
}

@keyframes filmRecBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.85); }
}

.filmstrip-heading {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 10px;
}

.filmstrip-subheading {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto;
}

.filmstrip-wrapper {
  position: relative;
  width: 100%;
  margin-top: 15px;
}

.filmstrip-container {
  background: #050507;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
}

/* 35mm Sprockets (Черные полосы с белыми перфорационными квадратиками) */
.filmstrip-sprockets-bar {
  background-color: #050507;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  padding: 8px 0;
}

.filmstrip-sprockets-top {
  border-bottom: 2px solid #000000;
  gap: 6px;
}

.filmstrip-sprockets-bottom {
  border-top: 2px solid #000000;
  gap: 6px;
}

/* Authentic Perforation Pattern (Repeating white rounded rectangular holes) */
.filmstrip-sprockets-pattern {
  height: 22px;
  width: 100%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22' viewBox='0 0 36 22'%3E%3Crect x='10' y='2' width='16' height='18' rx='3.5' fill='%23ffffff' stroke='%23000000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
}

/* Monospace Vintage Edge Codes / Frame Numbers */
.filmstrip-edge-codes {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
  line-height: 1;
  flex-shrink: 0;
}

.filmstrip-edge-codes span {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #f59e0b; /* Authentic warm Kodak / Fuji amber */
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

/* Frames Carousel Track */
.filmstrip-frames-track {
  display: flex;
  gap: 16px;
  padding: 18px 24px;
  background: #050507;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filmstrip-frames-track::-webkit-scrollbar {
  display: none;
}

.filmstrip-frames-track:active {
  cursor: grabbing;
}

/* Individual 35mm Film Frame */
.film-frame {
  flex: 0 0 340px;
  height: 235px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #000000;
  border: 3px solid #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.3s ease;
  cursor: pointer;
}

@media (max-width: 768px) {
  .film-frame {
    flex: 0 0 260px;
    height: 180px;
  }
}

.film-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(245, 158, 11, 0.6);
  z-index: 5;
}

.film-frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: contrast(1.03) brightness(0.98);
}

.film-frame:hover .film-frame-image {
  transform: scale(1.06);
  filter: contrast(1.05) brightness(1.02);
}

/* Authentic Frame Number Badge on photo */
.film-frame-number {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #f59e0b;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* Film Stock Overlay on Hover */
.film-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 3;
}

.film-frame:hover .film-frame-overlay {
  opacity: 1;
}

.film-frame-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.film-frame-meta {
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'SFMono-Regular', Consolas, monospace;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.film-frame-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.film-frame-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateX(2px);
}

/* Filmstrip Navigation Buttons */
.filmstrip-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.filmstrip-nav-btn:hover {
  background: #ffffff;
  color: #09090c;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.filmstrip-prev {
  left: 20px;
}

.filmstrip-next {
  right: 20px;
}

@media (max-width: 768px) {
  .filmstrip-nav-btn {
    display: none; /* Mobile users swipe natively */
  }
}

/* Lightbox Modal for Full-Size Film Photo Preview */
.filmstrip-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.filmstrip-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.filmstrip-lightbox-content {
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.filmstrip-lightbox-img-wrap {
  position: relative;
  background: #070709;
  padding: 14px 14px 24px;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filmstrip-lightbox-img {
  max-height: 72vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.filmstrip-lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #ffffff;
}

.filmstrip-lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.filmstrip-lightbox-tag {
  color: #f59e0b;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.filmstrip-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 20;
}

.filmstrip-lightbox-close:hover {
  background: #dc2626;
  transform: scale(1.12);
}
