:root {
      --brand-red: #ef4444;
      --brand-red-hover: #dc2626;
      --brand-black: #111827;
      --brand-gray: #4b5563;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #f9fafb;
      color: var(--brand-black);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .glass-header {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    }

    .glass-card {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(229, 231, 235, 0.5);
    }

    .product-card {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    }

    .product-card:active {
      transform: translateY(-2px) scale(0.992);
    }

    .product-card-badge {
      box-shadow: 0 8px 18px rgba(220, 38, 38, 0.18);
    }

    .product-card-trust span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 1.35rem;
      border: 1px solid #e5e7eb;
      border-radius: 999px;
      background: #f9fafb;
      color: #4b5563;
      letter-spacing: 0.035em;
    }

    .product-card-trust span:first-child::before,
    .product-card-trust span:last-child::before {
      content: "";
      width: 0.35rem;
      height: 0.35rem;
      margin-right: 0.28rem;
      border-radius: 999px;
      background: #16a34a;
    }

    #proceso,
    #contacto {
      content-visibility: auto;
      contain-intrinsic-size: 1px 720px;
    }

    .product-skeleton-card {
      overflow: hidden;
      border: 1px solid #f3f4f6;
      border-radius: 1rem;
      background: #ffffff;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      animation: skeleton-card-in 240ms ease both;
      animation-delay: var(--skeleton-delay, 0ms);
    }

    .skeleton-card-body {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      padding: 0.8rem;
    }

    .skeleton-image {
      aspect-ratio: 1 / 1;
      width: 100%;
      background: #f3f4f6;
    }

    .skeleton-line,
    .skeleton-pill,
    .skeleton-price,
    .skeleton-button {
      position: relative;
      overflow: hidden;
      background: #f3f4f6;
    }

    .skeleton-line {
      height: 0.7rem;
      border-radius: 999px;
    }

    .skeleton-line-title {
      width: 82%;
    }

    .skeleton-line-short {
      width: 58%;
    }

    .skeleton-row,
    .skeleton-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .skeleton-pill {
      width: 44%;
      height: 1.15rem;
      border-radius: 999px;
    }

    .skeleton-pill-small {
      width: 32%;
    }

    .skeleton-price {
      width: 42%;
      height: 1rem;
      border-radius: 999px;
    }

    .skeleton-button {
      width: 38%;
      height: 1.75rem;
      border-radius: 0.7rem;
    }

    .skeleton-shimmer::after {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
      animation: skeleton-shimmer 1.45s ease-in-out infinite;
    }

    @keyframes skeleton-shimmer {
      100% {
        transform: translateX(100%);
      }
    }

    @keyframes skeleton-card-in {
      from {
        opacity: 0;
        transform: translateY(4px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .red-glow {
      box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }
    ::-webkit-scrollbar-thumb {
      background: var(--brand-red);
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: var(--brand-red-hover);
    }

    .hide-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .hide-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    #modalImageZoomContainer {
      cursor: default;
      touch-action: pan-y;
    }
    #modalImage {
      transform: none !important;
      transition: none !important;
    }
    #productModal,
    #productModal * {
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    #productModal #modalCategory {
      color: #ef4444;
      font-weight: 800;
      letter-spacing: 0.055em;
      line-height: 1.15;
    }
    #productModal #modalTitle {
      color: #ffffff;
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.28;
      text-shadow: none;
      filter: none;
      transform: none;
    }
    #productModal #modalOfferPrice {
      color: #0f172a;
      font-weight: 800;
      letter-spacing: 0;
      line-height: 1.05;
    }
    #productModal .product-modal-body h4 {
      color: #374151;
      font-weight: 800;
      letter-spacing: 0.045em;
      line-height: 1.25;
    }
    #productModal .product-modal-body h5 {
      font-weight: 800;
      letter-spacing: 0.055em;
      line-height: 1.25;
    }
    #productModal .product-modal-body p,
    #productModal .product-modal-body li {
      color: #4b5563;
    }
    #productModal #modalDescription,
    #productModal #modalProblemText,
    #productModal #modalSolutionText,
    #productModal #modalFeatures,
    #productModal #modalIncludedList {
      color: #374151;
    }
    #productModal #modalVariantContainer p,
    #productModal #modalVariantSku,
    #productModal #modalLiveViewers,
    #productModal #modalScarcityContainer span:first-child {
      color: #4b5563;
      letter-spacing: 0.035em;
    }
    #productModal .variant-option {
      position: relative;
      min-height: 68px;
      overflow: hidden;
      border-width: 1.5px;
      box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    }
    #productModal .variant-option:not(.is-sold-out):hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 30px rgba(239, 68, 68, 0.12);
    }
    #productModal .variant-option.is-available {
      background: #ffffff;
      border-color: #e5e7eb;
    }
    #productModal .variant-option.is-selected {
      background: #fff1f2;
      border-color: #ef4444;
      box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.28), 0 12px 30px rgba(239, 68, 68, 0.12);
    }
    #productModal .variant-option.is-sold-out {
      cursor: not-allowed;
      opacity: 1 !important;
      background: linear-gradient(135deg, #f8fafc 0%, #ffffff 46%, #fee2e2 100%);
      border-color: #fecaca !important;
      box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.22), 0 8px 20px rgba(15, 23, 42, 0.05);
    }
    #productModal .variant-option.is-sold-out::after {
      content: "";
      position: absolute;
      left: -18%;
      top: 50%;
      width: 136%;
      height: 2px;
      background: rgba(220, 38, 38, 0.68);
      transform: rotate(-12deg);
      transform-origin: center;
      pointer-events: none;
    }
    #productModal .variant-option.is-sold-out span:not(.variant-option-soldout-badge) {
      color: #6b7280 !important;
    }
    #productModal .variant-option-soldout-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      z-index: 1;
      border-radius: 999px;
      background: #dc2626;
      color: #ffffff;
      font-size: 10px;
      font-weight: 900;
      line-height: 1;
      padding: 5px 7px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      box-shadow: 0 6px 14px rgba(220, 38, 38, 0.24);
    }
    #productModal .variant-option-shake {
      animation: variant-option-shake 0.38s ease-in-out;
    }
    #productModal .variant-action-disabled {
      filter: grayscale(0.35);
      opacity: 0.72;
      cursor: not-allowed;
    }
    @keyframes variant-option-shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-4px); }
      50% { transform: translateX(4px); }
      75% { transform: translateX(-2px); }
    }
    #productModal #modalSpecsGrid span:first-child {
      color: #4b5563;
      font-weight: 800;
      letter-spacing: 0.045em;
    }
    #productModal #modalSpecsGrid span:last-child {
      color: #111827;
      font-weight: 800;
      letter-spacing: 0;
    }
    #productModal .product-modal-action-btn {
      font-weight: 800;
      letter-spacing: 0.01em;
      line-height: 1.2;
      text-shadow: none;
      filter: none;
    }
    #productModal .product-modal-trust {
      color: #374151;
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1.15;
    }
    #productModal .product-modal-secondary-btn {
      color: #374151;
      font-weight: 700;
      letter-spacing: 0;
    }
    #featuredSection p,
    #catalog h2 + p {
      color: #4b5563;
    }
    #searchInput::placeholder {
      color: #6b7280;
      opacity: 1;
    }
    .product-card h3 {
      color: #111827;
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1.25;
    }
    .product-card span.text-gray-400.uppercase {
      color: #4b5563;
      font-weight: 700;
      letter-spacing: 0.045em;
    }
