/* ===== LEO FASHION HUB - MAIN STYLESHEET ===== */
/* Fonts are self-hosted (see fonts/google/fonts.css) — no external CDN needed */

:root {
  --primary: #ff3f6c;
  --primary-dark: #d4305a;
  --text-dark: #282c3f;
  --text-medium: #535766;
  --text-light: #94969f;
  --bg-light: #f4f4f5;
  --border: #e9e9eb;
  --white: #ffffff;
  --green: #14958f;
  --shadow: 0 2px 16px rgba(0,0,0,0.1);
  --radius: 4px;
}

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

body {
  font-family: 'Assistant', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--text-dark);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}

.brand-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  padding: 3px;
}
.logo-text { display: flex; align-items: center; }
.logo-m { color: var(--primary); }
.logo-yntra { color: var(--text-dark); }

@media (max-width: 768px) {
  .logo-text { display: flex; font-size: 15px; }  /* Show brand name next to logo */
  .logo-img { height: 34px; width: 34px; }
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links > li > a,
.nav-links > li.nav-dropdown > a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-medium);
  padding: 20px 10px;
  display: block;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > li:hover > a { color: var(--primary); }

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-top: 2px solid var(--primary);
  padding: 20px;
  display: none;
  min-width: 400px;
  gap: 24px;
  flex-direction: row;
  z-index: 9999;
}

.nav-dropdown:hover .dropdown-menu { display: flex; }

.user-dropdown {
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  left: auto;
  right: 0;
  transform: none;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-medium);
  transition: background 0.15s;
}
.user-dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.logout-link { color: var(--primary) !important; }

.dropdown-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.dropdown-col a {
  display: block;
  font-size: 13px;
  color: var(--text-medium);
  padding: 4px 0;
  transition: color 0.15s;
}
.dropdown-col a:hover { color: var(--primary); }

/* Search */
.nav-search {
  flex: 1;
  max-width: 480px;
}

.nav-search form {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 0 14px;
  gap: 10px;
}

.nav-search i { color: var(--text-light); font-size: 14px; }

.nav-search input {
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  width: 100%;
  outline: none;
  font-family: inherit;
  color: var(--text-dark);
}

/* Nav Actions */
.nav-actions { display: flex; gap: 24px; align-items: center; }

