/* =============================================
   VELOREX DESIGN — Storefront Styles
   ============================================= */
:root {
  --primary: #1a0a2e;
  --secondary: #ff6b35;
  --accent: #ffd700;
  --bg: #0d0d0d;
  --surface: #1a1a2e;
  --surface2: #16213e;
  --card-bg: rgba(30, 30, 58, 0.7);
  --text: #f0eaf8;
  --text-muted: #9890b0;
  --border: #2e2e5e;
  --success: #00d4aa;
  --danger: #ff4757;
  --gold-gradient: linear-gradient(135deg, #ffd700, #ff8c00);
  --orange-gradient: linear-gradient(135deg, #ff6b35, #ff3a00);
  --glass: rgba(26, 10, 46, 0.85);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 80px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

button,
input,
select,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.text-gradient {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--accent), var(--secondary), transparent);
  background-size: 200% 100%;
  animation: navbar-line-move 4s linear infinite;
}

@keyframes navbar-line-move {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand i {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Highlighted wellness pill in the navbar */
.nav-link.nav-wellness {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: #04231d;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4aa, #18b07f);
  box-shadow: 0 4px 14px rgba(0, 212, 170, 0.35);
}

.nav-link.nav-wellness:hover,
.nav-link.nav-wellness.active {
  color: #04231d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 212, 170, 0.5);
}

/* No underline indicator on the pill */
.nav-link.nav-wellness.active::after {
  display: none;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.dropdown-menu.dropdown-right {
  left: auto;
  right: 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  color: var(--text-muted);
  transition: var(--transition);
  border-radius: 8px;
}

.dropdown-item:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-icon {
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

/* View Container */
.view {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero */
.hero {
  height: 100vh;
  margin-top: -80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
}

/* Carousel slides injected by JS */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Readability overlay sits above the slides */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.45));
}

/* Fallback background before slides load / if images are missing */
.hero-bg:not(:has(.hero-slide)) {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4)), url('../hero.png');
  background-size: cover;
  background-position: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.hero-arrow:hover {
  background: var(--orange-gradient);
  border-color: transparent;
}

.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--orange-gradient);
}

@media (max-width: 768px) {
  .hero-arrow { display: none; }
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Full-width auto-scrolling category marquee */
.cat-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.cat-marquee-track {
  display: flex;
  width: max-content;
  padding: 0.5rem 0;
  animation: cat-marquee-scroll 45s linear infinite;
  will-change: transform;
}

/* Stop scrolling while the visitor hovers (or focuses a card within). */
.cat-marquee:hover .cat-marquee-track,
.cat-marquee-track:focus-within {
  animation-play-state: paused;
}

.cat-marquee-track .category-card {
  flex: 0 0 240px;
  margin-right: 1.5rem;
  transition: var(--transition);
}

.cat-marquee-track .category-card:hover {
  transform: translateY(-6px);
}

@keyframes cat-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cat-marquee-track { animation: none; }
}

/* Category Card */
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cat-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.cat-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Product Card */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 53, 0.5);
}

.product-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--secondary);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.product-info {
  padding: 1.5rem;
}

.product-cat {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.product-title:hover {
  color: var(--secondary);
}

.product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Services List */
.service-card {
  display: flex;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  padding: 1rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* Interactive Service Type Cards */
.service-type-card {
  cursor: pointer;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-type-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-type-card:hover {
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}
.service-type-card.active {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.25), 0 8px 30px rgba(255, 107, 53, 0.18);
}
.service-type-card.active::after { transform: scaleX(1); }
.service-type-card .select-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 600;
}
.service-type-card.active .select-hint { display: none; }

/* Service Detail Panel */
.service-detail-panel { animation: slideDown 0.35s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Package Cards */
.pkg-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg-card:hover { border-color: rgba(255,107,53,0.4); transform: translateY(-4px); }
.pkg-card.selected {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px rgba(255,107,53,0.3), 0 12px 40px rgba(255,107,53,0.18);
}
.pkg-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange-gradient);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.pkg-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.pkg-features { list-style: none; flex: 1; margin-bottom: 1.4rem; }
.pkg-features li {
  padding: 0.38rem 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.pkg-features li i { color: var(--success); font-size: 0.72rem; flex-shrink: 0; }
.pkg-select-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.pkg-select-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.pkg-card.selected .pkg-select-btn {
  background: var(--orange-gradient);
  border-color: transparent;
  color: #fff;
}

/* Proceed Bar */
.proceed-bar {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,60,0,0.04));
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideDown 0.3s ease;
}

/* Product Detail */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.detail-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-price {
  font-size: 2rem;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Cart */
.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius);
  align-items: center;
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: var(--accent);
  font-weight: bold;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.qty-btn {
  color: var(--text);
  font-size: 1.2rem;
}