.payment-strip-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: center;
}

.payment-logo-chip {
  display: inline-flex;
  height: 40px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0 0.625rem;
  box-shadow: 0 8px 18px -18px rgba(15, 23, 42, 0.45);
}

.payment-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.payment-logo-row .payment-logo-chip {
  width: 106px;
}

.payment-logo-row .payment-logo-chip.payment-logo-chip-sm {
  width: 86px;
}

.payment-footer-panel {
  grid-column: 1 / -1;
  width: 100%;
}

.payment-logo-chip img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.payment-logo-banreservas {
  max-width: 94px;
  max-height: 22px;
}

.payment-logo-popular {
  max-width: 92px;
  max-height: 22px;
}

.payment-logo-bhd {
  max-width: 82px;
  max-height: 22px;
}

@media (min-width: 640px) {
  .payment-strip-logos {
    display: flex;
    justify-content: flex-end;
  }

  .payment-logo-chip {
    width: 124px;
  }

  .payment-logo-chip.payment-logo-chip-sm {
    width: 112px;
  }

  .payment-logo-banreservas {
    max-width: 104px;
    max-height: 24px;
  }

  .payment-logo-popular {
    max-width: 102px;
    max-height: 24px;
  }

  .payment-logo-bhd {
    max-width: 92px;
    max-height: 24px;
  }
}

