:root {
  --primary-purple: #9129AE;
  --deep-purple: #9129AE;
  --premium-black: #121212;
  --white: #ffffff;
  --light-gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: var(--white); color: var(--premium-black); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 1. TOP BAR SLIDER --- */
.top-header {
  background: var(--premium-black);
  color: var(--white);
  height: 40px;
  overflow: hidden;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.promo-slider { display: flex; flex-direction: column; transition: transform 0.6s ease-in-out; }
.promo-item { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.promo-item i { color: var(--primary-purple); }

/* --- 2. MAIN HEADER --- */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 45px; width: auto; display: block; }

/* Desktop Nav */
.nav-menu ul { display: flex; gap: 30px; }
.nav-menu a { font-size: 13px; font-weight: 600; text-transform: uppercase; }
.nav-menu a:hover { color: var(--primary-purple); }

/* Icons */
.header-icons { display: flex; gap: 20px; align-items: center; }
.icon-link { font-size: 18px; position: relative; }
.badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--primary-purple); color: #fff;
  font-size: 10px; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.mobile-toggle { display: none; font-size: 22px; cursor: pointer; }

/* --- 3. SIMPLE OFF-CANVAS --- */
.overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); visibility: hidden; opacity: 0; z-index: 1999;
  transition: 0.3s;
}
.overlay.active { visibility: visible; opacity: 1; }

.offcanvas {
  position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
  background: var(--white); z-index: 2000; transition: 0.3s;
  padding: 30px; display: flex; flex-direction: column;
}
.offcanvas.active { left: 0; }

