﻿/* 2ndHand.lk – Professional Marketplace Stylesheet v3 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --primary:       #f06030;
  --primary-dark:  #d4501e;
  --primary-light: #fff3ed;
  --primary-glow:  rgba(240,96,48,.15);

  --bg:         #f5f6f8;
  --surface:    #ffffff;
  --surface-2:  #f9fafb;
  --border:     #e5e7eb;
  --border-2:   #d1d5db;

  --text:        #111827;
  --text-2:      #374151;
  --text-muted:  #6b7280;
  --text-faint:  #9ca3af;

  --dark:  #111827;
  --dark2: #1f2937;

  --card-bg: #ffffff;
  --orange: #f06030;
  --orange-dark: #d4501e;
  --orange-light: #fff3ed;

  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.03);
  --shadow:    0 4px 12px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.03);
  --shadow-md: 0 8px 24px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.03);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);

  --transition: .18s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #0f172a; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: .9375rem;
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── Utility Classes ── */
.text-orange { color: var(--primary) !important; }
.bg-orange   { background: var(--primary) !important; }
.rounded-14  { border-radius: 14px; }
.rounded-20  { border-radius: 20px; }
.shadow-sm2  { box-shadow: var(--shadow-sm); }
.line-clamp-2 { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.border-orange { border-color: var(--primary) !important; }
.object-fit-cover  { object-fit: cover; }
.object-fit-contain{ object-fit: contain; }
.fs-13 { font-size: .8125rem !important; }

/* ── Buttons ── */
.btn-orange {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: .1px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-orange:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(240,96,48,.35);
}
.btn-orange:active { transform: translateY(0); }

/* ── Topbar ── */
.topbar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .76rem;
  color: rgba(255,255,255,.6);
}
.topbar a { color: rgba(255,255,255,.65); }
.topbar a:hover { color: #fff; }
.topbar .badge-pro   { background: linear-gradient(135deg,#3b82f6,#6366f1); }
.topbar .badge-prem  { background: linear-gradient(135deg,var(--primary),var(--primary-dark)); }

/* ── Navbar ── */
.navbar {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 0 var(--border) !important;
  padding: .65rem 0;
}
.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--text);
  line-height: 1;
}
.logo-text span { color: var(--primary); }
.navbar .nav-link {
  color: var(--text-2) !important;
  font-weight: 500;
  font-size: .875rem;
  padding: .45rem .75rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar .nav-link:hover {
  color: var(--text) !important;
  background: var(--bg);
}
.navbar .nav-link.active-link {
  color: var(--primary) !important;
  background: var(--primary-light);
}
.navbar-toggler { border: none; padding: .25rem .4rem; border-radius: var(--radius-sm); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(240,96,48,.15); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111827' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.25em; height: 1.25em;
}

/* Search in navbar */
.navbar .input-group .form-control {
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: .5rem 1rem;
  font-size: .875rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}
.navbar .input-group .form-control:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: none;
  outline: none;
}
.navbar .input-group .form-select {
  border: 1.5px solid var(--border);
  border-right: none;
  border-left: none;
  font-size: .8rem;
  background: var(--bg);
  color: var(--text-2);
  box-shadow: none;
  cursor: pointer;
}
.navbar .input-group .form-select:focus { box-shadow: none; border-color: var(--primary); }
.navbar .input-group .btn-search {
  background: var(--primary);
  border: 1.5px solid var(--primary);
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  padding: 0 1.1rem;
  font-size: .95rem;
  transition: background var(--transition);
}
.navbar .input-group .btn-search:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* Navbar action buttons */
.btn-nav-sell {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: .82rem;
  padding: .45rem 1.1rem !important;
  border-radius: var(--radius-sm);
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-nav-sell:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,96,48,.3);
}
.btn-nav-login {
  color: #fff !important;
  font-weight: 600;
  font-size: .82rem;
  padding: .45rem 1rem !important;
  border: 1.5px solid #1e293b;
  border-radius: var(--radius-sm);
  background: #1e293b;
  transition: all var(--transition);
}
.btn-nav-login:hover {
  border-color: #0f172a;
  color: #fff !important;
  background: #0f172a;
}

