/* ═══════════════════════════════════════════════
   TREKBO — Modern E-commerce Theme
   ═══════════════════════════════════════════════ */


:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --primary-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
  --secondary: #f59e0b;
  --accent: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════
   HEADER — Premium Glassmorphism
   ═══════════════════════════════════════════════ */

header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  padding: 0;
  transition: box-shadow .3s ease;
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}

/* ─── Top Bar ─── */
.topbar {
  background: var(--primary-gradient);
  border-bottom: 1px solid rgba(255,255,255,.12);
  height: 36px;
}

.topbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.topbar-nav li a {
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  font-size: .78rem;
  padding: 0 .9rem;
  height: 36px;
  display: flex;
  align-items: center;
  gap: .35rem;
  transition: color .2s;
  letter-spacing: .2px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.topbar-nav li:first-child a {
  padding-left: 0;
}

.topbar-nav li a i {
  font-size: .72rem;
  opacity: .6;
}

.topbar-nav li a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.topbar-auth {
  display: flex;
  align-items: center;
  height: 100%;
}

.topbar-auth > a {
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0 .5rem 0 .9rem;
  height: 36px;
  transition: color .2s;
  letter-spacing: .2px;
}

.topbar-auth > a:hover {
  color: #fff;
}

.topbar-user-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  font-size: .78rem;
  padding: 0 .5rem 0 .9rem;
  height: 36px;
  transition: color .2s;
  letter-spacing: .2px;
}

.topbar-user-btn:hover {
  color: #fff;
}

.topbar-user-btn i:first-child {
  font-size: .9rem;
}

.topbar-user-btn .bi-chevron-down {
  font-size: .6rem;
  transition: transform .2s;
}

.show > .topbar-user-btn .bi-chevron-down {
  transform: rotate(180deg);
}

.topbar-auth .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  margin-top: 2px;
  min-width: 180px;
  border: 1px solid rgba(226,232,240,.5);
  font-size: .85rem;
}

.topbar-auth .dropdown-item {
  border-radius: var(--radius-sm);
  padding: .45rem .8rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .15s ease;
}

.topbar-auth .dropdown-item:hover {
  background: rgba(79,70,229,.06);
  color: var(--primary);
}

.topbar-auth .dropdown-divider {
  margin: .25rem 0;
  opacity: .5;
}

/* ─── Main Header Row ─── */
header > .container {
  height: 60px;
}

/* Logo */
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(79,70,229,.25);
}

/* Search */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search i {
  position: absolute;
  left: 14px;
  color: var(--gray-400);
  font-size: .9rem;
  pointer-events: none;
  transition: color .2s;
}

.header-search:focus-within i {
  color: var(--primary);
}

.header-search input {
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  padding: .48rem 1rem .48rem 2.4rem;
  font-size: .88rem;
  width: 360px;
  background: var(--gray-50);
  outline: none;
  transition: all .25s ease;
}

.header-search input::placeholder {
  color: var(--gray-400);
  font-size: .85rem;
}

.header-search input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(79,70,229,.1);
  background: #fff;
  width: 400px;
}

/* User Button */
.header-user-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .75rem;
  border-radius: 50px;
  transition: all .2s ease;
  white-space: nowrap;
}

.header-user-btn:hover {
  background: rgba(79,70,229,.06);
  color: var(--primary);
}

.header-user-btn i:first-child {
  font-size: 1.15rem;
}

.header-user-btn .bi-chevron-down {
  font-size: .7rem;
  color: var(--gray-400);
  transition: transform .2s;
}

.show > .header-user-btn .bi-chevron-down {
  transform: rotate(180deg);
}

/* Cart Button */
.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 1.15rem;
  transition: all .25s ease;
  flex-shrink: 0;
}

.header-cart-btn:hover {
  background: rgba(79,70,229,.08);
  color: var(--primary);
}

.header-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 700;
  background: var(--danger);
  color: #fff;
  border-radius: 50px;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(239,68,68,.35);
  transition: transform .2s ease;
}

.header-cart-btn:hover .header-cart-badge {
  transform: scale(1.1);
}

/* Neutralize Bootstrap button classes added by JS on cart button */
#cartBtn.btn-outline-primary,
#cartBtn.btn-primary {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--gray-600) !important;
}

/* Cart badge — also kept for JS compatibility via #cartCount */
#cartCount {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 700;
  background: var(--danger);
  color: #fff;
  border-radius: 50px;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(239,68,68,.35);
}

/* User dropdown */
header .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  margin-top: .6rem;
  min-width: 200px;
  border: 1px solid rgba(226,232,240,.5);
}

header .dropdown-item {
  border-radius: var(--radius-sm);
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all .15s ease;
}

header .dropdown-item:hover {
  background: rgba(79,70,229,.06);
  color: var(--primary);
}

