/* ==========================================================================
   Bottom Sheet Drawer & Modal Styles (Scoped to Viewport Container)
   ========================================================================== */

.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88%;
  background: #FFFFFF;
  color: #000000;
  border-radius: 28px 28px 0 0;
  z-index: 150;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  padding-bottom: calc(var(--safe-bottom) + 12px);
}

.bottom-sheet.active {
  transform: translateY(0);
}

.sheet-handle-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0 10px 0;
  min-height: 44px;
  box-sizing: border-box;
  cursor: grab;
  position: relative;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.sheet-handle-bar:active {
  cursor: grabbing;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  background: #94A3B8;
  border-radius: 3px;
}

.btn-close-sheet {
  position: absolute;
  right: 16px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sheet-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 24px 20px;
  -webkit-overflow-scrolling: touch;
}

/* Header & Badges */
.sheet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.badge {
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.2px;
}

.badge-age {
  background: #EEF2FF;
  color: #312E81;
  border: 1.5px solid #C7D2FE;
}

.badge-cat {
  background: #F1F5F9;
  color: #0F172A;
  border: 1.5px solid #CBD5E1;
}

.badge-pages {
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #A7F3D0;
}

.sheet-title {
  font-size: 24px;
  font-weight: 900;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 8px;
}

.social-proof-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  color: #991B1B;
  border: 1.5px solid #FECDD3;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.sheet-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  margin-bottom: 20px;
}

.sheet-desc p {
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #1E293B;
}

/* 1. Hook */
.desc-hook {
  font-size: 20px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 12px 0;
}

/* 2. Short Intro */
.desc-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #1E293B;
  margin: 0 0 16px 0;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desc-intro p,
.desc-intro-p {
  margin: 0;
  line-height: 1.6;
  color: #1E293B;
}

/* 3. Bullets with Emoji */
.desc-bullets-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 20px 0;
}

.desc-bullet-item {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.desc-bullet-emoji {
  font-size: 22px;
  line-height: 1.2;
  flex-shrink: 0;
}

.desc-bullet-text {
  font-size: 15px;
  line-height: 1.45;
  color: #1E293B;
}

.desc-bullet-text strong {
  color: #0F172A;
  font-weight: 800;
}

/* 4. Specs Block & 5. Package Block */
.desc-block {
  border-radius: 16px;
  padding: 16px;
  margin: 18px 0;
}

.desc-specs-block {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
}

.desc-package-block {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
}

.desc-block-title {
  font-size: 17px;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desc-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #CBD5E1;
  padding-bottom: 7px;
  font-size: 15px;
}

.desc-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: #475569;
  font-weight: 600;
}

.spec-val {
  color: #0F172A;
  font-weight: 800;
  text-align: right;
}

.desc-package-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desc-package-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #14532D;
}

.pkg-check {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* Skills Tags */
.skills-wrap {
  margin-bottom: 16px;
}

.skills-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94A3B8;
  margin-bottom: 6px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Support Button */
.support-bar {
  margin-bottom: 16px;
}

.btn-ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.btn-ask:hover {
  background: #DCFCE7;
}

/* Cross-Sell Stationery Card */
.cross-sell-box {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.cross-sell-box.selected {
  background: #F5F3FF;
  border-color: #8B5CF6;
}

.cross-sell-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.cross-sell-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #7C3AED;
  cursor: pointer;
}

.cross-sell-info {
  flex: 1;
}

.cross-sell-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
}

.cross-sell-sub {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
}

.cross-sell-price {
  font-size: 14px;
  font-weight: 800;
  color: #7C3AED;
}

/* Form Styles */
.sheet-form {
  background: #F8FAFC;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
}

.form-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Checkout Summary & Buttons */
.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.price-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
}

.price-amount {
  font-size: 24px;
  font-weight: 900;
  color: #0F172A;
}

