/* ==========================================================
   SHOPIFY POLARIS THEME CUSTOMIZER - STYLESHEET
   Noel's Shop Official Visual Builder (noelsshop.com)
   ========================================================== */

:root {
  /* POLARIS DESIGN TOKENS */
  --p-color-bg-app: #f1f2f4;
  --p-color-bg-surface: #ffffff;
  --p-color-bg-surface-secondary: #f7f7f8;
  --p-color-bg-surface-hover: #f1f2f3;
  --p-color-bg-surface-active: #e4e5e7;
  --p-color-text: #202223;
  --p-color-text-subdued: #6d7175;
  --p-color-border: #d2d5d8;
  --p-color-border-subdued: #e1e3e5;
  --p-color-interactive: #005bd3;
  --p-color-interactive-hover: #004299;
  --p-color-critical: #d82c0d;
  --p-color-success: #008060;
  --p-color-success-hover: #006e52;

  /* BRAND TOKENS */
  --christmas-red: #c9182b;
  --christmas-red-hover: #a51221;
  --christmas-gold: #d97706;
  --font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, Helvetica, sans-serif;
  --radius-base: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
}

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

body.shopify-builder-body {
  font-family: var(--font-family);
  background: var(--p-color-bg-app);
  color: var(--p-color-text);
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================
   TOPBAR SHOPIFY POLARIS (HEADER)
   ========================================================== */
.shopify-topbar {
  height: 56px;
  background: #1a1a1a;
  border-bottom: 1px solid #2e2e2e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #ffffff;
  z-index: 1000;
  flex-shrink: 0;
}

.topbar-left, .topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-back-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #262626;
  border: 1px solid #3d3d3d;
  color: #e5e5e5;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.topbar-back-admin-btn:hover {
  background: #333333;
  color: #ffffff;
  border-color: #555555;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.topbar-product-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f4f6;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-product-indicator #topbarProductName {
  color: #38bdf8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
  display: inline-block;
  vertical-align: bottom;
}

.shopify-store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #262626;
  border: 1px solid #383838;
}

.shopify-bag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.store-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.2px;
}

.store-status-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.topbar-divider {
  width: 1px;
  height: 22px;
  background: #333333;
}

.shopify-page-select {
  background: #262626;
  color: #ffffff;
  border: 1px solid #383838;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.shopify-page-select:focus {
  border-color: #005bd3;
}

.device-switcher {
  display: flex;
  background: #262626;
  border: 1px solid #383838;
  border-radius: 6px;
  padding: 2px;
}

.device-btn {
  background: transparent;
  border: none;
  color: #999999;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.device-btn:hover {
  color: #ffffff;
}

.device-btn.active {
  background: #383838;
  color: #ffffff;
  font-weight: 600;
}

.country-pill-select select {
  background: #262626;
  color: #ffffff;
  border: 1px solid #383838;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.icon-tool-btn {
  background: transparent;
  border: none;
  color: #999999;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tool-btn:hover:not(:disabled) {
  background: #262626;
  color: #ffffff;
}

.icon-tool-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.text-link-btn {
  color: #cccccc;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 4px;
}

.text-link-btn:hover {
  background: #262626;
  color: #ffffff;
}

.shopify-save-btn {
  background: var(--p-color-success);
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.shopify-save-btn:hover {
  background: var(--p-color-success-hover);
}

.shopify-publish-btn {
  background: var(--christmas-red);
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.shopify-publish-btn:hover {
  background: var(--christmas-red-hover);
}

/* ==========================================================
   WORKSPACE & SIDEBAR
   ========================================================== */
.shopify-workspace {
  display: flex;
  height: calc(100vh - 56px);
  overflow: hidden;
  background: var(--p-color-bg-app);
}

.shopify-sidebar {
  width: 380px;
  background: var(--p-color-bg-surface);
  border-right: 1px solid var(--p-color-border-subdued);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.sidebar-tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--p-color-border-subdued);
  background: #fafbfb;
}

.tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--p-color-text-subdued);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--p-color-text);
  background: #f4f5f6;
}

.tab-btn.active {
  color: var(--p-color-interactive);
  border-bottom-color: var(--p-color-interactive);
  font-weight: 600;
  background: #ffffff;
}

.sidebar-view {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-view.active {
  display: flex;
}

.sections-tree-scrollable,
.inspector-body-scrollable,
.theme-settings-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

/* ==========================================================
   ÁRBOL DE SECCIONES POLARIS
   ========================================================== */
.tree-group {
  margin-bottom: 16px;
}

.tree-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
}

.group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--p-color-text-subdued);
}

.group-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--p-color-text-subdued);
  background: var(--p-color-bg-app);
  padding: 1px 6px;
  border-radius: 10px;
}

.tree-items-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.tree-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-base);
  background: transparent;
  cursor: grab;
  user-select: none;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.tree-item:hover {
  background: var(--p-color-bg-surface-hover);
}

.tree-item:active {
  cursor: grabbing;
}

.tree-item.is-dragging {
  opacity: 0.35;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  transform: scale(0.98);
}

.tree-item.drag-over-top::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 4px;
  right: 4px;
  height: 3px;
  background: #2563eb;
  border-radius: 3px;
  z-index: 10;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.7);
}

.tree-item.drag-over-bottom::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 4px;
  right: 4px;
  height: 3px;
  background: #2563eb;
  border-radius: 3px;
  z-index: 10;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.7);
}

.tree-items-list.drag-over-container {
  background: rgba(37, 99, 235, 0.04);
  border-radius: 8px;
  outline: 2px dashed #93c5fd;
  min-height: 40px;
}

.tree-item.active {
  background: #edf3fc;
  color: var(--p-color-interactive);
  font-weight: 600;
}

.tree-item.active .tree-item-title {
  color: var(--p-color-interactive);
  font-weight: 600;
}

.tree-item.active .tree-item-badge {
  background: #dbe8fa;
}

.tree-item-drag {
  color: #a4a8ad;
  cursor: grab;
  padding: 2px 6px 2px 0;
  font-size: 14px;
  line-height: 1;
}

.tree-item-drag:hover {
  color: var(--p-color-text);
}

.tree-item-badge {
  font-size: 13px;
  background: var(--p-color-bg-app);
  padding: 4px 6px;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tree-item-title {
  flex: 1;
  font-size: 13px;
  color: var(--p-color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
}

.tree-item:hover .tree-item-actions {
  opacity: 1;
}

.tree-item-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: var(--p-color-text-subdued);
  display: flex;
  align-items: center;
}

.tree-item-btn:hover {
  background: var(--p-color-bg-surface-active);
  color: var(--p-color-text);
}

.tree-item-btn.danger {
  color: #475569;
  font-size: 11px;
  transition: all 0.15s ease;
}

.tree-item-btn.danger:hover {
  background: #fee2e2;
  color: #dc2626;
}

.shopify-add-section-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 10px 14px;
  background: #f7f7f8;
  border: 1px dashed var(--p-color-border);
  border-radius: var(--radius-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--p-color-interactive);
  cursor: pointer;
  transition: all 0.15s ease;
}

.shopify-add-section-btn:hover {
  background: #edf3fc;
  border-color: var(--p-color-interactive);
}

.sidebar-footer-tip {
  padding: 12px 16px;
  border-top: 1px solid var(--p-color-border-subdued);
  font-size: 12px;
  color: var(--p-color-text-subdued);
  background: #fafbfb;
}

/* ==========================================================
   INSPECTOR DE PROPIEDADES (SHOPIFY SECTION SETTINGS)
   ========================================================== */
.inspector-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--p-color-border-subdued);
  background: #ffffff;
}

.btn-inspector-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-color-interactive);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  margin-right: 12px;
}

.btn-inspector-back:hover {
  background: #edf3fc;
}

.inspector-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.btn-inspector-header-del {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 6px;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-inspector-header-del:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

.inspector-badge {
  font-size: 15px;
}

.inspector-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--p-color-text);
}

.inspector-body-scrollable {
  padding: 16px;
}

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

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-color-text);
  margin-bottom: 6px;
}

.field-group input[type='text'],
.field-group input[type='number'],
.field-group textarea,
.field-group select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  font-family: inherit;
  color: var(--p-color-text);
  background: #ffffff;
  outline: none;
  transition: all 0.15s ease;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--p-color-interactive);
  box-shadow: 0 0 0 1px var(--p-color-interactive);
}

.field-group textarea {
  min-height: 72px;
  resize: vertical;
}

/* ==========================================================
   SHOPIFY POLARIS - IMAGE & GALLERY UPLOAD CONTROLS
   ========================================================== */
.polaris-image-field {
  background: #fafbfb;
  border: 1px solid var(--p-color-border-subdued);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
}

.polaris-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.polaris-field-header label {
  font-size: 12px;
  font-weight: 700;
  color: var(--p-color-text);
  margin: 0;
}

.polaris-badge-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: #e4e5e7;
  color: #4a4d52;
}

.polaris-badge-pill.primary {
  background: #e3f1df;
  color: #108043;
}