.nav-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  position: relative;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-action-item i { font-size: 18px; }
.nav-action-item:hover { color: var(--primary); }

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== MESSAGES ===== */
.messages-container {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert {
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
  background: var(--text-dark);
  color: white;
  min-width: 280px;
}

.close-alert {
  cursor: pointer;
  font-size: 18px;
  margin-left: auto;
  opacity: 0.7;
}
.close-alert:hover { opacity: 1; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.slides { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 80px;
  opacity: 0;
  transition: opacity 0.6s ease;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-content { max-width: 500px; }

.slide-content .slide-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-dark);
  background: white;
  padding: 4px 12px;
  display: inline-block;
  border-radius: 2px;
  margin-bottom: 16px;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  line-height: 1.1;
  color: white;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.slide-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.btn-slide {
  display: inline-block;
  background: white;
  color: var(--text-dark);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-slide:hover {
  background: var(--text-dark);
  color: white;
  transform: translateY(-2px);
}

.slide-img { font-size: 140px; line-height: 1; opacity: 0.9; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.slider-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: white; }

/* ===== SECTIONS ===== */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.see-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: 2px;
  transition: all 0.2s;
}
.see-all:hover { background: var(--primary); color: white; }

/* ===== CATEGORY STRIP ===== */
.category-strip { padding: 40px 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.cat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-card span { font-size: 13px; font-weight: 600; color: var(--text-dark); text-align: center; }

/* ===== DEAL CARDS ===== */
.deals-banner { padding: 20px 0 40px; }

.deal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.deal-card {
  position: relative;
  border-radius: 14px;
  padding: 26px 24px;
  color: white;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.16); }

/* Image-backed deal cards: cover image + left-dark gradient so text stays readable */
.deal-card.deal-has-image {
  background-size: cover;
  background-position: right center;
  min-height: 160px;
}
.deal-card.deal-has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.12) 100%);
  z-index: 0;
}
.deal-card.deal-has-image .deal-text,
.deal-card.deal-has-image .deal-btn { position: relative; z-index: 1; }
.deal-card.deal-has-image .deal-btn { background: rgba(255,255,255,0.95); color: #222; }


/* Colour themes (admin picks one) */
.deal-purple { background: linear-gradient(135deg,#6a5af9,#8f6ed5); }
.deal-pink   { background: linear-gradient(135deg,#ff5e8e,#ff8f6b); }
.deal-blue   { background: linear-gradient(135deg,#2e8bff,#36c6ff); }
.deal-green  { background: linear-gradient(135deg,#11998e,#38ef7d); }
.deal-orange { background: linear-gradient(135deg,#ff7e5f,#feb47b); }
.deal-dark   { background: linear-gradient(135deg,#2b2d42,#444863); }

.deal-card h3 { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 6px; }
.deal-card .deal-text p { font-size: 14px; opacity: 0.95; margin: 0; }
.deal-btn {
  align-self: flex-start;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.22);
  color: white;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(2px);
  transition: background 0.2s, gap 0.2s;
}
.deal-card:hover .deal-btn { background: rgba(255,255,255,0.38); gap: 12px; }

/* ===== PRODUCTS SECTION ===== */
.products-section { padding: 40px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--border);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f8f8f8;
}

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

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

.no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), #ff8c5a);
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
  opacity: 0;
}

.product-card:hover .wishlist-btn { opacity: 1; }

.wishlist-btn i { color: #ccc; font-size: 14px; transition: color 0.2s; }
.wishlist-btn:hover i, .wishlist-btn.active i { color: var(--primary); }

.discount-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.product-info { padding: 12px; }

.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.product-name {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.current-price { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.original-price { font-size: 12px; color: var(--text-light); text-decoration: line-through; }
.discount-text { font-size: 12px; color: var(--primary); font-weight: 600; }

.rating-row { display: flex; align-items: center; gap: 6px; }

.rating-badge {
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.rating-count { font-size: 11px; color: var(--text-light); }

/* ===== BRANDS ===== */
.brands-section { padding: 32px 0; background: var(--bg-light); }

.brands-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-chip {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
  transition: all 0.2s;
}

.brand-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ===== SHOP LAYOUT ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 1300px;
  margin: 0 auto;
  min-height: 80vh;
}

.filter-sidebar {
  border-right: 1px solid var(--border);
  padding: 20px;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; }
.clear-all { font-size: 12px; color: var(--primary); font-weight: 600; cursor: pointer; }

.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.filter-group h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-medium);
  cursor: pointer;
}

.filter-check input { accent-color: var(--primary); }

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-input {
  width: 80px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  outline: none;
}

.price-input:focus { border-color: var(--primary); }

.apply-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.apply-btn:hover { background: var(--primary-dark); }

.products-area { padding: 16px 20px; }

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.results-count { font-size: 14px; color: var(--text-medium); font-weight: 500; }
.query-label { color: var(--text-dark); font-weight: 600; }

.sort-options { display: flex; align-items: center; gap: 10px; }
.sort-options label { font-size: 13px; color: var(--text-medium); }
.sort-options select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.products-grid-list { grid-template-columns: repeat(4, 1fr); }

/* ===== PRODUCT DETAIL ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-medium); }
.breadcrumb a:hover { color: var(--primary); }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px 0 40px;
}

.product-gallery { display: flex; gap: 12px; flex-direction: row-reverse; align-self: start; }

.thumb-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 72px;
}

.thumb {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumb.active, .thumb:hover { border-color: var(--primary); }

/* Swipeable carousel */
.gallery-carousel {
  flex: 1;
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 4px;
  background: #f8f8f8;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-carousel::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Dots - hidden on desktop, shown on mobile */
.gallery-dots {
  display: none;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.gallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d4d4d4;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.gallery-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

/* Share & Wishlist bar */
.share-wishlist-bar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sw-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}
.sw-btn:hover { border-color: var(--primary); color: var(--primary); }
.sw-btn.active { color: var(--primary); border-color: var(--primary); }
.sw-btn.active i { color: var(--primary); }

.main-image {
  flex: 1;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f8f8f8;
}

.main-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.no-img-lg {
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), #ff8c5a);
}

.detail-discount-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

.product-meta { padding-top: 8px; }

.detail-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.detail-name {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: 12px;
  line-height: 1.5;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.detail-price-block { margin-bottom: 20px; }

.detail-price {
  font-size: 28px;
  font-weight: 700;
  margin-right: 12px;
}

.detail-mrp { color: var(--text-light); font-size: 16px; margin-right: 8px; }
.detail-discount { color: var(--primary); font-size: 16px; font-weight: 600; }
.inclusive-tax { font-size: 11px; color: var(--text-light); margin-top: 4px; }

.size-section { margin-bottom: 20px; }

.size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.size-header span { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; }
.size-guide { font-size: 13px; color: var(--primary); font-weight: 600; }

.size-options { display: flex; gap: 10px; flex-wrap: wrap; }

.size-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.size-option input { display: none; }

.size-option:has(input:checked) {
  border-color: var(--text-dark);
  border-width: 2px;
}

.size-option.out-of-stock {
  color: var(--text-light);
  cursor: not-allowed;
  text-decoration: line-through;
}

.size-option:not(.out-of-stock):hover { border-color: var(--text-dark); }

.oos {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--text-light);
  color: white;
  font-size: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-add-bag {
  flex: 1;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.btn-add-bag:hover { background: var(--primary-dark); }

.btn-wishlist {
  flex: 1;
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--border);
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-wishlist i { color: #ccc; }
.btn-wishlist:hover, .btn-wishlist.active { border-color: var(--primary); color: var(--primary); }
.btn-wishlist.active i, .btn-wishlist:hover i { color: var(--primary); }

.delivery-info {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.delivery-item i {
  font-size: 18px;
  color: var(--text-medium);
  margin-top: 2px;
}

.delivery-item strong { font-size: 13px; display: block; margin-bottom: 2px; }
.delivery-item p { font-size: 12px; color: var(--text-light); }

.product-description { margin-top: 20px; }
.product-description h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.5px; }
.product-description p { font-size: 13px; color: var(--text-medium); line-height: 1.7; }

/* ===== REVIEWS ===== */
.reviews-section { padding: 40px 0; border-top: 1px solid var(--border); }
.reviews-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.5px; }

.reviews-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; margin-bottom: 32px; }

.rating-summary {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.big-rating { font-size: 56px; font-weight: 700; color: var(--text-dark); }

.stars i { color: var(--green); font-size: 14px; }
.stars i:not(.filled) { color: var(--border); }

.reviews-list { display: flex; flex-direction: column; gap: 16px; }

.review-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.review-stars {
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.review-text { font-size: 13px; color: var(--text-medium); margin-bottom: 10px; line-height: 1.6; }
.review-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); }
.no-reviews { color: var(--text-light); font-style: italic; }

/* Star Rating Input */
.add-review { border-top: 1px solid var(--border); padding-top: 24px; }
.add-review h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}

.star-rating-input input { display: none; }

.star-rating-input label {
  font-size: 32px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #ffd700; }

.review-textarea {
  width: 100%;
  height: 100px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  margin-bottom: 12px;
}

.review-textarea:focus { border-color: var(--primary); }

.btn-submit-review {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit-review:hover { background: var(--primary-dark); }

.related-section { padding: 40px 0; }

/* ===== CART ===== */
.page-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
}

.cart-img { width: 100px; height: 130px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.no-img-sm {
  width: 100px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--primary), #ff8c5a);
  border-radius: 4px; flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-brand { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cart-name { font-size: 14px; color: var(--text-medium); margin-bottom: 8px; }
.cart-size { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }

.cart-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cart-price { font-size: 18px; font-weight: 700; }
.cart-mrp { color: var(--text-light); font-size: 13px; }
.cart-save { color: var(--primary); font-size: 12px; font-weight: 600; }

.qty-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.cart-subtotal { font-size: 13px; color: var(--text-medium); margin-top: 8px; }

.remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-medium);
  transition: all 0.2s;
}
.remove-btn:hover { background: var(--primary); color: white; }

/* Order Summary Box */
.order-summary {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  position: sticky;
  top: 80px;
}

.order-summary h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.order-summary h3 span { font-size: 11px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-medium);
}

.summary-row.green span:last-child { color: var(--green); }

.total-row {
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 4px;
}

.free { color: var(--green); font-weight: 600; }

.savings-msg {
  font-size: 12px;
  color: var(--green);
  background: #e6f9f7;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.free-delivery-msg {
  font-size: 12px;
  color: var(--text-medium);
  background: var(--bg-light);
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.btn-checkout {
  display: block;
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-bottom: 12px;
}

.btn-checkout:hover { background: var(--primary-dark); }

.safe-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
}

/* Empty States */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon { font-size: 80px; margin-bottom: 20px; }

.empty-cart h2 { font-size: 24px; margin-bottom: 8px; }
.empty-cart p { color: var(--text-medium); margin-bottom: 24px; }

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-secondary:hover { background: var(--text-dark); color: white; }

/* ===== CHECKOUT ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
  padding-bottom: 40px;
}

.checkout-section { border: 1px solid var(--border); border-radius: 4px; padding: 24px; }
.checkout-section h3 { font-size: 13px; font-weight: 700; color: var(--text-medium); letter-spacing: 0.5px; margin-bottom: 20px; }

.saved-addresses { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.address-card:hover { border-color: var(--primary); }

.addr-details strong { font-size: 14px; }
.mobile-tag { font-size: 12px; color: var(--text-light); background: var(--bg-light); padding: 2px 8px; border-radius: 10px; margin-left: 8px; }
.addr-details p { font-size: 13px; color: var(--text-medium); margin-top: 4px; line-height: 1.5; }

.or-divider {
  text-align: center;
  position: relative;
  margin: 16px 0;
  color: var(--text-light);
  font-size: 12px;
}

.or-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  background: white;
  padding: 0 12px;
  position: relative;
}

.new-address-toggle {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.form-textarea { grid-column: 1 / -1; }

.form-input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus { border-color: var(--primary); }

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 8px;
}

.co-name { font-size: 13px; font-weight: 600; flex: 1; }
.co-size { font-size: 11px; color: var(--text-light); }
.co-price { font-size: 14px; font-weight: 700; flex-shrink: 0; }

/* ===== ORDER SUCCESS ===== */
.success-icon { font-size: 80px; margin-bottom: 16px; }
.success-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--green); }
.success-msg { font-size: 15px; color: var(--text-medium); margin-bottom: 32px; }

.order-status-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-light);
}

.status-step i { font-size: 24px; }
.status-step.active i { color: var(--green); }
.status-step.active span { color: var(--green); font-weight: 700; }

.status-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 20px;
}

.success-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }

/* ===== ORDERS ===== */
.order-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.order-id { font-size: 15px; font-weight: 700; margin-right: 12px; }
.order-date { font-size: 12px; color: var(--text-light); }

.order-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg-light);
}

.status-placed, .status-confirmed { background: #e3f2fd; color: #1565c0; }
.status-shipped, .status-out { background: #fff3e0; color: #e65100; }
.status-delivered { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #fce4ec; color: #c62828; }

.order-items { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }

.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-thumb { width: 56px; height: 72px; object-fit: cover; border-radius: 4px; }
.no-img-xs {
  width: 56px; height: 72px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--primary), #ff8c5a);
}

.oi-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.oi-meta { font-size: 12px; color: var(--text-light); }

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.order-total { font-size: 14px; }
.order-addr { font-size: 12px; color: var(--text-medium); }

/* ===== WISHLIST ===== */
.btn-move-to-bag {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-move-to-bag:hover { background: var(--primary); color: white; }

/* ===== PROFILE ===== */
.profile-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.profile-sidebar {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  height: fit-content;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff8c5a);
  color: white;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.profile-sidebar h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.profile-sidebar p { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }

.profile-menu { display: flex; flex-direction: column; gap: 4px; }

.profile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-medium);
  transition: all 0.2s;
}

.profile-menu a:hover, .profile-menu a.active { background: var(--bg-light); color: var(--primary); }

.profile-content { border: 1px solid var(--border); border-radius: 4px; padding: 24px; }
.profile-content h2 { font-size: 16px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }

.addr-card-saved {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 12px;
  line-height: 1.7;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 40px 20px;
}

.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  width: 100%;
  max-width: 800px;
}

.auth-left {
  background: linear-gradient(160deg, #ff3f6c 0%, #ff8c5a 100%);
  padding: 48px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.auth-brand {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: auto;
}

.auth-brand .logo-m { color: white; }
.auth-brand .logo-yntra { color: rgba(255,255,255,0.85); }

.auth-left h2 { font-size: 28px; margin-bottom: 12px; }
.auth-left p { font-size: 14px; opacity: 0.9; line-height: 1.6; }

.auth-right { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }

.auth-error {
  background: #fce4ec;
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.auth-input:focus { border-bottom-color: var(--primary); }

.auth-terms {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.auth-terms a { color: var(--primary); }

.btn-auth {
  display: block;
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  text-align: center;
  margin-bottom: 16px;
}

.btn-auth:hover { background: var(--primary-dark); }

.auth-divider { text-align: center; color: var(--text-light); font-size: 13px; margin: 16px 0; }

.btn-auth-outline {
  display: block;
  width: 100%;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-auth-outline:hover { background: var(--primary); color: white; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  margin-top: 60px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-col p { font-size: 12px; line-height: 1.6; }

.app-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  transition: border-color 0.2s;
  width: fit-content;
}

.app-btn:hover { border-color: white; }

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

.social-links a:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  text-align: center;
  font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 280px; }
  .slide { padding: 0 24px; }
  .slide-content h1 { font-size: 32px; }
  .slide-img { font-size: 80px; }
  .cart-layout, .checkout-layout, .profile-layout { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
  /* Mobile: hide thumbnails, show swipeable carousel with dots */
  .product-gallery { flex-direction: column; }
  .thumb-strip { display: none; }
  .gallery-dots { display: flex; }
  .gallery-slide img { height: 440px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; max-height: none; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .footer-container { grid-template-columns: repeat(2, 1fr); }
  .deal-cards { grid-template-columns: 1fr; }
  .deal-card.deal-has-image { min-height: 150px; }
  .reviews-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .category-card { padding: 12px 4px; gap: 8px; }
  .cat-icon { width: 54px; height: 54px; }
  .category-card span { font-size: 11px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-container { grid-template-columns: 1fr; }
}

/* ===== TRACK BUTTON & PAYMENT (added features) ===== */
.track-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.track-btn:hover { background: var(--primary); color: white; }

.otp-input::placeholder { letter-spacing: normal; font-size: 14px; }

/* ===== GO TO BAG BAR (product detail) ===== */
.go-to-bag-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fff5f7, #ffe9ef);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  transition: all 0.2s;
}
.go-to-bag-bar:hover { box-shadow: 0 4px 14px rgba(255,63,108,0.2); transform: translateY(-1px); }
.gtb-info { display: flex; flex-direction: column; gap: 2px; }
.gtb-count { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.gtb-count i { color: var(--primary); margin-right: 4px; }
.gtb-total { font-size: 12px; color: var(--text-medium); }
.gtb-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 148px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,63,108,0.4);
  z-index: 998;
  transition: all 0.2s;
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top.show { display: flex; }

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
  color: white;
}

.instagram-float {
  position: fixed;
  bottom: 86px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(214,36,159,0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.instagram-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(214,36,159,0.55);
  color: white;
}

/* Out of stock badge on cards */
.oos-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(40,44,63,0.85);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* ===== SEARCH AUTOCOMPLETE ===== */
.nav-search { position: relative; }
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: none;
  z-index: 9999;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 2px;
}
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.suggestion-item:hover { background: var(--bg-light); }
.suggestion-item img, .sug-noimg {
  width: 40px; height: 50px; object-fit: cover; border-radius: 4px; flex-shrink: 0;
}
.sug-noimg { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#ff3f6c,#ff8c5a); color:white; font-weight:700; }
.sug-info { flex: 1; display: flex; flex-direction: column; }
.sug-name { font-size: 13px; color: var(--text-dark); }
.sug-brand { font-size: 11px; color: var(--text-light); }
.sug-price { font-size: 13px; font-weight: 700; color: var(--text-dark); }

/* ===== ORDER ACTION BUTTONS ===== */
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.invoice-btn, .return-btn {
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 4px;
  letter-spacing: 0.5px; transition: all 0.2s; border: 1px solid;
}
.invoice-btn { color: #14958f; border-color: #14958f; }
.invoice-btn:hover { background: #14958f; color: white; }
.return-btn { color: #e65100; border-color: #e65100; }
.return-btn:hover { background: #e65100; color: white; }

/* ===== PRODUCT TAGS (New/Bestseller) ===== */
.tag-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  color: white;
}
.tag-new { background: #14958f; }
.tag-bestseller { background: #f5a623; }

/* ===== Q&A SECTION ===== */
.qa-section { padding: 40px 0; border-top: 1px solid var(--border); }
.qa-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.qa-form { display: flex; gap: 10px; margin-bottom: 24px; }
.qa-input { flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 13px; outline: none; }
.qa-input:focus { border-color: var(--primary); }
.qa-btn { background: var(--primary); color: white; border: none; padding: 0 28px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.qa-btn:hover { background: var(--primary-dark); }
.qa-item { padding: 16px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 12px; }
.qa-q { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.qa-q i { color: var(--primary); margin-right: 6px; }
.qa-a { font-size: 13px; color: var(--text-medium); padding-left: 22px; }
.qa-a i { color: var(--green); margin-right: 6px; }
.qa-official { background: var(--green); color: white; font-size: 9px; padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.qa-pending { font-size: 12px; color: var(--text-light); font-style: italic; padding-left: 22px; }

/* ===== UI POLISH: Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.products-grid .product-card {
  animation: fadeInUp 0.4s ease backwards;
}
.products-grid .product-card:nth-child(1) { animation-delay: 0.02s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.06s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.10s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.14s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.18s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.22s; }

.stat-card { animation: fadeInUp 0.5s ease backwards; }
.stat-card:nth-child(2) { animation-delay: 0.08s; }
.stat-card:nth-child(3) { animation-delay: 0.16s; }
.stat-card:nth-child(4) { animation-delay: 0.24s; }

/* Smooth page transitions */
main { animation: fadeInUp 0.3s ease; }

/* ===== SIZE VALIDATION ===== */
.size-error { color: var(--primary); font-size: 13px; font-weight: 600; margin: 8px 0; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.size-shake { animation: shake 0.4s ease; }
.size-option:has(input:checked) {
  border-color: var(--primary) !important;
  border-width: 2px;
  background: #fff5f7;
}

/* ===== RETURN STATUS DISPLAY ===== */
.return-status {
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 4px;
  letter-spacing: 0.3px; display: inline-flex; align-items: center; gap: 6px;
}
.return-requested { background: #fff3e0; color: #e65100; }
.return-approved { background: #e3f2fd; color: #1565c0; }
.return-rejected { background: #fce4ec; color: #c62828; }
.return-refunded { background: #e8f5e9; color: #2e7d32; }
.return-closed { background: #f0f0f0; color: #777; }

.return-banner {
  border-radius: 8px; padding: 16px 20px; margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.return-banner strong { font-size: 15px; }
.return-banner p { font-size: 13px; opacity: 0.85; }
.return-note { font-size: 13px; font-weight: 600; }
.return-banner-requested { background: #fff8ec; border: 1px solid #f5a623; color: #8a5a00; }
.return-banner-approved { background: #e8f1fc; border: 1px solid #1565c0; color: #0d47a1; }
.return-banner-rejected { background: #fce4ec; border: 1px solid #c62828; color: #8e1a1a; }
.return-banner-refunded { background: #e6f9f7; border: 1px solid #14958f; color: #0a5c58; }

/* ===== FOOTER BUSINESS DETAILS ===== */
.footer-business {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
  padding: 24px 0;
}
.footer-business-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-block strong {
  color: white;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.biz-block p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2px;
}
.biz-block i { width: 16px; color: var(--primary); }
.biz-badge {
  color: #4ade80 !important;
  font-weight: 600;
  margin-top: 6px !important;
}
@media (max-width: 768px) {
  .footer-business-inner { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== FOOTER RETURN NOTE ===== */
.footer-return-note {
  max-width: 1300px;
  margin: 16px auto 0;
  padding: 14px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-return-note p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 1000px;
}
.footer-return-note strong { color: rgba(255,255,255,0.7); }
.footer-return-note a { color: var(--primary); font-weight: 600; }

/* ===== ORDER RETURN NOTE (my orders page) ===== */
.order-return-note {
  font-size: 12px;
  color: var(--text-medium);
  line-height: 1.6;
  padding: 12px 16px;
  background: #fff8ec;
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
}
.order-return-note i { color: #f5a623; margin-right: 6px; }
.order-return-note strong { color: var(--text-dark); }
.order-return-note a { color: var(--primary); font-weight: 600; margin-left: 4px; }

/* ============================================ */
/* ===== HAMBURGER MENU + MOBILE DRAWER ====== */
/* ============================================ */

/* Hamburger button - hidden on desktop */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px 8px;
  margin-right: 4px;
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 10000;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { left: 0; }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: 700;
}
.mobile-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-medium);
  cursor: pointer;
}
.mobile-user {
  padding: 14px 20px;
  background: #fff5f7;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.mobile-user i { margin-right: 8px; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 8px 0; }
.mobile-nav-links a {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.15s;
}
.mobile-nav-links a:hover { background: var(--bg-light); }
.mobile-nav-links a i { width: 20px; color: var(--text-light); }
.mobile-nav-links hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }
.mobile-login, .mobile-logout { color: var(--primary) !important; font-weight: 600; }
.mobile-login i, .mobile-logout i { color: var(--primary) !important; }

/* ===== ENHANCED MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger-btn { display: block; flex-shrink: 0; }
  .top-banner { font-size: 11px; }
  .nav-container { gap: 6px; padding: 8px 10px; height: auto; flex-wrap: wrap; align-items: center; }
  .brand-logo { font-size: 15px; flex-shrink: 1; min-width: 0; overflow: hidden; }
  .logo-img { height: 30px; width: 30px; flex-shrink: 0; }
  .logo-text { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* Search goes full width below navbar on mobile */
  .nav-search { order: 10; flex-basis: 100%; margin: 8px 0 0; }
  .nav-search input { font-size: 13px; }
  /* Hide text labels on action icons, keep icons AND count badges */
  .nav-actions { gap: 14px; flex-shrink: 0; display: flex !important; align-items: center; margin-left: auto; }
  .nav-action-item > span:not(.badge),
  .user-icon-link span { display: none; }
  .nav-action-item { position: relative; flex-direction: row; min-height: 24px; min-width: 20px; }
  .nav-action-item i { font-size: 18px; display: inline-block; }
  .user-icon-link { min-height: 24px; min-width: 20px; display: inline-flex !important; align-items: center; }
  .user-icon-link i { font-size: 18px; display: inline-block; }
  /* Keep count badge visible on mobile */
  .nav-action-item .badge { display: flex; }
  /* User dropdown hidden on mobile (icon links to profile directly) */
  .nav-action-item.nav-dropdown .dropdown-menu { display: none !important; }
}

@media (max-width: 480px) {
  .nav-actions { gap: 14px; }
  .page-title { font-size: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .charts-row { grid-template-columns: 1fr !important; }
  .trust-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .order-actions { flex-wrap: wrap; gap: 6px; }
  .order-actions a, .order-actions span { font-size: 11px; padding: 5px 10px; }
  /* Product detail buttons stack */
  .detail-actions { flex-direction: column; }
  .detail-actions .btn-add-bag, .detail-actions .btn-wishlist { width: 100%; }
  /* Checkout/cart summary full width */
  .order-summary { margin-top: 16px; }
  /* Size options wrap nicely */
  .size-options { flex-wrap: wrap; }
}

/* ============================================ */
/* ===== MOBILE FILTER DRAWER ================= */
/* ============================================ */

/* Filter button - hidden on desktop, shows on mobile */
.mobile-filter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 16px;
  position: relative;
}
.mobile-filter-btn i { color: var(--primary); }
.filter-active-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); display: inline-block;
}

/* Filter close button - hidden on desktop */
.filter-close {
  display: none;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: var(--text-medium); cursor: pointer;
  margin-left: auto;
}

/* Filter overlay */
.filter-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
}
.filter-overlay.open { opacity: 1; visibility: visible; }

/* Apply bar - visible on BOTH desktop and mobile */
.filter-apply-bar {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.filter-clear-btn {
  flex: 1;
  text-align: center;
  padding: 11px;
  border: 1px solid var(--text-dark);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}
.filter-clear-btn:hover { background: var(--bg-light); }
.filter-apply-btn {
  flex: 2;
  padding: 11px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.filter-apply-btn:hover { background: #e02753; }

@media (max-width: 768px) {
  .mobile-filter-btn { display: flex; }

  /* Sidebar becomes a slide-up bottom drawer */
  .filter-sidebar {
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    top: auto !important;
    max-height: 85vh !important;
    background: white;
    z-index: 10000;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 0 20px 20px;
    margin: 0 !important;
  }
  .filter-sidebar.open { transform: translateY(0); }

  /* Sticky header inside drawer */
  .filter-header {
    position: sticky; top: 0;
    background: white;
    padding: 18px 0 12px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--border);
    z-index: 2;
  }
  .filter-close { display: block; }

  /* Sticky apply bar at bottom of drawer */
  .filter-apply-bar {
    display: flex;
    gap: 12px;
    position: sticky;
    bottom: 0;
    background: white;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  .filter-clear-btn {
    flex: 1;
    text-align: center;
    padding: 14px;
    border: 1px solid var(--text-dark);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
  }
  .filter-apply-btn {
    flex: 2;
    padding: 14px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }
  body.filter-open { overflow: hidden; }
}

/* Mobile menu section label */
.mobile-section-label {
  display: block;
  padding: 10px 20px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* Category dropdown (single column, admin categories) */
.dropdown-categories { min-width: 240px; }
.dropdown-categories .dropdown-col { width: 100%; }
.dropdown-categories .dropdown-col a {
  display: block;
  padding: 7px 0;
  text-transform: capitalize;
}

/* Cart out-of-stock indicators */
.cart-oos-badge {
  display: inline-block;
  background: #fdecec;
  color: #e34c4c;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin: 4px 0;
}
.cart-oos-badge i { margin-right: 4px; }
.cart-oos-note {
  font-size: 12px;
  color: #e34c4c;
  text-align: center;
  margin-top: 8px;
}

/* Mobile menu logo */
.mobile-logo-wrap { display: flex; align-items: center; gap: 8px; }
.mobile-logo-img {
  width: 32px; height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.mobile-menu-header .logo-m { font-size: 16px; }
.mobile-menu-header .logo-yntra { font-size: 16px; }

/* Date of birth field in register */
.dob-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.dob-optional { font-weight: 400; color: var(--text-light); font-size: 12px; }
.dob-hint { font-size: 12px; color: #14958f; margin-top: 6px; line-height: 1.5; }
.dob-hint i { margin-right: 4px; }

/* Birthday section in analytics */
.bday-count {
  background: #fff0f4; color: #ff3f6c;
  font-size: 13px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  margin-left: 10px;
}
.bday-tip { font-size: 13px; color: #14958f; margin: 8px 0 12px; }
.bday-empty { font-size: 13px; color: var(--text-light); padding: 10px 0; }

/* Required asterisk for DOB */
.dob-required { color: #e34c4c; font-weight: 700; }

/* Professional footer bottom */
.footer-bottom-inner { text-align: center; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
  font-weight: 500;
}
.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}

/* Notify-me box for out-of-stock size */
.notify-box {
  margin-top: 16px;
  padding: 16px;
  background: #fff8ec;
  border: 1px solid #ffe0a3;
  border-radius: 8px;
}
.notify-box p { font-size: 14px; color: #8a5a00; margin-bottom: 10px; }
.notify-box p i { margin-right: 6px; }
.btn-notify {
  background: var(--text-dark);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.btn-notify:hover { background: #000; }
.size-option.out-of-stock { cursor: pointer; opacity: 0.55; position: relative; }
.size-option.out-of-stock:hover { opacity: 0.8; border-color: var(--primary); }

/* Dropdown promo banner */
.dropdown-banner {
  margin-top: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ff3f6c, #ff6f43);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
}

/* User icon link (clickable on mobile, hover dropdown on desktop) */
.user-icon-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.user-icon-link span { color: inherit; }


/* ===== Professional polish upgrades (2026-07) ===== */

/* Trust strip below hero */
.trust-strip { background: #fff; border-bottom: 1px solid #f0f0f0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item i { font-size: 22px; color: var(--primary); }
.trust-item strong { display: block; font-size: 13px; color: var(--text-dark); letter-spacing: .3px; }
.trust-item span { font-size: 12px; color: var(--text-light); }

/* Section subtitle */
.section-sub { font-size: 13px; color: var(--text-light); margin: -18px 0 24px; }

/* Product card definition */
.product-card { border-color: #ececec; }
.product-card:hover { border-color: #dcdce0; }

/* Footer payment badges */
.footer-payments { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 12px; }
.footer-payments span { border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; padding: 3px 10px; font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: .5px; }

/* Tablet: compact 4 columns */
@media (max-width: 1024px) and (min-width: 769px) {
  .trust-inner { gap: 12px; }
  .trust-item { gap: 10px; }
  .trust-item i { font-size: 20px; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 11px; }
}

/* Mobile: centered 2x2, icon on top */
@media (max-width: 768px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; padding: 16px 0; }
  .trust-item { flex-direction: column; text-align: center; gap: 6px; justify-content: flex-start; }
  .trust-item i { font-size: 20px; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 11px; }
}


/* Refund info banner on order cards */
.refund-info { padding: 10px 16px; font-size: 13px; border-top: 1px dashed var(--border); }
.refund-info i { margin-right: 6px; }
.refund-pending { color: #b45309; background: #fffbeb; }
.refund-refunded { color: var(--green); background: #f0fdf4; }

/* Payment-pending order chip */
.order-status.status-pending { background: #fffbeb; color: #b45309; }

/* Verified buyer badge on reviews */
.verified-badge { color: var(--green); font-size: 12px; font-weight: 600; margin: 0 8px; }
.verified-badge i { margin-right: 3px; }

/* Product list pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0 8px; }
.pagination .page-link { padding: 8px 18px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-dark); font-size: 14px; font-weight: 500; }
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-current { font-size: 13px; color: var(--text-light); }


/* Password show/hide toggle */
.password-field { position: relative; }
.password-field input.auth-input { padding-right: 42px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #9ca3af; font-size: 15px; padding: 6px; line-height: 0; }
.pw-toggle:hover { color: var(--primary); }
