/* ============================================================
   TrustByte — Products page clone
   Design tokens taken from the original site
   ============================================================ */

:root {
  --primary: 160 84% 39%;
  --primary-foreground: 0 0% 100%;
  --accent: 160 70% 45%;
  --accent-foreground: 0 0% 100%;
  --background: 160 40% 6%;
  --foreground: 0 0% 80%;
  --card: 160 30% 12%;
  --card-foreground: 0 0% 90%;
  --border: 160 20% 20%;
  --input: 160 20% 20%;
  --muted: 160 20% 18%;
  --muted-foreground: 0 0% 60%;
  --secondary: 160 20% 18%;
  --secondary-foreground: 0 0% 90%;
  --ring: 160 84% 39%;
  --radius: 0.5rem;

  --glow-1: 5 150 105;
  --shadow-rgb: 0 0 0;

  --font: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html.light {
  --primary: 160 84% 39%;
  --primary-foreground: 0 0% 100%;
  --accent: 160 70% 45%;
  --accent-foreground: 0 0% 100%;
  --background: 0 0% 98%;
  --foreground: 0 0% 12%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 12%;
  --border: 0 0% 88%;
  --input: 0 0% 88%;
  --muted: 0 0% 94%;
  --muted-foreground: 0 0% 42%;
  --secondary: 0 0% 94%;
  --secondary-foreground: 0 0% 12%;
  --ring: 160 84% 39%;
  --glow-1: 5 150 105;
  --shadow-rgb: 0 0 0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---------- icons ---------- */
.ic {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: hsl(var(--accent) / .12); color: hsl(var(--primary)); }
.icon-btn .ic { width: 1rem; height: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease-out, background .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 hsl(var(--border)); }

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
@media (min-width: 768px) { .header-inner { height: 4rem; } }

.logo { display: flex; align-items: center; gap: .375rem; }
.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}
@media (min-width: 640px) { .logo-text { font-size: 1.25rem; } }
@media (min-width: 768px) { .logo-text { font-size: 1.5rem; } }
.logo-soft { color: hsl(var(--primary)); transition: color .2s; }
.logo:hover .logo-soft { color: hsl(var(--primary) / .8); }
.logo-flix { color: hsl(var(--card-foreground)); }
.logo-bd {
  color: hsl(var(--primary));
  margin-left: .125rem;
  font-size: .6875rem;
  font-weight: 500;
}
@media (min-width: 768px) { .logo-bd { font-size: .75rem; } }

.main-nav { display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .main-nav { display: flex; } }
@media (min-width: 1024px) { .main-nav { gap: 1.5rem; } }

.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color .2s;
}
.nav-link:hover { color: hsl(var(--primary)); }
.nav-link.active { color: hsl(var(--primary)); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  border-radius: 2px;
  transition: width .25s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .375rem; }

.wishlist-link { position: relative; }
.wish-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
}

.login-btn {
  display: none;
  align-items: center;
  gap: .375rem;
  height: 2.25rem;
  padding: 0 .75rem;
  margin-left: .25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.login-btn:hover {
  background: hsl(var(--accent) / .12);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / .4);
}
.login-btn .ic { width: 1rem; height: 1rem; }
@media (min-width: 768px) { .login-btn { display: inline-flex; } }

.hamburger .ic-close { display: none; }
.hamburger.open .ic-menu { display: none; }
.hamburger.open .ic-close { display: block; }
@media (min-width: 768px) { .hamburger { display: none; } }

/* mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  border-top: 1px solid transparent;
  background: hsl(var(--background) / .96);
  transition: max-height .3s ease, padding .3s ease, border-color .3s;
}
.mobile-menu.open {
  max-height: 320px;
  padding: .75rem 1rem 1rem;
  border-top-color: hsl(var(--border));
}
.mobile-menu .nav-link { padding: .6rem .25rem; font-size: .9375rem; }
@media (min-width: 768px) { .mobile-menu { display: none; } }

/* theme icons */
.ic-moon { display: none; }
html.light .ic-sun { display: none; }
html.light .ic-moon { display: block; }

/* ============================================================
   PAGE HEAD + TOOLBAR
   ============================================================ */
.page-head {
  padding-top: 2rem;
  padding-bottom: 0;
}

.section-title {
  margin: 0;
  border-left: 4px solid hsl(var(--primary));
  padding-left: .75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  animation: titleIn .5s ease both;
}
@media (min-width: 768px) {
  .section-title { font-size: 1.5rem; line-height: 2rem; }
}
@keyframes titleIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.toolbar {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.search-wrap { position: relative; flex: 1; }
.search-ic {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 2.5rem;
  padding: .5rem .75rem .5rem 2.25rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.375rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: .875rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search-input::placeholder { color: hsl(var(--muted-foreground)); }
.search-input:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / .25);
}