.offcanvas-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px;
}
.offcanvas-header img { height: 40px; }
.close-btn { font-size: 24px; cursor: pointer; color: #999; }

.offcanvas-links li { margin-bottom: 20px; }
.offcanvas-links a { font-size: 16px; font-weight: 600; display: block; }
.offcanvas-links a:hover { color: var(--primary-purple); }

/* --- 4. SEARCH BAR --- */
.search-area { padding: 20px 0; background: #fff; border-bottom: 1px solid #eee; display: flex; justify-content: center; }
.search-input-group {
  width: 500px; max-width: 90%; display: flex;
  background: var(--light-gray); border-radius: 30px; padding: 5px 20px;
}
.search-input-group input { width: 100%; border: none; background: none; padding: 10px; outline: none; }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
}

/* ================= HERO SLIDER ================= */
.hero-slider { position: relative; height: 80vh; overflow: hidden; z-index: 100; }
.slides { height: 100%; position: relative; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1s ease, transform 1.5s ease;
}
.slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.slide.active { opacity: 1; transform: scale(1); z-index: 2; }

.slide-content {
  position: relative; max-width: 600px; padding: 0 60px; height: 100%;
  display: flex; flex-direction: column; justify-content: center; color: #fff; z-index: 3;
  animation: slideFade 1.2s ease forwards;
}

.slide-content h1 { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
.slide-content p { font-size: 16px; opacity: 0.9; margin-bottom: 25px; }

.btn-primary {
  display: inline-block; background: var(--primary-purple); color: #fff;
      width: fit-content;
  padding: 14px 34px; border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.btn-primary:hover { background: var(--deep-purple); transform: translateY(-2px); }

/* Dots */
.slider-dots { position: absolute; bottom: 30px; left: 60px; display: flex; gap: 10px; z-index: 5; }
.slider-dots span { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.slider-dots span.active { background: var(--primary-purple); width: 22px; border-radius: 10px; }

/* Animations */
@keyframes slideFade { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero-slider { height: 65vh; }
  .slide-content { padding: 0 25px; }
  .slide-content h1 { font-size: 32px; }
  .slide-content p { font-size: 14px; }
  .slider-dots { left: 25px; bottom: 20px; }
}

/* ========== CATEGORY SLIDER ========== */


.category-section { padding: 60px 0; background: #fff; z-index: 1; }
.section-head { max-width: 1400px; margin: 0 auto 24px; padding: 0 30px; }
.section-head h2 { font-size: 26px; font-weight: 600; }

.carousel-wrap { max-width: 1400px; margin: auto; padding: 0 30px; display: flex; align-items: center; gap: 14px; }
.cat-viewport { overflow: hidden; flex: 1; }
.cat-track {
  display: flex;
  gap: 18px;
}

.cat-card {
  flex: 0 0 20%; background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06); transition: transform .35s ease, box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0,0,0,0.08); }
.cat-card img { width: 100%; height: 180px; object-fit: cover; display:block; }
.cat-card h3 { padding: 14px; font-size: 15px; font-weight: 600; letter-spacing: .3px; }

/* arrows */
.cat-btn { width: 42px; height: 42px; border-radius: 10px; border: none; background: rgba(0,0,0,0.08); font-size: 22px; cursor: pointer; transition: 0.25s; z-index:5; }
.cat-btn:hover { background: rgba(0,0,0,0.15); transform: translateY(-2px); }

/* responsive */
@media (max-width: 1200px) { .cat-card { flex: 0 0 25%; } }
/* ================= CATEGORY SLIDER ================= */

.cat-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.cat-viewport::-webkit-scrollbar {
  display: none;
}
.cat-viewport {
  scrollbar-width: none;
}

.cat-track {
  display: flex;
  gap: 18px;
}

/* Desktop */
.cat-card {
  flex: 0 0 20%;
}

/* Tablet */
@media (max-width: 992px) {
  .cat-card { flex: 0 0 33.33%; }
}

/* Mobile – ONE CATEGORY ONLY */
@media (max-width: 640px) {
  .cat-card {
    flex: 0 0 100%;
  }

  .cat-btn {
    display: none;
  }
}



/* ===== PRODUCTS SECTION ===== */
.products-section { padding: 50px 0; background: #fff; }
.products-container { max-width: 1400px; margin: auto; padding: 0 20px; }
.section-title { font-size: 26px; font-weight: 600; margin-bottom: 25px; }

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* CARD (improved) */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

/* IMAGE */
.product-image {
  position: relative;            /* position context for badge */
  background: #f7f7f7;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  min-height: 220px;             /* ensures consistent image area */
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

/* BADGE */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.product-badge.deal { background: linear-gradient(135deg,#dc2626,#ef4444); }
.product-badge.offer { background: #16a34a; }
.product-badge.trending { background: linear-gradient(135deg,#ff7a18,#ffb347); }
.product-badge.brand { background: #0ea5e9; }

/* BODY */
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;             /* keeps actions anchored at bottom */
}

.product-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  padding-right: 6px;
  color: #111;
  word-break: break-word;
}

/* PRICE + RATING */
.price-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price .current {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.price .old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
  white-space: nowrap;
}

.rating {
  font-size: 13px;
  color: #f4b400;
}

/* ACTIONS */
.product-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* cart icon square */
.cart-btn {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.03);
}

/* Buy button (stable height) */
.buy-btn {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg,#9b59b6,#8e44ad);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
  box-shadow: 0 8px 20px rgba(142,68,173,0.12);
}

/* small helper for buttons text overflow */
.buy-btn > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-body { min-height: 120px; }
  .product-body h3 { font-size: 14px; }
  .price .current { font-size: 16px; }
  .cart-btn, .buy-btn { height: 44px; min-height: 44px; }
  .product-image { min-height: 180px; }
}

/* minor utility tweaks */
.text-muted { color: #6b7280; }
.center { text-align: center; }



/* ================= CATEGORY GRADIENT HERO ================= */

.category-hero-gradient {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(145,41,174,0.35), transparent 60%),
    linear-gradient(135deg, #0b0214, #1a0626, #2a0b3d);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.65)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
  color: #fff;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 12px 0;
  letter-spacing: 0.5px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 520px;
}

/* ================= CATEGORY HEADER – LEFT ================= */

.category-header-gradient {
  background:
    radial-gradient(circle at top left, rgba(145,41,174,0.35), transparent 55%),
    linear-gradient(135deg, #0b0214, #1a0626, #2a0b3d);
  padding: 10px 0;
  position: relative;
}

.category-header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
  color: #fff;
}

.category-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.85;
}

.breadcrumb a {
  color: #e9d5ff;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .category-header-gradient {
    padding: 45px 0 35px;
  }

  .category-title {
    font-size: 30px;
  }
}

/* Toolbar */
.category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 14px;
  flex-wrap: wrap;
}

.result-count {
  font-size: 14px;
  font-weight: 500;
}

.sort-select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .category-hero-gradient {
    min-height: 32vh;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 14px;
  }
}
/* ================= SUBCATEGORY IMAGE GRID ================= */

.subcategory-section {
  padding: 40px 0 20px;
  background: #fff;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row */
  gap: 22px;
}

/* Card */
.subcategory-card-img {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.subcategory-card-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

/* Image */
.subcategory-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.subcategory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title */
.subcategory-title {
  padding: 14px 10px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

/* ================= RESPONSIVE ================= */

/* Large tablets */
@media (max-width: 1200px) {
  .subcategory-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablets */
@media (max-width: 992px) {
  .subcategory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .subcategory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subcategory-title {
    font-size: 14px;
  }
}

/* Product gallery: large main image with horizontal thumbnail scroll */
.product-view { padding:60px 0 40px; background:#fff; }
.product-wrap { max-width:1300px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:1fr 460px; gap:48px; align-items:start; }

.gallery-col { display:flex; flex-direction:column; gap:18px; }
.main-image-large { border-radius:18px; overflow:hidden; box-shadow:0 30px 80px rgba(2,6,23,0.06); background:#fff; }
.main-image-large img { width:100%; max-height:760px; object-fit:contain; display:block; background:linear-gradient(180deg,#fafafa,#fff); }

.thumbs-row-wrap { display:flex; align-items:center; gap:12px; margin-top:6px; }
.thumb-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; display:flex; gap:12px; padding:8px 4px; scroll-behavior:smooth; }
.thumb-scroll::-webkit-scrollbar { height:8px; }
.thumb-scroll::-webkit-scrollbar-thumb { background:rgba(0,0,0,0.08); border-radius:8px; }
.thumb { width:96px; height:96px; border-radius:12px; overflow:hidden; flex:0 0 auto; box-shadow:0 8px 26px rgba(2,6,23,0.06); border:2px solid transparent; cursor:pointer; background:#fff; display:flex; align-items:center; justify-content:center; }
.thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.thumb.active { border-color:#9129AE; transform:translateY(-4px); }

.thumb-scroll-button { width:40px; height:40px; border-radius:10px; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; background:#fff; box-shadow:0 6px 20px rgba(2,6,23,0.06); }

/* Right info styling (reuse variables) */
.product-title { font-size:30px; font-weight:700; margin-bottom:8px; color:#0f1724; }
.product-meta {  align-items:center; gap:14px; font-size:14px; color:#6b7280; margin-bottom:6px; }
.rating { color:#fbbf24; font-size:15px; }

.price-row { display:flex; align-items:center; gap:12px; margin-top:18px; }
.price-current { font-size:28px; font-weight:800; color:#111827; }
.save-pill { background: linear-gradient(90deg,#9129AE,#6B2BB6); color:#fff; padding:6px 12px; border-radius:999px; font-weight:700; font-size:13px; }
.price-old { color:#9ca3af; text-decoration:line-through; margin-left:8px; font-size:14px; }

.variant-row { margin:18px 0; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.variant-select { padding:10px 12px; border-radius:10px; border:1px solid #e6e6e6; background:#fff; }

.qty-action { display:flex; align-items:center; gap:12px; margin-top:18px; flex-wrap:wrap; }
.qty-controls { display:flex; align-items:center; gap:8px; }
.qty-btn { width:44px; height:44px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #e6e6e6; background:#fff; font-size:18px; cursor:pointer; }
.qty-input { width:72px; height:44px; text-align:center; border-radius:10px; border:1px solid #e6e6e6; padding:6px; }

.action-row { display:flex; gap:12px; align-items:center; margin-top:6px; flex-wrap:wrap; }
.btn-primary-lg { background: linear-gradient(90deg,#9129AE,#6B2BB6); color:#fff; padding:12px 22px; border-radius:12px; font-weight:700; border:none; cursor:pointer; box-shadow:0 12px 34px rgba(145,41,174,0.12); display:inline-flex; gap:10px; align-items:center; }
.btn-ghost, .btn-buy { background:#fff; border:1px solid #e5e7eb; padding:12px 20px; border-radius:12px; cursor:pointer; }

.short-desc { margin-top:18px; color:#374151; line-height:1.6; font-style:italic; }

.product-desc-card { max-width:1300px; margin:40px auto; padding:28px; background:#fff; border-radius:14px; box-shadow:0 10px 40px rgba(2,6,23,0.04); }
.product-desc-card h2 { font-size:20px; margin-bottom:12px; }
.product-desc-card .desc-content { color:#374151; line-height:1.8; }

/* responsive */
@media (max-width:1100px) {
  .product-wrap { grid-template-columns:1fr; gap:28px; }
  .thumb { width:80px; height:80px; }
  .main-image-large img { max-height:520px; object-fit:cover; }
}
@media (max-width:480px) {
  .thumb { width:64px; height:64px; }
  .product-title { font-size:22px; }
  .price-current { font-size:20px; }
}

/* ================= BREADCRUMB ================= */
.breadcrumb-wrap {
  background: linear-gradient(90deg, #faf5ff, #ffffff);
  border-bottom: 1px solid #eee;
}

.breadcrumb-inner {
  max-width: 1300px;
  margin: auto;
  padding: 14px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
}

.breadcrumb-inner a {
  color: #9129AE;
  font-weight: 500;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

.breadcrumb-inner .current {
  color: #111827;
  font-weight: 600;
}
@media (max-width:480px) {
    .breadcrumb-inner{
        display:block;
    }
  .thumb { width:64px; height:64px; }
  .product-title { font-size:22px; }
  .price-current { font-size:20px; }
}


/* ===== Tabbed Login: creative / glass card ===== */
.auth-tabs-page {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: linear-gradient(180deg, #fbfbff 0%, #fff 45%);
}

.auth-tabs-wrap {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 34px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .auth-tabs-wrap { grid-template-columns: 1fr; padding: 0; gap: 22px; }
}

/* LEFT: creative hero */
.auth-left {
  background:
    radial-gradient(circle at top left, rgba(145,41,174,0.08), transparent 30%),
    linear-gradient(180deg,#ffffff,#fff);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(2,6,23,0.06);
  display:flex;
  flex-direction:column;
  gap:18px;
  border: 1px solid rgba(145,41,174,0.03);
  min-height: 480px;
}
.brand-mark {
  display:flex; align-items:center; gap:12px;
}
.brand-mark img { height:46px; }
.left-title { font-size:34px; font-weight:800; color:#0f1724; margin-top:8px; }
.left-desc { color:#374151; font-size:15px; max-width:560px; }

/* decorative cards */
.hero-cards { display:flex; gap:12px; margin-top:12px; flex-wrap:wrap;}
.hero-card {
  flex:0 0 48%;
  background: linear-gradient(180deg, #fff, #fbfbff);
  border-radius:12px;
  padding:14px;
  box-shadow: 0 8px 30px rgba(145,41,174,0.04);
  border:1px solid #f2e9fb;
}
.hero-card h4 { font-size:14px; margin-bottom:6px; color:#111827; }
.hero-card p { font-size:13px; color:#6b7280; line-height:1.45; }

/* RIGHT: tabs card */
.auth-card-tabs {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), #fff);
  border-radius:16px;
  padding:22px;
  box-shadow: 0 24px 80px rgba(2,6,23,0.06);
  border: 1px solid rgba(145,41,174,0.04);
}

.tabs-head {
  display:flex;
  gap:8px;
  align-items:center;
  border-radius:12px;
  padding:6px;
  background: linear-gradient(90deg, rgba(145,41,174,0.03), rgba(107,45,182,0.02));
}
.tab-btn {
  flex:1;
  text-align:center;
  padding:10px 12px;
  font-weight:700;
  cursor:pointer;
  border-radius:10px;
  color:#6b7280;
  transition: all 220ms ease;
  position:relative;
}
.tab-btn[data-active="true"] {
  background: linear-gradient(90deg,#9129AE,#6B2BB6);
  color:#fff;
  box-shadow: 0 8px 24px rgba(145,41,174,0.12);
}
.tab-btn i { margin-right:8px; }

/* animated underline (small) */
.tab-underline {
  height:4px;
  background: linear-gradient(90deg,#9129AE,#6B2BB6);
  border-radius:4px;
  margin-top:10px;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), width .28s;
}

/* form area */
.tab-panel { padding:18px 2px 4px 2px; }
.form-row { margin-bottom:12px; display:flex; flex-direction:column; gap:8px; }
.auth-input {
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #eef0f6;
  font-size:15px;
  outline:none;
  transition: box-shadow .12s, border-color .12s;
  background:#fff;
}
.auth-input:focus { border-color: rgba(145,41,174,0.6); box-shadow: 0 8px 20px rgba(145,41,174,0.06); }

/* primary CTA row */
.cta-row { display:flex; gap:10px; align-items:center; margin-top:6px; flex-wrap:wrap; }
.btn-primary-lg.auth-primary {
  background: linear-gradient(90deg,#9129AE,#6B2BB6);
  color:#fff;
  border-radius:12px;
  padding:12px 18px;
  font-weight:800;
  box-shadow: 0 12px 36px rgba(145,41,174,0.12);
}
.btn-ghost.auth-ghost { background:#fff; border:1px solid #eef0f6; padding:10px 14px; border-radius:10px; color:#374151; }

/* extra helpers */
.small-muted { font-size:13px;color:#6b7280; }
.auth-error { color:#ef4444;font-size:13px;margin-top:8px; }
.auth-success { color:#16a34a;font-size:13px;margin-top:8px; }

/* OTP specific */
.otp-row { display:flex; gap:10px; align-items:center; }
.otp-input { width:120px; }

/* social buttons */
.social-row { display:flex; gap:10px; margin-top:12px; }
.social-btn {
  flex:1; display:inline-flex; gap:10px; align-items:center; justify-content:center;
  border-radius:10px; padding:10px; border:1px solid #eef0f6; cursor:pointer;
  background:#fff;
}
.social-btn i { font-size:18px; }

/* responsive tweaks */
@media (max-width: 640px) {
  .auth-left { min-height:240px; padding:18px; }
  .auth-left .left-title { font-size:22px; }
  .auth-card-tabs { padding:18px; }
  .auth-tabs-wrap { gap:18px; }
}
/* Active menu styling */
.nav-menu a.active,
.offcanvas-links a.active {
  color: var(--primary-purple);
  font-weight: 700;
  position: relative;
}

/* Desktop underline */
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary-purple);
  border-radius: 2px;
}

/* Mobile highlight */
.offcanvas-links a.active {
  background: var(--primary-purple-soft);
  padding-left: 12px;
  border-radius: 6px;
}
/* Wishlist Button Styling */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    transition: 0.3s;
}
.wishlist-btn i {
    color: #ccc; /* Default empty color */
    font-size: 18px;
    transition: 0.3s;
}
.wishlist-btn:hover i {
    color: #ff4757;
}
.wishlist-btn.active i {
    color: #ff4757; /* Active red color */
    font-weight: 900;
}
.product-image { position: relative; } /* Ensure parent is relative */

/* ================= SIMPLE ONE-LINE FOOTER ================= */
.simple-footer {
  background: #fafafa; /* Very light, soft gray background */
  border-top: 1px solid #f0f0f0; /* Subtle line to separate it from the content */
  padding: 30px 0; /* Adds the missing space on the top and bottom */
  width: 100%;
  font-size: 13px;
  color: #6b7280;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Allows safe wrapping when screen gets too small */
  gap: 12px;
}

.footer-container a {
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap; /* Keeps policy names from breaking onto two lines */
}

.footer-container a:hover {
  color: var(--primary-purple);
}

.copyright {
  font-weight: 600;
  color: var(--premium-black);
  white-space: nowrap;
}

.divider {
  color: #d1d5db;
  user-select: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .footer-container {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .simple-footer {
    padding: 24px 0; /* Slightly smaller padding on mobile */
    font-size: 12px;
  }
  
  .footer-container {
    gap: 8px 16px; 
  }
  
  .divider {
    display: none; /* Hides the dividers on mobile for a cleaner look */
  }
}
/* ================= POLICY PAGES (Shipping, Terms, etc.) ================= */
.policy-page {
  padding: 60px 20px;
  background: linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
  min-height: 60vh;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px 60px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.04);
  border: 1px solid rgba(145, 41, 174, 0.05);
  color: #374151; /* Dark gray for readability */
  line-height: 1.7;
}

.policy-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 8px;
  text-align: center;
}

.policy-intro {
  text-align: center;
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 35px;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--premium-black);
  margin-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.policy-list {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.policy-list li {
  margin-bottom: 8px;
}

/* For the dashed list in Section 5 */
.dashed-list {
  list-style-type: none;
  padding-left: 10px;
}
.dashed-list li::before {
  content: "- ";
  color: var(--primary-purple);
  font-weight: bold;
}

.policy-note {
  font-size: 14px;
  color: #6b7280;
  margin-top: 15px;
}

/* ================= TABLE STYLING ================= */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px; /* Ensures it doesn't squish too much on mobile */
}

.policy-table th, 
.policy-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}

.policy-table th:last-child,
.policy-table td:last-child {
  border-right: none;
}

.policy-table th {
  background: #f9fafb;
  font-weight: 600;
  color: var(--premium-black);
}

.policy-table tbody tr:last-child td {
  border-bottom: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .policy-page {
    padding: 30px 15px;
  }
  .policy-container {
    padding: 30px 20px;
  }
  .policy-title {
    font-size: 28px;
  }
  .section-heading {
    font-size: 18px;
  }
}