.price-old {
  font-size: 15px;
  color: #94A3B8;
  text-decoration: line-through;
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 12px;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.security-badge {
  text-align: center;
  font-size: 11px;
  color: #94A3B8;
  margin-top: 4px;
}

/* Success Screen inside Sheet */
.success-screen {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 54px;
  margin-bottom: 10px;
}

.success-title {
  font-size: 26px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 8px;
}

.success-sub {
  font-size: 16px;
  color: #111827;
  font-weight: 600;
  margin-bottom: 20px;
}

.download-card {
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.download-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 12px;
}

.btn-download {
  display: block;
  background: #16A34A;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  margin-bottom: 12px;
}

.download-rules {
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  color: #15803D;
  background: rgba(255,255,255,0.7);
  padding: 8px;
  border-radius: 8px;
}

.btn-continue {
  background: transparent;
  border: none;
  color: #4F46E5;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* 3-Tier Option Cards in Bottom Sheet */
.tiers-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.tiers-heading {
  font-size: 12px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tier-card:hover {
  border-color: #CBD5E1;
}

.tier-card.tier-sample {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.tier-card.tier-digital {
  background: #F8FAFC;
  border-color: #C7D2FE;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.06);
}

.tier-card.tier-print {
  background: #FFFBEB;
  border-color: #FDE68A;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.tier-badge-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #DCFCE7;
  color: #166534;
}

.tier-price-tag {
  font-size: 18px;
  font-weight: 900;
  color: #0F172A;
}

.tier-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.tier-sub {
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-tier-action {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-tier-sample {
  background: #10B981;
  color: #FFFFFF;
}

.btn-tier-sample:hover {
  background: #059669;
}

.btn-tier-digital {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.28);
}

.btn-tier-digital:hover {
  opacity: 0.95;
}

.btn-tier-print {
  background: #F59E0B;
  color: #FFFFFF;
}

.btn-tier-print:hover {
  background: #D97706;
}

.tier-expand-form {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
}

/* ==========================================================================
   Toy Product Card: Swipable Photo Gallery with Slider & Thumbnails
   ========================================================================== */

.product-gallery-wrap {
  margin-bottom: 16px;
  position: relative;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #F1F5F9;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  touch-action: pan-y pinch-zoom;
}

.gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

/* Badges overlay */
.gallery-badges-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.gallery-badge-discount {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: auto;
}

.gallery-badge-counter {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
}

/* Nav arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #1E293B;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s cubic-bezier(0.2, 1, 0.3, 1);
  outline: none;
}

.gallery-arrow:hover:not(:disabled) {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.gallery-arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-arrow-prev {
  left: 10px;
}

.gallery-arrow-next {
  right: 10px;
}

/* Dots bar */
.gallery-dots-bar {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
  pointer-events: auto;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: pointer;
}

.gallery-dot.active {
  width: 22px;
  border-radius: 6px;
  background: #3B82F6;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.5);
}

/* Thumbnail Strip */
.gallery-thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-thumbs-row::-webkit-scrollbar {
  display: none;
}

.gallery-thumb-item {
  flex: 0 0 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid transparent;
  background: #F1F5F9;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  position: relative;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-thumb-item.active {
  border-color: #3B82F6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
  transform: scale(1.04);
}

.gallery-thumb-item:hover:not(.active) {
  border-color: #CBD5E1;
}

/* Lightbox Modal (Fullscreen Image Zoom) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  color: #FFFFFF;
  z-index: 20;
}

.lightbox-counter {
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 16px;
}

.btn-close-lightbox {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.btn-close-lightbox:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition: all 0.2s ease;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-arrow-prev { left: 16px; }
.lightbox-arrow-next { right: 16px; }

/* Toy Price & Meta Row */
.toy-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 8px 0;
  flex-wrap: wrap;
}

.toy-current-price {
  font-size: 32px;
  font-weight: 900;
  color: #000000;
  letter-spacing: -0.5px;
}

.toy-old-price {
  font-size: 19px;
  font-weight: 700;
  color: #4B5563;
  text-decoration: line-through;
}

.toy-save-badge {
  font-size: 13px;
  font-weight: 900;
  color: #991B1B;
  background: #FEE2E2;
  border: 1.5px solid #FECACA;
  padding: 4px 10px;
  border-radius: 8px;
}

.toy-stock-badge {
  font-size: 13px;
  font-weight: 800;
  color: #065F46;
  background: #D1FAE5;
  border: 1.5px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Features Grid */
.toy-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 18px 0;
}

@media (max-width: 380px) {
  .toy-features-grid {
    grid-template-columns: 1fr;
  }
}

.toy-feature-card {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

/* Variants Selector */
.toy-variants-box {
  margin: 16px 0;
  padding: 14px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1.5px solid #CBD5E1;
}

.toy-variants-label {
  font-size: 15px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toy-variants-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toy-variant-chip {
  padding: 10px 18px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid #94A3B8;
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.toy-variant-chip:hover {
  border-color: #475569;
}

.toy-variant-chip.active {
  background: #EFF6FF;
  border-color: #2563EB;
  color: #1D4ED8;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

/* Delivery & Fast Order Form */
.toy-order-box {
  background: #F8FAFC;
  border: 2px solid #CBD5E1;
  border-radius: 22px;
  padding: 20px 18px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.toy-order-title {
  font-size: 20px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toy-order-sub {
  font-size: 15px;
  color: #111827;
  font-weight: 600;
  margin-bottom: 16px;
}

.toy-form-group {
  margin-bottom: 14px;
}

.toy-form-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 6px;
}

.toy-form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid #94A3B8;
  font-size: 16px;
  background: #FFFFFF;
  color: #000000;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  outline: none;
}

.toy-form-input::placeholder {
  color: #4B5563;
  opacity: 1;
  font-weight: 500;
  font-size: 15px;
}

.toy-form-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.phone-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-field-flag {
  position: absolute;
  left: 14px;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.toy-phone-masked {
  padding-left: 48px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  color: #000000 !important;
}

.toy-field-hint {
  font-size: 13px;
  color: #475569;
  margin-top: 6px;
  line-height: 1.35;
  font-weight: 500;
}

.toy-field-hint strong {
  color: #000000;
  font-weight: 700;
}

.toy-payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 12px 0;
}

.toy-payment-btn {
  padding: 13px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid #94A3B8;
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  outline: none;
  line-height: 1.35;
}

.toy-payment-btn.active {
  border-color: #2563EB;
  background: #EFF6FF;
  color: #1D4ED8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-submit-toy-order {
  width: 100%;
  padding: 15px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(29, 78, 216, 0.4);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 16px;
  text-align: center;
}

.btn-submit-action {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.btn-submit-price {
  font-size: 16px;
  font-weight: 800;
  color: #DBEAFE;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.btn-submit-toy-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(29, 78, 216, 0.5);
}

.btn-submit-toy-order:active {
  transform: translateY(1px);
}

.btn-submit-toy-order:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.toy-trust-signals {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  margin-top: 16px;
  text-align: center;
  gap: 8px;
}

.toy-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.toy-trust-item span:first-child {
  font-size: 20px;
}

/* Success Order Receipt */
.toy-receipt-card {
  background: #F8FAFC;
  border: 2px solid #CBD5E1;
  border-radius: 18px;
  padding: 18px;
  margin: 18px 0;
  text-align: left;
}

.toy-receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #CBD5E1;
  font-size: 15px;
  color: #000000;
  font-weight: 600;
}

.toy-receipt-row:last-child {
  border-bottom: none;
  padding-top: 12px;
  font-weight: 900;
  font-size: 18px;
  color: #000000;
}

/* ==========================================================================
   Delivery Rules & Carrier Selector (Nova Poshta vs Ukrposhta Policy)
   ========================================================================== */

.delivery-rules-alert {
  background: #FEF3C7;
  border: 2px solid #F59E0B;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.delivery-rules-title {
  font-weight: 900;
  color: #78350F;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.delivery-rules-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
}

.delivery-rules-badge {
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.delivery-rules-badge.nova {
  background: #DC2626;
  color: #FFFFFF;
}

.delivery-rules-badge.ukr {
  background: #D97706;
  color: #FFFFFF;
}

.delivery-service-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.delivery-service-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 2px solid #94A3B8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 1, 0.3, 1);
  text-align: left;
  outline: none;
}

.delivery-service-btn:hover {
  border-color: #475569;
}

.delivery-service-btn.active {
  border-color: #2563EB;
  background: #EFF6FF;
  border-width: 2.5px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.delivery-service-logo {
  font-size: 26px;
  line-height: 1;
}

.delivery-service-name {
  font-size: 16px;
  font-weight: 900;
  color: #000000;
}

.delivery-service-hint {
  font-size: 13px;
  color: #111827;
  font-weight: 700;
  margin-top: 3px;
}

.delivery-payment-hint {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  margin-top: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}

.delivery-payment-hint.prepay {
  background: #FEF2F2;
  border: 1.5px solid #F87171;
  color: #991B1B;
}

.delivery-payment-hint.cod {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #065F46;
}

.btn-ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #DCFCE7;
  border: 2px solid #86EFAC;
  color: #065F46;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 14px;
  transition: background 0.15s ease;
}

.btn-ask:hover {
  background: #BBF7D0;
}

/* Manager Call Workflow & Callout Banners */
.manager-workflow-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #000000;
  gap: 4px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 4px;
}

.workflow-arrow {
  color: #2563EB;
  font-weight: 900;
}

.manager-call-notice {
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1E40AF;
  line-height: 1.45;
  margin: 12px 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-call-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 2px solid #A7F3D0;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 16px 0;
  text-align: left;
}

/* ==========================================================================
   KIDS V1 Step 6.2: Bundle Selector (Radio 300 / 500)
   ========================================================================== */
.bundle-selector-box {
  margin: 16px 0;
  width: 100%;
}

.bundle-selector-title {
  font-size: 14px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bundle-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundle-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bundle-option-item:hover {
  border-color: #94A3B8;
}

.bundle-option-item.is-selected {
  border-color: #2563EB;
  background: #EFF6FF;
  border-width: 2.5px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.bundle-option-radio-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.bundle-custom-radio {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #94A3B8;
  background: #FFFFFF;
  transition: all 0.18s ease;
  position: relative;
}

.bundle-option-item.is-selected .bundle-custom-radio {
  border-color: #2563EB;
  background: #2563EB;
}

.bundle-option-item.is-selected .bundle-custom-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
}

.bundle-option-content {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bundle-option-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bundle-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bundle-option-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
}

.bundle-option-item.is-selected .bundle-option-title {
  color: #1D4ED8;
}

.bundle-save-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  border-radius: 6px;
  letter-spacing: 0.3px;
  line-height: 1.3;
  white-space: nowrap;
}

.bundle-option-sub {
  font-size: 12px;
  line-height: 1.35;
  color: #64748B;
  font-weight: 500;
}

.bundle-option-price {
  font-size: 16px;
  font-weight: 900;
  color: #0F172A;
  white-space: nowrap;
  flex-shrink: 0;
}

.bundle-option-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bundle-old-price {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 700;
}

.bundle-new-price {
  font-size: 16px;
  font-weight: 900;
  color: #1D4ED8;
}

.price-breakdown {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  margin-left: 8px;
  vertical-align: middle;
}

.delivery-rules-alert {
  display: none !important;
}

/* ============================================================
   KIDS V1: БЛОК КОМПЛЕКТАЦІЇ (ACCORDION CARDS)
   ============================================================ */
.variants-accordion-box {
  margin-top: 14px;
  margin-bottom: 16px;
  width: 100%;
}

.variants-accordion-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.variants-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.variant-accordion-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.variant-accordion-item:hover {
  border-color: #CBD5E1;
}

.variant-accordion-item.is-selected {
  border-color: #3B82F6;
  background: #F8FAFC;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.variant-accordion-header {
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.variant-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.variant-check-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.variant-check-radio.checked {
  border-color: #3B82F6;
  background: #3B82F6;
}

.variant-check-radio.checked::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.variant-name {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}

.variant-accordion-item.is-selected .variant-name {
  color: #1D4ED8;
}

.variant-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

.variant-price {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}

.variant-chevron {
  font-size: 12px;
  color: #64748B;
  transition: transform 0.2s ease;
}

.variant-accordion-body {
  padding: 0 14px 14px 14px;
  border-top: 1px solid #F1F5F9;
  background: #FFFFFF;
}

.variant-accordion-item.is-selected .variant-accordion-body {
  background: #F8FAFC;
}

.variant-content-wrap {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
  margin-bottom: 12px;
}

.variant-content-wrap.no-image {
  display: block;
}

.variant-desc {
  flex: 1;
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
}

.variant-content-wrap.no-image .variant-desc {
  width: 100%;
}

.variant-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}

.btn-select-variant {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-select-variant.is-selected {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
}

/* ============================================================
   KIDS V1: FINAL UPSELL MODAL
   ============================================================ */
.final-upsell-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.final-upsell-modal {
  position: relative;
  background: #FFFFFF;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.final-upsell-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-upsell-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFEDD5, #FEE2E2);
  color: #EA580C;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.final-upsell-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
  margin-bottom: 14px;
}

.final-upsell-body {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  margin-bottom: 18px;
}

.final-upsell-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #FDE68A;
  background: #FFFFFF;
  flex-shrink: 0;
}

.final-upsell-text {
  font-size: 12.5px;
  color: #78350F;
  line-height: 1.4;
}

.final-upsell-text strong {
  display: block;
  font-size: 13px;
  color: #92400E;
  margin-bottom: 2px;
}

.final-upsell-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-final-upsell-accept {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #EA580C, #F97316);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-final-upsell-accept:active {
  transform: scale(0.98);
}

.btn-final-upsell-decline {
  width: 100%;
  padding: 12px;
  background: #F1F5F9;
  color: #64748B;
  border: none;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Step 6: Product Card Visual Enrichment
   - Single Main Hero Photo (No top thumbnails)
   - "Що всередині" Interactive Touch/Swipe Carousel
   - "Зробіть завдання багаторазовими" Showcase Block with Video Modal
   ========================================================================== */

/* Top Single Hero Photo */
.product-hero-wrap {
  width: 100%;
  position: relative;
  background: #f8fafc;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.product-hero-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  cursor: zoom-in;
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease;
  z-index: 2;
}

.product-hero-zoom-btn:active {
  transform: scale(0.92);
}

/* "Що всередині" Carousel Block */
.inside-carousel-block {
  margin: 18px 0;
  padding: 16px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.inside-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.inside-carousel-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inside-carousel-icon {
  font-size: 20px;
  line-height: 1;
}

.inside-carousel-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.inside-carousel-counter {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 3px 10px;
  border-radius: 12px;
}

.inside-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.inside-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform;
}

.inside-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.inside-slide-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.inside-slide-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #000000;
}

.inside-slide-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.inside-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.inside-slide-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
}

.inside-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}

.inside-zoom-btn:active {
  transform: scale(0.92);
}

.inside-slide-info {
  padding: 12px 14px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.inside-slide-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.35;
}

.inside-slide-desc {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.inside-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.inside-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.inside-arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.92);
}

.inside-arrow-prev { left: 8px; }
.inside-arrow-next { right: 8px; }

.inside-dots-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.inside-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.inside-dot.active {
  width: 22px;
  background: #2563eb;
}

.inside-carousel-hint {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
}

/* "Зробіть завдання багаторазовими" Block */
.kit-presentation-block {
  margin: 20px 0 16px;
  padding: 18px 14px;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1.5px solid #86EFAC;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.08);
}

.kit-pres-header {
  margin-bottom: 14px;
}

.kit-pres-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #15803D;
  background: #DCFCE7;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.kit-pres-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  color: #065F46;
  line-height: 1.3;
}

.kit-pres-sub {
  margin: 0;
  font-size: 12.5px;
  color: #374151;
  line-height: 1.45;
}

/* Compact 2x2 Kit Grid */
.kit-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.kit-compact-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kit-compact-card:active {
  transform: scale(0.98);
}

.kit-compact-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #F8FAFC;
  position: relative;
}

.kit-compact-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kit-compact-info {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.kit-compact-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  margin: 0 0 8px 0;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-kit-compact-more {
  width: 100%;
  padding: 8px 10px;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-kit-compact-more:hover,
.btn-kit-compact-more:active {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
}

.kit-pres-footer-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: #ECFDF5;
  border-radius: 10px;
  border: 1px dashed #34D399;
  font-size: 12px;
  color: #065F46;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.kit-pres-footer-note .note-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

/* Kit Detail Popup Modal (Above Bottom Sheet) */
.kit-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100; /* Higher than Bottom Sheet (z-index 1000) */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.kit-detail-modal.active {
  display: flex;
}

.kit-detail-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.kit-detail-dialog {
  position: relative;
  background: #ffffff !important;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.btn-close-kit-detail {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  border: none;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.btn-close-kit-detail:hover {
  background: rgba(15, 23, 42, 0.85);
}

.kit-detail-media-wrap {
  width: 100%;
  background: #F8FAFC;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.kit-detail-img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  display: block;
}

.kit-detail-video-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #000000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-detail-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  outline: none;
  border: none;
}

.kit-detail-content {
  background: #ffffff !important;
  padding: 18px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kit-detail-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}

.kit-detail-desc {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.kit-detail-specs-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 2px;
}

.kit-detail-specs-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.kit-detail-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kit-detail-specs-list li {
  font-size: 12.5px;
  color: #1E293B;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.kit-detail-specs-list li::before {
  content: "✔";
  color: #10B981;
  font-size: 11px;
}

.btn-kit-detail-play {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn-kit-detail-play:hover,
.btn-kit-detail-play:active {
  background: #000000;
  transform: translateY(-1px);
}

.btn-kit-detail-play .play-icon {
  font-size: 14px;
  color: #38BDF8;
}





/* ============================================================
   KIDS PHASE 2: ACQUISITION MODE SELECTOR & MODALS
   ============================================================ */
.acquisition-section {
  margin: 18px 0 14px 0;
  padding: 16px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
}

.acquisition-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acquisition-sub {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 12px;
  line-height: 1.4;
}

.acquisition-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acquisition-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.acquisition-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.acquisition-card.is-selected {
  border-color: #2563EB;
  background: #EFF6FF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.acquisition-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.acquisition-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.acquisition-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.acquisition-label {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.acquisition-sublabel {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.35;
  margin-top: 1px;
}

.acquisition-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.acquisition-price-badge {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
}

.acquisition-price-badge.free {
  color: #059669;
}

.acquisition-badge-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.acquisition-badge-pill.pop {
  background: #FEF3C7;
  color: #B45309;
}

.acquisition-badge-pill.demo {
  background: #D1FAE5;
  color: #065F46;
}

.acquisition-badge-pill.pdf {
  background: #E0E7FF;
  color: #4338CA;
}

/* Common Acquisition Modal Dialog */
.acq-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.acq-modal-dialog {
  position: relative;
  background: #FFFFFF;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.acq-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: #64748B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.acq-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.acq-modal-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.acq-modal-badge.demo {
  background: #D1FAE5;
  color: #065F46;
}

.acq-modal-badge.pdf {
  background: #E0E7FF;
  color: #4338CA;
}

.acq-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.3;
}

.acq-modal-body {
  text-align: left;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
  background: #F8FAFC;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.acq-modal-body p {
  margin: 0 0 8px 0;
}

.acq-modal-body p:last-child {
  margin-bottom: 0;
}

.acq-modal-kit-note {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #CBD5E1;
  font-size: 12.5px;
  color: #64748B;
}

.acq-modal-btn-disabled {
  width: 100%;
  padding: 14px 20px;
  background: #94A3B8;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
  opacity: 0.85;
}

/* PDF Purchase Form & Result Modal Styles */
.acq-form-group {
  margin-bottom: 12px;
  text-align: left;
}

.acq-form-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
  display: block;
}

.acq-form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  outline: none;
  background: #FFFFFF;
  color: #0F172A;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.acq-form-input:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.acq-form-hint {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.4;
}

.acq-delivery-notice {
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
  margin-top: 6px;
  text-align: left;
}

.acq-delivery-notice.confirm-step {
  margin-top: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.acq-delivery-notice-main {
  font-weight: 500;
  color: #1E293B;
}

.acq-delivery-notice-sub {
  font-size: 11px;
  color: #64748B;
  margin-top: 2px;
}

.acq-error-box {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.acq-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  text-align: left;
  font-size: 13.5px;
}

.acq-summary-row {
  border-bottom: 1px solid #E2E8F0;
}

.acq-summary-row:last-child {
  border-bottom: none;
}

.acq-summary-label {
  padding: 8px 4px;
  color: #64748B;
  font-weight: 600;
  width: 35%;
  vertical-align: top;
}

.acq-summary-val {
  padding: 8px 4px;
  color: #0F172A;
  font-weight: 700;
  word-break: break-all;
}

.acq-btn-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.acq-btn-secondary {
  flex: 1;
  padding: 13px 16px;
  background: #F1F5F9;
  color: #475569;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.acq-btn-secondary:hover {
  background: #E2E8F0;
}

.acq-btn-primary {
  flex: 2;
  padding: 13px 16px;
  background: #4F46E5;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.acq-btn-primary:hover:not(:disabled) {
  background: #4338CA;
}

.acq-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.acq-btn-download {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  padding: 14px 20px;
  background: #10B981;
  color: #FFFFFF;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: background 0.15s;
}

.acq-btn-download:hover {
  background: #059669;
}


