/* ==========================================================================
   TIENDA ONLINE PUNTOS COLOMBIA - OFFICIAL DESIGN SYSTEM (VTEX CLONE)
   Palette: Electric Purple (#5E00CC), Dark Purple (#40008F), Coral (#FF0066),
            Cyan (#00D2D3), Yellow (#FFD000), Base (#FFFFFF), Surface (#F4F4F8)
   Typography: Poppins, Arial, sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg-core: #f4f4f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: #e3e4e8;
  --border-bright: #cbd5e1;
  
  /* Puntos Colombia Signature Palette */
  --primary-purple: #5e00cc;
  --primary-purple-hover: #450099;
  --primary-purple-dark: #320070;
  --primary-purple-light: #f5f0ff;
  --primary-purple-tint: #ede5ff;
  
  --accent-coral: #ff0066;
  --accent-coral-hover: #e0005a;
  --accent-cyan: #00d2d3;
  --accent-yellow: #ffd000;
  --accent-green: #15803d;
  --accent-amber: #b45309;
  --accent-danger: #dc2626;

  --text-primary: #25282a;
  --text-secondary: #4a4e51;
  --text-muted: #72777a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(94, 0, 204, 0.08);
  --shadow-lg: 0 10px 25px rgba(94, 0, 204, 0.12);
  --shadow-xl: 0 20px 35px rgba(94, 0, 204, 0.16);

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f5;
}
::-webkit-scrollbar-thumb {
  background: #c7c8cf;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9f9fa9;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP UTILITY TICKER (Puntos Colombia Style)
   ========================================================================== */
.top-ticker {
  background: #40008f;
  color: #f8fafc;
  padding: 6px 20px;
  font-size: 0.74rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-badge {
  background: #ff0066;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}
.top-nav-link {
  color: #e2d9f3;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.top-nav-link:hover, .top-nav-link.active {
  color: #ffffff;
  font-weight: 700;
}
.top-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}
.top-promo-pill {
  background: #ffd000;
  color: #320070;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.68rem;
}
.top-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2d9f3;
  font-size: 0.72rem;
  white-space: nowrap;
}
.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Priority Dispatch Bar */
.dispatch-urgency-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.urgency-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   HEADER & NAVIGATION (Puntos Colombia VTEX Clone)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 12px 0 0 0;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
}