.select-wrap { position: relative; display: none; }
@media (min-width: 768px) { .select-wrap { display: block; } }
.select-input {
  height: 2.5rem;
  min-width: 11rem;
  padding: 0 2.25rem 0 .75rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.375rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.select-input:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / .25);
}
.select-input option { background: hsl(var(--card)); color: hsl(var(--card-foreground)); }
.select-chevron {
  position: absolute;
  right: .625rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 1px solid hsl(var(--input));
  border-radius: 0.375rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.filter-btn:hover { background: hsl(var(--accent) / .12); color: hsl(var(--primary)); }
.filter-btn .ic { width: 1rem; height: 1rem; }
@media (min-width: 768px) { .filter-btn { display: none; } }

/* ---------- category chips ---------- */
.chips {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover {
  background: hsl(var(--accent) / .1);
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / .4);
}
.chip.active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: none;
}
.chip:active { transform: scale(.96); }

/* mobile filter panel (opened by filter button) */
.chips.collapsed { display: none; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.products-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .product-grid { gap: 1.5rem; } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.card:hover {
  box-shadow: none;
  border-color: rgba(var(--glow-1), .4);
  transform: translateY(-2px);
}

.wish-btn {
  position: absolute;
  right: .5rem;
  top: .5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background: hsl(var(--card) / .8);
  backdrop-filter: blur(4px);
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s;
}
.wish-btn .ic { width: 1rem; height: 1rem; }
.wish-btn:hover { color: #ef4444; border-color: rgba(239, 68, 68, .3);  }
.wish-btn.active { color: #ef4444; border-color: rgba(239, 68, 68, .45); }
.wish-btn.active .ic { fill: #ef4444; }

.badge-hot {
  position: absolute;
  left: .5rem;
  top: .5rem;
  z-index: 10;
  padding: .125rem .5rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 11px;
  font-weight: 500;
  
  box-shadow: none;
}
.badge-off {
  position: absolute;
  right: .5rem;
  top: 2.75rem;
  z-index: 10;
  padding: .125rem .5rem;
  border-radius: 999px;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 11px;
  font-weight: 600;
  
}


.card-media {
  position: relative;
  width: 100%;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: hsl(var(--muted) / .3);
  padding: .5rem;
}
@media (min-width: 640px) { .card-media { height: 13rem; } }

.card-media img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  transition: transform .3s;
}
.card:hover .card-media img {  }

.card-media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2.5rem;
  background: linear-gradient(to top, hsl(var(--card) / .8), transparent);
  pointer-events: none;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: .75rem;
}
@media (min-width: 640px) { .card-body { padding: 1.25rem; } }

.card-title {
  margin: 0 0 .25rem;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.375;
  color: hsl(var(--card-foreground));
  word-break: break-word;
  transition: color .2s;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title:hover { color: hsl(var(--primary)); }
@media (min-width: 640px) { .card-title { font-size: .875rem; } }
@media (min-width: 768px) { .card-title { font-size: 1rem; } }

.rating-row {
  margin-top: .25rem;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.rating-row .ic {
  width: .75rem;
  height: .75rem;
  color: hsl(var(--muted-foreground));
}
.sold {
  margin-left: .25rem;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 640px) { .sold { font-size: .75rem; } }

.delivery-row {
  margin-top: .375rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 640px) { .delivery-row { font-size: .75rem; } }
.delivery-row .ic { width: .75rem; height: .75rem; }

.price-row {
  margin-top: .625rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .375rem;
}
.price-now {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary));
}
@media (min-width: 640px) { .price-now { font-size: 1.125rem; } }
.price-old {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-decoration: line-through;
}
@media (min-width: 640px) { .price-old { font-size: .75rem; } }

.card-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: .5rem;
}

.buy-btn {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 .75rem;
  border: none;
  border-radius: 0.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .2s, transform .15s;
}
.buy-btn:hover { background: hsl(var(--primary) / .9); }
.buy-btn:active { transform: scale(.97); }
.buy-btn::after { display: none; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid hsl(var(--input));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .15s;
}
.cart-btn:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: transparent; }
.cart-btn:active { transform: scale(.95); }
.cart-btn .ic { width: 1rem; height: 1rem; }

.touch-friendly { cursor: pointer; user-select: none; touch-action: manipulation; transition: transform .2s; }
.touch-friendly:active { transform: scale(.96); }

/* card entrance */
.card { animation: cardIn .45s ease both; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- empty ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 4rem 1rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}
.empty-state .ic { width: 2.5rem; height: 2.5rem; opacity: .5; }
.empty-state p { margin: 0; font-size: .9375rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
}
.page-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.page-btn:hover:not(:disabled) {
  background: hsl(var(--accent) / .12);
  border-color: hsl(var(--primary) / .4);
  color: hsl(var(--primary));
}
.page-btn:active:not(:disabled) { transform: scale(.94); }
.page-btn.active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: none;
}
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-btn .ic { width: 1rem; height: 1rem; }