.cart-remove {
  color: var(--danger);
  cursor: pointer;
  padding: 0.5rem;
}

.cart-remove:hover {
  opacity: 0.8;
}

.cart-summary {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
}

/* Checkout Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Profile Section */
.profile-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-sidebar {
  flex: 1;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-menu-item {
  padding: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-menu-item:hover,
.profile-menu-item.active {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  font-weight: bold;
}

.profile-content {
  flex: 3;
  min-width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.profile-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.profile-section.active {
  display: block;
}

.order-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

/* Notification banners */
.notif-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid;
  animation: slideDown 0.3s ease;
  font-size: 0.9rem;
}
.notif-banner.unread { background: rgba(255,107,53,0.07); border-color: rgba(255,107,53,0.3); }
.notif-banner.read   { background: rgba(255,255,255,0.02); border-color: var(--border); opacity: 0.7; }
.notif-banner .notif-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.notif-banner.unread .notif-icon { color: var(--secondary); }
.notif-banner.read   .notif-icon { color: var(--text-muted); }
.notif-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.order-status-pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pill-pending    { background: rgba(245,158,11,0.12); color: #f59e0b; }
.pill-processing { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.pill-shipped    { background: rgba(59,130,246,0.12);  color: #3b82f6; }
.pill-delivered  { background: rgba(16,185,129,0.12);  color: #10b981; }
.pill-cancelled  { background: rgba(239,68,68,0.12);   color: #ef4444; }

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Order Tracking Timeline */
.order-tracking {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.order-tracking::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--border);
  z-index: 1;
  border-radius: 2px;
}

.tracking-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  color: var(--text-muted);
}

.tracking-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.tracking-step.completed .tracking-icon {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.tracking-step.completed {
  color: var(--text);
}

.tracking-progress {
  position: absolute;
  top: 32px;
  left: 10%;
  height: 4px;
  background: var(--orange-gradient);
  z-index: 1;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* Addresses */
.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.address-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius);
  position: relative;
}

.address-card.default {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary);
}

.address-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

.address-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.address-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.address-btn:hover {
  color: var(--secondary);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--secondary);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  color: var(--text);
  animation: centerPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(20px);
  min-width: 300px;
  text-align: center;
  pointer-events: auto;
}

@keyframes centerPop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: var(--secondary);
}

/* Prose text */
.prose h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.prose ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--text-muted);
}

/* External Links Styling */
.external-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-left: auto;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: rgba(255, 107, 53, 0.1);
  color: var(--secondary);
  padding-left: 1.8rem;
}

/* Light Mode Overrides */
:root[data-theme="light"] {
  --primary: #ffffff;
  --secondary: #ff4d00;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface2: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --glass: rgba(255, 255, 255, 0.85);
  --gold-gradient: linear-gradient(135deg, #f59e0b, #ff4d00);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--orange-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: '\f105';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 0.5rem;
  font-size: 0.7rem;
  opacity: 0.5;
}

.breadcrumb-item a {
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--secondary);
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 600;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Auth form helper styles (moved from inline) */
.auth-card-wrapper {
  display: block;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
}

.auth-input-dark {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.auth-toggle-link {
  color: var(--secondary);
  cursor: pointer;
}

/* Modal overlay shared */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.scrollable {
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.modal-backdrop.open {
  display: flex;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-box.wide { max-width: 680px; }
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .detail-grid,
  .cart-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   VIJAYSAR WOOD WELLNESS GLASS SECTION
   ============================================= */
.wellness-section {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 212, 170, 0.10), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wellness-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.08);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wellness-accent {
  color: var(--success);
}

.wellness-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.wellness-intro-media {
  display: flex;
  justify-content: center;
}

.wellness-intro-media img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.wellness-intro-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.wellness-intro-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.wellness-points {
  display: grid;
  gap: 0.75rem;
}

.wellness-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
}

.wellness-points li i {
  margin-top: 4px;
  color: var(--success);
}

.wellness-subheading {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 2rem;
}

.wellness-subheading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 3px;
  background: var(--gold-gradient);
}

.wellness-steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 4rem;
}

.wellness-step,
.wellness-benefit {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.wellness-step:hover,
.wellness-benefit:hover {
  transform: translateY(-5px);
  border-color: var(--success);
}

.wellness-step i,
.wellness-benefit i {
  font-size: 2.2rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.wellness-step h4,
.wellness-benefit h4 {
  margin-bottom: 0.6rem;
}

.wellness-step p,
.wellness-benefit p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.wellness-step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
}

.wellness-benefits {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wellness-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--success);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.wellness-card-link:hover {
  gap: 0.7rem;
}

.wellness-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.wellness-disclaimer i {
  margin-top: 3px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .wellness-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