.polaris-img-preview-box {
  position: relative;
  width: 100%;
  height: 150px;
  background: #f1f2f4;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaris-img-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaris-img-preview-box.empty {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  color: #334155;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.polaris-img-actions-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.polaris-btn-upload,
.polaris-btn-lib,
.polaris-btn-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 8px;
  border-radius: 6px;
  border: 1px solid var(--p-color-border);
  background: #ffffff;
  color: var(--p-color-text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.polaris-btn-upload {
  background: #008060;
  color: #ffffff;
  border-color: #008060;
}

.polaris-btn-upload:hover {
  background: #006e52;
}

.polaris-btn-lib:hover,
.polaris-btn-link:hover {
  background: #f4f5f6;
  border-color: #babfc3;
}

.polaris-url-input-wrap {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}

.polaris-url-input-wrap input {
  flex: 1;
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid var(--p-color-border);
  border-radius: 4px;
}

/* GESTOR DE GALERÍA MULTIPLE */
.polaris-gallery-uploader {
  background: #ffffff;
  border: 1px solid var(--p-color-border-subdued);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.polaris-dropzone {
  border: 2px dashed #c9cccf;
  background: #fbfcfd;
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-bottom: 12px;
}

.polaris-dropzone:hover {
  border-color: #008060;
  background: #f7faf8;
}

.polaris-dropzone.is-dragover {
  border-color: #008060;
  background: #eef7f2;
  transform: scale(1.01);
}

.dropzone-icon {
  font-size: 26px;
  margin-bottom: 4px;
  display: block;
}

.dropzone-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--p-color-text);
  display: block;
}

.dropzone-title span {
  color: #008060;
  text-decoration: underline;
}

.dropzone-subtitle {
  font-size: 11px;
  color: var(--p-color-text-subdued);
  margin-top: 2px;
  display: block;
}

.polaris-gallery-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.polaris-gallery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: #f9fafb;
  border: 1px solid #e1e3e5;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.polaris-gallery-item:hover {
  border-color: #babfc3;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.polaris-gallery-item.is-main {
  border-color: #aee9d1;
  background: #f6fcf9;
}

.polaris-gallery-thumb {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #e1e3e5;
  flex-shrink: 0;
  background: #fff;
}

.polaris-gallery-meta {
  flex: 1;
  min-width: 0;
}

.gallery-filename-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--p-color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.gallery-meta-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.badge-main-tag {
  font-size: 10px;
  font-weight: 700;
  color: #008060;
  background: #e3f1df;
  padding: 1px 6px;
  border-radius: 10px;
}

.polaris-item-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.btn-item-action {
  background: transparent;
  border: 1px solid transparent;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  color: #5c5f62;
  transition: all 0.12s ease;
}

.btn-item-action:hover {
  background: #e4e5e7;
  color: #202223;
}

.btn-item-action.danger:hover {
  background: #fed3d1;
  color: #bf0711;
}

.btn-set-main {
  font-size: 10.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #c9cccf;
  padding: 3px 6px;
  border-radius: 4px;
  color: #202223;
  cursor: pointer;
}

.btn-set-main:hover {
  background: #f4f5f6;
  border-color: #008060;
  color: #008060;
}

/* BIBLIOTECA DE MEDIOS MODAL */
.media-library-toolbar {
  padding: 12px 20px;
  background: #fafbfb;
  border-bottom: 1px solid var(--p-color-border-subdued);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.media-library-count {
  font-size: 12px;
  color: var(--p-color-text-subdued);
  font-weight: 500;
}

.media-library-grid-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  padding: 20px;
  max-height: 440px;
  overflow-y: auto;
}

.media-library-card {
  border: 1px solid var(--p-color-border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
}

.media-library-card:hover {
  border-color: #008060;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.media-library-thumb-wrap {
  width: 100%;
  height: 110px;
  background: #f4f5f6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-library-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-library-info {
  padding: 6px 8px;
  background: #ffffff;
}

.media-library-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--p-color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.media-library-meta {
  font-size: 10px;
  color: var(--p-color-text-subdued);
  margin-top: 2px;
}

/* ==========================================================
   SHOPIFY POLARIS - BUNDLES & ITEM EDITORS
   ========================================================== */
.polaris-card-section {
  background: #ffffff;
  border: 1px solid var(--p-color-border-subdued);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.polaris-card-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--p-color-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--p-color-border-subdued);
}

.polaris-slider-group {
  margin-bottom: 14px;
}

.polaris-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.polaris-slider-header label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--p-color-text);
}

.polaris-val-badge {
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  background: #f1f2f4;
  padding: 2px 7px;
  border-radius: 4px;
  color: #1e293b;
}

.polaris-range-slider {
  width: 100%;
  height: 6px;
  accent-color: #008060;
  cursor: pointer;
}

.polaris-color-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.polaris-color-picker-row label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--p-color-text);
}

.polaris-color-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.polaris-color-input-wrap input[type="color"] {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--p-color-border);
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
}

.polaris-color-hex {
  font-size: 11px;
  font-family: monospace;
  color: #334155;
  width: 60px;
}

/* PALETA RÁPIDA DE PRESETS DE COLOR */
.polaris-color-presets {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.polaris-color-swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
  outline: none;
}

.polaris-color-swatch-btn:hover {
  transform: scale(1.18);
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* CONTROL SEGMENTADO ESTILO POLARIS */
.polaris-segmented-row {
  display: flex;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  margin-bottom: 14px;
}

.polaris-segmented-btn {
  flex: 1;
  padding: 6px 6px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  outline: none;
}

.polaris-segmented-btn:hover {
  color: #0f172a;
}

.polaris-segmented-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* BARRA DE EMOJIS RÁPIDOS */
.polaris-emoji-bar {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.polaris-emoji-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
}

.polaris-emoji-btn:hover {
  background: #ffffff;
  border-color: #c9182b;
  transform: scale(1.12);
}

/* ANIMACIONES PARA BANNERS Y ANUNCIOS */
@keyframes bannerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.94; transform: scale(0.992); }
}

.announcement-bar-wrap.anim-pulse {
  animation: bannerPulse 2.4s infinite ease-in-out;
}

@keyframes bannerShimmer {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.22); }
  100% { filter: brightness(1); }
}

.announcement-bar-wrap.anim-shimmer {
  animation: bannerShimmer 2.2s infinite ease-in-out;
}

/* ==========================================================
   CINTA / SLIDER DE TEXTO EN MOVIMIENTO INFINITO (MARQUEE)
   ========================================================== */
.marquee-section-wrap {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  user-select: none;
}

.marquee-track-wrap {
  display: flex;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}

.marquee-track.pause-on-hover:hover {
  animation-play-state: paused !important;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.marquee-separator {
  display: inline-block;
  opacity: 0.65;
  font-size: 0.85em;
  line-height: 1;
}

@keyframes marquee-infinite-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}


/* Tarjeta individual de bundle */
.bundle-item-card {
  background: #fafbfb;
  border: 1px solid var(--p-color-border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  position: relative;
  transition: all 0.15s ease;
}

.bundle-item-card:hover {
  border-color: #babfc3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bundle-item-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--p-color-border-subdued);
}

.bundle-item-title-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--p-color-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bundle-badge-config-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  margin: 8px 0;
}

.badge-presets-row {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.badge-preset-btn {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.badge-preset-btn:hover {
  transform: scale(1.05);
}

.polaris-add-btn {
  width: 100%;
  padding: 8px 12px;
  background: #f1f8f5;
  border: 1px dashed #008060;
  border-radius: 6px;
  color: #008060;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.polaris-add-btn:hover {
  background: #e3f1df;
}

.toggle-switch-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.inspector-footer-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--p-color-border-subdued);
  background: #fafbfb;
}

.inspector-action-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.inspector-action-btn:hover {
  background: #f4f5f6;
}

.inspector-action-btn.danger {
  color: var(--p-color-critical);
  border-color: #f7c9c2;
}

.inspector-action-btn.danger:hover {
  background: #fdf3f2;
}

/* ==========================================================
   AJUSTES DEL TEMA (THEME SETTINGS)
   ========================================================== */
.theme-settings-scrollable {
  padding: 16px;
}

.settings-group {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--p-color-border-subdued);
}

.settings-group:last-child {
  border-bottom: none;
}

.settings-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--p-color-text);
  margin-bottom: 12px;
}

.setting-field {
  margin-bottom: 12px;
}

.setting-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--p-color-text-subdued);
  margin-bottom: 6px;
}

.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-row input[type='color'] {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.color-hex-label {
  font-size: 12px;
  font-family: monospace;
  color: var(--p-color-text);
  font-weight: 600;
}

.setting-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.setting-toggle-row strong {
  display: block;
  font-size: 13px;
}

.setting-toggle-row p {
  font-size: 11px;
  color: var(--p-color-text-subdued);
}

.shopify-toggle {
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.shopify-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  font-size: 13px;
}

.shopify-secondary-btn {
  width: 100%;
  padding: 9px 14px;
  background: #ffffff;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-color-text);
  cursor: pointer;
}

.shopify-secondary-btn:hover {
  background: #f4f5f6;
}

.shopify-secondary-btn.danger {
  color: var(--p-color-critical);
}

/* ==========================================================
   WORKBENCH LIENZO (CANVAS DE PREVIEW)
   ========================================================== */
.shopify-workbench {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 16px;
  background: var(--p-color-bg-app);
}

/* MARCO MÓVIL POR DEFECTO (IPHONE STYLE) */
.workbench-viewport-container {
  width: 390px;
  height: min(844px, calc(100vh - 84px));
  max-height: 844px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16), 0 0 0 10px #1e1e1e;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

/* CONTENEDOR CON SCROLL INTERNO DENTRO DEL TELÉFONO */
.canvas-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  padding-bottom: 75px; /* Espacio para que el botón flotante no tape el footer */
}