.showing {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
}
.showing strong { color: hsl(var(--foreground)); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  margin-top: 2rem;
}
.footer-top-line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: hsl(var(--border));
}
.footer-glow { display: none; }

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.footer-brand {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-brand { grid-column: span 1; align-items: flex-start; text-align: start; }
}

.footer-logo {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.025em;
  color: hsl(var(--foreground));
}
.footer-logo-bd {
  color: hsl(var(--primary));
  margin-left: .25rem;
  font-size: .875rem;
}
.footer-tag {
  margin: .625rem 0 0;
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.socials { margin-top: 1.25rem; display: flex; gap: .75rem; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: color .2s, border-color .2s, background-color .2s, transform .2s;
}
.social-btn .ic { width: 1.25rem; height: 1.25rem; }
.social-btn:hover { transform: translateY(-2px); }
.social-fb:hover { color: #3b82f6; border-color: rgba(59, 130, 246, .4); background: rgba(59, 130, 246, .05); }
.social-wa:hover { color: #22c55e; border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .05); }
.social-mail:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary) / .4); background: hsl(var(--primary) / .05); }

.footer-heading {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.footer-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.footer-list li a {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
  transition: color .2s;
}
.footer-list li a span { transition: transform .2s; }
.footer-list li a:hover { color: hsl(var(--primary)); }
.footer-list li a:hover span { transform: translateX(3px); }
.footer-list .arrow {
  width: .75rem;
  height: .75rem;
  margin-right: -1rem;
  opacity: 0;
  transition: opacity .2s, margin .2s;
}
.footer-list li a:hover .arrow { opacity: 1; margin-right: .25rem; }

.footer-bottom {
  position: relative;
  border-top: 1px solid hsl(var(--border));
  padding: 1.25rem 0;
  background: hsl(var(--background) / .4);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: start; }
}
.footer-bottom p { margin: 0; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.made-with { font-weight: 500; }

/* ============================================================
   CHAT FAB + TOAST
   ============================================================ */
.chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: transform .2s, box-shadow .2s;
}
.chat-fab:hover {  box-shadow: none; }
.chat-fab:active { transform: scale(.95); }
.chat-fab .ic { width: 1.375rem; height: 1.375rem; }
.chat-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid hsl(var(--primary));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 70;
  transform: translate(-50%, 24px);
  padding: .625rem 1.125rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SHARED SECTION HEADERS
   ============================================================ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .section-head h2 { font-size: 1.5rem; } }
.view-all {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  white-space: nowrap;
  transition: gap .2s;
}
.view-all:hover { gap: .5rem; }
.view-all .ic { width: .875rem; height: .875rem; }

.section-sub {
  margin: -.75rem 0 1.75rem;
  text-align: center;
  font-size: .9375rem;
  color: hsl(var(--muted-foreground));
}
.section-center { text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}
.hero-eyebrow .ic {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  stroke-width: 1.75;
}
.hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.02em;
  color: hsl(var(--foreground));
}
.hero-accent { color: hsl(var(--primary)); }
.hero-lede {
  margin: 1.25rem 0 0;
  max-width: 33rem;
  font-size: 1rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}
