:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #ede9fe;
  --secondary: #4f46e5;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --bg: #faf9ff;
  --bg2: #ffffff;
  --bg3: #f3f0ff;
  --text: #1e1b2e;
  --text2: #4c4a6d;
  --text3: #9090b8;
  --border: #e4e0f7;
  --card-shadow: 0 2px 20px rgba(124, 58, 237, 0.07);
  --card-shadow-hover: 0 12px 40px rgba(124, 58, 237, 0.18);
  --navbar-bg: #ffffff;
  --mega-bg: #ffffff;
  --announcement-bg: linear-gradient(90deg, #7c3aed, #4f46e5);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
}
[data-theme="dark"] {
  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
  --primary-light: #2e1a4a;
  --secondary: #818cf8;
  --accent: #fbbf24;
  --success: #34d399;
  --bg: #0d0a1a;
  --bg2: #130d25;
  --bg3: #1c1336;
  --text: #ede9fe;
  --text2: #c4b5fd;
  --text3: #7c6fa0;
  --border: #2d1f50;
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 12px 40px rgba(167, 139, 250, 0.2);
  --navbar-bg: #130d25;
  --mega-bg: #130d25;
  --announcement-bg: linear-gradient(90deg, #4c1d95, #312e81);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition:
    background var(--transition),
    color var(--transition);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* ====== ANNOUNCEMENT ====== */
.announcement-bar {
  background: var(--announcement-bg);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1000;
}
.announcement-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 600;
}
.ann-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  opacity: 0.7;
}

/* ====== NAVBAR ====== */
.navbar-main {
  background: var(--navbar-bg);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.navbar-main.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  max-width: 1440px;
  margin: auto;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  cursor: pointer;
}
.brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.search-wrap {
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
}
.search-bar {
  display: flex;
  border-radius: 50px;
  border: 2px solid var(--primary);
  overflow: hidden;
  background: var(--bg3);
  transition: box-shadow var(--transition);
}
.search-bar:focus-within {
  box-shadow: 0 0 0 4px var(--primary-light);
}
/* Dark mode search bar dropdown fix */
.search-select {
  border: none;
  background: var(--bg3);
  color: var(--text);
  padding: 0 14px;
  font-size: 0.82rem;
  cursor: pointer;
  border-right: 1px solid var(--border);
  outline: none;
  font-family: var(--font-body);
  min-width: 115px;
  font-weight: 500;
}
/* Dark mode native select dropdown */
[data-theme="dark"] .search-select {
  background: var(--bg3);
  color: var(--text);
  color-scheme: dark;
}
[data-theme="dark"] .search-select option {
  background: var(--bg2);
  color: var(--text);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  font-family: var(--font-body);
}
.search-btn {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 22px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 0.95rem;
}
.search-btn:hover {
  background: var(--primary-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.nav-links a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}
.nav-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.nav-icon-btn {
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  position: relative;
  transition: all var(--transition);
}
.nav-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-icon-btn .nbadge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: #fff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--navbar-bg);
}
.dark-toggle {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
}
.dark-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ====== HERO ====== */
.hero {
  background: linear-gradient(
    120deg,
    #020818 0%,
    #0c1a3a 40%,
    #0a2550 70%,
    #0e1a40 100%
  );
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-glow1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.22) 0%,
    transparent 70%
  );
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.18) 0%,
    transparent 70%
  );
  left: 35%;
  top: 5%;
  pointer-events: none;
}
.hero-grid > * {
  min-width: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1440px;
  margin: auto;
  width: 100%;
  padding: 60px 28px;
  gap: 28px;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
  font-family: var(--font-body);
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  margin-top: 2px;
  font-family: var(--font-body);
}
.hero-search-box {
  display: flex;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
  transition: border-color var(--transition);
}
.hero-search-box:focus-within {
  border-color: #a78bfa;
}
.hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 20px;
  font-size: 0.93rem;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
}
.hero-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.hero-search-box button {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border: none;
  color: #fff;
  padding: 0 26px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity var(--transition);
}
.hero-search-box button:hover {
  opacity: 0.88;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.79rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}
.hero-tag:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: #a78bfa;
  color: #fff;
}