header .dropdown-toggle::after {
  display: none;
}

header .dropdown-divider {
  margin: .35rem 0;
  opacity: .5;
}

/* Mobile Toggle */
.header-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s ease;
}

.header-mobile-toggle:hover {
  background: rgba(79,70,229,.08);
  color: var(--primary);
}

.header-mobile-toggle.open .bi-list::before {
  content: '\F62A';
}

/* Mobile Menu */
.header-mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  padding: .5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.header-mobile-menu.open {
  display: flex;
}

.header-mobile-menu a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: .95rem;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: all .15s ease;
}

.header-mobile-menu a:hover {
  background: rgba(79,70,229,.06);
  color: var(--primary);
}

.header-mobile-menu a i {
  font-size: 1.05rem;
  width: 1.2rem;
  text-align: center;
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════
   CATEGORY BAR
   ═══════════════════════════════════════════════ */

.category-bar {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border-bottom: 1px solid rgba(199,210,254,.6);
  padding: .6rem 0;
}

.category-bar .btn-light {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem 1.1rem;
  transition: all var(--transition);
}

.category-bar .btn-light:hover {
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,.12);
}

.popular-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: .3rem .9rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.popular-links a:hover {
  color: var(--primary);
  background: rgba(79,70,229,.08);
}

/* ═══════════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════════ */

#mainSlider {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#mainSlider img {
  height: 420px;
  object-fit: cover;
  width: 100%;
}

#mainSlider .carousel-caption {
  background: linear-gradient(transparent, rgba(15,23,42,.7));
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 2rem 2rem;
  text-align: left;
}

#mainSlider .carousel-caption p {
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

@media (max-width:768px) {
  #mainSlider img { height: 220px; }
  #mainSlider { border-radius: var(--radius-md); }
}

/* ═══════════════════════════════════════════════
   PRODUCT CARDS — Premium Glossy
   ═══════════════════════════════════════════════ */

.product-card {
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79,70,229,.03), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.04);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card .product-img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}

.product-card .product-img-wrap img {
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
  display: block;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-card .card-body {
  padding: 1rem;
  z-index: 1;
  position: relative;
}

.product-card .card-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.6em;
}

.product-card .card-title:hover {
  color: var(--primary);
}

.product-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card .sold-count {
  font-size: .78rem;
  color: var(--gray-400);
}

/* ─── View button (outlined secondary) ─── */
.btn-view {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  font-weight: 500;
  font-size: .8rem;
  transition: all var(--transition);
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--gray-800);
}

/* ─── Add to cart button ─── */
.product-card .btn-primary {
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  background: var(--primary-gradient);
  border: none;
  box-shadow: 0 2px 8px rgba(79,70,229,.2);
  transition: all var(--transition);
  line-height: 1.5;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
}

.product-card .btn-primary:active {
  transform: translateY(0);
}

/* ─── Product Badges ─── */
.product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.badge-new {
  background: rgba(34,197,94,.9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
}

.badge-hot {
  background: rgba(239,68,68,.9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(239,68,68,.3);
}

/* ─── Product item animations ─── */
.product-item {
  transition: opacity .35s ease, transform .35s ease;
}

.fade-out { opacity: 0; transform: translateY(12px) scale(.97); pointer-events: none; }
.fade-in  { opacity: 1; transform: translateY(0) scale(1); }

mark {
  background: linear-gradient(135deg, #fef08a, #fde047);
  color: var(--gray-900);
  padding: .05rem .2rem;
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════════════ */

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  position: relative;
  padding-bottom: .6rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary-gradient);
}

/* ═══════════════════════════════════════════════
   BUTTONS — Global
   ═══════════════════════════════════════════════ */

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  padding: .5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(79,70,229,.25);
  transition: all var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79,70,229,.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
}

/* Load More */
#loadMore, #loadMoreBtn {
  border-radius: 50px;
  padding: .6rem 2.5rem;
  font-weight: 600;
  font-size: .9rem;
}

/* Search / Filter */
#productSearch, #searchInput {
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  padding: .5rem 1.2rem;
  font-size: .88rem;
  background: #fff;
  transition: all var(--transition);
}

#productSearch:focus, #searchInput:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(79,70,229,.1);
  outline: none;
}

#clearSearch, #clearFilters {
  border-radius: 50px;
  font-size: .85rem;
}

/* ═══════════════════════════════════════════════
   FOOTER — Premium Dark Gradient
   ═══════════════════════════════════════════════ */

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

footer h4 {
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

footer h5 {
  font-size: .95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition);
  font-size: .9rem;
}

footer a:hover {
  color: var(--primary-light) !important;
}

footer ul li {
  margin-bottom: .6rem;
}