.canvas-scroll-area::-webkit-scrollbar {
  width: 5px;
}
.canvas-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}
.canvas-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* MODO ESCRITORIO */
body.desktop-preview-mode .workbench-viewport-container {
  width: 100%;
  max-width: 1140px;
  height: calc(100vh - 84px);
  max-height: none;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.desktop-preview-mode .mobile-notch-bar {
  display: none;
}

/* ==========================================================
   PRODUCT HERO WRAP (DESKTOP PC VS MODO TELÉFONO)
   ========================================================== */
/* MODO TELÉFONO (POR DEFECTO): NO ALTERAR MODO TELÉFONO (display: contents hace que el contenedor no afecte el flujo) */
.desktop-product-hero-wrap,
.desktop-hero-gallery-col,
.desktop-hero-details-col {
  display: contents !important;
}

/* MODO ESCRITORIO (PC PREVIEW): CUADRÍCULA DE 2 COLUMNAS ESTILO SHOPIFY */
body.desktop-preview-mode .desktop-product-hero-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-product-hero-wrap {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  gap: 48px !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 32px 24px 48px !important;
  align-items: start !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col {
  display: flex !important;
  flex-direction: column !important;
  position: sticky !important;
  top: 20px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.desktop-preview-mode .desktop-hero-details-col,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  min-width: 0 !important;
  width: 100% !important;
}

/* Ajustes limpios de ficha de producto en PC */
body.desktop-preview-mode .desktop-hero-details-col .pricing-section-wrap,
body.desktop-preview-mode .desktop-hero-details-col .bundles-section-wrap,
body.desktop-preview-mode .desktop-hero-details-col .checkout-section-wrap,
body.desktop-preview-mode .desktop-hero-details-col .reviews-section-wrap,
body.desktop-preview-mode .desktop-hero-details-col .trust-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .pricing-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .bundles-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .checkout-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .reviews-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .trust-section-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  border-bottom: none !important;
}

/* Galería en PC: cuadrado perfecto, miniaturas en cuadrícula de 5 columnas abajo */
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap {
  padding: 0 !important;
  border-bottom: none !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-main-img-box,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-main-img-box {
  aspect-ratio: 1 / 1 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  width: 100% !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-main-img-box img,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-main-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-thumbs-row,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-thumbs-row {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 10px !important;
  margin-top: 14px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-thumb,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  object-fit: cover !important;
  cursor: pointer !important;
  opacity: 0.75 !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-thumb:hover,
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-thumb.active,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-thumb:hover,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-thumb.active {
  border-color: #0f172a !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-dots-row,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-dots-row {
  display: none !important;
}

body.desktop-preview-mode .desktop-hero-gallery-col .gallery-tag-pill,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-tag-pill {
  display: none !important;
}

/* Banner superior de producto en Móvil y PC */
.product-tag-banner {
  background: #f59e0b;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  width: fit-content;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.product-tag-banner.tag-fullwidth {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-tag-banner .product-tag-icon {
  font-size: 14px;
  line-height: 1;
}

.product-tag-banner .product-tag-text {
  line-height: 1.3;
}

.product-tag-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
}

.product-tag-timer-badge {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  animation: pulseTimerBadge 2s infinite ease-in-out;
}

/* Botón CTA en PC */
body.desktop-preview-mode .desktop-hero-details-col .checkout-fast-btn,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-details-col .checkout-fast-btn {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
}

/* MODO CLIENTE COMPLETO */
body.fullscreen-mode .shopify-sidebar {
  display: none;
}

body.fullscreen-mode .shopify-topbar {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
}

/* NOTCH BAR */
.mobile-notch-bar {
  height: 38px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  user-select: none;
}

.notch-cutout {
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 0 0 12px 12px;
}

.notch-icons {
  display: flex;
  gap: 4px;
  font-size: 11px;
}

/* BANNER DE DETECCIÓN GEO (OCULTO / DESACTIVADO) */
.country-detect-banner {
  display: none !important;
}

/* SECCIONES EN EL LIENZO */
.canvas-sections-container {
  background: #ffffff;
}

.canvas-section {
  position: relative;
  transition: outline 0.15s ease;
}

.canvas-section:hover {
  outline: 2px dashed var(--p-color-interactive);
  outline-offset: -2px;
}

.canvas-section.active-inspect {
  outline: 2px solid var(--p-color-interactive) !important;
  outline-offset: -2px;
}

.canvas-section-hover-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--p-color-interactive);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: none;
  align-items: center;
  gap: 6px;
  z-index: 50;
  pointer-events: auto;
}

.canvas-section:hover .canvas-section-hover-tag,
.canvas-section.active-inspect .canvas-section-hover-tag {
  display: inline-flex;
}

.canvas-hover-del-btn {
  background: rgba(0, 0, 0, 0.25);
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.canvas-hover-del-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================
   ESTILOS DE CADA SECCIÓN (ALTA CONVERSIÓN DROPSHIPPING)
   ========================================================== */
/* 0. Store Header (E-commerce Shopify Mobile Header) */
.store-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* STICKY HEADER WRAPPER Y COMPORTAMIENTO FIJO AL SCROLL */
.canvas-section.is-sticky-header-section {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  width: 100% !important;
}

.canvas-section.is-sticky-header-section .store-header-wrap,
.store-header-wrap.is-sticky {
  position: relative;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

body.storefront-live-mode .canvas-section.is-sticky-header-section {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
}

.store-header-left,
.store-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.store-header-left {
  justify-content: flex-start;
}

.store-header-right {
  justify-content: flex-end;
}

.store-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-header-icon-btn {
  background: transparent;
  border: none;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.store-header-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.08);
}

.store-header-icon-btn svg {
  display: block;
}

/* BOTÓN SELECTOR DE IDIOMA Y MENÚ LATERAL HAMBURGUESA */
.store-lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 20px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
  margin-right: 2px;
}

.store-lang-switch-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.store-lang-flag {
  font-size: 13px;
  line-height: 1;
}

.store-lang-text {
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 800;
}

/* DRAWER DEL MENÚ HAMBURGUESA (RASTREO + IDIOMA + NAVEGACIÓN) */
.store-mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(3px);
  z-index: 10050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

body.storefront-live-mode .store-mobile-menu-overlay {
  position: fixed;
}

.store-mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.store-mobile-menu-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86%, 320px);
  background: #ffffff;
  z-index: 10051;
  box-shadow: 10px 0 32px rgba(15, 23, 42, 0.22);
  transform: translateX(-102%);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.storefront-live-mode .store-mobile-menu-drawer {
  position: fixed;
}

.store-mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.store-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.store-mobile-menu-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-mobile-menu-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.store-mobile-menu-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
}

.store-mobile-menu-card-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.store-mobile-menu-card-btn:hover {
  background: #e0f2fe;
  transform: translateY(-1px);
}

.store-mobile-menu-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.store-mobile-menu-lang-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}

.store-mobile-lang-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.store-mobile-lang-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.store-mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-mobile-menu-link-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease;
}

.store-mobile-menu-link-item:hover {
  background: #f8fafc;
}

/* Ocultar barra superior y globos de Google Translate para mantener el diseño impecable */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.skiptranslate,
.goog-te-gadget {
  display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.store-header-cart-wrap {
  position: relative;
  display: inline-flex;
}

.store-header-cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* LOGO STYLES */
.store-logo-img {
  display: block;
  max-width: 230px;
  object-fit: contain;
  transition: all 0.2s ease;
}

.store-logo-img.is-round {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-logo-img.is-square {
  border-radius: 8px;
}

.store-logo-text {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}

/* 1. Announcement */
.announcement-bar-wrap {
  background: var(--christmas-red);
  color: #ffffff;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* 2. Urgency Timer */
.urgency-timer-wrap {
  background: #fff1f2;
  border-bottom: 1px solid #ffe4e6;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.urgency-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--christmas-red);
}

.countdown-box {
  background: var(--christmas-red);
  color: #ffffff;
  font-family: monospace;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* 3. Gallery */
.gallery-section-wrap {
  padding: 14px;
  background: #ffffff;
}

.gallery-tag-pill {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.gallery-main-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  user-select: none;
  touch-action: pan-y;
}

.gallery-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.gallery-main-img-box img.img-switching {
  opacity: 0.25;
  transform: scale(0.97);
}

/* FLECHAS DE NAVEGACIÓN EN LA FOTO */
.gallery-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  outline: none;
  padding: 0;
}

.gallery-nav-arrow:hover {
  background: #ffffff;
  color: #c9182b;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(201, 24, 43, 0.25);
  border-color: rgba(201, 24, 43, 0.2);
}

.gallery-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav-arrow.prev {
  left: 12px;
}

.gallery-nav-arrow.next {
  right: 12px;
}

/* BADGE CONTADOR DE FOTOS (1 / 6) */
.gallery-counter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* PUNTOS INDICADORES */
.gallery-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-dot.active {
  background: var(--christmas-red);
  width: 20px;
  border-radius: 6px;
}

/* BARRA DE MINIATURAS (SIN BARRA DE SCROLL FEA) */
.gallery-thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.gallery-thumbs-row::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
}

.gallery-thumb.active {
  border-color: var(--christmas-red);
  box-shadow: 0 2px 8px rgba(201, 24, 43, 0.2);
}

/* 4. Pricing & Product Meta */
.pricing-section-wrap {
  padding: 16px 14px;
  border-bottom: 1px solid #f1f5f9;
  box-sizing: border-box;
}

.product-h1-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 12px;
}

.stars-gold {
  color: #f59e0b;
  letter-spacing: 1px;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.price-current {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
}

.price-compare {
  font-size: 16px;
  text-decoration: line-through;
  color: #475569;
  font-weight: 500;
}

.discount-tag {
  background: #111827;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 14px;
  letter-spacing: 0.2px;
}

/* Bullet Points */
.product-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.product-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  line-height: 1.35;
}

.product-bullet-icon {
  font-size: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-bullet-text {
  flex: 1;
}

/* Variants (Color, Talla, etc.) */
.product-variants-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}

.product-variant-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-variant-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variant-pill {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.product-variant-pill:hover {
  border-color: #475569;
}

.product-variant-pill.is-selected {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.stock-scarcity-pill {
  font-size: 11.5px;
  color: #b45309;
  background: #fffbeb;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* 5. Bundles */
.bundles-section-wrap {
  padding: 16px 14px;
  background: #ffffff;
}

/* Título con líneas divisorias laterales */
.bundles-divider-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  text-align: center;
}

.bundles-divider-title::before,
.bundles-divider-title::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: currentColor;
  opacity: 0.35;
}

/* Tarjeta base de paquete */
.bundle-card {
  border: 2px solid #e2e8f0;
  border-radius: 28px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

.bundle-card:hover {
  transform: translateY(-1px);
}

.bundle-card.selected {
  border-color: #facc15;
  background: #f8fbff;
}

/* Formato Estilo Shopify Desplegable con Variaciones */
.bundle-card-dropdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bundle-card-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.bundle-left-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.bundle-radio-donut {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: #ffffff;
  margin-top: 2px;
}

.bundle-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
  flex: 1 1 auto;
  min-width: 0;
}

.bundle-price-box {
  text-align: right;
  flex: 0 0 auto;
  white-space: nowrap !important;
  line-height: 1.2;
  margin-left: 8px;
}

.bundle-price-current {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: block;
  white-space: nowrap !important;
}

.bundle-price-compare {
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
  display: block;
  margin-top: 2px;
  white-space: nowrap !important;
}

/* Botón de radio estilo donut */
.bundle-radio-donut {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: #ffffff;
}

.bundle-radio-donut.active {
  border: 6px solid #facc15;
  background: #ffffff;
}

.bundle-radio-donut.inactive {
  border: 2px solid #cbd5e1;
  background: #ffffff;
}

/* Título del paquete */
.bundle-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

/* Caja de precios a la derecha */
.bundle-price-box {
  text-align: right;
  flex-shrink: 0;
  line-height: 1.2;
}

.bundle-price-current {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.bundle-price-compare {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: line-through;
  display: block;
  margin-top: 1px;
}

/* Cinta / Insignia posada sobre el borde superior */
.bundle-badge-ribbon {
  position: absolute;
  top: -10px;
  right: 28px;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: #f59e0b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  line-height: 1.2;
  z-index: 2;
  letter-spacing: 0.2px;
}

.bundle-badge-ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  border-width: 0;
}

/* Selectores de variaciones por unidad */
.bundle-variants-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
  box-sizing: border-box;
}

.bundle-variants-panel-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.bundle-unit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.bundle-unit-tag {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  min-width: 26px;
  text-align: center;
  display: inline-block;
  flex-shrink: 0;
}

.bundle-unit-select {
  padding: 6px 12px;
  border-radius: 18px;
  border: 1.5px solid #cbd5e1;
  background-color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  min-width: 110px;
  max-width: 170px;
}

.bundle-unit-select:focus,
.bundle-unit-select:hover {
  border-color: #f59e0b;
}

/* Plantilla Clásica de Tarjetas */
.bundle-card-classic {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bundle-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: #e2e8f0;
}

.bundle-badge.saving {
  background: var(--christmas-red);
  color: #ffffff;
}

.bundle-price-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--christmas-red);
}

