/* ==========================================================================
   SARAMANTHA PIJAMAS - IN-PAGE VISUAL CMS & MODO NAVIDAD STYLES
   ========================================================================== */

:root {
  --cms-primary: #D4467A;
  --cms-primary-light: #F472A8;
  --cms-primary-dark: #A8335E;
  --cms-wine: #691F4D;
  --cms-wine-dark: #4A1235;
  --cms-gold: #F5A623;
  --cms-cyan: #00E5FF;
  --cms-green: #25D366;
  --cms-dark: #0F0A0D;
  --cms-dark-card: #181116;
  --cms-surface: #FFFFFF;
  --cms-border: rgba(212, 70, 122, 0.35);
  --cms-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 70, 122, 0.25);
  --cms-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --cms-font-title: 'Cormorant Garamond', Georgia, serif;
}

/* 1. TOP CMS TOOLBAR */
#saramantha-cms-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(15, 10, 13, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-family: var(--cms-font);
  font-size: 13px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 2px 0 var(--cms-primary);
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

#saramantha-cms-bar * {
  box-sizing: border-box;
}

#saramantha-cms-bar.active {
  transform: translateY(0);
}

body.cms-active {
  padding-top: 56px !important;
}

body.cms-active .ticker-bar {
  position: sticky !important;
  top: 56px !important;
  z-index: 100 !important;
}

body.cms-active .navbar {
  position: sticky !important;
  top: 94px !important;
  z-index: 99 !important;
}

/* Brand & Status */
.cms-bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cms-brand-badge {
  background: linear-gradient(135deg, var(--cms-primary) 0%, var(--cms-wine) 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(212, 70, 122, 0.4);
}

.cms-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #D9C2CC;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 100px;
}

.cms-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: cmsPulse 2s infinite;
}

@keyframes cmsPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Toolbar Actions */
.cms-bar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.cms-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.cms-btn:hover {
  transform: translateY(-1px);
}

.cms-btn:active {
  transform: translateY(0);
}

/* Botón Toggle Modo Navidad */
.cms-btn-xmas {
  background: rgba(255, 23, 68, 0.15);
  color: #FF5252;
  border: 1px solid rgba(255, 82, 82, 0.35);
  font-weight: 800;
}

.cms-btn-xmas:hover {
  background: rgba(255, 23, 68, 0.28);
  color: #FFFFFF;
}