/* HERO RIGHT - IMAGE CAROUSEL ONLY */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-carousel-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(12px);
}
.hc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
}
.hc-nav {
  display: flex;
  gap: 6px;
}
.hc-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: all var(--transition);
}
.hc-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.hc-main-img {
  width: 100%;
  height: 300px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
  cursor: pointer;
  transition: transform var(--transition);
}
.hc-main-img:hover {
  transform: scale(1.02);
}
.hc-thumbs {
  display: flex;
  gap: 8px;
  overflow: hidden;
}
.hc-thumb {
  width: 85px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.05);
}
.hc-thumb.active,
.hc-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ====== DEALS BANNER ====== */
.deals-wrap {
  max-width: 1440px;
  margin: 28px auto 0;
  padding: 0 28px;
}
.deals-banner {
  background: linear-gradient(120deg, #020818, #0c1a3a 50%, #0e1a40);
  border-radius: var(--radius);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.deals-banner::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
}
.deals-banner h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.deals-banner p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.countdown {
  display: flex;
  gap: 9px;
}
.count-block {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 9px 16px;
  text-align: center;
  min-width: 62px;
  backdrop-filter: blur(6px);
}
.count-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.count-label {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
  display: block;
  font-family: var(--font-body);
}
.btn-deals {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  transition: all var(--transition);
}
.btn-deals:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4);
}

/* ====== MAIN LAYOUT ====== */
.main-layout {
  max-width: 1440px;
  margin: auto;
  padding: 28px 28px 0;
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 24px;
}
@media (max-width: 920px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
}
.content-area {
  min-width: 0;
}

/* ====== SIDEBAR ====== */
.category-menu {
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: visible;
  position: sticky;
  top: 72px;
  box-shadow: var(--card-shadow);
  z-index: 2 ;
}
.cat-menu-title {
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-item {
  position: relative;
}
.cat-item-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  font-size: 0.855rem;
  font-weight: 500;
  transition: all var(--transition);
  text-align: left;
  font-family: var(--font-body);
  border-left: 3px solid transparent;
}
.cat-item-btn:hover,
.cat-item:hover .cat-item-btn {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}
.cat-icon {
  width: 20px;
  text-align: center;
  color: var(--primary);
}
.chevron {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text3);
  transition: transform var(--transition);
}
.cat-item:hover .chevron {
  transform: rotate(90deg);
}
.mega-menu {
  position: absolute;
  left: calc(100% + 4px);
  top: 0;
  width: 500px;
  background: var(--mega-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 20px;
  display: none;
  z-index: 1001;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cat-item:hover .mega-menu {
  display: grid;
}
.mega-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 0.84rem;
  transition: all var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
}
.mega-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(3px);
}

/* ====== SECTION ====== */
.section {
  padding: 34px 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
}
.section-title span {
  color: var(--primary);
}
.view-all {
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  padding: 5px 14px;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.view-all:hover {
  background: var(--primary);
  color: #fff;
}

/* ====== FREQ GRID ====== */
.freq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.freq-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.freq-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}
.freq-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  transition: all var(--transition);
}
.freq-card:hover .freq-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.freq-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
  font-family: var(--font-body);
}

/* ====== CATEGORY PRODUCT SECTIONS ====== */
.cat-section {
  margin-bottom: 42px;
}
.cat-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cat-section-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cat-section-sub {
  font-size: 0.78rem;
  color: var(--text3);
  margin-top: 2px;
  font-family: var(--font-body);
}

/* ====== PRODUCT CARD ====== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(192px, 1fr));
  gap: 15px;
}
.product-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(124, 58, 237, 0.3);
}
.product-img-wrap {
  position: relative;
  height: 172px;
  background: var(--bg3);
  overflow: hidden;
}
.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.08);
}
.product-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 50px;
  z-index: 1;
  letter-spacing: 0.04em;
  color: #fff;
  font-family: var(--font-body);
}
.badge-hot {
  background: linear-gradient(135deg, #f97316, #ef4444);
}
.badge-new {
  background: var(--success);
}
.product-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition);
  font-size: 0.85rem;
  color: var(--text3);
  border: none;
  backdrop-filter: blur(4px);
}
.product-wishlist:hover {
  color: var(--danger);
}
.product-card:hover .product-wishlist {
  opacity: 1;
}
.product-body {
  padding: 12px;
}
.product-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  overflow: hidden;
  line-height: 1.44;
  font-family: var(--font-body);
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}
.product-moq {
  font-size: 0.71rem;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}
.product-supplier {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 0.73rem;
  color: var(--text2);
  font-family: var(--font-body);
}
.sup-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.67rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}
.product-actions {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}
.btn-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 7px;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.btn-cart:hover {
  opacity: 0.87;
  transform: translateY(-1px);
}
.btn-detail {
  background: var(--bg3);
  color: var(--text2);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.btn-detail:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ====== SKELETON ====== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg3) 25%,
    var(--border) 50%,
    var(--bg3) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sk-img {
  height: 172px;
}
.sk-body {
  padding: 12px;
}
.sk-line {
  height: 12px;
  border-radius: 4px;
  margin-bottom: 9px;
}
.w80 {
  width: 80%;
}
.w60 {
  width: 60%;
}
.w40 {
  width: 40%;
}

/* ====== CAT PILLS ====== */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.cat-pill {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 15px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}
.cat-pill:hover,
.cat-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}

