/* ═══════════════════════════════════════════════════════════
   CONVENIENCE STORES — Page-specific styles
   Inherits all shared design tokens, nav, footer, buttons,
   features, CTA, and ProEPOS component styles (pp-hero, pp-tabs)
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   CV-OFFER — Free EPOS promotional banner
   ═══════════════════════════════════════════ */
.cv-offer {
  position: relative;
  background: linear-gradient(135deg, #007BC1 0%, #005a8e 50%, #004a75 100%);
  overflow: hidden;
}

.cv-offer__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 2.2rem 2.4rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.cv-offer__pulse {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,171,51,0.25) 0%, transparent 70%);
  filter: blur(40px);
  animation: cv-pulse 4s ease-in-out infinite;
}

@keyframes cv-pulse {
  0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateY(-50%) scale(1.15); }
}

.cv-offer__content {
  flex: 1;
  min-width: 0;
}

.cv-offer__tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #007BC1;
  background: #fff;
  border-radius: 50px;
  margin-bottom: 0.7rem;
}

.cv-offer__title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.cv-offer__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   CV-STATS — Key metrics strip
   ═══════════════════════════════════════════ */
.cv-stats {
  padding: 3.5rem 2.4rem;
  background: var(--bg);
}

.cv-stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.cv-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.cv-stats__number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue) 0%, #4da6d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cv-stats__item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.cv-stats__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CV-WHOLESALERS — Partner integration grid
   ═══════════════════════════════════════════ */
.cv-wholesalers {
  padding: var(--section-pad) 2.4rem;
  background: var(--bg);
}

.cv-wholesalers__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.cv-wholesalers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cv-wholesaler-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}

.cv-wholesaler-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #4da6d9 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.cv-wholesaler-card:hover {
  border-color: rgba(0,123,193,0.2);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.cv-wholesaler-card:hover::before {
  opacity: 1;
}

.cv-wholesaler-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  margin-bottom: 0;
}

.cv-wholesaler-card__logo img {
  max-height: 72px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cv-wholesaler-card__logo-fallback {
  display: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Convenience page overrides
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cv-wholesalers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cv-offer__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .cv-stats__divider {
    display: none;
  }

  .cv-stats__inner {
    gap: 2rem;
  }

  .cv-stats__item {
    min-width: 120px;
  }

  .cv-wholesalers__grid {
    grid-template-columns: 1fr;
  }
}