/* Dropdown tweaks */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  font-size: .875rem;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  color: var(--text-2);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: var(--bg); color: var(--text); }
.dropdown-item.text-danger:hover { background: #fef2f2; }
.dropdown-divider { border-color: var(--border); margin: .4rem .75rem; }

/* Mega Menu */
.mega-menu {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  top: calc(100% + 4px);
  padding: 1.25rem !important;
}
.cat-nav-item { border-radius: var(--radius-sm); padding: .35rem .5rem; transition: background var(--transition); }
.cat-nav-item:hover { background: var(--bg); }
.cat-nav-item:hover .cat-icon { color: var(--primary); transform: scale(1.12); }
.cat-icon { font-size: 1.1rem; width: 24px; transition: transform var(--transition), color var(--transition); }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, #111827 0%, #1e293b 60%, #0f172a 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(240,96,48,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-slide { min-height: 420px; display: flex; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,96,48,.15);
  border: 1px solid rgba(240,96,48,.3);
  color: #fdba74;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: .72rem;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5px 16px;
  border-radius: 30px;
  font-size: .75rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -1.2px;
}
.hero-title .highlight { color: #fb923c; }
.hero-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fcd34d;
  letter-spacing: -0.5px;
}
.hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.carousel-indicators button {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  border: none !important;
  opacity: .5;
  background: #fff !important;
}
.carousel-indicators .active { opacity: 1; width: 20px !important; border-radius: 3px !important; }

/* ── Quick Category Bar ── */
.category-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.category-bar a {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  background: var(--bg);
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.category-bar a:hover,
.category-bar a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240,96,48,.25);
}

/* ── Section Headers ── */
.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  position: relative;
  padding-bottom: 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: .35rem;
  display: block;
}

/* ── Product Cards ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-xs);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}
.product-card .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.product-card .price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}
.product-card .location {
  font-size: .71rem;
  color: var(--text-muted);
}
.product-card .seller-badge { position: absolute; top: 10px; left: 10px; }
.product-card .featured-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-size: .62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.product-card .condition-badge { position: absolute; bottom: 10px; left: 10px; }
.card-img-wrapper { position: relative; overflow: hidden; background: var(--bg); }
.card-img-wrapper img { transition: transform .4s cubic-bezier(.25,.46,.45,.94); }
.product-card:hover .card-img-wrapper img { transform: scale(1.05); }
.period-tag {
  font-size: .67rem;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.product-card .card-body { padding: .85rem; }
.product-card .card-footer { background: var(--surface); border: none; padding: 0 .85rem .85rem; }
.product-card .card-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .25rem;
  line-height: 1.35;
}
.product-card .btn-orange {
  font-size: .8rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
}

/* ── Category Cards ── */
.cat-card {
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  background: var(--surface);
}
.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,96,48,.1);
}
.cat-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 10px;
}