/* ====== SUPPLIERS ====== */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 15px;
}
.supplier-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: all var(--transition);
}
.supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(124, 58, 237, 0.3);
}
.supplier-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}
.supplier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.supplier-country {
  font-size: 0.77rem;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-family: var(--font-body);
}
.supplier-stats {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.supplier-stat {
  font-size: 0.73rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}
.supplier-stat b {
  color: var(--text);
  font-weight: 700;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.69rem;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  padding: 3px 9px;
  margin-top: 8px;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ====== ABOUT ====== */
.about-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.about-inner {
  max-width: 1440px;
  margin: auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
}
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  border-radius: 50px;
  padding: 6px 15px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.about-section h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}
.about-section h2 em {
  font-style: italic;
  color: var(--primary);
  font-family: var(--font-heading);
}
.about-section p {
  color: var(--text2);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 26px;
}
.about-value {
  background: var(--bg3);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.about-value:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
}
.about-value-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.about-value h4 {
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.about-value p {
  font-size: 0.77rem;
  color: var(--text2);
  margin: 0;
  line-height: 1.5;
}

/* ABOUT STATS GRID */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-stat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition);
}
.about-stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
  transform: translateY(-3px);
}
.about-stat-card.full {
  grid-column: 1/-1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 1px solid var(--border);
}
.about-stat-card.full .about-num,
.about-stat-card.full .about-lbl {
  color: #fff;
}
.about-stat-card.full-bottom {
  grid-column: 1/-1;
  background: var(--bg3);
  border: 1px solid var(--border);
}
.about-stat-card.full-bottom .about-num {
  color: var(--secondary);
}
.about-stat-card.full-bottom .about-lbl {
  color: var(--text2);
}
.about-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}
.about-lbl {
  font-size: 0.79rem;
  font-weight: 500;
  font-family: var(--font-body);
}
.about-stat-card.mid-left .about-num {
  color: var(--secondary);
}
.about-stat-card.mid-left .about-lbl {
  color: var(--text2);
}
.about-stat-card.mid-right .about-num {
  color: var(--secondary);
}
.about-stat-card.mid-right .about-lbl {
  color: var(--text2);
}
.about-stat-card.bot-left .about-num {
  color: var(--secondary);
}
.about-stat-card.bot-left .about-lbl {
  color: var(--text2);
}
.about-stat-card.mid-right .about-num {
  color: var(--secondary);
}
  

/* ====== CTA ====== */
.cta-section {
  background: linear-gradient(120deg, #020818 0%, #0c1a3a 50%, #0e1a40 100%);
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 380px;
  background: radial-gradient(
    ellipse,
    rgba(124, 58, 237, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-inner {
  max-width: 680px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.cta-inner h2 span {
  background: linear-gradient(135deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.97rem;
  margin-bottom: 34px;
  line-height: 1.75;
  font-family: var(--font-body);
}
.cta-btns {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.32);
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 36px rgba(124, 58, 237, 0.42);
}
.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  font-family: var(--font-body);
}
.cta-trust-item i {
  color: var(--success);
}

/* ====== CART SIDEBAR ====== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 385px;
  background: var(--bg2);
  box-shadow: -8px 0 44px rgba(0, 0, 0, 0.16);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open {
  transform: translateX(0);
}
.cart-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}
.cart-close {
  background: var(--bg3);
  border: 1px solid var(--border);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.cart-close:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 66px;
  height: 66px;
  border-radius: 11px;
  object-fit: cover;
  background: var(--bg3);
  flex-shrink: 0;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
  font-family: var(--font-body);
}
.cart-item-price {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--primary);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}
.qty-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  width: 27px;
  height: 27px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text);
  transition: all var(--transition);
}
.qty-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.qty-num {
  font-weight: 700;
  min-width: 22px;
  text-align: center;
  font-size: 0.9rem;
}
.cart-remove {
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  font-size: 0.88rem;
  transition: color var(--transition);
  margin-left: auto;
  align-self: flex-start;
  padding: 3px;
}
.cart-remove:hover {
  color: var(--danger);
}
.cart-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.cart-total span {
  font-size: 0.88rem;
  color: var(--text2);
  font-family: var(--font-body);
}
.cart-total strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
}
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  opacity: 0.88;
}
.cart-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text3);
}
.cart-empty i {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  color: var(--border);
}

/* ====== LOGIN MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--bg2);
  border-radius: 22px;
  width: 100%;
  max-width: 438px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid var(--border);
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bg3);
  border: 1px solid var(--border);
  width: 33px;
  height: 33px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.modal-logo {
  text-align: center;
  margin-bottom: 22px;
}
.modal-brand {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal-tabs {
  display: flex;
  background: var(--bg3);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
  gap: 4px;
  border: 1px solid var(--border);
}
.modal-tab {
  flex: 1;
  border: none;
  background: none;
  padding: 9px;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text2);
  transition: all var(--transition);
  font-family: var(--font-body);
}
.modal-tab.active {
  background: var(--bg2);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.form-ctrl {
  width: 100%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.91rem;
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  font-family: var(--font-body);
}
.form-ctrl:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--bg2);
}
.form-ctrl::placeholder {
  color: var(--text3);
}
/* Dark mode select fix inside forms */
[data-theme="dark"] .form-ctrl,
[data-theme="dark"] select.form-ctrl {
  background: var(--bg3);
  color: var(--text);
  color-scheme: dark;
}
[data-theme="dark"] select.form-ctrl option {
  background: var(--bg2);
  color: var(--text);
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .fi {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 0.88rem;
}
.input-icon-wrap .form-ctrl {
  padding-left: 37px;
}
.toggle-pw {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text3);
  transition: color var(--transition);
  background: none;
  border: none;
  font-size: 0.87rem;
}
.toggle-pw:hover {
  color: var(--primary);
}
.btn-login {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 12px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity var(--transition);
  margin-top: 4px;
}
.btn-login:hover {
  opacity: 0.87;
}
.modal-divider {
  text-align: center;
  color: var(--text3);
  font-size: 0.79rem;
  margin: 16px 0;
  position: relative;
  font-family: var(--font-body);
}
.modal-divider::before,
.modal-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 32px);
  height: 1px;
  background: var(--border);
}
.modal-divider::before {
  left: 0;
}
.modal-divider::after {
  right: 0;
}
.btn-social {
  width: 100%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 11px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.btn-social:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.modal-footer-txt {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text2);
  margin-top: 15px;
  font-family: var(--font-body);
}
.modal-footer-txt a {
  color: var(--primary);
  font-weight: 700;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
@media (max-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ====== PRODUCT MODAL ====== */
.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 600px) {
  .product-modal-body {
    grid-template-columns: 1fr;
  }
}
.pm-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 1;
}
.pm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pm-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 7px;
  line-height: 1.3;
  color: var(--text);
}
.pm-price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}
.pm-moq {
  color: var(--text2);
  font-size: 0.84rem;
  margin-bottom: 13px;
  font-family: var(--font-body);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}