/* Plantilla Compacta de Lista */
.bundle-card-compact {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  gap: 8px;
}

.bundle-card-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* 6. Checkout Section */
.checkout-section-wrap {
  padding: 16px 14px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.checkout-card-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.checkout-box-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.checkout-fast-btn {
  width: 100%;
  padding: 15px 16px;
  background: #059669;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
}

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

.checkout-fast-btn:active {
  transform: scale(0.98);
}

/* Animaciones del botón */
@keyframes checkoutPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

.checkout-btn-anim-pulse {
  animation: checkoutPulse 2.2s infinite ease-in-out;
}

@keyframes checkoutShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50% { transform: translateX(-3px); }
  20%, 40% { transform: translateX(3px); }
}

.checkout-btn-anim-shake {
  animation: checkoutShake 3.5s infinite ease-in-out;
}

@keyframes checkoutShine {
  0% { left: -100%; }
  25%, 100% { left: 120%; }
}

.checkout-btn-anim-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: checkoutShine 3s infinite ease-in-out;
}

.checkout-guarantee-note {
  font-size: 11.5px;
  color: #334155;
  text-align: center;
  margin: 6px 0 0 0;
  line-height: 1.35;
}

/* 7. Trust badges */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.trust-badge-item {
  text-align: center;
  padding: 8px;
  background: #f8fafc;
  border-radius: 8px;
}

.trust-badge-item span {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}

.trust-badge-item strong {
  font-size: 11px;
  display: block;
}

/* 8. Benefits */
.benefits-section-wrap {
  padding: 16px 14px;
  background: #f8fafc;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.benefit-card {
  display: flex;
  gap: 12px;
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.benefit-emoji {
  font-size: 24px;
}

.benefit-text strong {
  font-size: 13px;
  display: block;
}

.benefit-text p {
  font-size: 11.5px;
  color: #334155;
  margin-top: 2px;
}

/* 9. FAQs Estilo Shopify Polaris Avanzado */
.faqs-section-wrap {
  padding: 20px 14px;
  background: #ffffff;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.faqs-items-container {
  display: flex;
  flex-direction: column;
}

.faq-accordion-item {
  transition: all 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.faq-accordion-item.style-cards {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.faq-accordion-item.style-list {
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
}

.faq-q {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-q-text {
  flex: 1;
}

.faq-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-icon-wrap.rotate-on-open {
  transition: transform 0.25s ease;
}

.faq-accordion-item.is-open .faq-icon-wrap.rotate-on-open {
  transform: rotate(180deg);
}

.faq-a {
  line-height: 1.5;
  transition: all 0.25s ease;
}

.faq-accordion-item:not(.is-open) .faq-a {
  display: none;
}

.faq-accordion-item.is-open .faq-a {
  display: block;
}

/* 10. Reviews & Testimonials Carousel */
.reviews-section-wrap {
  padding: 16px 14px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.testimonial-card-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
}

.testimonial-carousel-wrap {
  position: relative;
  overflow: hidden;
}

/* Diseño con Avatar a la Izquierda y Texto a la Derecha (Estilo Imagen del Usuario) */
.testimonial-card-avatar-layout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: opacity 0.2s ease;
}

.testimonial-avatar-wrap {
  flex-shrink: 0;
}

.testimonial-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-content-wrap {
  flex: 1;
  min-width: 0;
}

.testimonial-quote-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.45;
  margin: 0 0 7px 0;
}

.testimonial-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.testimonial-author-name {
  font-size: 13px;
  color: #334155;
  font-style: italic;
  font-weight: 500;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 13.5px;
  letter-spacing: 1px;
  line-height: 1;
}

/* Puntos de Paginación del Carrusel */
.testimonial-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.testimonial-dot-btn {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.testimonial-dot-btn:hover {
  border-color: #0f172a;
}

.testimonial-dot-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  transform: scale(1.15);
}

/* Cuadrícula clásica de tarjetas */
.review-card-item {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
}

.review-user-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 12px;
}

.review-text-body {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.4;
}

/* 11. Footer */
.footer-section-wrap {
  padding: 20px 14px 40px;
  background: #0f172a;
  color: #475569;
  text-align: center;
  font-size: 11px;
}

/* ==========================================================
   STICKY BOTTOM BAR (MÓVIL)
   ========================================================== */
/* ==========================================================
   STICKY BOTTOM BAR (DENTRO DEL MARCO DE PREVIEW)
   ========================================================== */
.sticky-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 10px 14px 12px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  z-index: 99;
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

body.mobile-preview-mode .sticky-bottom-bar {
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  padding: 10px 16px 14px;
}

body.desktop-preview-mode .sticky-bottom-bar {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 10px 24px;
}

.sticky-bottom-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sticky-thumb-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sticky-title {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-price {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--christmas-red);
}

.sticky-buy-btn {
  background: linear-gradient(135deg, #c9182b 0%, #a00f20 100%);
  color: #ffffff;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 24, 43, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.sticky-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 24, 43, 0.4);
}

.sticky-buy-btn:active {
  transform: translateY(1px);
}

/* Modo Ancho Completo (100% Full Width) */
.sticky-bottom-bar.layout-fullwidth .sticky-bar-inner {
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.sticky-bottom-bar.layout-fullwidth .sticky-thumb-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.sticky-bottom-bar.layout-fullwidth .sticky-buy-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  box-sizing: border-box;
}

/* Fila de Contador Regresivo de Urgencia */
.sticky-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  margin-bottom: 6px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #991b1b;
  width: 100%;
  box-sizing: border-box;
  animation: pulse-sticky-timer 2.2s infinite ease-in-out;
}

.sticky-timer-badge {
  background: #111827;
  color: #fbbf24;
  font-family: monospace, monospace;
  font-size: 11.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
}

@keyframes pulse-sticky-timer {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(0.99); }
}

/* ==========================================================
   MODAL CATÁLOGO DE SECCIONES (SHOPIFY SECTION DRAWER)
   ========================================================== */
.shopify-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.shopify-modal-card {
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.shopify-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--p-color-border-subdued);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shopify-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.shopify-modal-header p {
  font-size: 12px;
  color: var(--p-color-text-subdued);
  margin-top: 2px;
}

.shopify-close-icon-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--p-color-text-subdued);
}

