:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #18181b;
  --surface-2: #27272a;
  --surface-3: rgba(9, 9, 11, 0.72);
  --border: #3f3f46;
  --text: #e4e4e7;
  --muted: #a1a1aa;
  --headline: #ffffff;
  --input-bg: #27272a;
  --overlay: rgba(0, 0, 0, 0.8);
  --shadow-strong: 0 24px 60px -30px rgba(15, 23, 42, 0.65);
  --shadow-soft: 0 20px 50px -28px rgba(15, 23, 42, 0.25);
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --green-400: #4ade80;
  --green-600: #16a34a;
  --green-700: #15803d;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --amber-400: #fbbf24;
  --emerald-400: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3f8;
  --surface: #ffffff;
  --surface-2: #e2e8f0;
  --surface-3: rgba(255, 255, 255, 0.88);
  --border: #d7dee7;
  --text: #0f172a;
  --muted: #475569;
  --headline: #0f172a;
  --input-bg: #f8fafc;
  --overlay: rgba(15, 23, 42, 0.42);
  --shadow-strong: 0 24px 60px -30px rgba(15, 23, 42, 0.22);
  --shadow-soft: 0 20px 50px -28px rgba(15, 23, 42, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.fa-solid,
.fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-style: normal;
  line-height: 1;
}

.fa-solid::before,
.fa-brands::before {
  display: inline-block;
}

.fa-magnifying-glass::before { content: "\1F50D"; }
.fa-sun::before { content: "\2600"; }
.fa-moon::before { content: "\263E"; }
.fa-shopping-cart::before { content: "\1F6D2"; }
.fa-bars::before { content: "\2630"; }
.fa-whatsapp::before { content: "\24CC"; }
.fa-bolt::before { content: "\26A1"; }
.fa-toolbox::before { content: "\1F9F0"; }
.fa-comments::before { content: "\1F4AC"; }
.fa-truck-fast::before { content: "\1F69A"; }
.fa-shield-halved::before { content: "\1F6E1"; }
.fa-message::before { content: "\2709"; }
.fa-screwdriver-wrench::before { content: "\1F6E0"; }
.fa-check::before { content: "\2713"; }
.fa-chevron-down::before { content: "\2304"; }

.site-search-input,
input,
select,
textarea {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.site-search-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus,
.site-search-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.theme-toggle {
  color: var(--headline);
}

.search-trigger {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(8, 47, 73, 0.12));
  color: var(--blue-400);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.45);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.34), rgba(8, 47, 73, 0.18));
  color: #dbeafe;
}

.checkout-hero-link {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, 0.22);
  box-shadow: 0 18px 40px -24px rgba(22, 163, 74, 0.7);
}

.checkout-hero-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 45%, transparent 85%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.checkout-hero-link:hover::after {
  transform: translateX(120%);
}

footer a[href="https://wa.me/254742198163"] {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, 0.24);
  box-shadow: 0 18px 40px -28px rgba(22, 163, 74, 0.7);
}

footer a[href="https://wa.me/254742198163"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 45%, transparent 85%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

footer a[href="https://wa.me/254742198163"]:hover::after {
  transform: translateX(120%);
}

.group[open] .group-open\:rotate-180 {
  transform: rotate(180deg);
}

.transition {
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.shadow-2xl { box-shadow: var(--shadow-strong); }
.shadow-xl { box-shadow: var(--shadow-soft); }

.bg-zinc-950 { background: var(--bg); }
.bg-zinc-950\/70 { background: var(--surface-3); }
.bg-zinc-950\/80 { background: rgba(9, 9, 11, 0.82); }
.bg-zinc-900 { background: var(--surface); }
.bg-zinc-800 { background: var(--input-bg); }
.bg-black { background: #020617; }
.bg-black\/80 { background: var(--overlay); }
.bg-blue-600 { background: var(--blue-600); }
.bg-green-600 { background: var(--green-600); }
.bg-white { background: #ffffff; }
.bg-transparent { background: transparent; }
.bg-emerald-500\/10 { background: var(--emerald-soft); }
.bg-gradient-to-r { background-image: linear-gradient(90deg, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-blue-600 { --tw-gradient-from: var(--blue-600); }
.to-cyan-500 { --tw-gradient-to: var(--cyan-500); }
.bg-\[radial-gradient\(circle_at_top_left\,rgba\(56\,189\,248\,0\.22\)\,transparent_35\%\)\,radial-gradient\(circle_at_bottom_right\,rgba\(34\,197\,94\,0\.18\)\,transparent_35\%\)\] {
  background-image:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 35%);
}

.border { border: 1px solid var(--border); }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-zinc-900,
.border-zinc-800,
.border-zinc-700 { border-color: var(--border); }
.border-blue-500 { border-color: var(--blue-500); }
.border-white\/50 { border-color: rgba(255, 255, 255, 0.5); }
.border-white\/60 { border-color: rgba(255, 255, 255, 0.6); }

.text-zinc-200,
.text-zinc-300 { color: var(--text); }
.text-zinc-400,
.text-zinc-500 { color: var(--muted); }
.text-white { color: #ffffff; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-black { color: #000000; }
.text-slate-900 { color: #0f172a; }
.text-blue-400 { color: var(--blue-400); }
.text-cyan-400 { color: var(--cyan-400); }
.text-green-400 { color: var(--green-400); }
.text-amber-400 { color: var(--amber-400); }
.text-emerald-400 { color: var(--emerald-400); }
.text-red-400 { color: #f87171; }

h1, h2, h3, h4, h5, h6 {
  color: var(--headline);
}

.hover\:text-blue-400:hover { color: var(--blue-400); }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-red-300:hover { color: #fca5a5; }
.hover\:bg-blue-700:hover { background: var(--blue-700); }
.hover\:bg-green-700:hover { background: var(--green-700); }
.hover\:bg-zinc-700:hover { background: #3f3f46; }
.hover\:bg-zinc-100:hover { background: #f4f4f5; color: #111827; }
.hover\:border-white:hover { border-color: #ffffff; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.resize-y { resize: vertical; }
.list-none { list-style: none; }
.cursor-pointer { cursor: pointer; }

.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.top-24 { top: 6rem; }
.left-4 { left: 1rem; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }

.z-50 { z-index: 50; }
.z-\[100\] { z-index: 100; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

.max-w-sm { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.min-w-0 { min-width: 0; }
.min-w-8 { min-width: 2rem; }
.min-h-screen { min-height: 100vh; }
.w-5 { width: 1.25rem; }
.w-9 { width: 2.25rem; }
.w-11 { width: 2.75rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-full { width: 100%; }
.h-5 { height: 1.25rem; }
.h-9 { height: 2.25rem; }
.h-11 { height: 2.75rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-52 { height: 13rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-\[420px\] { height: 420px; }
.h-full { height: 100%; }
.max-h-\[420px\] { max-height: 420px; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-3 { grid-column: span 3 / span 3; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[1\.5rem\] { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.p-0\.5 { padding: 0.125rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pl-12 { padding-left: 3rem; }
.pr-2 { padding-right: 0.5rem; }
.pb-24 { padding-bottom: 6rem; }

.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.05; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.3em; }
.tracking-\[0\.35em\] { letter-spacing: 0.35em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.75; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:p-12 { padding: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
}