/* Puntos Colombia Logo */
.pco-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.pco-dots-logo {
  display: grid;
  grid-template-columns: repeat(2, 11px);
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.pco-dots-logo .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.dot-purple { background: #5e00cc; }
.dot-coral  { background: #ff0066; }
.dot-cyan   { background: #00d2d3; }
.dot-yellow { background: #ffd000; }

.pco-logo-text {
  display: flex;
  flex-direction: column;
}
.pco-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1d2939;
  line-height: 1;
}
.pco-brand-sub {
  font-size: 0.62rem;
  color: #5e00cc;
  letter-spacing: 1px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Category menu button */
.btn-category-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-purple-light);
  color: var(--primary-purple);
  border: 1.5px solid var(--primary-purple-tint);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-category-menu:hover {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
}

/* Central Search Bar (Puntos Colombia Pill) */
.search-container {
  flex: 1;
  max-width: 560px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  width: 100%;
  padding: 10px 52px 10px 20px;
  background: #f4f4f8;
  border: 1.5px solid #e3e4e8;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-family: inherit;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(94, 0, 204, 0.15);
}
.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary-purple);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.search-btn:hover {
  background: var(--primary-purple-hover);
  transform: translateY(-50%) scale(1.05);
}

/* Instant Search Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  max-height: 420px;
  overflow-y: auto;
  z-index: 2200;
  padding: 8px 0;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

.search-suggest-item:hover {
  background: #f5f0ff;
}

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

.search-suggest-symbol {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #ede5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.search-suggest-info {
  flex: 1;
  min-width: 0;
}

.search-suggest-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

.search-suggest-price {
  font-size: 0.85rem;
  font-weight: 900;
  color: #5e00cc;
}

.search-suggest-tag {
  font-size: 0.68rem;
  color: #15803d;
  font-weight: 700;
  background: #dcfce7;
  padding: 1px 6px;
  border-radius: 4px;
}

.search-suggest-footer {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.78rem;
  color: #5e00cc;
  font-weight: 700;
  cursor: pointer;
  background: #fbf9ff;
  border-top: 1px solid #e2e8f0;
}

.search-suggest-footer:hover {
  background: #ede5ff;
}

/* Points Balance Widget */
.pco-points-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbf9ff;
  border: 1px solid #ebdfff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}
.pco-points-widget:hover {
  border-color: var(--primary-purple);
  transform: translateY(-1px);
}
.points-circle {
  width: 28px;
  height: 28px;
  background: var(--primary-purple);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.points-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #72777a;
  line-height: 1;
  text-transform: uppercase;
}
.points-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1.2;
}
.points-val small {
  font-size: 0.7rem;
  font-weight: 600;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.btn-track {
  background: #f4f4f8;
  color: #323539;
  border: 1px solid #e3e4e8;
}
.btn-track:hover {
  background: #ececf2;
  border-color: #cbd5e1;
  color: #0f172a;
}
.btn-cart {
  background: var(--primary-purple);
  color: #ffffff;
  border: 1px solid var(--primary-purple);
  position: relative;
}
.btn-cart:hover {
  background: var(--primary-purple-hover);
  box-shadow: 0 4px 12px rgba(94, 0, 204, 0.3);
}
.cart-badge {
  background: #ff0066;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  margin-left: 2px;
}

/* Subnav Category Rail */
.subnav-rail {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #f0f0f4;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.subnav-rail::-webkit-scrollbar {
  display: none;
}
.subnav-item {
  color: #4a4e51;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 0;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.subnav-item:hover, .subnav-item.active {
  color: var(--primary-purple);
}
.subnav-item.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary-purple);
  border-radius: 2px;
}

/* ==========================================================================
   HERO BANNER SLIDER (Official Puntos Colombia VTEX Assets)
   ========================================================================== */
.pco-hero-banner-section {
  margin: 18px 0 24px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pco-banner-slider {
  position: relative;
  width: 100%;
  height: 380px;
  background: #2d0066;
}
.pco-banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  display: flex;
  align-items: center;
}
.pco-banner-slide.active {
  opacity: 1;
  visibility: visible;
}
.banner-overlay {
  background: linear-gradient(90deg, rgba(30, 0, 70, 0.92) 0%, rgba(30, 0, 70, 0.78) 45%, rgba(30, 0, 70, 0) 100%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  max-width: 650px;
}
.banner-pill {
  display: inline-block;
  background: var(--accent-coral);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.banner-pill.yellow {
  background: var(--accent-yellow);
  color: #320070;
}
.banner-pill.coral {
  background: var(--accent-coral);
  color: #ffffff;
}
.banner-overlay h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.banner-overlay p {
  font-size: 0.92rem;
  color: #e2d9f3;
  margin-bottom: 22px;
  line-height: 1.5;
}
.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--primary-purple);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.banner-cta:hover {
  background: var(--accent-yellow);
  color: #320070;
  transform: translateY(-2px);
}
.pco-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 48px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: #ffffff;
}

/* ==========================================================================
   CIRCULAR CATEGORIES ROW (Puntos Colombia VTEX style)
   ========================================================================== */
.pco-circular-categories {
  margin: 28px 0 20px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d2939;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}
.circles-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  text-align: center;
}
.cat-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.cat-circle-item:hover {
  transform: translateY(-4px);
}
.cat-circle-item:hover .circle-thumb {
  border-color: var(--primary-purple);
  box-shadow: 0 6px 16px rgba(94, 0, 204, 0.2);
}
.cat-circle-item:hover span {
  color: var(--primary-purple);
  font-weight: 700;
}
.circle-thumb {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e3e4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.circle-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cat-circle-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a4e51;
  transition: var(--transition);
}