.spec-row span:first-child {
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
}
.spec-row span:last-child {
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
}
.qty-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
}
.qty-input-wrap label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text2);
  font-family: var(--font-body);
}
.qty-input {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 4px 10px;
}
.qty-input input {
  border: none;
  background: transparent;
  width: 48px;
  text-align: center;
  font-size: 0.97rem;
  font-weight: 700;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
}

/* ====== CHECKOUT ====== */
.checkout-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 26px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 22px;
}
@media (max-width: 768px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}
.checkout-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.checkout-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.form-row-2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .form-row-2c {
    grid-template-columns: 1fr;
  }
}
.order-item-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.order-item-row img {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--bg3);
  flex-shrink: 0;
}
.order-item-row .oname {
  flex: 1;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}
.order-item-row .oprice {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}
.order-sum-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text2);
  font-family: var(--font-body);
}
.order-sum-row.total {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 13px;
  margin-top: 3px;
}
.order-sum-row.total span:last-child {
  color: var(--primary);
}

/* ====== FOOTER ====== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 52px 28px 26px;
}
.footer-inner {
  max-width: 1440px;
  margin: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 38px;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
}
.footer-desc {
  color: var(--text2);
  font-size: 0.86rem;
  line-height: 1.76;
  max-width: 280px;
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.social-links {
  display: flex;
  gap: 9px;
}
.social-link {
  width: 38px;
  height: 38px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 0.92rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  color: var(--text2);
  font-size: 0.84rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-family: var(--font-body);
}
.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--text3);
  flex-shrink: 0;
  width: 10px;
}
.footer-col ul li a:hover {
  color: var(--primary);
}
.footer-col ul li a:hover i {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px;
}
.footer-bottom p {
  color: var(--text3);
  font-size: 0.81rem;
  font-family: var(--font-body);
}
.payment-icons {
  display: flex;
  gap: 8px;
}
.payment-icon {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 11px;
  font-size: 0.74rem;
  color: var(--text2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
}

/* ====== TOAST ====== */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.toast {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 13px 17px;
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.13);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  min-width: 265px;
  transform: translateX(120%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text);
  font-family: var(--font-body);
}
.toast.show {
  transform: translateX(0);
}
.toast.success i {
  color: var(--success);
}
.toast.error i {
  color: var(--danger);
}
.toast.info i {
  color: var(--primary);
}

/* ====== PAGE VIEW ====== */
.page-view {
  display: none;
}
.page-view.active {
  display: block;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
  }
  .search-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .freq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .supplier-grid {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner h2 {
    font-size: 2rem;
  }
  .about-section h2 {
    font-size: 2rem;
  }
  .deals-banner {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .freq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}