.cms-btn-xmas.xmas-active {
  background: linear-gradient(135deg, #D4467A 0%, #15803d 100%);
  color: #FFFFFF;
  border-color: #FFD700;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

.cms-btn-preview {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cms-btn-preview:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cms-btn-preview.active-preview {
  background: var(--cms-gold);
  color: #0F0A0D;
  font-weight: 800;
}

.cms-btn-draft {
  background: rgba(0, 229, 255, 0.14);
  color: #00E5FF;
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.cms-btn-draft:hover {
  background: rgba(0, 229, 255, 0.24);
  color: #ffffff;
}

.cms-btn-download {
  background: rgba(245, 166, 35, 0.14);
  color: #F5A623;
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.cms-btn-download:hover {
  background: rgba(245, 166, 35, 0.24);
  color: #ffffff;
}

.cms-btn-publish {
  background: linear-gradient(135deg, var(--cms-primary) 0%, var(--cms-wine) 100%);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(212, 70, 122, 0.45);
}

.cms-btn-publish:hover {
  box-shadow: 0 6px 22px rgba(212, 70, 122, 0.65);
  color: #ffffff;
}

.cms-btn-settings {
  background: transparent;
  color: #D9C2CC;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cms-btn-settings:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cms-btn-exit {
  background: transparent;
  color: #ff6b81;
  padding: 7px 10px;
  border: 1px solid rgba(255, 107, 129, 0.25);
}

.cms-btn-exit:hover {
  background: rgba(255, 107, 129, 0.15);
  color: #ff8597;
}

/* 2. EDITABLE ELEMENTS VISUAL FEEDBACK (ON HOVER ONLY) */
body.cms-active:not(.cms-preview-mode) [data-cms] {
  cursor: pointer !important;
  transition: outline 0.15s ease, box-shadow 0.15s ease !important;
}

body.cms-active:not(.cms-preview-mode) [data-cms]:not(.ticker-bar):hover {
  position: relative !important;
}

body.cms-active:not(.cms-preview-mode) [data-cms]:hover {
  outline: 2px dashed var(--cms-primary) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 14px rgba(212, 70, 122, 0.4) !important;
  border-radius: 6px !important;
}

body.cms-active:not(.cms-preview-mode) .ticker-bar:hover {
  outline: 2px dashed rgba(255, 255, 255, 0.8) !important;
  outline-offset: -2px !important;
}

body.cms-active:not(.cms-preview-mode) [data-cms]::after {
  content: "✏️ Editar";
  position: absolute;
  top: -12px;
  right: 6px;
  background: var(--cms-primary);
  color: #FFFFFF;
  font-family: var(--cms-font);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

body.cms-active:not(.cms-preview-mode) [data-cms-type="image"]::after {
  content: "🖼️ Cambiar Foto";
  background: var(--cms-wine);
}

body.cms-active:not(.cms-preview-mode) [data-cms-type="link"]::after {
  content: "🔗 Editar Enlace / Catálogo";
  background: #128C7E;
}

body.cms-active:not(.cms-preview-mode) [data-cms]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Product Card CMS hover */
body.cms-active:not(.cms-preview-mode) .product-card {
  cursor: pointer !important;
  transition: outline 0.15s ease, transform 0.2s ease !important;
  position: relative;
}

body.cms-active:not(.cms-preview-mode) .product-card:hover {
  outline: 2px dashed var(--cms-primary) !important;
  outline-offset: 4px !important;
  transform: translateY(-4px) !important;
}

body.cms-active:not(.cms-preview-mode) .product-card::after {
  content: "🛍️ Editar Pijama";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cms-wine);
  color: #FFFFFF;
  font-family: var(--cms-font);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

body.cms-active:not(.cms-preview-mode) .product-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Add product card */
.cms-add-product-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  border: 2px dashed var(--cms-primary);
  border-radius: 16px;
  background: rgba(212, 70, 122, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 30px 20px;
  text-align: center;
}

.cms-add-product-card:hover {
  background: rgba(212, 70, 122, 0.1);
  transform: translateY(-4px);
  border-color: var(--cms-primary-light);
  box-shadow: 0 10px 30px rgba(212, 70, 122, 0.2);
}

.cms-add-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cms-primary) 0%, var(--cms-wine) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(212, 70, 122, 0.4);
}

.cms-add-title {
  font-family: var(--cms-font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--cms-wine);
  margin-bottom: 6px;
}

.cms-add-desc {
  font-size: 13px;
  color: #7A5060;
  max-width: 200px;
}

/* 3. MODALS (Glassmorphism & Clean UI) */
.cms-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  font-family: var(--cms-font);
}

.cms-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cms-modal {
  background: var(--cms-surface);
  color: #2C1A22;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: var(--cms-shadow);
  overflow-y: auto;
  border: 2px solid var(--cms-border);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cms-modal-backdrop.active .cms-modal {
  transform: scale(1) translateY(0);
}

.cms-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid #F0DDE5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FDF5F8;
  border-radius: 18px 18px 0 0;
  flex-shrink: 0;
}

.cms-modal-title {
  font-family: var(--cms-font-title);
  font-size: 20px;
  font-weight: 800;
  color: #0F0A0D;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.cms-modal-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #7A5060;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.cms-modal-close:hover {
  background: rgba(212, 70, 122, 0.1);
  color: var(--cms-primary);
}

.cms-modal-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.cms-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cms-form-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7A5060;
}

.cms-form-input,
.cms-form-textarea,
.cms-form-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #E8D5DE;
  font-family: var(--cms-font);
  font-size: 14px;
  color: #2C1A22;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.cms-form-input:focus,
.cms-form-textarea:focus,
.cms-form-select:focus {
  outline: none;
  border-color: var(--cms-primary);
  box-shadow: 0 0 0 4px rgba(212, 70, 122, 0.12);
}

.cms-form-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.cms-form-help {
  font-size: 11.5px;
  color: #8C6A78;
  line-height: 1.4;
}

/* Badge Chips */
.cms-badge-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.cms-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  background: #F4E8EE;
  color: #691F4D;
  cursor: pointer;
  border: 1px solid #E8D5DE;
  transition: all 0.15s ease;
}

.cms-chip:hover {
  background: var(--cms-primary);
  color: white;
  border-color: var(--cms-primary);
}

.cms-chip.chip-xmas {
  background: linear-gradient(135deg, #15803d 0%, #047857 100%);
  color: white;
  border-color: #FFD700;
}

/* Quick link buttons (Catalogo digital vs WhatsApp) */
.cms-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.cms-quick-btn {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E8D5DE;
  background: #FAF3F6;
  color: #691F4D;
  transition: all 0.18s ease;
}

.cms-quick-btn:hover {
  background: var(--cms-wine);
  color: white;
  border-color: var(--cms-wine);
}

.cms-quick-btn.btn-catalog {
  background: rgba(212, 70, 122, 0.12);
  color: var(--cms-primary);
  border-color: rgba(212, 70, 122, 0.35);
  font-weight: 800;
}

.cms-quick-btn.btn-catalog:hover {
  background: var(--cms-primary);
  color: white;
}

.cms-quick-btn.btn-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border-color: rgba(37, 211, 102, 0.35);
}

.cms-quick-btn.btn-wa:hover {
  background: #25D366;
  color: white;
}

/* Image Selector Grid */
.cms-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  background: #FAF3F6;
  border-radius: 12px;
  border: 1px solid #E8D5DE;
}