/* ==========================================================================
   EQUALIZER WIDGET (Puntos Colombia Signature Feature)
   ========================================================================== */
.pco-equalizer-bar {
  margin: 20px 0 32px;
}
.equalizer-card {
  background: linear-gradient(135deg, #fbf9ff 0%, #ffffff 100%);
  border: 1.5px solid #ebdfff;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.equalizer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.equalizer-icon {
  font-size: 1.8rem;
  background: var(--primary-purple-light);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equalizer-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--primary-purple);
}
.equalizer-sub {
  font-size: 0.8rem;
  color: #64748b;
}
.equalizer-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.eq-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.eq-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}
.eq-btn.active {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(94, 0, 204, 0.25);
}
.eq-badge {
  font-size: 0.88rem;
}

/* ==========================================================================
   CONTROLS BAR & CATEGORY PILLS RAIL
   ========================================================================== */
.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 16px;
  margin-bottom: 12px;
  white-space: nowrap;
}
.category-rail::-webkit-scrollbar {
  height: 4px;
}
.category-rail::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cat-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--text-primary);
}
.cat-pill.active {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 2px 8px rgba(94, 0, 204, 0.25);
}

.controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.filter-tabs {
  display: flex;
  gap: 6px;
  background: #f4f4f8;
  padding: 4px;
  border-radius: var(--radius-full);
}
.filter-tab {
  padding: 6px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover {
  color: var(--text-primary);
}
.filter-tab.active {
  background: #ffffff;
  color: var(--primary-purple);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.sort-select {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #334155;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   PRODUCTS GRID & VTEX PRODUCT CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #e3e4e8;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  border-color: #c7a7f7;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge-discount {
  background: var(--accent-coral);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.badge-invima {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

.card-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e3e4e8;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}
.card-fav-btn:hover {
  color: var(--accent-coral);
  border-color: var(--accent-coral);
}

.product-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  padding: 10px;
}
.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-symbol {
  font-size: 3.5rem;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-lab {
  color: var(--primary-purple);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.product-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
}
.product-active {
  color: #64748b;
  font-size: 0.74rem;
  margin-bottom: 6px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.stock-tag {
  font-size: 0.7rem;
  color: #15803d;
  font-weight: 600;
}
.stock-tag.low {
  color: #dc2626;
}

/* Dual Pricing Display (Puntos Colombia Style) */
.pricing-block {
  margin: 8px 0 12px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.points-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}
.points-pricing span.pts-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-purple);
}
.price-cop-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
.price-final {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.price-original {
  font-size: 0.78rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.delivery-tag {
  font-size: 0.7rem;
  color: #15803d;
  font-weight: 700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Action Buttons */
.btn-primary {
  background: var(--primary-purple);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-purple);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.86rem;
  box-shadow: 0 2px 6px rgba(94, 0, 204, 0.25);
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-purple-hover);
  border-color: var(--primary-purple-hover);
  box-shadow: 0 6px 16px rgba(94, 0, 204, 0.35);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* ==========================================================================
   TRUST BAR / VALUE PROPOSITIONS
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 36px 0;
}
.trust-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  font-size: 1.8rem;
  background: var(--primary-purple-light);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.trust-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}

/* ==========================================================================
   CUSTOMER REVIEWS (Verified Colombian Buyers)
   ========================================================================== */
.reviews-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fbf9ff;
  border: 1px solid #ebdfff;
  border-radius: var(--radius-md);
  padding: 18px;
}

/* ==========================================================================
   DRAWER CART & MODALS
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 2500;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  right: 0;
}
.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.drawer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  background: #f8fafc;
}
.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

/* Enhanced Cart Item Cards */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item-card {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.cart-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
  cursor: pointer;
}
.cart-item-thumb-symbol {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #f1f5f9;
  flex-shrink: 0;
  cursor: pointer;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 2px;
}
.cart-item-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-name:hover {
  color: var(--primary-purple);
}
.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}
.cart-item-variant {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.cart-qty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border-radius: 9999px;
  padding: 2px 6px;
  border: 1px solid #cbd5e1;
}
.cart-qty-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cart-qty-btn:hover {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: #ffffff;
}
.cart-qty-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 16px;
  text-align: center;
}
.cart-item-subtotal {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  text-align: right;
}

