:root {
  --purple: #143057;
  --purple-hover: #215398;
  --purple-light: #4995ff;
  --text-dark: #111118;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --dark-bg: #0c0c10;
  --dark-card: #16161c;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
}

/* ── TOP BAR ── */
#top-bar {
  background: #f9f9fb;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  padding: 7px 0;
  color: #555;
}
#top-bar .top-right { display: flex; gap: 22px; }
#top-bar a { color: #555; text-decoration: none; }
#top-bar a:hover { color: var(--purple); }
#top-bar i { margin-right: 5px; color: var(--purple-light); font-size: 0.75rem; }

/* ── NAVBAR ── */
#main-nav {
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
#main-nav .navbar-brand img { max-height: 86px; }
#main-nav .nav-link {
  color: #333 !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 22px 11px !important;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}
#main-nav .nav-link:hover { color: var(--purple) !important; }
#main-nav .nav-link.active {
  color: var(--purple) !important;
  border-bottom-color: var(--purple);
}
.nav-icon-btn {
  background: none; border: none;
  color: #444; font-size: 1rem;
  cursor: pointer; padding: 6px 8px;
  transition: color 0.2s;
}
.nav-icon-btn:hover { color: var(--purple); }
.nav-account {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #333;
}
#main-nav .navbar-toggler { border-color: var(--border); }

/* ── HERO ── */
#home {
  background: linear-gradient(45deg, black, transparent), url(../images/hero-desktop.jpg);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 70px 0 50px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/*#home {
  background: var(--dark-bg);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 70px 0 50px;
}
#home::before {
  content: '';
  position: absolute;
  right: 5%; top: 30%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,40,217,0.35) 0%, rgba(109,40,217,0.08) 50%, transparent 70%);
  pointer-events: none;
}
#home::after {
  content: '';
  position: absolute;
  right: 20%; bottom: -80px;
  width: 400px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.25) 0%, transparent 70%);
  pointer-events: none;
}*/
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}
#home h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}
#home h1 .purple-line {
  color: var(--purple-light);
  display: block;
}
.hero-sub {
  color: #a0a0b5;
  font-size: 1rem;
  line-height: 1.7;
  margin: 20px 0 34px;
  max-width: 380px;
}
.btn-purple {
  display: inline-block;
  background: var(--purple-hover);
  color: #fff !important;
  text-decoration: none;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  transition: background 0.22s, transform 0.15s;
  cursor: pointer;
}
.btn-purple:hover { background: var(--purple-light); transform: translateY(-2px); }
.hero-img-col { position: relative; z-index: 2; }
/*.hero-product-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}
.hero-product-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 100px;
  background: radial-gradient(ellipse, rgba(109,40,217,0.45) 0%, transparent 70%);
  border-radius: 50%;
}
.vape-devices-svg {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 40px rgba(109,40,217,0.5));
}*/

/* ── CATEGORY ICONS ── */
#category-icons {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.cat-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.cat-link:hover { color: var(--purple); }
.cat-link .icon-wrap {
  width: 62px; height: 62px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--purple);
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}
.cat-link:hover .icon-wrap {
  border-color: var(--purple);
  background: #f3f0ff;
}