footer p {
  color: #94a3b8;
  font-size: .9rem;
  line-height: 1.7;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #94a3b8;
  font-size: 1.1rem;
  transition: all var(--transition);
}

footer .social-links a:hover {
  background: var(--primary-gradient);
  color: #fff !important;
  transform: translateY(-3px);
}

footer .footer-bottom {
  border-top: 1px solid rgba(148,163,184,.12);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  font-size: .85rem;
  color: #64748b;
}

/* ═══════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════ */

.cart-item-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79,70,229,.2);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.qty-btn:hover {
  background: var(--gray-100);
}

.qty-input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1.5px solid var(--gray-200);
  border-right: 1.5px solid var(--gray-200);
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.empty-cart-icon {
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════ */

.auth-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.auth-sidebar-layout {
  align-items: flex-start;
}

.auth-sticky {
  position: sticky;
  top: 100px;
}

@media (max-width: 991px) {
  .auth-sticky {
    position: static;
  }
}

.auth-card {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.auth-card .card-body {
  padding: 2.5rem 2rem;
}

.auth-tabs {
  border-bottom: 2px solid var(--gray-200);
  gap: 0;
  margin-bottom: 2rem;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: .75rem 0;
  text-decoration: none;
  color: var(--gray-500);
  font-weight: 600;
  font-size: .95rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.auth-tab:hover {
  color: var(--primary);
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-input {
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .9rem;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  transition: all var(--transition);
}

.auth-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(79,70,229,.1);
  background: #fff;
}

/* ─── Auth Left Side Hero ─────────────────── */
.auth-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

.auth-hero-text {
  line-height: 1.5;
  max-width: 500px;
}

.auth-hero-illustration img {
  max-width: 100%;
  height: auto;
}

/* ─── Auth Left Side Trust / Social Proof ─── */
.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.trust-stat-label {
  font-size: .8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.trust-testimonial p {
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .auth-hero-illustration {
    display: none !important;
  }
  .auth-hero {
    margin-bottom: 2rem !important;
  }
}

/* ═══════════════════════════════════════════════
   PRODUCT DETAILS
   ═══════════════════════════════════════════════ */

#productTabs .nav-link {
  color: var(--gray-500);
  font-weight: 500;
  border: none;
  padding: .7rem 1.2rem;
  transition: all var(--transition);
}

#productTabs .nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: transparent;
  border-bottom: 2px solid var(--primary);
}

/* ═══════════════════════════════════════════════
   STAR RATING
   ═══════════════════════════════════════════════ */

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: .1rem;
}

.star-rating input { display: none; }

.star-rating label {
  font-size: 2rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color .15s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--secondary);
}

/* ═══════════════════════════════════════════════
   SELLER SIDEBAR
   ═══════════════════════════════════════════════ */

.seller-sidebar {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.seller-sidebar .sidebar-header {
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.seller-sidebar .sidebar-user {
  font-size: .88rem;
  color: var(--gray-600);
  background: var(--gray-50);
  font-weight: 500;
}

.seller-sidebar .sidebar-link {
  border: none;
  padding: .75rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.seller-sidebar .sidebar-link i {
  font-size: 1.05rem;
  width: 1.2rem;
  text-align: center;
}

.seller-sidebar .sidebar-link:hover {
  background: var(--gray-100);
  color: var(--primary);
  border-left-color: var(--primary-light);
}

.seller-sidebar .sidebar-link.active {
  background: rgba(79,70,229,.06);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.seller-sidebar .sidebar-link .badge {
  font-size: .72rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   SHOP FILTER SIDEBAR
   ═══════════════════════════════════════════════ */

.filter-sidebar {
  border-radius: var(--radius-md);
  position: sticky;
  top: 100px;
}

.filter-sidebar .form-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--gray-500);
}

.filter-sidebar .form-select,
.filter-sidebar .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: .88rem;
  padding: .5rem .85rem;
  transition: all var(--transition);
}

.filter-sidebar .form-select:focus,
.filter-sidebar .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(79,70,229,.1);
}

.filter-sidebar .form-control::placeholder {
  color: var(--gray-400);
  font-size: .82rem;
}

@media (max-width: 991px) {
  .filter-sidebar {
    position: static;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 991px) {
  header .form-control { width: 200px; }
  header > .container { height: 54px; }
}

@media (max-width: 767px) {
  header .form-control { display: none; }
  header > .container { height: 50px; }
  .logo { font-size: 1.2rem; }
  .logo img { width: 32px; height: 32px; }
  .product-card img { height: 160px; }
  .section-title { font-size: 1.1rem; }
  footer { padding: 2.5rem 0 1.5rem; }
}

@media (max-width: 576px) {
  .cart-unit-price { display: none; }
  .table thead th:nth-child(2) { display: none; }
}

#userCaptchaContainer .c-img {
	background: #e9ecef !important;
}