/* High Converting Checkout Button in Drawer */
.btn-drawer-checkout {
  width: 100%;
  background: #ffd000;
  color: #0f172a;
  border: 1.5px solid #eab308;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  letter-spacing: -0.2px;
}
.btn-drawer-checkout:hover {
  background: #facc15;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.45);
}
.btn-drawer-checkout:active {
  transform: translateY(0);
}

.whatsapp-floating-container.hide-on-drawer {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
  transform: scale(0.8);
  transition: all 0.25s ease;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: var(--transition);
  z-index: 20;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   PUNTOS COLOMBIA OFFICIAL SPLASH SCREEN (Exact app/web entry)
   ========================================================================== */
.pco-splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.pco-splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pco-splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.pco-splash-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pco-splash-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.pco-splash-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #5e00cc;
  letter-spacing: -0.5px;
}
.pco-splash-sub {
  font-size: 1.55rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  margin-top: -2px;
}
.pco-splash-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #f1f5f9;
  border-top-color: #5e00cc;
  border-radius: 50%;
  animation: pcoSpin 0.75s linear infinite;
}
@keyframes pcoSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PUNTOS COLOMBIA OFFICIAL PDP (Product Detail Page & Purchase Box)
   Exact match to tiendaonline.puntoscolombia.com/p
   ========================================================================== */
.pco-pdp-window {
  max-width: 980px;
  width: 95%;
  max-height: 92vh;
  padding: 24px 28px;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}
.pco-pdp-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}
.pco-pdp-title-group h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 4px 0;
}
.pco-pdp-vendor {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}
.pco-pdp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}
.pco-pdp-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.pco-pdp-icon-btn:hover {
  background: #f1f5f9;
  color: #5e00cc;
}
.pco-pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.pco-pdp-left {
  display: flex;
  flex-direction: column;
}
.pco-pdp-img-container {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.pco-pdp-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.pco-pdp-ref-note {
  font-size: 0.72rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 24px;
}
.pco-pdp-specs-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px 0;
}
.pco-pdp-specs-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 10px;
}
.pco-pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}
.pco-pdp-specs-table tr {
  border-bottom: 1px solid #f1f5f9;
}
.pco-pdp-specs-table tr:nth-child(odd) {
  background: #f9fafb;
}
.pco-pdp-specs-table td {
  padding: 9px 12px;
}
.pco-pdp-specs-table td.label-col {
  color: #4b5563;
  font-weight: 600;
  width: 45%;
}
.pco-pdp-specs-table td.val-col {
  color: #111827;
  font-weight: 500;
}

