@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============ Design tokens ============ */
:root {
  --background: 0 0% 98%;
  --foreground: 220 30% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 30% 15%;
  --primary: 24 95% 53%;
  --primary-foreground: 0 0% 100%;
  --secondary: 215 50% 23%;
  --secondary-foreground: 0 0% 100%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 45%;
  --accent: 24 100% 95%;
  --accent-foreground: 24 95% 40%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 24 95% 53%;
  --radius: 0.75rem;
  --topbar-bg: 220 14% 96%;
  --topbar-foreground: 220 10% 40%;
  --success: 142 76% 36%;
  --badge-sale: 0 84% 60%;
  --badge-new: 142 76% 36%;
  --shadow-card: 0 4px 20px -4px hsl(220 30% 15% / 0.08);
  --shadow-card-hover: 0 12px 32px -8px hsl(220 30% 15% / 0.15);
  --shadow-product: 0 2px 12px -2px hsl(220 30% 15% / 0.06);
  --shadow-product-hover: 0 8px 24px -4px hsl(24 95% 53% / 0.2);
  --gradient-hero: linear-gradient(135deg, hsl(24 95% 53%) 0%, hsl(24 100% 45%) 100%);
}

html.dark {
  --background: 220 30% 8%;
  --foreground: 0 0% 95%;
  --card: 220 30% 12%;
  --card-foreground: 0 0% 95%;
  --secondary: 215 40% 35%;
  --muted: 220 20% 18%;
  --muted-foreground: 220 10% 60%;
  --accent: 24 60% 20%;
  --accent-foreground: 24 95% 70%;
  --destructive: 0 62% 50%;
  --border: 220 20% 20%;
  --input: 220 20% 20%;
  --topbar-bg: 220 30% 10%;
  --topbar-foreground: 220 10% 70%;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }
.section { padding: 3rem 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.grid { display: grid; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1px solid transparent; border-radius: calc(var(--radius) - 2px);
  padding: .55rem 1rem; font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: all .2s ease; background: transparent; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background: hsl(var(--primary) / .9); }
.btn-hero { background: var(--gradient-hero); color: #fff; box-shadow: var(--shadow-product-hover); }
.btn-hero:hover { filter: brightness(1.05); }
.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-secondary:hover { background: hsl(var(--secondary) / .9); }
.btn-outline { border-color: hsl(var(--border)); background: hsl(var(--card)); }
.btn-outline:hover { background: hsl(var(--muted)); }
.btn-ghost:hover { background: hsl(var(--muted)); }
.btn-destructive { background: hsl(var(--destructive)); color: #fff; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .35rem .7rem; font-size: .8rem; }
.btn-icon { padding: 0; width: 2.5rem; height: 2.5rem; position: relative; }
.btn-block { width: 100%; }

/* ============ Forms ============ */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.label { font-size: .875rem; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; border: 1px solid hsl(var(--input)); background: hsl(var(--card));
  border-radius: calc(var(--radius) - 2px); padding: .55rem .75rem; font-size: .9rem;
}
.input:focus, .select:focus, .textarea:focus { outline: 2px solid hsl(var(--ring) / .5); outline-offset: 1px; }
.textarea { min-height: 120px; resize: vertical; }
.form-error { color: hsl(var(--destructive)); font-size: .8rem; }

/* ============ Card ============ */
.card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.card-pad { padding: 1.25rem; }

.badge {
  display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px;
  padding: .15rem .6rem; font-size: .7rem; font-weight: 600; text-transform: capitalize;
  background: hsl(var(--muted)); color: hsl(var(--muted-foreground));
}
.badge-new { background: hsl(var(--badge-new)); color: #fff; }
.badge-sale { background: hsl(var(--badge-sale)); color: #fff; }
.badge-hot { background: hsl(var(--primary)); color: #fff; }
.badge-success { background: hsl(var(--success) / .15); color: hsl(var(--success)); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; }
.topbar { background: hsl(var(--topbar-bg)); border-bottom: 1px solid hsl(var(--border)); font-size: .8rem; }
.topbar .row { display: flex; height: 2.5rem; align-items: center; justify-content: space-between; }
.topbar a { color: hsl(var(--topbar-foreground)); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: hsl(var(--primary)); }
.header-main { background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); }
.header-main .row { display: flex; height: 4.5rem; align-items: center; gap: 1rem; }
.brandmark {
  height: 3rem; width: 3rem; border-radius: .5rem; border: 1px solid hsl(var(--border));
  background: hsl(var(--background)); display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; font-weight: 700; color: hsl(var(--primary));
}
.brandmark img { height: 100%; width: 100%; object-fit: contain; padding: 2px; }
.brand-text span { font-weight: 700; font-size: 1.05rem; display: block; line-height: 1.15; }
.brand-text p { font-size: .7rem; color: hsl(var(--muted-foreground)); }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.count-badge {
  position: absolute; top: -.25rem; right: -.25rem; height: 1.15rem; min-width: 1.15rem;
  border-radius: 999px; background: hsl(var(--primary)); color: #fff; font-size: .7rem;
  display: flex; align-items: center; justify-content: center; padding: 0 .25rem; font-weight: 600;
}
.count-badge.wish { background: hsl(var(--badge-sale)); }
.main-nav { background: hsl(var(--secondary)); }
.main-nav .row { display: flex; align-items: center; }
.main-nav a, .main-nav button {
  color: hsl(var(--secondary-foreground)); height: 3rem; padding: 0 1rem;
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .9rem;
  background: transparent; border: none; cursor: pointer;
}
.main-nav a:hover, .main-nav button:hover { background: hsl(0 0% 100% / .1); }
.main-nav a.active { background: hsl(0 0% 100% / .12); color: hsl(var(--primary)); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; width: 16rem; background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
  padding: .5rem 0; z-index: 60;
}
.dropdown-menu a { display: block; height: auto; padding: .6rem 1rem; font-size: .875rem; color: hsl(var(--foreground)); }
.dropdown-menu a:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.mobile-menu { background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); padding: 1rem 0; }
.mobile-menu a { display: block; padding: .45rem 0; }
.menu-toggle, .mobile-only { display: none; }

/* Search */
.searchbar { position: relative; flex: 1; max-width: 40rem; }
.searchbar form { display: flex; }
.searchbar input {
  flex: 1; border: 1px solid hsl(var(--input)); border-right: none;
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
  padding: .6rem .85rem; background: hsl(var(--background));
}
.searchbar button.search-go {
  border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0;
  background: hsl(var(--primary)); color: #fff; border: none; padding: 0 1.1rem; cursor: pointer;
}
.suggestions {
  position: absolute; top: calc(100% + .25rem); left: 0; right: 0; background: hsl(var(--card));
  border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
  z-index: 70; max-height: 22rem; overflow-y: auto;
}
.suggestions a { display: flex; gap: .75rem; align-items: center; padding: .6rem .75rem; }
.suggestions a:hover, .suggestions a.active { background: hsl(var(--muted)); }
.suggestions img { height: 2.5rem; width: 2.5rem; object-fit: contain; }

/* ============ Product cards ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.product-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-product); transition: all .3s ease; display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-product-hover); transform: translateY(-3px); border-color: hsl(var(--primary) / .5); }
.product-media { position: relative; aspect-ratio: 1 / 1; background: hsl(var(--muted)); padding: 1rem; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.wish-btn {
  position: absolute; top: .6rem; right: .6rem; height: 2rem; width: 2rem; border-radius: 999px;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.wish-btn.active { color: hsl(var(--badge-sale)); }
.wish-btn.active svg { fill: currentColor; }
.product-body { padding: .9rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: hsl(var(--muted-foreground)); }
.product-name { font-weight: 600; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name:hover { color: hsl(var(--primary)); }
.stars { color: #f59e0b; font-size: .78rem; display: flex; align-items: center; gap: .3rem; }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.price { font-size: 1.05rem; font-weight: 700; color: hsl(var(--primary)); }
.price-old { font-size: .8rem; text-decoration: line-through; color: hsl(var(--muted-foreground)); }
.discount { font-size: .7rem; color: hsl(var(--success)); font-weight: 600; }
.out-of-stock { font-size: .75rem; color: hsl(var(--destructive)); font-weight: 600; }
.swatches { display: flex; gap: .35rem; }
.swatch { height: 1.25rem; width: 1.25rem; border-radius: 999px; border: 2px solid hsl(var(--border)); cursor: pointer; transition: transform .2s; }
.swatch:hover { transform: scale(1.12); }
.swatch.selected { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.swatch.lg { height: 2rem; width: 2rem; }

/* ============ Cart drawer ============ */
.overlay { position: fixed; inset: 0; background: hsl(0 0% 0% / .5); z-index: 90; animation: fadeIn .2s ease; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(26rem, 100%); background: hsl(var(--card));
  z-index: 100; display: flex; flex-direction: column; box-shadow: var(--shadow-card-hover);
  animation: slideRight .25s ease;
}
.drawer-head, .drawer-foot { padding: 1rem; border-color: hsl(var(--border)); }
.drawer-head { border-bottom: 1px solid hsl(var(--border)); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.drawer-foot { border-top: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: .6rem; }
.cart-line { display: flex; gap: .75rem; }
.cart-line img { height: 4rem; width: 4rem; object-fit: contain; background: hsl(var(--muted)); border-radius: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: .5rem; overflow: hidden; }
.qty button { width: 1.9rem; height: 1.9rem; background: transparent; border: none; cursor: pointer; }
.qty button:hover { background: hsl(var(--muted)); }
.qty span { min-width: 2rem; text-align: center; font-size: .85rem; }

/* ============ Toast ============ */
#toast-root { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 200; display: flex; flex-direction: column; gap: .5rem; }
.toast {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-left: 4px solid hsl(var(--primary));
  border-radius: .6rem; padding: .75rem 1rem; box-shadow: var(--shadow-card-hover); min-width: 15rem;
  animation: slideRight .25s ease; font-size: .875rem;
}
.toast.error { border-left-color: hsl(var(--destructive)); }
.toast.success { border-left-color: hsl(var(--success)); }
.toast strong { display: block; font-size: .9rem; }

/* WhatsApp */
.whatsapp-btn {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 220; height: 3.75rem; width: 3.75rem;
  border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 16px 28px -12px rgba(0,0,0,.45); transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.45);
}
.whatsapp-btn svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 62vh; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, hsl(var(--secondary) / .95), hsl(var(--secondary) / .85), hsl(var(--secondary) / .45));
}
.hero-content { position: relative; z-index: 2; max-width: 40rem; padding: clamp(2.5rem, 8vw, 7rem) 0; color: hsl(var(--secondary-foreground)); }
.hero-pill { display: inline-block; padding: .3rem 1rem; border-radius: 999px; background: hsl(var(--primary) / .2); color: hsl(var(--primary)); font-size: .8rem; font-weight: 500; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.75rem, 6vw, 3.5rem); margin-bottom: 1rem; letter-spacing: -.02em; }
.hero h1 .accent { color: hsl(var(--primary)); }
.hero p { font-size: clamp(.95rem, 2.6vw, 1.1rem); opacity: .85; margin-bottom: 2rem; max-width: 32rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Feature strip */
.feature-strip { padding: 3rem 0; background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.feature-strip .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-item { display: flex; gap: .75rem; align-items: flex-start; }
.feature-icon { height: 3rem; width: 3rem; border-radius: .75rem; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.75rem; }
.section-head p { color: hsl(var(--muted-foreground)); margin-top: .25rem; }

/* Category / feature tiles */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tile { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.25rem; text-align: center; transition: all .3s; }
.tile:hover { border-color: hsl(var(--primary)); box-shadow: var(--shadow-card-hover); }
.tile .tile-icon { width: 3.5rem; height: 3.5rem; border-radius: .75rem; margin: 0 auto .75rem; display: flex; align-items: center; justify-content: center; padding: .5rem; color: #fff; }
.tile .tile-icon img { width: 100%; height: 100%; object-fit: contain; }
.tile h3 { font-size: .95rem; margin-bottom: .25rem; }
.tile p { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.g-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.g-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.g-purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
.g-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.g-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.g-yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }

/* Promo */
.promo-grid { display: grid; gap: 1.25rem; }
.promo { border-radius: 1rem; padding: 1.75rem; color: #fff; }
.promo p { opacity: .85; font-size: .875rem; }
.promo h3 { font-size: 1.35rem; margin: .25rem 0 .5rem; }
.promo .promo-tag { display: inline-block; background: rgba(255,255,255,.2); border-radius: 999px; padding: .2rem .75rem; font-size: .8rem; margin-bottom: 1rem; }
.promo .promo-cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }

/* ============ Footer ============ */
.site-footer { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); margin-top: auto; }
.footer-newsletter { border-bottom: 1px solid hsl(0 0% 100% / .1); padding: 2rem 0; }
.footer-newsletter .row { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.footer-newsletter input { background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .2); color: inherit; border-radius: .5rem; padding: .55rem .8rem; min-width: 16rem; }
.footer-newsletter input::placeholder { color: hsl(0 0% 100% / .5); }
.footer-main { padding: 3rem 0; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-main h4 { margin-bottom: 1rem; }
.footer-main li { margin-bottom: .5rem; }
.footer-main a, .footer-contact a, .footer-main p { color: hsl(0 0% 100% / .72); font-size: .875rem; }
.footer-main a:hover, .footer-contact a:hover { color: hsl(var(--primary)); }
.footer-contact a { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid hsl(0 0% 100% / .1); padding: 1.5rem 0; }
.footer-bottom .row { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; }
.social { display: flex; gap: 1rem; }
.social a { color: hsl(0 0% 100% / .72); }
.social a:hover { color: hsl(var(--primary)); }

/* ============ Layout helpers ============ */
.page-head { background: hsl(var(--muted)); border-bottom: 1px solid hsl(var(--border)); padding: 2rem 0; }
.page-head h1 { font-size: 1.9rem; }
.breadcrumb { font-size: .8rem; color: hsl(var(--muted-foreground)); margin-bottom: .5rem; }
.breadcrumb a:hover { color: hsl(var(--primary)); }
.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: hsl(var(--muted-foreground)); }
.empty-state svg { margin: 0 auto 1rem; opacity: .4; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th, table.data td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid hsl(var(--border)); }
table.data th { color: hsl(var(--muted-foreground)); font-weight: 500; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tabs { display: flex; gap: .25rem; background: hsl(var(--muted)); padding: .25rem; border-radius: .6rem; width: fit-content; margin-bottom: 1.5rem; }
.tabs button { padding: .45rem 1rem; border-radius: .45rem; border: none; background: transparent; cursor: pointer; font-size: .875rem; }
.tabs button.active { background: hsl(var(--card)); font-weight: 600; box-shadow: var(--shadow-card); }
.accordion-item { border-bottom: 1px solid hsl(var(--border)); }
.accordion-trigger { width: 100%; text-align: left; padding: 1rem 0; background: none; border: none; cursor: pointer; font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.accordion-panel { padding-bottom: 1rem; color: hsl(var(--muted-foreground)); font-size: .9rem; }
.modal-card { position: fixed; z-index: 110; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(34rem, 92vw); max-height: 88vh; overflow-y: auto; background: hsl(var(--card)); border-radius: var(--radius); border: 1px solid hsl(var(--border)); padding: 1.5rem; box-shadow: var(--shadow-card-hover); }
.timeline { display: flex; flex-direction: column; gap: 1rem; }
.timeline-step { display: flex; gap: .75rem; align-items: flex-start; }
.timeline-dot { height: 1.75rem; width: 1.75rem; border-radius: 999px; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.timeline-step.done .timeline-dot { background: hsl(var(--success)); color: #fff; }

/* Admin */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 15rem; background: hsl(var(--card)); border-right: 1px solid hsl(var(--border)); padding: 1rem; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: .5rem; font-size: .9rem; }
.admin-sidebar a:hover { background: hsl(var(--muted)); }
.admin-sidebar a.active { background: hsl(var(--primary)); color: #fff; }
.admin-main { flex: 1; min-width: 0; }
.admin-topbar { background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.admin-content { padding: 1.5rem; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes slideRight { from { opacity: 0; transform: translateX(24px) } to { opacity: 1; transform: none } }
.animate-fade-up { animation: fadeUp .5s ease-out both; }
.animate-fade-in { animation: fadeIn .3s ease-out both; }

/* ============ Responsive ============ */
@media (min-width: 640px) {
  .footer-newsletter .row, .footer-bottom .row { flex-direction: row; align-items: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .feature-strip .grid { grid-template-columns: repeat(4, 1fr); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .two-col { grid-template-columns: 280px 1fr; }
  .two-col.reverse { grid-template-columns: 1fr 340px; }
}
@media (min-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(6, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .header-main .row { height: 4rem; }
  .searchbar.desktop-search { display: none; }
  .admin-sidebar { display: none; }
}
@media (max-width: 480px) {
  .topbar .label-hide { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}

/* ============ Admin extra (appended) ============ */
.admin-sidebar nav { display: flex; flex-direction: column; gap: .15rem; }
.admin-sidebar a { color: hsl(var(--foreground)); text-decoration: none; }
@media (max-width: 900px) {
  #admin-mobile-nav { display: block !important; }
}
.admin-stat-icon { color: hsl(var(--muted-foreground)); }
.admin-modal-overlay { position: fixed; inset: 0; background: hsl(0 0% 0% / .5); z-index: 100; }
.dropdown-menu { position: absolute; right: 0; top: 100%; margin-top: .25rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: .5rem; box-shadow: var(--shadow-card-hover); min-width: 10rem; z-index: 50; overflow: hidden; }
.dropdown-menu button { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .55rem .8rem; background: none; border: none; font-size: .85rem; cursor: pointer; }
.dropdown-menu button:hover { background: hsl(var(--muted)); }
.dropdown-menu button.danger { color: hsl(var(--destructive)); }
.dropdown-wrap { position: relative; display: inline-block; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; }
.switch-row + .switch-row { border-top: 1px solid hsl(var(--border)); }
.switch-toggle { position: relative; width: 2.6rem; height: 1.5rem; border-radius: 999px; background: hsl(var(--muted)); border: none; cursor: pointer; flex-shrink: 0; }
.switch-toggle.on { background: hsl(var(--primary)); }
.switch-toggle span { position: absolute; top: .15rem; left: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 999px; background: #fff; transition: transform .15s; }
.switch-toggle.on span { transform: translateX(1.1rem); }

/* ============= product.html additions ============= */
@media (min-width: 768px) {
  .specs-grid { grid-template-columns: 1fr 1fr; }
}
.thumb-btn { background: none; }