.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.btn-quiet {
  height: 2.75rem;
  padding: 0 .5rem;
  color: hsl(var(--foreground));
  background: transparent;
  border-color: transparent;
}
.btn-quiet:hover { color: hsl(var(--primary)); background: transparent; }
.btn-quiet .ic { width: 1rem; height: 1rem; }
.hero-trust {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.hero-trust .ic { width: 1rem; height: 1rem; stroke-width: 1.5; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 4rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 2.75rem;
  padding: 0 1.375rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn .ic { width: 1rem; height: 1rem; }
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: none;
}
.btn-primary:hover { background: hsl(var(--primary) / .88); box-shadow: none; }
.btn-outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--accent) / .1); border-color: hsl(var(--primary) / .45); color: hsl(var(--primary)); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.features-sec { padding: 3.5rem 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

.feature-card {
  padding: 1.5rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature-card:hover {
  
  border-color: hsl(var(--primary) / .45);
  box-shadow: none;
}
.feature-icon { font-size: 2rem; line-height: 1; }
.feature-icon .ic { width: 1.75rem; height: 1.75rem; color: hsl(var(--primary)); stroke-width: 1.5; }
.feature-card h3 {
  margin: .875rem 0 .375rem;
  font-size: .9375rem;
  font-weight: 600;
  color: hsl(var(--card-foreground));
}
.feature-card p { margin: 0; font-size: .8125rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }

/* ============================================================
   CATEGORY MARQUEE
   ============================================================ */
.categories-sec {
  padding: 3.5rem 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / .4);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: .75rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 8.5rem;
  height: 6.5rem;
  flex-shrink: 0;
  padding: .75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  cursor: pointer;
  transition: transform .25s, border-color .25s, background-color .25s;
}
.cat-tile:hover {
  
  border-color: hsl(var(--primary) / .5);
  background: hsl(var(--primary) / .07);
}
.cat-tile span:first-child { font-size: 1.75rem; line-height: 1; }
.cat-tile .ic { width: 1.5rem; height: 1.5rem; color: hsl(var(--muted-foreground)); stroke-width: 1.5; }
.cat-tile span:last-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  color: hsl(var(--muted-foreground));
  line-height: 1.3;
}
.cat-tile:hover span:last-child { color: hsl(var(--primary)); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-sec { padding: 3.5rem 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 640px) { .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.testi-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.testi-card:hover {
  
  border-color: hsl(var(--primary) / .4);
  box-shadow: none;
}
.testi-quote {
  position: absolute;
  top: .75rem;
  right: 1.125rem;
  font-size: 3rem;
  line-height: 1;
  color: hsl(var(--primary) / .16);
  font-family: Georgia, serif;
}
.testi-top { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: hsl(var(--primary) / .15);
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: .9375rem;
}
.testi-who { min-width: 0; }
.testi-name { font-size: .875rem; font-weight: 600; color: hsl(var(--card-foreground)); }
.testi-loc { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.verified {
  display: inline-flex;
  align-items: center;
  gap: .1875rem;
  margin-left: auto;
  padding: .125rem .4375rem;
  border-radius: 999px;
  background: hsl(150 60% 35% / .18);
  color: #4ade80;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.verified .ic { width: .875rem; height: .875rem; }
.testi-product {
  margin: .875rem 0 .5rem;
  padding: .4375rem .625rem;
  border-radius: 0.375rem;
  background: hsl(var(--muted) / .55);
  font-size: .75rem;
  font-weight: 600;
  color: hsl(var(--card-foreground));
}
.testi-head { margin: 0 0 .375rem; font-size: .9375rem; font-weight: 600; color: hsl(var(--primary)); }
.testi-body { margin: 0; font-size: .8125rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.testi-foot {
  margin-top: .875rem;
  padding-top: .75rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================================
   FORMS / AUTH
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: hsl(var(--background));
}
.auth-card {
  width: 100%;
  max-width: 26rem;
  padding: 2rem 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.875rem;
  background: hsl(var(--card));
  box-shadow: 0 16px 48px rgba(var(--shadow-rgb), .22);
}
@media (min-width: 640px) { .auth-card { padding: 2.25rem; } }
.auth-logo {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.025em;
}
.auth-card h1 {
  margin: 1.125rem 0 .375rem;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.auth-sub {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: .875rem;
  color: hsl(var(--muted-foreground));
}

.field { margin-bottom: 1.125rem; }
.field label {
  display: block;
  margin-bottom: .4375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.input {
  width: 100%;
  height: 2.75rem;
  padding: 0 .875rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 7rem; padding: .6875rem .875rem; line-height: 1.6; resize: vertical; }
.input::placeholder { color: hsl(var(--muted-foreground)); }
.input:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 3px hsl(var(--ring) / .22); }
.input.err { border-color: #ef4444; }
select.input { cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; padding-right: 2.25rem; }
.field-err { margin-top: .3125rem; font-size: .75rem; color: #f87171; }

.form-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.125rem; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); cursor: pointer; }
.check input { width: 1rem; height: 1rem; accent-color: hsl(var(--primary)); cursor: pointer; }
.link { font-size: .8125rem; font-weight: 600; color: hsl(var(--primary)); }
.link:hover { text-decoration: underline; }

.auth-foot { margin: 1.375rem 0 0; text-align: center; font-size: .875rem; color: hsl(var(--muted-foreground)); }

.alert {
  margin-bottom: 1.125rem;
  padding: .6875rem .875rem;
  border: 1px solid;
  border-radius: 0.5rem;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
}
.alert-error { background: hsl(358 76% 10%); border-color: hsl(357 89% 16%); color: hsl(358 100% 81%); }
.alert-ok, .alert-success { background: hsl(150 100% 6%); border-color: hsl(147 100% 12%); color: hsl(150 86% 65%); }
.alert-info { background: hsl(215 100% 6%); border-color: hsl(223 100% 12%); color: hsl(216 87% 65%); }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.narrow-sec { padding: 3.5rem 0; }
.narrow-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.875rem;
  background: hsl(var(--card));
}
@media (min-width: 640px) { .narrow-card { padding: 2.25rem; } }
.narrow-card h1 {
  margin: 0 0 .5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.narrow-card > p {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: .9375rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}
.track-row { display: flex; gap: .75rem; }
.track-row .input { flex: 1; }

.track-result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.625rem;
  background: hsl(var(--background));
}
.track-id { font-size: .75rem; font-weight: 600;   color: hsl(var(--muted-foreground)); }
.track-product { margin: .375rem 0 .75rem; font-size: 1.0625rem; font-weight: 600; color: hsl(var(--foreground)); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .3125rem;
  padding: .25rem .625rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.st-pending { background: hsl(45 100% 30% / .16); color: hsl(46 87% 65%); }
.st-processing { background: hsl(215 100% 30% / .16); color: hsl(216 87% 65%); }
.st-completed { background: hsl(150 60% 30% / .18); color: hsl(150 86% 65%); }
.st-cancelled { background: hsl(358 70% 30% / .18); color: hsl(358 100% 75%); }

.timeline { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .875rem; }
.tl-item { display: flex; gap: .75rem; font-size: .8125rem; }
.tl-dot {
  width: .625rem; height: .625rem; flex-shrink: 0; margin-top: .3125rem;
  border-radius: 999px; background: hsl(var(--muted-foreground));
}
.tl-item.done .tl-dot { background: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .22); }
.tl-label { font-weight: 600; color: hsl(var(--foreground)); }
.tl-time { color: hsl(var(--muted-foreground)); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.about-hero h1 { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .about-hero h1 { font-size: 2.5rem; } }
.about-hero p { margin: .875rem auto 0; max-width: 40rem; font-size: 1rem; line-height: 1.75; color: hsl(var(--muted-foreground)); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 3rem;
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-card {
  padding: 1.5rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.stat-card:hover {  border-color: hsl(var(--primary) / .45); }
.stat-value { font-size: 1.75rem; font-weight: 600; color: hsl(var(--primary)); }
.stat-label { margin-top: .25rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }

.prose-block { max-width: 46rem; margin: 0 auto; }
.prose-block h2 { margin: 2.5rem 0 .875rem; font-size: 1.375rem; font-weight: 600; color: hsl(var(--foreground)); }
.prose-block p { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.85; color: hsl(var(--muted-foreground)); white-space: pre-line; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.value-card {
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
}
.value-card h3 { margin: 0 0 .375rem; font-size: .9375rem; font-weight: 600; color: hsl(var(--primary)); }
.value-card p { margin: 0; font-size: .8125rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

.contact-strip {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid hsl(var(--primary) / .3);
  border-radius: 0.875rem;
  background: hsl(var(--primary) / .07);
  text-align: center;
}
.contact-strip h2 { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 600; color: hsl(var(--foreground)); }
.contact-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--card));
  font-size: .875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: border-color .2s, color .2s, transform .2s;
}
.contact-chip:hover { border-color: hsl(var(--primary) / .5); color: hsl(var(--primary)); transform: translateY(-2px); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.crumb { display: flex; align-items: center; gap: .375rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.25rem; flex-wrap: wrap; }
.crumb a:hover { color: hsl(var(--primary)); }
.crumb span { color: hsl(var(--muted-foreground)); }
.crumb strong { color: hsl(var(--foreground)); font-weight: 600; }

.pdp { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); } }

.pdp-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 18rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.875rem;
  background: hsl(var(--muted) / .3);
  overflow: hidden;
}
.pdp-media img { max-width: 100%; max-height: 22rem; object-fit: contain; }

.pdp h1 { margin: 0 0 .75rem; font-size: 1.5rem; font-weight: 600; line-height: 1.3; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .pdp h1 { font-size: 1.875rem; } }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.125rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.pdp-price { display: flex; align-items: baseline; gap: .625rem; margin-bottom: 1.25rem; }
.pdp-price .now { font-size: 2rem; font-weight: 600; color: hsl(var(--primary)); }
.pdp-price .old { font-size: 1rem; text-decoration: line-through; color: hsl(var(--muted-foreground)); }
.pdp-price .off {
  padding: .1875rem .5rem; border-radius: 999px;
  background: hsl(var(--accent)); color: hsl(var(--accent-foreground));
  font-size: .75rem; font-weight: 600;
}
.pdp-desc { margin: 0 0 1.5rem; font-size: .9375rem; line-height: 1.8; color: hsl(var(--muted-foreground)); white-space: pre-line; }

.info-list { display: grid; gap: .625rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.info-list li {
  display: flex; align-items: center; gap: .625rem;
  padding: .6875rem .875rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  font-size: .875rem;
  color: hsl(var(--foreground));
}
.info-list .ic { color: hsl(var(--primary)); }

.qty-row { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
.qty-label { font-size: .8125rem; font-weight: 600; color: hsl(var(--muted-foreground)); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid hsl(var(--input)); border-radius: 0.5rem; overflow: hidden; }
.qty-ctrl button {
  width: 2.25rem; height: 2.25rem; border: none; background: hsl(var(--card));
  color: hsl(var(--foreground)); font-size: 1.0625rem; cursor: pointer; transition: background-color .2s;
}
.qty-ctrl button:hover { background: hsl(var(--accent) / .14); color: hsl(var(--primary)); }
.qty-ctrl input {
  width: 3rem; height: 2.25rem; text-align: center; border: none;
  border-inline: 1px solid hsl(var(--input)); background: hsl(var(--background));
  color: hsl(var(--foreground)); font-size: .9375rem; font-weight: 600; outline: none;
}
.pdp-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ============================================================
   ACCOUNT / DASHBOARD
   ============================================================ */
.dash { padding: 2.5rem 0; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.dash-head h1 { margin: 0; font-size: 1.5rem; font-weight: 600; color: hsl(var(--foreground)); }
.dash-head p { margin: .25rem 0 0; font-size: .875rem; color: hsl(var(--muted-foreground)); }

.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .stat-tiles { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat-tile {
  padding: 1.125rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
}
.stat-tile .k { font-size: .75rem; font-weight: 600;   color: hsl(var(--muted-foreground)); }
.stat-tile .v { margin-top: .375rem; font-size: 1.5rem; font-weight: 600; color: hsl(var(--foreground)); }
.stat-tile .v.accent { color: hsl(var(--primary)); }

.panel {
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  overflow: hidden;
}
.panel-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid hsl(var(--border));
}
.panel-head h2 { margin: 0; font-size: .9375rem; font-weight: 600; color: hsl(var(--foreground)); }
.panel-body { padding: 1.25rem; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .8125rem; min-width: 640px; }
table.data th {
  padding: .6875rem 1rem; text-align: left; white-space: nowrap;
  background: hsl(var(--muted) / .5); color: hsl(var(--muted-foreground));
  font-size: .6875rem; font-weight: 600;  
  border-bottom: 1px solid hsl(var(--border));
}
table.data td { padding: .75rem 1rem; border-bottom: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: hsl(var(--muted) / .3); }
td .cell-strong { font-weight: 600; }
td .cell-muted { color: hsl(var(--muted-foreground)); font-size: .75rem; }

.empty-row { padding: 2.5rem 1rem; text-align: center; color: hsl(var(--muted-foreground)); font-size: .875rem; }

.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .1875rem .5rem; border-radius: 999px;
  font-size: .6875rem; font-weight: 600; white-space: nowrap;
}
.badge-admin { background: hsl(var(--primary) / .16); color: hsl(var(--primary)); }
.badge-user { background: hsl(var(--muted) / .8); color: hsl(var(--muted-foreground)); }
.badge-on { background: hsl(150 60% 30% / .18); color: #4ade80; }
.badge-off { background: hsl(358 70% 30% / .18); color: #f87171; }
.badge-hotb { background: hsl(var(--accent) / .16); color: hsl(var(--accent)); }
.badge-plain { background: hsl(var(--muted) / .7); color: hsl(var(--muted-foreground)); }

.row-actions { display: flex; gap: .375rem; flex-wrap: wrap; }
.btn-xs {
  display: inline-flex; align-items: center; gap: .25rem;
  height: 1.875rem; padding: 0 .625rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.375rem;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  font-size: .75rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-xs:hover { background: hsl(var(--accent) / .12); border-color: hsl(var(--primary) / .4); color: hsl(var(--primary)); }
.btn-xs.danger:hover { background: hsl(358 70% 30% / .15); border-color: hsl(358 70% 45% / .5); color: #f87171; }
.btn-xs.ok:hover { background: hsl(150 60% 30% / .15); border-color: hsl(150 60% 45% / .5); color: #4ade80; }
.btn-xs .ic { width: .75rem; height: .75rem; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-shell { display: flex; min-height: calc(100vh - 4rem); }

.admin-side {
  width: 15rem;
  flex-shrink: 0;
  border-right: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem .875rem;
  position: sticky;
  top: 4rem;
  height: calc(100vh - 4rem);
  overflow-y: auto;
}
@media (max-width: 900px) {
  .admin-side {
    position: fixed; z-index: 45; left: 0; top: 4rem;
    transform: translateX(-100%); transition: transform .28s ease;
    box-shadow: 0 12px 40px rgba(var(--shadow-rgb), .25);
  }
  .admin-side.open { transform: translateX(0); }
}
.admin-side-label {
  padding: 0 .625rem .625rem;
  font-size: .6875rem; font-weight: 600; 
  letter-spacing: .12em; color: hsl(var(--muted-foreground));
}
.admin-nav { display: flex; flex-direction: column; gap: .1875rem; }
.admin-nav a {
  display: flex; align-items: center; gap: .625rem;
  padding: .5625rem .625rem;
  border-radius: 0.5rem;
  font-size: .875rem; font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: background-color .18s, color .18s;
}
.admin-nav a .ic { width: 1rem; height: 1rem; }
.admin-nav a:hover { background: hsl(var(--muted) / .6); color: hsl(var(--foreground)); }
.admin-nav a.active {
  background: hsl(var(--primary) / .13);
  color: hsl(var(--primary));
  font-weight: 600;
}
.admin-nav .spacer { height: 1rem; }

.admin-main { flex: 1; min-width: 0; padding: 1.5rem 1.25rem 3rem; }
@media (min-width: 900px) { .admin-main { padding: 2rem 2rem 3.5rem; } }

.admin-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.admin-top h1 { margin: 0; font-size: 1.375rem; font-weight: 600; color: hsl(var(--foreground)); }
.admin-top p { margin: .25rem 0 0; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.admin-top-actions { display: flex; gap: .625rem; align-items: center; flex-wrap: wrap; }

.admin-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.5rem;
  background: hsl(var(--card)); color: hsl(var(--foreground)); cursor: pointer;
}
@media (max-width: 900px) { .admin-burger { display: inline-flex; } }

/* modal */
.modal-back {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
  background: rgba(0,0,0,.65); backdrop-filter: blur(3px);
}
.modal-back.open { display: flex; }
.modal {
  width: 100%; max-width: 40rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.875rem;
  background: hsl(var(--card)); box-shadow: 0 24px 60px rgba(var(--shadow-rgb), .28);
  animation: modalIn .22s ease both;
}
.modal.sm { max-width: 26rem; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 1.125rem 1.375rem; border-bottom: 1px solid hsl(var(--border));
}
.modal-head h2 { margin: 0; font-size: 1rem; font-weight: 600; color: hsl(var(--foreground)); }
.modal-x {
  width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 0.375rem; background: transparent;
  color: hsl(var(--muted-foreground)); cursor: pointer; transition: background-color .2s, color .2s;
}
.modal-x:hover { background: hsl(var(--muted) / .7); color: hsl(var(--foreground)); }
.modal-body { padding: 1.375rem; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: .625rem;
  padding: 1.125rem 1.375rem; border-top: 1px solid hsl(var(--border));
  flex-wrap: wrap;
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid.two .full { grid-column: 1 / -1; } }

/* content editor */
.editor-block { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid hsl(var(--border)); }
.editor-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.editor-block > h3 {
  margin: 0 0 1rem; font-size: .8125rem; font-weight: 600;
    color: hsl(var(--primary));
}
.repeater-item {
  position: relative; padding: .875rem; margin-bottom: .75rem;
  border: 1px solid hsl(var(--border)); border-radius: 0.5rem; background: hsl(var(--background));
}
.repeater-item .rm {
  position: absolute; top: .5rem; right: .5rem;
  width: 1.75rem; height: 1.75rem; border: none; border-radius: .3125rem;
  background: hsl(358 70% 30% / .18); color: #f87171; cursor: pointer; font-size: .9375rem; line-height: 1;
}
.repeater-item .rm:hover { background: hsl(358 70% 45% / .3); }
.repeater-grid { display: grid; grid-template-columns: 1fr; gap: .625rem; }
@media (min-width: 640px) { .repeater-grid { grid-template-columns: repeat(2, 1fr); } .repeater-grid .full { grid-column: 1 / -1; } }
.mini-field label { display: block; margin-bottom: .25rem; font-size: .6875rem; font-weight: 600;   color: hsl(var(--muted-foreground)); }
.mini-field .input { height: 2.375rem; font-size: .875rem; }
.add-line {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .4375rem .8125rem; border: 1px dashed hsl(var(--border));
  border-radius: .5rem; background: transparent; color: hsl(var(--muted-foreground));
  font-size: .8125rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.add-line:hover { border-color: hsl(var(--primary) / .5); color: hsl(var(--primary)); background: hsl(var(--primary) / .06); }

.tabs { display: flex; gap: .375rem; flex-wrap: wrap; margin-bottom: 1.5rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: .875rem; }
.tab {
  padding: .4375rem .9375rem; border: 1px solid hsl(var(--border));
  border-radius: 999px; background: hsl(var(--card)); color: hsl(var(--muted-foreground));
  font-size: .8125rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { color: hsl(var(--foreground)); border-color: hsl(var(--primary) / .4); }
.tab.active { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.hint { font-size: .75rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.hint code { padding: .0625rem .3125rem; border-radius: .25rem; background: hsl(var(--muted) / .7); font-size: .75rem; }

/* mobile admin toggle backdrop */
.side-back {
  display: none; position: fixed; inset: 0; z-index: 44;
  background: rgba(0,0,0,.55);
}
.side-back.show { display: block; }
@media (min-width: 901px) { .side-back { display: none !important; } }

/* ---------- why choose (full-width, full design) ---------- */
.why-sec {
  background: hsl(var(--muted) / .45);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  padding: 4.5rem 0;
  width: 100%;
}
.why-sec .container { max-width: 1280px; }
.why-sec .section-head { justify-content: center; }
.why-sec .section-sub { text-align: center !important; margin-top: 0 !important; }
.why-sec .feature-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
/* ---------- hero: full-height split + delivery preview ---------- */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}
.hero .hero-grid { width: 100%; }
.hero-visual {
  position: relative;
  min-height: 30rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted) / .55);
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
}
.hero-panel {
  width: 100%;
  max-width: 30rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(var(--shadow-rgb), .08);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid hsl(var(--border));
}
.panel-brand { font-size: .875rem; font-weight: 600; color: hsl(var(--card-foreground)); }
.panel-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.status-dot { width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--primary)); }
.panel-list { padding: .5rem 1.25rem; }
.panel-row { display: flex; align-items: center; gap: .75rem; min-height: 3.75rem; border-bottom: 1px solid hsl(var(--border)); }
.panel-row:last-child { border-bottom: 0; }
.panel-row img { width: 2.25rem; height: 2.25rem; border-radius: .5rem; object-fit: cover; background: hsl(var(--muted)); }
.panel-meta { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1; }
.panel-meta b { font-size: .8125rem; font-weight: 500; color: hsl(var(--card-foreground)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-meta span { font-size: .6875rem; color: hsl(var(--muted-foreground)); }
.panel-price { font-size: .8125rem; font-variant-numeric: tabular-nums; color: hsl(var(--card-foreground)); }
.panel-foot { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.25rem; border-top: 1px solid hsl(var(--border)); font-size: .75rem; color: hsl(var(--muted-foreground)); }
.panel-foot .ic { width: 1rem; height: 1rem; color: hsl(var(--primary)); }
.panel-foot .panel-time { margin-left: auto; font-variant-numeric: tabular-nums; }
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .07);
  font-size: .75rem;
  font-weight: 500;
  color: hsl(var(--card-foreground));
}
.hero-chip img { width: 1.5rem; height: 1.5rem; border-radius: .375rem; object-fit: cover; }
.chip-a { top: -1rem; right: -1rem; }
.chip-b { bottom: -1rem; left: -1rem; }
@media (max-width: 959px) { .hero-chip { display: none; } }
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 3rem 0 3.5rem; }
  .hero h1 { font-size: 2.125rem; }
  .hero-visual { min-height: auto; padding: 1rem; }
}
/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 59;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
  box-shadow: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: hsl(var(--primary) / .88); }
.back-to-top .ic { width: 1.25rem; height: 1.25rem; }
/* ---------- fixed header spacing ---------- */
body { padding-top: 68px; }
@media (max-width: 767px) { body { padding-top: 62px; } }
/* ---------- why-sec day mode ---------- */
html.light .why-sec { background: hsl(var(--muted)); }
/* ---------- testimonials title + footer headings: black semibold (day mode) ---------- */
html.light #testiTitle { color: #000; font-weight: 700; }
html.light .site-footer h3 { color: #000; font-weight: 700; }
/* ---------- logout button in nav ---------- */
.logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}
.logout-btn:hover { color: hsl(var(--primary)); }
/* ---------- testimonials marquee (2 rows, opposite directions) ---------- */
.testi-marquee-wrap { display: flex; flex-direction: column; gap: 1rem; overflow: hidden; }
.testi-marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.testi-marquee.reverse { animation: marquee-rev 50s linear infinite; }
.testi-marquee:hover { animation-play-state: paused; }
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.testi-tile {
  flex-shrink: 0;
  width: 300px;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--card));
  transition: transform .25s, border-color .25s;
}
.testi-tile:hover {  border-color: hsl(var(--primary) / .4); }
.testi-tile .testi-top { display: flex; align-items: center; gap: .625rem; margin-bottom: .625rem; }
.testi-tile .testi-avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: hsl(var(--primary) / .15); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .9rem; flex-shrink: 0;
}
.testi-tile .testi-who { flex: 1; min-width: 0; }
.testi-tile .testi-name { font-weight: 600; font-size: .875rem; color: hsl(var(--foreground)); }
.testi-tile .testi-loc { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.testi-tile .verified { font-size: .7rem; color: hsl(var(--primary)); font-weight: 600; }
.testi-tile .testi-product { font-size: .75rem; color: hsl(var(--primary)); font-weight: 600; margin-bottom: .375rem; }
.testi-tile .testi-head { font-size: .875rem; font-weight: 600; margin: 0 0 .375rem; color: hsl(var(--foreground)); }
.testi-tile .testi-body { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.5; }
/* ---------- support popup (WhatsApp icon) ---------- */
.support-pop {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  z-index: 61;
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), .25);
}
.support-pop.open { display: flex; }
.support-wa {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: .625rem;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.support-wa:hover { transform: translateY(-2px); box-shadow: none; }
.support-wa .ic { width: 1.25rem; height: 1.25rem; stroke: #fff; }