.cms-gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

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

.cms-gallery-item:hover {
  transform: scale(1.04);
  border-color: var(--cms-primary-light);
}

.cms-gallery-item.selected {
  border-color: var(--cms-primary);
  box-shadow: 0 0 0 3px rgba(212, 70, 122, 0.35);
}

.cms-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 10, 13, 0.85);
  color: white;
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 4px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #F0DDE5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: #FDF5F8;
  border-radius: 0 0 18px 18px;
  flex-shrink: 0;
}

.cms-btn-cancel {
  background: #FFFFFF;
  color: #7A5060;
  border: 1px solid #D9C2CC;
}

.cms-btn-cancel:hover {
  background: #F5EBF0;
  color: #2C1A22;
}

.cms-btn-save {
  background: linear-gradient(135deg, var(--cms-primary) 0%, var(--cms-wine) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(212, 70, 122, 0.35);
}

.cms-btn-save:hover {
  box-shadow: 0 6px 18px rgba(212, 70, 122, 0.5);
  color: #ffffff;
}

/* 4. TOAST NOTIFICATIONS */
#cms-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000001;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  font-family: var(--cms-font);
}

.cms-toast {
  background: #0F0A0D;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-left: 4px solid var(--cms-primary);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  max-width: 360px;
}

.cms-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.cms-toast.success { border-left-color: #25D366; }
.cms-toast.error { border-left-color: #FF3B30; }
.cms-toast.warning { border-left-color: #F5A623; }
.cms-toast.info { border-left-color: #00E5FF; }

/* 5. FLOATING TRIGGER BUTTON */
#cms-floating-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 10, 13, 0.94);
  color: #FFFFFF;
  border: 1px solid rgba(212, 70, 122, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 14px rgba(212, 70, 122, 0.25);
  border-radius: 100px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cms-font);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  z-index: 99990;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

#cms-floating-trigger:hover {
  background: var(--cms-wine);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(105, 31, 77, 0.45);
}

body.cms-active #cms-floating-trigger {
  display: none !important;
}

/* ==========================================================================
   6. MODO NAVIDAD (CHRISTMAS MODE) ENGINE
   ========================================================================== */

/* Cuando Modo Navidad NO está activo, se ocultan todos los elementos navideños */
body:not(.modo-navidad) .xmas-only,
body:not(.modo-navidad) .xmas-lights-garland,
body:not(.modo-navidad) .xmas-badge,
body:not(.modo-navidad) #snowCanvas {
  display: none !important;
}

.hero,
.catalogo-cta-section {
  position: relative !important;
}

/* Guirnalda luminosa horizontal (idéntica a Sublimados Majestic) */
.xmas-lights-garland {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-around !important;
  align-items: flex-start !important;
  pointer-events: none !important;
  z-index: 25 !important;
  height: 36px !important;
  overflow: visible !important;
  border-top: 2px solid rgba(40, 40, 40, 0.35) !important;
  box-sizing: border-box !important;
}

.xmas-light {
  position: relative !important;
  width: 11px !important;
  height: 22px !important;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40% !important;
  margin: 0 !important;
  list-style: none !important;
  display: block !important;
  flex-shrink: 0 !important;
  animation-iteration-count: infinite !important;
  animation-fill-mode: both !important;
}

.xmas-light::before {
  content: '' !important;
  position: absolute !important;
  top: -5px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 5px !important;
  height: 5px !important;
  background: #2a2a2a !important;
  border-radius: 2px 2px 0 0 !important;
}

.xmas-light.gold   { background: #ffcc00 !important; box-shadow: 0 3px 15px 4px rgba(255,204,0,.85) !important; animation: xmasTwinkle2 1.5s ease-in-out infinite alternate .3s !important; }
.xmas-light.pink   { background: #ff2d88 !important; box-shadow: 0 3px 15px 4px rgba(255,45,136,.85) !important; animation: xmasTwinkle1 1.2s ease-in-out infinite alternate !important; }
.xmas-light.green  { background: #00e676 !important; box-shadow: 0 3px 15px 4px rgba(0,230,118,.85) !important; animation: xmasTwinkle3 1.3s ease-in-out infinite alternate .6s !important; }
.xmas-light.white  { background: #ffffff !important; box-shadow: 0 3px 15px 4px rgba(255,255,255,.9) !important;  animation: xmasTwinkle1 1.7s ease-in-out infinite alternate .2s !important; }
.xmas-light.cyan   { background: #00e5ff !important; box-shadow: 0 3px 15px 4px rgba(0,229,255,.85) !important; animation: xmasTwinkle2 1.4s ease-in-out infinite alternate .5s !important; }
.xmas-light.red    { background: #ff1744 !important; box-shadow: 0 3px 15px 4px rgba(255,23,68,.85) !important;  animation: xmasTwinkle3 1.6s ease-in-out infinite alternate .4s !important; }

@keyframes xmasTwinkle1 {
  0% { opacity: .35; filter: brightness(.7); }
  100% { opacity: 1; filter: brightness(1.35); }
}

@keyframes xmasTwinkle2 {
  0% { opacity: 1; filter: brightness(1.3); }
  100% { opacity: .3; filter: brightness(.65); }
}

@keyframes xmasTwinkle3 {
  0% { opacity: .45; filter: brightness(.8); }
  50% { opacity: 1; filter: brightness(1.4); }
  100% { opacity: .5; filter: brightness(.85); }
}

/* Badge Navideño */
.xmas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #A8335E 0%, #D4467A 50%, #C41E3A 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(212,70,122,.45), 0 0 10px rgba(255, 204, 0, 0.3);
  z-index: 5;
  border: 1px solid rgba(255,255,255,.45);
  margin-bottom: 10px;
}

/* Canvas de Nieve Bokeh */
#snowCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
  display: none;
}

body.modo-navidad #snowCanvas {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #saramantha-cms-bar {
    height: auto;
    padding: 10px 14px;
    flex-direction: column;
    gap: 8px;
  }

  body.cms-active {
    padding-top: 105px !important;
  }

  body.cms-active .ticker-bar {
    top: 105px !important;
  }

  body.cms-active .navbar {
    top: 143px !important;
  }

  .cms-bar-actions {
    justify-content: center;
    width: 100%;
  }

  #cms-floating-trigger {
    bottom: 80px; /* Above sticky mobile bar */
    left: 14px;
    padding: 8px 12px;
    font-size: 11px;
  }
}


/* ==========================================================================
   SECCIÓN INSTAGRAM (MURO EN VIVO) - SARAMANTHA PIJAMAS
   ========================================================================== */
.social-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF5F8 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.insta-box-card {
  max-width: 980px;
  margin: 36px auto 0;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(105, 31, 77, 0.12), 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(212, 70, 122, 0.22);
  overflow: hidden;
}

.insta-box-topbar {
  padding: 12px 24px;
  background: #FAF0F4;
  border-bottom: 1px solid #F4E4EC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #691F4D;
  font-weight: 600;
}

.insta-box-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.insta-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: instaLivePulse 1.8s infinite;
  display: inline-block;
}

@keyframes instaLivePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.insta-box-topbar-handle {
  color: #D4467A;
  font-weight: 800;
}

.insta-box-open-app {
  color: #D4467A;
  text-decoration: none;
  font-weight: 800;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s, transform 0.15s;
}

.insta-box-open-app:hover {
  color: #A8335E;
  transform: translateX(2px);
}

.insta-box-profile-header {
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-bottom: 1px solid #F4E4EC;
  flex-wrap: wrap;
  gap: 16px;
}

.insta-box-profile-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.insta-box-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.25);
}

.insta-box-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  display: block;
}

.insta-box-username {
  font-size: 18px;
  font-weight: 800;
  color: #0F0A0D;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.insta-verified-badge {
  color: #0095f6;
  display: inline-flex;
}

.insta-box-subname {
  font-size: 14px;
  font-weight: 600;
  color: #4F3844;
  margin-top: 3px;
  line-height: 1.3;
}

.insta-box-follow-btn {
  background: linear-gradient(135deg, #D4467A 0%, #691F4D 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(212, 70, 122, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.insta-box-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 70, 122, 0.5);
  color: #FFFFFF;
}

.insta-box-widget-wrap {
  padding: 18px;
  background: #FFFFFF;
  min-height: 480px;
}

.insta-box-footer-bar {
  padding: 14px 24px;
  background: #FAF0F4;
  border-top: 1px solid #F4E4EC;
  text-align: center;
}

.insta-box-footer-link {
  color: #691F4D;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.insta-box-footer-link:hover {
  color: #D4467A;
}

@media (max-width: 640px) {
  .insta-box-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .insta-box-follow-btn {
    width: 100%;
    justify-content: center;
  }
}
