/* ==========================================================================
   Veloura Commerce - Storefront Stylesheet
   ========================================================================== */

:root {
  --brand-primary: #0f172a;
  --brand-accent: #4f46e5;
  --brand-accent-hover: #4338ca;
  --brand-gold: #f59e0b;
  --brand-surface: #f8fafc;
  --brand-border: #e2e8f0;
  --brand-muted: #64748b;
  --radius-card: 1rem;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Announcement & Header */
.announcement-bar {
  background: linear-gradient(90deg, #0f172a 0%, #312e81 100%);
  color: #f8fafc;
  font-size: 0.82rem;
  letter-spacing: 0.2px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.store-navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--brand-border);
}

.store-navbar .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  padding: 0.55rem 0.85rem;
  border-radius: 0.5rem;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.store-navbar .nav-link:hover,
.store-navbar .nav-link.active {
  color: var(--brand-accent);
  background-color: #eef2ff;
}

.nav-search-input {
  border-radius: 999px 0 0 999px;
  border-color: #cbd5e1;
  background: #f8fafc;
  font-size: 0.9rem;
}

.nav-search-input:focus {
  background: #ffffff;
  box-shadow: none;
  border-color: var(--brand-accent);
}

.nav-search-btn {
  border-radius: 0 999px 999px 0;
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.nav-search-btn:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}

.icon-badge-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  transition: all 0.2s ease;
}

.icon-badge-btn:hover {
  background: #e0e7ff;
  color: var(--brand-accent);
}

.icon-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 19px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  text-align: center;
}

/* Hero Banner */
.hero-slide {
  position: relative;
  min-height: 430px;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: relative;
  z-index: 2;
  min-height: 430px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.15) 100%);
  display: flex;
  align-items: center;
  padding: 3rem;
}

@media (max-width: 767.98px) {
  .hero-slide,
  .hero-slide-overlay {
    min-height: 340px;
  }
  .hero-slide-overlay {
    padding: 1.75rem;
  }
}

/* Category Cards */
.category-tile {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 1.15rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: block;
  color: inherit;
  height: 100%;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -12px rgba(15, 23, 42, 0.16);
  border-color: #c7d2fe;
}

.category-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Product Cards */
.product-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px -15px rgba(15, 23, 42, 0.2);
  border-color: #cbd5e1;
}

.product-card-img-wrap {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.wishlist-float-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.94);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wishlist-float-btn:hover,
.wishlist-float-btn.active {
  background: #fff1f2;
  color: #e11d48;
  border-color: #fecdd3;
}

.product-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title-link {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title-link:hover {
  color: var(--brand-accent);
}

/* Variant Pills & Color Swatches */
.variant-option-btn {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  border-radius: 0.55rem;
  padding: 0.42rem 0.9rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.variant-option-btn:hover:not(:disabled) {
  border-color: var(--brand-accent);
}

.variant-option-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.variant-option-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.color-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.25);
  vertical-align: middle;
  margin-right: 5px;
}

/* Product Gallery */
.product-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background: #f8fafc;
}

.product-thumb-btn {
  width: 74px;
  height: 74px;
  padding: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 2px solid var(--brand-border);
  background: #f8fafc;
  cursor: pointer;
}

.product-thumb-btn.active {
  border-color: var(--brand-accent);
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Order Tracking Timeline */
.tracking-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 0.5rem;
}

.tracking-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.tracking-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: #e2e8f0;
  color: #64748b;
}

.tracking-step.done .tracking-step-dot {
  background: #10b981;
  color: #ffffff;
}

.tracking-step.current .tracking-step-dot {
  background: var(--brand-accent);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(79, 70, 229, 0.2);
}

/* Buttons & Utility */
.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  font-weight: 600;
}

.btn-brand:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #ffffff;
}

.btn-accent {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #ffffff;
  font-weight: 600;
}

.btn-accent:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  color: #ffffff;
}

.section-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
  z-index: 1040;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #ffffff;
}

/* Footer */
.store-footer {
  background: #0f172a;
  color: #cbd5e1;
}

.store-footer a {
  color: #94a3b8;
  transition: color 0.18s ease;
}

.store-footer a:hover {
  color: #ffffff;
}