/* Right Column Purchase Box */
.pco-pdp-right {
  display: flex;
  flex-direction: column;
}
.pco-buybox-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.pco-buybox-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}
.pco-buybox-card:hover {
  border-color: #cbd5e1;
}
.pco-buybox-card.active {
  border: 1.5px solid #5e00cc;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(94, 0, 204, 0.08);
}
.pco-buybox-radio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pco-buybox-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}
.pco-buybox-radio-label input[type="radio"] {
  accent-color: #5e00cc;
  width: 17px;
  height: 17px;
}
.pco-buybox-amount-tag {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pco-buybox-amount-tag .pts-sym {
  color: #5e00cc;
  font-size: 0.95rem;
}
.pco-buybox-interactive {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.pco-pts-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pco-pts-input-box {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  background: #ffffff;
}
.pco-pts-input-box input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: #5e00cc;
  width: 80px;
  font-family: inherit;
}
.pco-pts-cash-rem {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}
.pco-pts-reward-notice {
  font-size: 0.72rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.pco-pts-reward-notice strong {
  color: #5e00cc;
}

/* Primary Yellow Comprar Ahora Button */
.btn-pco-yellow {
  background: #ffc700;
  color: #111827;
  font-weight: 800;
  font-size: 0.96rem;
  border: none;
  border-radius: 9999px;
  padding: 13px 20px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 14px;
  box-shadow: 0 3px 10px rgba(255, 199, 0, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-pco-yellow:hover {
  background: #e6b300;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 199, 0, 0.45);
}

/* Secondary Outline Agregar al Carrito Button */
.btn-pco-outline {
  background: #ffffff;
  color: #5e00cc;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid #d1d5db;
  border-radius: 9999px;
  padding: 11px 20px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-pco-outline:hover {
  border-color: #5e00cc;
  background: #fbf9ff;
  color: #5e00cc;
}

/* WhatsApp Direct Pedir Contra Entrega Button */
.btn-whatsapp-cod {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 9999px;
  padding: 13px 20px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.btn-whatsapp-cod:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.48);
  color: #ffffff !important;
}

.pco-buybox-card.cod-card {
  border: 1.5px solid #e2e8f0;
}
.pco-buybox-card.cod-card:hover {
  border-color: #25d366;
}
.pco-buybox-card.cod-card.active {
  border-color: #25d366;
  background: #f0fdf4;
  box-shadow: 0 3px 14px rgba(37, 211, 102, 0.14);
}
.pco-buybox-card.cod-card .pco-buybox-radio-label input[type="radio"]:checked {
  accent-color: #15803d;
}

@media (min-width: 992px) {
  .pco-pdp-right {
    position: sticky;
    top: 85px;
    align-self: start;
  }
}

/* ==========================================================================
   FULL-PAGE PRODUCT VIEW (Standalone PDP, NOT a floating modal)
   Matches official tiendaonline.puntoscolombia.com/p
   ========================================================================== */
@keyframes pdpSlideUpFade {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.pdp-full-page-view {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  margin: 16px 0 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  animation: pdpSlideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}
.pdp-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pdp-breadcrumbs a {
  color: #5e00cc;
  text-decoration: none;
  font-weight: 600;
}
.pdp-breadcrumbs span.sep {
  color: #cbd5e1;
}
.pdp-breadcrumbs span.current {
  color: #0f172a;
  font-weight: 600;
}
.pdp-back-bar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.btn-back-to-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5e00cc;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(94, 0, 204, 0.3);
  letter-spacing: -0.1px;
}
.btn-back-to-catalog:hover {
  background: #4700a0;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(94, 0, 204, 0.4);
}
.btn-back-to-catalog:active {
  transform: translateY(0);
}

/* ==========================================================================
   DIRECT NEQUI PAYMENT GATEWAY & CONTRA ENTREGA CONFIRMATION (No WhatsApp)
   ========================================================================== */
.nequi-gateway-card {
  text-align: center;
}
.nequi-gateway-header {
  background: #200020;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -24px -24px 20px -24px;
}
.nequi-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.nequi-n {
  background: #ff0066;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}
.nequi-badge-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}
.nequi-body {
  padding: 0 4px;
}
.nequi-amount-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.nequi-amount-val {
  font-size: 2rem;
  font-weight: 900;
  color: #200020;
  margin-bottom: 4px;
}
.nequi-ref-pill {
  display: inline-block;
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 18px;
}
.btn-nequi-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ff0066;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.35);
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.btn-nequi-primary:hover {
  background: #e6005c;
  transform: translateY(-1px);
}
.nequi-qr-section {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fbf9ff;
  border: 1px dashed #d8b4fe;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}
.nequi-qr-box {
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nequi-qr-img {
  width: 120px;
  height: 120px;
  display: block;
}
.nequi-qr-instruct {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
}
.nequi-qr-instruct strong {
  display: block;
  color: #200020;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.nequi-qr-instruct p {
  margin: 3px 0;
}
.btn-nequi-push {
  background: #200020;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-nequi-push:hover {
  background: #380038;
}

/* Contra Entrega Order Confirmation Card */
.cod-confirmation-card {
  text-align: center;
  padding: 10px 0;
}
.cod-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: left;
}
.cod-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #475569;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
.cod-row:last-child {
  border-bottom: none;
}
.cod-row strong {
  color: #0f172a;
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 4px;
}
.modal-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 18px;
}

/* Checkout payment method cards */
.payment-card-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.payment-card-option:hover {
  border-color: var(--primary-purple);
  background: #fbf9ff;
}
.payment-card-option.selected,
.payment-card-option.active {
  border-color: var(--primary-purple);
  background: #fbf9ff;
  box-shadow: 0 2px 10px rgba(94, 0, 204, 0.12);
}
.payment-card-option.cod-wa-checkout-card:hover {
  border-color: #25d366;
  background: #f0fdf4;
}
.payment-card-option.cod-wa-checkout-card.selected,
.payment-card-option.cod-wa-checkout-card.active {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.15);
}
.payment-card-option input[type="radio"] {
  accent-color: var(--primary-purple);
}

/* Live Sales Floating Toast */
.live-sales-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #ffffff;
  border: 1px solid #ebdfff;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  max-width: 340px;
  animation: slide-in-toast 0.4s ease;
}
@keyframes slide-in-toast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.toast-product-thumb {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  background: var(--primary-purple-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-header-line {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.toast-verified {
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 700;
}
.toast-product-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.toast-action-tag {
  font-size: 0.68rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.toast-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}
.toast-close-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1rem;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3000;
}
.toast {
  background: #1e293b;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in-toast 0.3s ease;
}

/* ==========================================================================
   FOOTER (Puntos Colombia Style)
   ========================================================================== */
.footer {
  background: #230052;
  color: #f8fafc;
  padding: 56px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.footer-col p {
  font-size: 0.82rem;
  color: #d1c5e9;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: #d1c5e9;
  text-decoration: none;
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--accent-yellow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  text-align: center;
  font-size: 0.74rem;
  color: #b0a3c9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-overlay {
    max-width: 100%;
    padding: 0 24px;
  }
}
@media (max-width: 768px) {
  .top-ticker {
    display: none;
  }
  .pco-brand-title {
    font-size: 1.15rem;
  }
  .pco-points-widget {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-visual {
    height: 140px;
  }
}

/* ==========================================================================
   COLOMBIAN LOGISTICS & CARRIERS TRUST SECTION
   ========================================================================== */
.logistics-partners-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin: 36px 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.logistics-header .logistics-pill {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.logistics-header h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.logistics-header p {
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 24px;
}
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.carrier-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 14px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.carrier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.carrier-badge {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.carrier-badge .carrier-name {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.carrier-badge.servientrega .carrier-name { color: #047857; }
.carrier-badge.coordinadora .carrier-name { color: #1e3a8a; }
.carrier-badge.interrapidisimo .carrier-name { color: #ea580c; }
.carrier-badge.envia .carrier-name { color: #b91c1c; }
.carrier-badge .carrier-role {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.carrier-desc {
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .logistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .logistics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TAMBIÉN TE PODRÍA INTERESAR — Related Products Strip (PDP)
   ========================================================================== */
.pdp-related-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #e2e8f0;
}
.pdp-related-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.pdp-related-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 20px;
}
.pdp-related-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}
.pdp-related-scroll::-webkit-scrollbar {
  height: 4px;
}
.pdp-related-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.pdp-related-scroll::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 9999px;
}
.pdp-rel-card {
  flex: 0 0 190px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pdp-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.pdp-rel-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  background: #f8fafc;
}
.pdp-rel-symbol {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: #f8fafc;
}
.pdp-rel-info {
  padding: 10px 12px 12px;
}
.pdp-rel-cat {
  font-size: 0.65rem;
  font-weight: 800;
  color: #5e00cc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.pdp-rel-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdp-rel-price {
  font-size: 0.88rem;
  font-weight: 900;
  color: #0f172a;
}
.pdp-rel-btn {
  width: 100%;
  margin-top: 8px;
  padding: 7px 0;
  background: #5e00cc;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pdp-rel-btn:hover {
  background: #4700a0;
}

/* ==========================================================================
   FOOTER SOCIAL BAR
   ========================================================================== */
.footer-social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 24px 0 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}
.footer-social-link svg {
  display: block;
}

/* ==========================================================================
   MOBILE VIEWPORT & RESPONSIVE POLISH (Strict Zero-Overflow Engine)
   ========================================================================== */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

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

@media (max-width: 768px) {
  /* Prevent horizontal scrolling completely */
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  /* Header Optimization */
  .header {
    padding: 8px 0 0 0 !important;
  }
  .nav-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
  }
  .pco-logo-container {
    order: 1 !important;
    flex: 0 1 auto !important;
    gap: 8px !important;
    max-width: 60% !important;
  }
  .epp-logo-badge svg {
    width: 32px !important;
    height: 32px !important;
  }
  .pco-brand-title {
    font-size: 1.02rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .pco-brand-sub {
    font-size: 0.54rem !important;
    letter-spacing: 0.2px !important;
  }
  .nav-actions {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
  }
  .nav-btn {
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
    border-radius: 20px !important;
  }
  .btn-category-menu {
    display: none !important; /* Categories are already right below in the scrollable subnav rail */
  }
  .pco-points-widget {
    display: none !important;
  }
  .search-container {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin: 4px 0 2px 0 !important;
  }
  .search-input {
    width: 100% !important;
    height: 38px !important;
    padding: 8px 46px 8px 14px !important;
    font-size: 0.82rem !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
  }
  .search-btn {
    width: 38px !important;
    height: 38px !important;
    right: 0 !important;
    top: 0 !important;
  }

  /* Subnav category rail horizontal scroll */
  .subnav-rail {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 0 !important;
  }
  .subnav-rail::-webkit-scrollbar {
    display: none !important;
  }
  .subnav-item {
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* PDP (Product Detail Page) Full Mobile Stacking */
  .pco-pdp-container {
    padding: 10px 0 40px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .pco-pdp-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .pco-pdp-left, .pco-pdp-right {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: static !important;
  }
  .pco-pdp-img-container {
    max-height: 340px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .pco-pdp-img {
    max-height: 300px !important;
    width: 100% !important;
    object-fit: contain !important;
  }
  .pco-pdp-title-group h2 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .pco-pdp-box {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pdp-payment-card {
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pco-pdp-specs-table {
    font-size: 0.74rem !important;
    width: 100% !important;
  }
  .pco-pdp-specs-table td {
    padding: 8px 6px !important;
    word-break: break-word !important;
  }

  /* Catalog Grid in Mobile */
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .product-card {
    padding: 8px !important;
    border-radius: 10px !important;
  }
  .product-visual {
    height: 125px !important;
  }
  .product-name {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
    min-height: 32px !important;
    margin: 4px 0 !important;
  }
  .price-final {
    font-size: 1.05rem !important;
  }
  .delivery-tag {
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
  }
  .btn-primary {
    font-size: 0.78rem !important;
    padding: 9px !important;
  }
  .btn-secondary {
    font-size: 0.7rem !important;
    padding: 6px !important;
  }

  /* Floating WhatsApp button */
  #whatsappFloatBtn {
    bottom: 16px !important;
    right: 14px !important;
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
    z-index: 99 !important;
  }
}