/* ── Seller Badges ── */
.seller-pro     { background: linear-gradient(135deg,#3b82f6,#6366f1); }
.seller-premium { background: linear-gradient(135deg,var(--primary),var(--primary-dark)); }
.badge-pro      { background: linear-gradient(135deg,#3b82f6,#6366f1); color:#fff; }
.badge-premium  { background: linear-gradient(135deg,var(--primary),var(--primary-dark)); color:#fff; }

/* ── Product Single Page ── */
.product-gallery-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.product-gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--bg);
}
.product-gallery-thumb.active,
.product-gallery-thumb:hover { border-color: var(--primary); }
.product-detail-table th { width: 38%; font-weight: 600; color: var(--text-muted); font-size: .85rem; }
.product-detail-table td { color: var(--text); font-size: .875rem; }
.whatsapp-btn {
  background: #25d366;
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
}
.whatsapp-btn:hover {
  background: #1aaa53;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.info-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 6px;
}
.info-label {
  display: block;
  font-size: .67rem;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: .5px;
}

/* ── Seller Shop ── */
.shop-banner { height: 220px; object-fit: cover; width: 100%; border-radius: var(--radius-lg); }
.shop-logo { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--surface); object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.seller-stats .stat-box { text-align: center; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.seller-stats .stat-box .num { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.star-rating i { color: #f59e0b; }

/* ── Dashboard ── */
.dash-card { border-radius: var(--radius); border: none; padding: 22px; color: #fff; }
.dash-card .icon { font-size: 2.5rem; opacity: .8; }
.dash-card .number { font-size: 2rem; font-weight: 800; }
.dash-sidebar {
  background: linear-gradient(180deg, #111827 0%, #1e293b 100%);
  min-height: 100vh;
}
.dash-sidebar .nav-link {
  color: rgba(255,255,255,.65);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .875rem;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.dash-sidebar .nav-link:hover,
.dash-sidebar .nav-link.active {
  color: #fff;
  background: rgba(240,96,48,.2);
  padding-left: 20px;
}
.dash-sidebar .nav-link i { width: 20px; }

/* ── Admin Panel ── */
.admin-sidebar { background: #111827; }
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.65);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 3px;
  font-size: .875rem;
  transition: all var(--transition);
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(240,96,48,.2);
  color: #fff;
  padding-left: 18px;
}

/* ── Auth Pages ── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, var(--bg) 100%);
}
.auth-card {
  max-width: 460px;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ── Plans ── */
.plan-card {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform .35s cubic-bezier(.25,.8,.25,1), box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.plan-card:hover { transform: translateY(-10px); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.plan-card.popular {
  border: 2px solid var(--pc, var(--primary));
  box-shadow: 0 0 40px -8px var(--pc, var(--primary)), 0 20px 60px rgba(0,0,0,.5);
  transform: scale(1.04);
}
.plan-card.popular:hover { transform: scale(1.04) translateY(-10px); }
.plan-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--pc, #6b7280);
  filter: blur(72px);
  opacity: .12;
  pointer-events: none;
  transition: opacity .3s;
}
.plan-card:hover .plan-glow,
.plan-card.popular .plan-glow { opacity: .22; }
.plan-inner {
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.plan-tag {
  font-size: .67rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--pc, #94a3b8);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--pc, rgba(255,255,255,.12));
  padding: 4px 12px; border-radius: 20px;
}
.plan-popular-pill {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: #0d1117;
  background: var(--pc, var(--primary));
  padding: 4px 11px; border-radius: 20px;
}
.plan-name {
  font-size: 2rem; font-weight: 900;
  color: #fff; letter-spacing: -1px;
  margin: 0 0 .4rem; line-height: 1;
}
.plan-price-row {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: .25rem;
}
.plan-price-row sup {
  font-size: 1.05rem; font-weight: 700;
  color: rgba(255,255,255,.45); align-self: flex-start; margin-top: 6px;
}
.plan-price-row strong {
  font-size: 3.75rem; font-weight: 900;
  color: #fff; letter-spacing: -4px; line-height: 1;
}
.plan-period-text {
  font-size: .73rem; color: rgba(255,255,255,.3);
  letter-spacing: .4px; margin-bottom: 1.5rem;
}
.plan-divider {
  height: 1px; background: rgba(255,255,255,.07); margin-bottom: 1.5rem;
}
.plan-features {
  list-style: none; padding: 0;
  margin: 0 0 1.75rem; flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; color: rgba(255,255,255,.6);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--pc, #22c55e); font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }
.plan-cta {
  display: block; width: 100%;
  padding: .9rem 1rem; text-align: center;
  font-weight: 700; font-size: .95rem;
  border-radius: 12px; text-decoration: none;
  background: var(--pc, var(--primary)); color: #0d1117;
  transition: filter .2s, transform .2s;
  letter-spacing: .3px;
}
.plan-cta:hover { filter: brightness(1.15); transform: translateY(-2px); color: #0d1117; }
.plan-card.popular .plan-cta { box-shadow: 0 8px 28px -4px var(--pc, var(--primary)); }

/* ── Filter Bar ── */
.filter-bar { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.search-filter-chip {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .79rem;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  color: var(--text-2);
}
.search-filter-chip:hover, .search-filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Footer ── */
.footer { background: #0f172a; }
.footer-main { border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-link { color: rgba(255,255,255,.48); display: block; margin-bottom: 7px; font-size: .83rem; transition: color var(--transition); }
.footer-link:hover { color: rgba(255,255,255,.85); }
.footer-bottom { background: rgba(0,0,0,.3); color: rgba(255,255,255,.4); font-size: .77rem; }
.upgrade-banner { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff; font-size: .875rem; }

/* ── FAQ ── */
.faq-item { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; border: 1px solid var(--border); }
.faq-item .accordion-button { font-weight: 600; font-size: .9rem; }
.faq-item .accordion-button:not(.collapsed) { background: var(--primary-light); color: var(--primary); box-shadow: none; }

/* ── Misc Utilities ── */
.ad-slot { background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius-sm); min-height: 90px; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: .75rem; }
.notif-unread { border-left: 3px solid var(--primary); }
.avatar-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.avatar-circle-lg { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1.5rem; }
.avatar-circle-xl { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 2rem; }
.stat-card { border-radius: var(--radius); padding: 1.2rem; text-align: center; flex: 1; min-width: 140px; }
.stat-card .stat-val { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { font-size: .77rem; opacity: .85; margin-top: 4px; }
.specs-table .table th { font-weight: 600; font-size: .84rem; }
.specs-table .table td { font-size: .84rem; }

/* ── Sell CTA Banner ── */
.sell-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #2d1a0e 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.sell-cta::before {
  content:'';
  position:absolute;
  top:-60px;
  right:-60px;
  width:320px;
  height:320px;
  background:radial-gradient(circle, rgba(240,96,48,.18) 0%, transparent 68%);
  pointer-events:none;
}

/* ── How it Works ── */
.how-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  padding: 2.5rem 2rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: left;
}
.how-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: .12;
  filter: blur(30px);
  transition: opacity .3s;
  pointer-events: none;
}
.how-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1); }
.how-card:hover .how-card-glow { opacity: .22; }
.how-card-watermark {
  position: absolute;
  bottom: -18px;
  right: 12px;
  font-size: 7.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  letter-spacing: -6px;
  user-select: none;
  pointer-events: none;
}
.how-step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.trust-item i { color: var(--primary); font-size: 1.4rem; }
.trust-item strong { font-size: .875rem; font-weight: 700; color: var(--text); display: block; line-height: 1.2; }
.trust-item span { font-size: .75rem; color: var(--text-muted); }

/* ── Featured Tag on Product ── */
.ribbon-featured {
  position: absolute;
  top: 0; left: 0;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-size: .6rem;
  font-weight: 800;
  padding: 4px 10px 4px 8px;
  border-bottom-right-radius: var(--radius-sm);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .mega-menu { min-width: 300px !important; left: 0 !important; }
  .product-gallery-main { height: 260px; }
  .hero-slide { min-height: 280px; }
  .hero-img { height: 220px; }
  body { padding-bottom: 80px; background: #fff; }
}
@media (max-width: 575px) {
  .product-card .card-img-top { height: 160px; }
  .section-title { font-size: 1.15rem; }
  .hero-title { font-size: 1.55rem; }
  .dash-sidebar { min-height: auto; }
  .sell-cta { border-radius: var(--radius-lg); }
}

/* ── Mobile Bottom Navigation ── */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -1px 0 var(--border), 0 -4px 24px rgba(0,0,0,.06);
  z-index: 1050;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 7px 4px;
  padding-bottom: calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-faint);
  font-size: .62rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  width: 20%;
  gap: 2px;
  letter-spacing: .2px;
}
.mobile-bottom-nav .nav-item i {
  font-size: 1.3rem;
  transition: transform .22s cubic-bezier(.175,.885,.32,1.275);
  line-height: 1;
}
.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active { color: var(--primary); }
.mobile-bottom-nav .nav-item.active i { transform: translateY(-2px); }
.mobile-bottom-nav .nav-item-sell i {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  margin-top: -20px;
  box-shadow: 0 4px 16px rgba(240,96,48,.4);
  border: 3px solid #fff;
}
.mobile-bottom-nav .nav-item-sell:hover i { transform: translateY(-5px) scale(1.06); }