/* ── SECTION LABEL ── */
.sec-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 44px;
  position: relative;
}
.sec-label::after {
  content: '';
  display: block;
  width: 36px; height: 3px;
  background: var(--purple);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ── BRANDS ── */
#brands { background: #f9f9fb; padding: 72px 0; }
.brand-tile {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #333;
  letter-spacing: -0.01em;
  min-height: 72px;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.brand-tile:hover { border-color: var(--purple); color: var(--purple); }
.view-all {
  display: block;
  text-align: center;
  margin-top: 28px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.view-all:hover { color: var(--purple-hover); }
hr.section-divider { border-color: var(--border); margin: 0; }

/* ── SHOP BY CATEGORY ── */
#shop-by-category { background: #ffffff; padding: 72px 0; }
.cat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-light);
  box-shadow: 0 8px 30px rgba(109,40,217,0.12);
  color: var(--text-dark);
}
.cat-card-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cat-card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.cat-card-body h6 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.cat-card-body p {
  font-size: 0.78rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 12px;
  line-height: 1.55;
}
.shop-link {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
}
.cat-card:hover .shop-link { color: var(--purple-hover); }

/* Card image gradient backgrounds */
.bg-vape    { background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 100%); }
.bg-eliquid { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.bg-disp    { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); }
.bg-acc     { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.bg-cbd     { background: linear-gradient(135deg, #d1fae5 0%, #6ee7b7 100%); }

/* ── PROMO BANNERS ── */
#promo-banners { background: #fff; padding: 72px 0; }
.promo-card {
  border-radius: 12px;
  padding: 48px 44px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.promo-card h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
  position: relative; z-index: 2;
}
.promo-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  margin-bottom: 22px;
  position: relative; z-index: 2;
}
.promo-card .btn-purple { position: relative; z-index: 2; }
.promo-icon {
  position: absolute;
  right: 36px; top: 50%;
  transform: translateY(-50%);
  font-size: 6.5rem;
  opacity: 0.12;
  color: #fff;
  z-index: 1;
}
.promo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(58,134,239,0.4) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.promo-deals { background: linear-gradient(135deg, #0c0c14 0%, #1e0845 100%); border: 1px solid #2d1760; }
.promo-store { background: linear-gradient(135deg, #0c0c14 0%, #130d30 100%); border: 1px solid #1e1640; }

/* ── WHY SHOP WITH US ── */
#why-us { background: var(--purple-light); padding: 72px 0; }
.why-item { display: flex; align-items: flex-start; gap: 18px; }
.why-icon {
  width: 50px; min-width: 50px; height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #f5f0ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--purple);
}
#why-us .sec-label {
    color: #fff;
}
.why-text h6 {
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 3px;
  color: #fff;
}
.why-text p { font-size: 0.78rem; color: #fff; margin: 0; }

/* ── FOOTER ── */
#footer { background: var(--dark-bg); padding: 64px 0 0; border-top: 1px solid #1e1e28; }
.footer-logo { max-height: 86px; margin-bottom: 14px; }
.footer-desc { font-size: 0.8rem; color: #99a0af; line-height: 1.7; max-width: 210px; margin-bottom: 18px; }
.social-links { display: flex; gap: 14px; }
.social-links a { color: #99a0af; font-size: 1rem; text-decoration: none; transition: color 0.2s; }
.social-links a:hover { color: var(--purple-light); }
#footer h6 { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
#footer ul { list-style: none; padding: 0; margin: 0; }
#footer ul li { margin-bottom: 10px; }
#footer ul li a { color: #99a0af; font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
#footer ul li a:hover { color: #fff; }
.subscribe-wrap { display: flex; }
.subscribe-wrap input {
  flex: 1; background: #1a1a24; border: 1px solid #2a2a38;
  border-right: none; color: #fff; padding: 10px 14px;
  font-size: 0.8rem; border-radius: 4px 0 0 4px; outline: none;
  font-family: inherit;
}
.subscribe-wrap input::placeholder { color: #555; }
.subscribe-wrap input:focus { border-color: var(--purple); }
.subscribe-wrap button {
  background: var(--purple); color: #fff; border: none;
  padding: 10px 16px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 0 4px 4px 0; cursor: pointer;
  font-family: inherit; transition: background 0.2s; white-space: nowrap;
}
.subscribe-wrap button:hover { background: var(--purple-hover); }
.footer-bottom {
  margin-top: 50px; border-top: 1px solid #1e1e28;
  padding: 18px 0; text-align: center;
  font-size: 0.73rem; color: #3a3a4a;
}

/* ── BACK TO TOP ── */
#btt {
  position: fixed; bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  background: var(--purple); color: #fff;
  border: none; border-radius: 50%;
  font-size: 0.9rem; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 4px 20px rgba(109,40,217,0.4);
  transition: background 0.2s, transform 0.15s;
}
#btt:hover { background: var(--purple-hover); transform: translateY(-3px); }
#btt.show { display: flex; }
