/* ============================================================
   RetailDost — styles.css  v3
   Purpose: ONLY styles that cannot be expressed in Tailwind CDN
   Everything else lives in Tailwind utility classes in the HTML.
   ============================================================ */

/* ── Scrollbar hiding (horizontal product rows) ───────────── */
.products-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge */
}
.products-scroll::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

/* ── Scroll snap ─────────────────────────────────────────── */
.products-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-card {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ── Topbar marquee ──────────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.topbar-inner {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.topbar-inner:hover {
  animation-play-state: paused;
}

/* ── Hero slider ─────────────────────────────────────────── */
.slider-slide {
  display: none;
  width: 100%;
  height: 100%;
}
.slider-slide.is-active {
  display: block;
}
.slider-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Variant chips ───────────────────────────────────────── */
.color-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  outline: none;
  flex-shrink: 0;
}
.color-chip:hover {
  transform: scale(1.15);
}
.color-chip.is-active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #47143d;
}

.spec-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1.5px solid #c4b0c2;
  background: #fff;
  color: #47143d;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  outline: none;
  white-space: nowrap;
}
.spec-chip:hover {
  background: #f5eef4;
  border-color: #47143d;
}
.spec-chip.is-active {
  background: #47143d;
  color: #fff;
  border-color: #47143d;
}

/* ── WhatsApp FAB ────────────────────────────────────────── */
@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.12);
  }
}
.wa-pulse {
  animation: wa-pulse 2.4s ease-in-out infinite;
}

/* ── Nav scroll elevation ────────────────────────────────── */
.nav-scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ── Scroll arrows ───────────────────────────────────────── */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0d5e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #47143d;
  transition: opacity 0.2s, background 0.2s;
  user-select: none;
}
.scroll-btn:hover {
  background: #f5eef4;
}
.scroll-btn-left  { left: 4px; }
.scroll-btn-right { right: 4px; }

/* ── Form field overrides (Tailwind doesn't do pseudo-classes on labels) ── */
.ff-error {
  display: block;
  font-size: 11px;
  color: #d32f2f;
  margin-top: 3px;
  min-height: 16px;
}
.field-wrap.has-error input,
.field-wrap.has-error select,
.field-wrap.has-error textarea {
  border-color: #d32f2f;
}

/* ── Coming-soon card ────────────────────────────────────── */
.coming-soon-card .card-img-wrap {
  background: linear-gradient(135deg, #f5eef4 0%, #e8d8e5 100%);
}

/* ── Mobile responsive tweaks ────────────────────────────── */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
  .topbar-inner {
    animation-duration: 20s;
  }
}