@media (min-width: 768px) {
  .payment-footer-panel .payment-logo-row {
    min-width: 340px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
      #productModal .product-modal-header {
        padding: 1rem 1.25rem;
}
      #productModal .product-modal-body {
        padding: 1rem 1.25rem;
        gap: 1rem;
      }
      #productModal .product-modal-media-frame {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
      }
      #productModal #modalImageZoomContainer {
        height: auto;
      }
      #productModal #modalImage {
        width: 100%;
        height: auto;
      }
      #productModal .product-modal-gallery {
        margin-top: 0.5rem;
      }
      #productModal .product-modal-actions {
        padding: 0.65rem 0.75rem 0.75rem;
        gap: 0.45rem;
      }
      #productModal .product-modal-primary-actions {
        gap: 0.5rem;
      }
      #productModal .product-modal-secondary-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
      }
      #productModal .product-modal-action-btn {
        min-height: 42px;
        padding: 0.55rem 0.45rem;
        border-radius: 0.7rem;
        font-size: 9px;
        line-height: 1.18;
        letter-spacing: 0.005em;
      }
      #productModal .product-modal-secondary-btn {
        min-height: 36px;
        padding: 0.45rem 0.5rem;
        border-radius: 0.7rem;
        font-size: 11px;
        line-height: 1.15;
      }
    }
    #searchTooltip {
      max-width: min(92vw, 560px);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      line-height: 1.25;
    }
    #searchTooltip .search-tooltip-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    #reelsCarousel > .reel-card {
      min-width: calc(44vw - 8px) !important;
      aspect-ratio: 9 / 16;
      scroll-snap-align: start;
      flex-shrink: 0;
    }
    @media (min-width: 768px) {
      #reelsCarousel {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 168px)) !important;
        justify-content: center;
        max-width: 820px;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: visible !important;
      }
      #reelsCarousel > .reel-card {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 168px;
      }
    }
    @media (min-width: 1180px) {
      #reelsCarousel {
        grid-template-columns: repeat(4, minmax(0, 182px)) !important;
        max-width: 900px;
      }
      #reelsCarousel > .reel-card {
        max-width: 182px;
      }
    }
    body {
      user-select: none;
      -webkit-user-select: none;
    }
    input, textarea, select, [contenteditable], .allow-copy, .copy-safe, .payment-copy-zone, .checkout-field, .search-container {
      user-select: text !important;
      -webkit-user-select: text !important;
    }
    body.config-loading [data-config-section] {
      opacity: 0;
      visibility: hidden;
    }
    body.config-ready [data-config-section],
    body.config-failed [data-config-section] {
      opacity: 1;
      visibility: visible;
      transition: opacity 180ms ease;
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }

      .product-card:hover,
      .product-card:active {
        transform: none;
      }
    }