.modal-search-bar {
  padding: 12px 20px;
  background: #fafbfb;
  border-bottom: 1px solid var(--p-color-border-subdued);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-search-bar input {
  flex: 1;
  border: 1px solid var(--p-color-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.modal-sections-catalog {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.catalog-category {
  margin-bottom: 20px;
}

.category-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--p-color-text-subdued);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.catalog-card {
  border: 1px solid var(--p-color-border);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.catalog-card:hover {
  background: #f8fafc;
  border-color: var(--p-color-interactive);
}

.catalog-icon {
  font-size: 20px;
}

.catalog-text strong {
  display: block;
  font-size: 12.5px;
  color: var(--p-color-text);
}

.catalog-text small {
  display: block;
  font-size: 10.5px;
  color: var(--p-color-text-subdued);
  line-height: 1.25;
}

.catalog-add-btn {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--p-color-border);
  background: #ffffff;
  color: var(--p-color-interactive);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================
   TOAST NOTIFICATION (POLARIS)
   ========================================================== */
.shopify-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #202223;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3000;
  animation: toastSlide 0.25s ease;
}

@keyframes toastSlide {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.toast-icon {
  color: #34d399;
}

/* ==========================================================
   NIEVE FLOTANTE (CANVAS)
   ========================================================== */
.snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* ==========================================================
   VARIANT OPTION CARDS & SWATCHES (PHOTOS & CUSTOM PRICES)
   ========================================================== */
.variant-option-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.variant-option-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.opt-photo-preview:hover .opt-photo-overlay {
  opacity: 1 !important;
}
.opt-photo-add-btn:hover {
  border-color: #0f172a !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
}
.product-variant-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
}
.product-variant-pill-img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.product-variant-pill-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

/* Plantilla: Foto/Color Arriba, Nombre Abajo (Sin Fondo) */
.variant-vertical-card-btn {
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  text-align: center;
  transition: transform 0.15s ease;
}
.variant-vertical-card-btn:hover {
  transform: translateY(-1px);
}
.variant-vertical-visual {
  transition: all 0.15s ease;
}
.variant-vertical-card-btn:hover .variant-vertical-visual {
  border-color: #94a3b8 !important;
}
.variant-vertical-card-btn.is-selected .variant-vertical-visual {
  transform: scale(1.02);
}

/* Plantilla: Círculos de Color (Swatches) */
.variant-circle-swatch-btn {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.variant-circle-swatch-btn:hover {
  transform: scale(1.08);
}
.variant-circle-swatch-btn.is-selected {
  transform: scale(1.1);
}

/* ==========================================================
   INSIGNIAS DE CONFIANZA & ACORDEÓN DESPLEGABLE
   ========================================================== */
.trust-section-wrap {
  width: 100%;
  box-sizing: border-box;
}

/* Plantilla 1: Acordeón con Líneas Divisorias (Estilo Referencia) */
.trust-accordion-list {
  width: 100%;
}

.trust-accordion-row {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.trust-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.trust-accordion-header:hover {
  opacity: 0.85;
}

.trust-accordion-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.trust-accordion-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-accordion-title {
  margin: 0;
  word-break: break-word;
}

.trust-accordion-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-accordion-chevron.is-open {
  transform: rotate(180deg);
}

.trust-accordion-body {
  padding: 0 4px 14px 4px;
  animation: fadeInAccordion 0.2s ease-out;
}

.trust-accordion-body p {
  margin: 0;
  white-space: pre-line;
}

@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Plantilla 2: Tarjetas Horizontales Desplegables */
.trust-cards-grid-wrap {
  width: 100%;
}

.trust-cards-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.trust-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  position: relative;
}

.trust-card-item:hover {
  transform: translateY(-1px);
}

.trust-card-item.is-active {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.trust-card-icon {
  font-size: 22px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card-title {
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.trust-card-arrow-indicator {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2563eb;
}

/* Panel Desplegable de las Tarjetas */
.trust-cards-dropdown-panel {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  animation: fadeInAccordion 0.2s ease-out;
  box-sizing: border-box;
}

.trust-cards-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.trust-cards-dropdown-close {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

/* ==========================================================
   VIDEO SLIDER SECTION (Reels / TikTok Carousel)
   ========================================================== */
.video-slider-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 14px;
  overflow: hidden;
}

.video-slider-header {
  margin-bottom: 16px;
}

.video-slider-title {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.video-slider-subtitle {
  margin: 6px 0 0 0;
  line-height: 1.4;
}

.video-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 12px;
}

.video-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  gap: 12px;
}

.video-slider-card {
  flex: 0 0 calc((100% - 12px) / 2);
  min-width: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #f1f5f9; aspect-ratio: 9 / 15;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.video-slider-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-slider-badge-overlay {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(254, 205, 211, 0.92);
  color: #9f1239;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  max-width: 85%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.video-slider-play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s ease;
  z-index: 5;
}

.video-slider-play-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.08);
}

.video-slider-sound-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  z-index: 5;
  transition: all 0.2s ease;
}

.video-slider-sound-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.video-slider-caption {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
}

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

.video-slider-arrow.prev {
  left: 4px;
}

.video-slider-arrow.next {
  right: 4px;
}

.video-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.video-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.video-slider-dot.active {
  width: 18px;
  border-radius: 6px;
  background: #2563eb;
}

/* ==========================================================
   INFOGRAPHIC & STORYTELLING SECTION
   ========================================================== */
.infographic-section-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.infographic-top-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.infographic-title {
  margin: 0 0 14px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.infographic-desc {
  margin: 0 auto 20px auto;
  max-width: 540px;
}

.infographic-media-box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.infographic-media-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.infographic-media-box.shadow-none img {
  box-shadow: none;
}

.infographic-media-box.shadow-soft img {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.infographic-media-box.shadow-strong img {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.infographic-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.infographic-cta-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 28px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.infographic-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

/* ==========================================================
   NUEVA SECCIÓN: ⭐ RESEÑAS & FOTOS DE CLIENTES (ESTILO LOOX / JUDGE.ME)
   ========================================================== */
.photo-reviews-section-wrap {
  box-sizing: border-box;
  width: 100%;
}

.pr-container {
  max-width: 580px;
  margin: 0 auto;
}

/* Tarjeta de Resumen Superior */
.pr-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 20px 22px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
  box-sizing: border-box;
}

.pr-score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.pr-star-icon {
  font-size: 32px;
  line-height: 1;
}

.pr-score-val {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.5px;
}

.pr-count-label {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 22px;
}

/* Barras de Desglose de Calificaciones */
.pr-breakdown-list {
  max-width: 330px;
  margin: 0 auto 22px auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pr-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.pr-row-stars {
  font-size: 14px;
  letter-spacing: 1.5px;
  min-width: 80px;
  text-align: left;
  line-height: 1;
  display: flex;
  align-items: center;
}

.pr-row-stars .star-hollow {
  color: #e2e8f0;
}

.pr-bar-track {
  flex: 1;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pr-bar-fill {
  height: 100%;
  background: #0f172a;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.pr-row-count {
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  min-width: 26px;
  text-align: right;
}

/* Botón Escribir Reseña */
.pr-write-review-btn {
  display: block;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 11px 22px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  outline: none;
  box-sizing: border-box;
}

.pr-write-review-btn:hover {
  background: #f8fafc;
  border-color: #475569;
  transform: translateY(-1px);
}

/* Cuadrícula Cascada / Masonry de Reseñas (2 Columnas continuas y fluidas) */
.pr-grid-container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.pr-masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pr-masonry-col:empty {
  display: none;
}

.pr-grid-container > .pr-card {
  width: calc(50% - 5px);
  flex: 0 0 calc(50% - 5px);
  min-width: 0;
}

.pr-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  height: fit-content;
}

.pr-card:hover {
  transform: translateY(-2px);
}

.pr-card.shadow-none {
  box-shadow: none;
}

.pr-card.shadow-soft {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pr-card.shadow-strong {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.pr-card-media {
  width: 100%;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  display: block;
}

.pr-card-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pr-card:hover .pr-card-img {
  transform: scale(1.02);
}

.pr-card-body {
  padding: 10px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.pr-card-stars {
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.pr-card-comment {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.4;
  margin: 2px 0 4px 0;
  word-break: break-word;
}

.pr-card-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.pr-card-author {
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
}

.pr-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.pr-card.pr-card-no-photo .pr-card-body {
  padding: 12px;
}

.pr-author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}

/* Efecto de pulso al desplazarse */
.section-highlight-pulse {
  animation: prPulseHighlight 1.5s ease-out;
}

@keyframes prPulseHighlight {
  0% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ==========================================================
   CARRITO LATERAL DESPLEGABLE (SLIDE CART DRAWER)
   ========================================================== */
.cart-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  border-radius: inherit;
}

.cart-drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.25);
  border-radius: inherit;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* 1. Barra de Urgencia */
.cart-urgency-header {
  background: #000000;
  color: #ffffff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.cart-urgency-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-urgency-timer {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fbbf24;
}

.cart-drawer-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.cart-drawer-close-btn:hover {
  opacity: 1;
}

/* 2. Barra de Envío Gratis */
.cart-shipping-bar-wrap {
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

.cart-shipping-text {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.cart-progress-track {
  background: #f1f5f9;
  height: 10px;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  border: 1px solid #e2e8f0;
}

.cart-progress-fill.candy-cane-bar {
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    45deg,
    #dc2626,
    #dc2626 8px,
    #f87171 8px,
    #f87171 16px
  );
  position: relative;
  transition: width 0.35s ease;
  background-size: 24px 24px;
  animation: moveCandyCane 1.5s linear infinite;
}

@keyframes moveCandyCane {
  0% { background-position: 0 0; }
  100% { background-position: 24px 0; }
}

.cart-truck-badge {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #ffffff;
  border: 2px solid #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* 3. Contenedor de Items */
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  -webkit-overflow-scrolling: touch;
}

.cart-items-container {
  display: flex;
  flex-direction: column;
}

.cart-item-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.cart-item-variant {
  font-size: 12px;
  color: #334155;
  margin: 0 0 4px 0;
}

.cart-item-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}

.cart-price-strike {
  text-decoration: line-through;
  color: #475569;
  font-size: 12px;
}

.cart-price-bold {
  font-weight: 800;
  color: #0f172a;
  font-size: 14px;
}

.cart-price-saving {
  font-size: 11px;
  color: #16a34a;
  font-weight: 700;
}

.cart-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.cart-qty-btn {
  border: none;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #0f172a;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background: #f1f5f9;
}

.cart-qty-num {
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.cart-item-del-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #475569;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-del-btn:hover {
  color: #ef4444;
}

/* Estado Vacío */
.cart-empty-view {
  text-align: center;
  padding: 36px 14px;
}

.cart-empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.cart-empty-heading {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.cart-empty-cta-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.cart-empty-account-box {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.account-prompt-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.account-prompt-sub {
  font-size: 12px;
  color: #334155;
  margin: 0;
}

.account-prompt-sub a {
  color: #2563eb;
  text-decoration: underline;
}

/* 4. Pie del Carrito */
.cart-drawer-footer {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

.cart-total-amounts {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cart-total-value {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.cart-savings-tag {
  font-size: 11.5px;
  color: #16a34a;
  font-weight: 700;
}

.cart-checkout-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 8px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-checkout-btn:active {
  transform: scale(0.98);
}

.cart-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.cart-trust-stars {
  color: #eab308;
  letter-spacing: 2px;
}

/* ==========================================================
   MODO TIENDA PÚBLICA / LIVE STOREFRONT (noelsshop.com / index.html)
   ========================================================== */
body.storefront-live-mode {
  background: #ffffff !important;
  color: #1e293b !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.storefront-live-mode .shopify-topbar,
body.storefront-live-mode .shopify-sidebar,
body.storefront-live-mode .mobile-notch-bar,
body.storefront-live-mode .builder-section-overlay,
body.storefront-live-mode .section-hover-pill,
body.storefront-live-mode .section-hover-badge,
body.storefront-live-mode .section-action-pills,
body.storefront-live-mode .tree-item-actions,
body.storefront-live-mode .canvas-section-hover-tag,
body.storefront-live-mode .canvas-hover-del-btn,
body.storefront-live-mode .canvas-section:hover .canvas-section-hover-tag,
body.storefront-live-mode .canvas-section.active-inspect .canvas-section-hover-tag,
body.fullscreen-mode .canvas-section-hover-tag,
body.fullscreen-mode .canvas-hover-del-btn,
body.fullscreen-mode .canvas-section:hover .canvas-section-hover-tag,
body.fullscreen-mode .canvas-section.active-inspect .canvas-section-hover-tag {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.storefront-live-mode .shopify-workspace,
body.storefront-live-mode .shopify-workbench {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.storefront-live-mode .workbench-viewport-container {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  margin: 0 !important;
}

body.storefront-live-mode .canvas-scroll-area {
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh !important;
  padding-bottom: 90px !important;
}

body.storefront-live-mode .builder-section,
body.storefront-live-mode .canvas-section,
body.storefront-live-mode .builder-section:hover,
body.storefront-live-mode .canvas-section:hover,
body.storefront-live-mode .builder-section.active-inspect,
body.storefront-live-mode .canvas-section.active-inspect,
body.fullscreen-mode .builder-section,
body.fullscreen-mode .canvas-section,
body.fullscreen-mode .builder-section:hover,
body.fullscreen-mode .canvas-section:hover,
body.fullscreen-mode .builder-section.active-inspect,
body.fullscreen-mode .canvas-section.active-inspect {
  outline: none !important;
  outline-offset: 0 !important;
  border-left: none !important;
  box-shadow: none !important;
  cursor: default !important;
  transition: none !important;
}

/* ==========================================================
   MODO ESCRITORIO / PC (PANTALLA COMPLETA 100% FLUIDA)
   NO MODIFICA NI AFECTA DISPOSITIVOS MÓVILES
   ========================================================== */
@media (min-width: 992px) {
  /* Toda la página y el contenedor ocupan el 100% de la pantalla */
  body.storefront-live-mode,
  body.storefront-live-mode .shopify-workspace,
  body.storefront-live-mode .shopify-workbench,
  body.storefront-live-mode .workbench-viewport-container,
  body.storefront-live-mode .canvas-scroll-area,
  body.storefront-live-mode .canvas-sections-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Todas las secciones ocupan el 100% de ancho de borde a borde para sus fondos */
  body.storefront-live-mode .canvas-sections-container > .canvas-section,
  body.storefront-live-mode .canvas-sections-container > .builder-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Barras superiores e inferiores: 100% ancho total de la pantalla de borde a borde */
  body.storefront-live-mode .country-detect-banner,
  body.storefront-live-mode .announcement-bar-wrap,
  body.storefront-live-mode .store-header-wrap,
  body.storefront-live-mode .urgency-timer-wrap,
  body.storefront-live-mode .footer-section-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }

  /* Contenido interno del Header distribuido elegantemente */
  body.storefront-live-mode .store-header-wrap {
    padding: 14px 48px !important;
  }

  body.storefront-live-mode .announcement-bar-wrap {
    padding: 10px 48px !important;
  }

  body.storefront-live-mode .urgency-timer-wrap {
    padding: 12px 48px !important;
  }

  /* Ficha de Producto Hero en PC: amplio, elegante y ocupando la pantalla completa */
  body.storefront-live-mode .desktop-product-hero-wrap {
    display: grid !important;
    grid-template-columns: 1.15fr 1fr !important;
    gap: 60px !important;
    width: 95% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 36px 32px 56px !important;
    align-items: start !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  body.storefront-live-mode .desktop-hero-gallery-col {
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    top: 24px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.storefront-live-mode .desktop-hero-details-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Secciones de contenido: fondos al 100%, contenido centrado amplio de hasta 1400px */
  body.storefront-live-mode .infographic-section-wrap,
  body.storefront-live-mode .photo-reviews-section-wrap,
  body.storefront-live-mode .faqs-section-wrap,
  body.storefront-live-mode .trust-section-wrap,
  body.storefront-live-mode .benefits-section-wrap,
  body.storefront-live-mode .reviews-section-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  body.storefront-live-mode .pr-container,
  body.storefront-live-mode .benefits-grid,
  body.storefront-live-mode .faqs-list {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Slider de Videos en PC: tamaño contenido y elegante tipo Reels/TikTok (NO ocupa toda la pantalla) */
  body.storefront-live-mode .video-slider-wrap,
  body.desktop-preview-mode .video-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 24px 20px !important;
  }

  body.storefront-live-mode .video-slider-header,
  body.desktop-preview-mode .video-slider-header {
    max-width: 580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }

  body.storefront-live-mode .video-slider-viewport,
  body.desktop-preview-mode .video-slider-viewport {
    max-width: 580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  body.storefront-live-mode .video-slider-card,
  body.desktop-preview-mode .video-slider-card {
    max-height: 480px !important;
    border-radius: 16px !important;
  }

  body.storefront-live-mode .video-slider-media,
  body.desktop-preview-mode .video-slider-media {
    max-height: 480px !important;
    object-fit: cover !important;
  }

  body.storefront-live-mode .video-slider-arrow,
  body.desktop-preview-mode .video-slider-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    z-index: 10 !important;
  }

  body.storefront-live-mode .video-slider-arrow.prev,
  body.desktop-preview-mode .video-slider-arrow.prev {
    left: 10px !important;
  }

  body.storefront-live-mode .video-slider-arrow.next,
  body.desktop-preview-mode .video-slider-arrow.next {
    right: 10px !important;
  }

  body.storefront-live-mode .video-slider-dots,
  body.desktop-preview-mode .video-slider-dots {
    max-width: 580px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 14px !important;
    justify-content: center !important;
  }
}

/* En móviles centrado y 100% responsive */
@media (max-width: 991px) {
  body.storefront-live-mode .canvas-sections-container > .builder-section,
  body.storefront-live-mode .canvas-sections-container > .canvas-section {
    max-width: 100%;
    width: 100%;
  }
}

body.storefront-live-mode .sticky-bottom-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
}

body.storefront-live-mode .sticky-bottom-bar.is-visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ==========================================================
   CARRITO SLIDE DRAWER OPTIMIZADO (FIJADO AL VIEWPORT)
   ========================================================== */
body.storefront-live-mode .cart-drawer-overlay,
body.fullscreen-mode .cart-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99998 !important;
  border-radius: 0 !important;
}

body.storefront-live-mode .cart-drawer-panel,
body.fullscreen-mode .cart-drawer-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  width: 100% !important;
  max-width: 440px !important;
  z-index: 99999 !important;
  border-radius: 0 !important;
  box-shadow: -6px 0 32px rgba(0, 0, 0, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

@media (max-width: 480px) {
  body.storefront-live-mode .cart-drawer-panel,
  body.fullscreen-mode .cart-drawer-panel {
    max-width: 100% !important;
    width: 100% !important;
  }
}

body.storefront-live-mode .cart-urgency-header,
body.storefront-live-mode .cart-shipping-bar-wrap,
body.fullscreen-mode .cart-urgency-header,
body.fullscreen-mode .cart-shipping-bar-wrap {
  flex-shrink: 0 !important;
}

body.storefront-live-mode .cart-drawer-body,
body.fullscreen-mode .cart-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  padding: 14px 16px !important;
}

body.storefront-live-mode .cart-drawer-footer,
body.fullscreen-mode .cart-drawer-footer {
  flex-shrink: 0 !important;
  position: sticky !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 14px 18px !important;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08) !important;
  z-index: 10 !important;
}

/* ==========================================================
   MODAL DE CHECKOUT & CONFIRMACIÓN DE PEDIDO
   ========================================================== */
.checkout-modal-backdrop,
#checkoutModalBackdrop,
#successModalBackdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px !important;
  box-sizing: border-box !important;
}

.checkout-modal-backdrop.is-open,
.checkout-modal-backdrop.active,
#checkoutModalBackdrop.is-open,
#checkoutModalBackdrop.active,
#successModalBackdrop.is-open,
#successModalBackdrop.active {
  display: flex !important;
}

.checkout-modal-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 520px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28) !important;
  display: flex !important;
  flex-direction: column !important;
  animation: modalFadeIn 0.25s ease !important;
}

.success-modal-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  width: 100% !important;
  max-width: 440px !important;
  padding: 28px 24px !important;
  text-align: center !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28) !important;
  animation: modalFadeIn 0.25s ease !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  position: sticky !important;
  top: 0 !important;
  background: #ffffff !important;
  z-index: 5 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.btn-close-modal {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid #cbd5e1 !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-close-modal:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.modal-body {
  padding: 18px 20px 24px !important;
}

.order-summary-box {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 18px !important;
}

.order-summary-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.summary-img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  border: 1px solid #e2e8f0 !important;
}

.checkout-form .form-row {
  display: grid !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.checkout-form .form-row.two-col {
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 540px) {
  .checkout-form .form-row.two-col {
    grid-template-columns: 1fr !important;
  }
}

.checkout-form .form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.checkout-form .form-field label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.checkout-form .form-field input {
  font-family: inherit !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.checkout-form .form-field input:focus {
  outline: none !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2) !important;
}

/* STRIPE SKELETON SHIMMER LOADER */
@keyframes stripeSkeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.stripe-skeleton-loader {
  animation: fadeInStripe 0.25s ease;
}

@keyframes fadeInStripe {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Ocultar botón de sonido en sliders de video */
.video-slider-sound-btn {
  display: none !important;
}

/* ANTI-FLICKER TRANSITION (Solo para la tienda pública en vivo, nunca ocultar el lienzo del maquetador) */
body.storefront-live-mode .canvas-sections-container {
  opacity: 0;
  transition: opacity 0.16s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
body.storefront-live-mode .canvas-sections-container.is-ready {
  opacity: 1 !important;
}

/* ==========================================================
   REGALOS EN PAQUETES (FREE GIFTS TIER) & CRONÓMETRO DE REGALO
   ========================================================== */

/* Barra de urgencia del cronómetro de regalos */
.bundle-gift-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border: 1.5px solid #a5f3fc;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.12);
  box-sizing: border-box;
}

.bundle-gift-timer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0e7490;
  line-height: 1.25;
}

.bundle-gift-timer-left .gift-sparkle-icon {
  font-size: 17px;
  flex-shrink: 0;
}

.bundle-gift-timer-badge {
  background: #0891b2;
  color: #ffffff;
  font-family: 'Outfit', -apple-system, monospace;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(8, 145, 178, 0.3);
}

/* Subtítulo / Etiqueta de Envío en cada tarjeta */
.bundle-shipping-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
  line-height: 1.2;
}

.bundle-shipping-tag.is-free {
  color: #059669; /* Verde esmeralda de envío gratis */
}

.bundle-shipping-tag.is-paid {
  color: #64748b;
}

/* Caja de Regalos dentro de la tarjeta de paquete */
.bundle-gift-box {
  margin-top: 10px;
  padding: 10px 14px;
  background: #f0fdfa;
  border-top: 1.5px dashed #99f6e4;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  margin-left: -18px;
  margin-right: -18px;
  margin-bottom: -14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundle-card.selected .bundle-gift-box {
  background: #ecfeff;
  border-top-color: #67e8f9;
}

.bundle-gift-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
}

.bundle-gift-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 13px;
  flex-shrink: 0;
}

.bundle-gift-text {
  font-size: 13px;
  font-weight: 700;
  color: #0e7490;
  letter-spacing: -0.1px;
}

.bundle-gift-value {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 4px;
}

.bundle-addon-row {
  cursor: pointer;
  user-select: none;
  padding: 2px 0;
}

.bundle-addon-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #0891b2;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
  border-radius: 4px;
}

.bundle-addon-price {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 800;
  color: #0e7490;
  white-space: nowrap;
}

/* ==========================================================
   COMPARADOR INTERACTIVO ANTES VS DESPUÉS (BEFORE & AFTER SLIDER)
   ========================================================== */
/* ==========================================================
   COMPARADOR ANTES VS DESPUÉS (ULTRA FLUIDO Y COMPATIBLE)
   ========================================================== */
.ba-slider-container {
  position: relative;
  width: 100%;
  margin: 16px auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none !important;
}

.ba-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  cursor: ew-resize;
  background: #0f172a;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ba-img-after {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.ba-before-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: clip-path;
  pointer-events: none;
  user-select: none;
}

.ba-img-before {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pastillas de texto Antes / Después */
.ba-badge-pill {
  position: absolute;
  top: 14px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 6;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ba-before-pill {
  left: 14px;
}

.ba-after-pill {
  right: 14px;
}

/* Línea divisoria vertical */
.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  z-index: 7;
  pointer-events: auto;
  touch-action: none !important;
  will-change: left;
}

/* Botón tirador circular con flechas < > */
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  background: #ffffff;
  color: #0891b2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ba-handle-btn svg {
  display: block;
  pointer-events: none;
}

.ba-slider-container:hover .ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-slider-container.is-dragging .ba-handle-btn {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.ba-instruction-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   SECCIÓN TABLA COMPARATIVA (NOSOTROS VS OTROS)
   ========================================================= */
.comparison-section-wrap {
  box-sizing: border-box;
  width: 100%;
}

.comp-table-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

.comp-table-header {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.85fr;
  align-items: stretch;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.comp-hdr-feature {
  padding: 14px 12px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.comp-hdr-us {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  position: relative;
}

.comp-hdr-them {
  padding: 14px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.comp-table-row {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.85fr;
  align-items: stretch;
  border-bottom: 1px solid #f1f5f9;
}

.comp-table-row:last-child {
  border-bottom: none;
}

.comp-cell-feature {
  padding: 13px 12px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.comp-cell-us {
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.comp-cell-them {
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
}

.comp-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



/* ==========================================================
   GALERÍA PERSONALIZABLE (colores de bordes, puntos y tamaño de miniaturas)
   Las variables --gal-* solo existen si se configuran en el maquetador;
   si no, se usan exactamente los valores de siempre.
   ========================================================== */
.gallery-section-wrap .gallery-dot {
  background: var(--gal-dot, #cbd5e1);
}
.gallery-section-wrap .gallery-dot.active {
  background: var(--gal-dot-active, var(--christmas-red));
}
.gallery-section-wrap .gallery-thumb {
  width: var(--gal-thumb-size, 58px);
  height: var(--gal-thumb-size, 58px);
  border-color: var(--gal-thumb-border, transparent);
}
.gallery-section-wrap .gallery-thumb.active {
  border-color: var(--gal-thumb-active, var(--christmas-red));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--gal-thumb-active, #c9182b) 22%, transparent);
}
.gallery-section-wrap .gallery-main-img-box {
  border: var(--gal-main-border-w, 0px) solid var(--gal-main-border, transparent);
  box-sizing: border-box;
}

/* Vista de PC (miniaturas en cuadrícula) */
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row {
  grid-template-columns: var(--gal-thumb-grid, repeat(5, 1fr)) !important;
}
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb {
  width: var(--gal-thumb-size, 100%) !important;
  height: var(--gal-thumb-size, auto) !important;
  border-color: var(--gal-thumb-border, #e2e8f0) !important;
}
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb.active,
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb:hover,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb.active,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumb:hover {
  border-color: var(--gal-thumb-active, #0f172a) !important;
}
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-main-img-box,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-main-img-box {
  border: var(--gal-main-border-w, 0px) solid var(--gal-main-border, transparent) !important;
}

/* ==========================================================
   PIE DE PÁGINA CON CONTACTO Y POLÍTICAS (footer-legal.js)
   ========================================================== */
.footer-section-wrap.nf-footer {
  background: var(--nf-bg, #0f172a);
  color: var(--nf-text, #94a3b8);
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  padding: 32px 20px 90px;
}
.nf-footer .nf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.nf-footer .nf-brand { grid-column: 1 / -1; }
.nf-footer .nf-contact { grid-column: 1 / -1; }
.nf-footer .nf-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--nf-head, #ffffff);
  letter-spacing: -0.2px;
}
.nf-footer .nf-tagline { margin: 6px 0 0; font-size: 12.5px; }
.nf-footer .nf-head {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nf-head, #ffffff);
  margin-bottom: 10px;
}
.nf-footer .nf-link,
.nf-footer .nf-contact-line {
  display: block;
  color: var(--nf-link, #cbd5e1);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  cursor: pointer;
  word-break: break-word;
}
.nf-footer span.nf-contact-line { color: var(--nf-text, #94a3b8); cursor: default; }
.nf-footer .nf-link:hover,
.nf-footer a.nf-contact-line:hover { text-decoration: underline; }
.nf-footer .nf-warn { color: #fbbf24 !important; font-weight: 600; }
.nf-footer .nf-bottom {
  max-width: 1100px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  text-align: center;
  font-size: 11.5px;
}
.nf-footer .nf-bottom p { margin: 0; }

body.desktop-preview-mode .nf-footer .nf-cols,
body.fullscreen-mode:not(.mobile-preview-mode) .nf-footer .nf-cols,
body.storefront-live-mode .nf-footer .nf-cols {
  grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
}
body.desktop-preview-mode .nf-footer .nf-brand,
body.desktop-preview-mode .nf-footer .nf-contact,
body.fullscreen-mode:not(.mobile-preview-mode) .nf-footer .nf-brand,
body.fullscreen-mode:not(.mobile-preview-mode) .nf-footer .nf-contact,
body.storefront-live-mode .nf-footer .nf-brand,
body.storefront-live-mode .nf-footer .nf-contact {
  grid-column: auto;
}
@media (max-width: 767px) {
  body.storefront-live-mode .nf-footer .nf-cols { grid-template-columns: 1fr 1fr; }
  body.storefront-live-mode .nf-footer .nf-brand,
  body.storefront-live-mode .nf-footer .nf-contact { grid-column: 1 / -1; }
}

/* Ventana de políticas / contacto */
.nf-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.nf-modal-backdrop.is-open { display: flex; }
.nf-modal-card {
  position: relative;
  background: #ffffff;
  color: #1e293b;
  width: 100%;
  max-width: 680px;
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}
.nf-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 15px;
  cursor: pointer;
}
.nf-modal-body {
  overflow-y: auto;
  padding: 26px 24px 24px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.nf-modal-body h3 { margin: 0 40px 12px 0; font-size: 20px; color: #0f172a; }
.nf-modal-body h4 { margin: 18px 0 6px; font-size: 15px; color: #0f172a; }
.nf-modal-body p { margin: 0 0 10px; }
.nf-modal-body ul { margin: 0 0 10px; padding-left: 20px; }
.nf-modal-body li { margin-bottom: 4px; }
.nf-modal-body a { color: #2563eb; }
body.desktop-preview-mode .footer-section-wrap.nf-footer,
body.fullscreen-mode:not(.mobile-preview-mode) .footer-section-wrap.nf-footer,
body.storefront-live-mode .footer-section-wrap.nf-footer {
  padding-bottom: 150px;
}

/* ==========================================================
   VISTA DE COMPUTADORA: galería fija a la izquierda + todo el contenido a la derecha.
   SOLO pantallas de 992 px o más (y la vista "Escritorio" del maquetador).
   En el teléfono estas columnas son invisibles (display: contents): el móvil no cambia.
   ========================================================== */
@media (min-width: 992px) {
  body.storefront-live-mode .desktop-product-hero-wrap {
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    width: 100% !important;
    max-width: 1180px !important;
    padding: 32px 28px 56px !important;
  }
  body.storefront-live-mode .desktop-hero-gallery-col {
    top: 90px !important;
  }
}
body.desktop-preview-mode .desktop-product-hero-wrap {
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
}

/* Secciones de contenido dentro de la columna derecha: ancho de la columna, sin márgenes extra */
@media (min-width: 992px) {
  body.storefront-live-mode .desktop-hero-details-col > .canvas-section:not([data-type="pricing"]):not([data-type="bundles"]):not([data-type="checkout"]):not([data-type="reviews"]):not([data-type="trust"]) > *:not(.canvas-section-hover-tag) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Secciones con fondo de color (ej. preguntas frecuentes en negro): tarjeta con margen interior */
  body.storefront-live-mode .desktop-hero-details-col > .canvas-section[data-type="faqs"] > *:not(.canvas-section-hover-tag),
  body.storefront-live-mode .desktop-hero-details-col > .canvas-section[data-type="comparison"] > *:not(.canvas-section-hover-tag) {
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 14px;
  }
}
body.desktop-preview-mode .desktop-hero-details-col > .canvas-section:not([data-type="pricing"]):not([data-type="bundles"]):not([data-type="checkout"]):not([data-type="reviews"]):not([data-type="trust"]) > *:not(.canvas-section-hover-tag) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.desktop-preview-mode .desktop-hero-details-col > .canvas-section[data-type="faqs"] > *:not(.canvas-section-hover-tag),
body.desktop-preview-mode .desktop-hero-details-col > .canvas-section[data-type="comparison"] > *:not(.canvas-section-hover-tag) {
  padding-left: 20px !important;
  padding-right: 20px !important;
  border-radius: 14px;
}

/* Barra flotante de compra en computadora: UNA sola fila compacta
   [nombre + precio]  ·  [reloj de oferta]  ·  [botón de tamaño normal]
   SOLO 992 px o más: en el teléfono la barra sigue exactamente igual. */
@media (min-width: 992px) {
  body.storefront-live-mode .sticky-bottom-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px max(24px, calc((100% - 1180px) / 2)) !important;
    box-sizing: border-box;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-bar-inner {
    display: contents !important;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-thumb-info {
    order: 1;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-title {
    font-size: 14px !important;
    max-width: 100%;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-price {
    font-size: 16px !important;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-timer-row {
    order: 2;
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 14px !important;
    white-space: nowrap;
  }
  body.storefront-live-mode .sticky-bottom-bar .sticky-buy-btn {
    order: 3;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 220px;
    max-width: none !important;
    margin: 0 !important;
    padding: 11px 28px !important;
    font-size: 14px !important;
    justify-content: center;
  }
}


/* ==========================================================
   PAGO COMO PÁGINA COMPLETA (solo en la tienda en vivo)
   ========================================================== */
body.storefront-live-mode #checkoutModalBackdrop {
  padding: 0 !important;
  background: #f8fafc !important;
  backdrop-filter: none !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
body.storefront-live-mode #checkoutModalBackdrop .checkout-modal-card {
  max-width: none !important;
  max-height: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #f8fafc !important;
  animation: checkoutPageIn 0.22s ease !important;
}
body.storefront-live-mode #checkoutModalBackdrop .modal-header {
  padding: 12px 16px !important;
  box-shadow: 0 1px 0 #e2e8f0 !important;
}
body.storefront-live-mode #checkoutModalBackdrop .modal-body {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  padding: 18px 16px 40px !important;
}
body.storefront-live-mode #btnCloseCheckoutModal {
  left: 12px !important;
  right: auto !important;
  width: auto !important;
  height: 34px !important;
  padding: 0 12px 0 10px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 4px !important;
  background: #ffffff !important;
}
body.storefront-live-mode #btnCloseCheckoutModal .chk-x { display: none !important; }
body.storefront-live-mode #btnCloseCheckoutModal .chk-back { display: inline !important; }
#btnCloseCheckoutModal .chk-back { display: none; }
@keyframes checkoutPageIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}


/* Resumen del pedido con desglose */
.chk-sum { background:#ffffff; border:1px solid #e2e8f0; border-radius:14px; padding:14px; margin-bottom:18px; box-shadow:0 1px 3px rgba(15,23,42,.04); }
.chk-sum-head { font-size:14px; font-weight:800; color:#0f172a; margin-bottom:10px; }
.chk-sum-item { display:flex; align-items:center; gap:12px; padding-bottom:12px; border-bottom:1px dashed #e2e8f0; margin-bottom:10px; }
.chk-sum-img { position:relative; width:58px; height:58px; flex-shrink:0; border-radius:10px; background:#f1f5f9; border:1px solid #e2e8f0; display:flex; align-items:center; justify-content:center; font-size:22px; }
.chk-sum-img img { width:100%; height:100%; object-fit:cover; border-radius:9px; }
.chk-sum-qty { position:absolute; top:-7px; right:-7px; min-width:20px; height:20px; padding:0 5px; border-radius:99px; background:#0f172a; color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
.chk-sum-info { flex:1; min-width:0; }
.chk-sum-title { font-size:13.5px; font-weight:800; color:#0f172a; line-height:1.25; }
.chk-sum-tag { display:inline-block; margin-top:4px; font-size:11px; font-weight:800; color:#92400e; background:#fef3c7; border:1px solid #fde68a; padding:2px 8px; border-radius:99px; }
.chk-sum-var { font-size:11px; color:#64748b; margin-top:3px; }
.chk-sum-price { text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:1px; flex-shrink:0; }
.chk-sum-price s { font-size:11.5px; color:#94a3b8; }
.chk-sum-price strong { font-size:15px; font-weight:900; color:#0f172a; }
.chk-sum-gifts { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:10px; padding:9px 10px; margin-bottom:10px; }
.chk-sum-gifts-title { font-size:12px; font-weight:800; color:#166534; margin-bottom:6px; }
.chk-sum-gift { display:flex; align-items:center; gap:8px; font-size:12px; color:#14532d; padding:3px 0; }
.chk-sum-gift-ic { width:22px; height:22px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:15px; }
.chk-sum-gift-ic img { width:22px; height:22px; object-fit:cover; border-radius:5px; }
.chk-sum-gift-t { flex:1; font-weight:600; line-height:1.25; }
.chk-sum-gift-v { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.chk-sum-gift-v s { color:#94a3b8; font-size:11px; }
.chk-sum-gift-v b { color:#16a34a; font-size:11px; font-weight:900; }
.chk-sum-rows { display:flex; flex-direction:column; gap:6px; }
.chk-sum-row { display:flex; justify-content:space-between; font-size:12.5px; color:#475569; }
.chk-sum-row s { color:#94a3b8; }
.chk-sum-row.is-green span:last-child { color:#16a34a; font-weight:800; }
.chk-sum-total { display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid #e2e8f0; padding-top:9px; margin-top:3px; font-size:15px; font-weight:900; color:#0f172a; }
.chk-sum-total span:last-child { font-size:19px; }
.chk-sum-save { margin-top:10px; text-align:center; font-size:12.5px; color:#166534; background:#dcfce7; border-radius:8px; padding:7px; }


/* Medios de pago debajo del botón de compra (discretos, en gris) */
.pay-badges-row { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px; margin-top:7px; color:#94a3b8; }
.pay-badge { display:inline-flex; align-items:center; justify-content:center; height:15px; }
.pay-badge svg { width:18px; height:18px; display:block; }
.pay-badge-oxxo { font-family: Arial, Helvetica, sans-serif; font-weight:900; font-size:9px; letter-spacing:.5px; color:#94a3b8; border:1.3px solid #cbd5e1; border-radius:3px; padding:0 3px; height:13px; line-height:11px; box-sizing:border-box; }
.pay-badges-caption { text-align:center; font-size:10.5px; color:#94a3b8; margin-top:3px; }


/* Posición de las miniaturas de la galería (izquierda / centro / derecha) */
.gallery-thumbs-row.thumbs-align-center > .gallery-thumb:first-child,
.gallery-thumbs-row.thumbs-align-right > .gallery-thumb:first-child { margin-left: auto; }
.gallery-thumbs-row.thumbs-align-center > .gallery-thumb:last-child { margin-right: auto; }
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center,
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right {
  grid-template-columns: repeat(auto-fit, var(--gal-thumb-size, 72px)) !important;
}
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center { justify-content: center !important; }
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right { justify-content: end !important; }
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center > .gallery-thumb,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-center > .gallery-thumb,
body.desktop-preview-mode .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right > .gallery-thumb,
body.fullscreen-mode:not(.mobile-preview-mode) .desktop-hero-gallery-col .gallery-section-wrap .gallery-thumbs-row.thumbs-align-right > .gallery-thumb { margin: 0 !important; width: var(--gal-thumb-size, 72px) !important; height: var(--gal-thumb-size, 72px) !important; }


/* Franja de urgencia en el pago */
.chk-urgency { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:4px 10px; background:#fff7ed; color:#9a3412; border-bottom:1px solid #fed7aa; font-size:12.5px; padding:8px 14px; text-align:center; }
.chk-urgency b { font-weight:800; }
.chk-urgency-time b { font-variant-numeric: tabular-nums; color:#c2410c; }
body.storefront-live-mode #checkoutModalBackdrop .chk-urgency { position: sticky; top: 58px; z-index: 4; }
