@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================
   Swastik Enterprises - Premium stylesheet
   Light and dark themes are controlled by data-theme on <html>
   ========================================================== */

:root {
  --font-base: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --bg: #ffffff;
  --surface: #ffffff;
  --plate: #f8f9fa;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --red: #ef4444;
  --red-hover: #dc2626;
  --red-glow: rgba(239, 68, 68, 0.4);
  --on-red: #ffffff;
  --blue: #3b82f6;
  --wa: #16a34a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 15px var(--red-glow);
  --header-bg: rgba(255, 255, 255, 0.95);
  --strip-bg: #1f2937;
  --strip-ink: #f9fafb;
  --footer-bg: #1f2937;
  --footer-ink: #d1d5db;
  --radius: 8px;
  --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}
[data-theme="dark"] {
  /* Balanced Premium Dark Theme - Not pitch black, slate/midnight */
  --bg: #0f172a;
  --surface: #1e293b;
  --plate: #334155;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: #334155;
  
  --red: #ef4444;
  --red-hover: #818cf8;
  --red-glow: rgba(99, 102, 241, 0.4);
  --on-red: #ffffff;
  --blue: #f8fafc;
  --wa: #10b981;
  
  --footer-bg: #020617;
  --footer-ink: #94a3b8;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px var(--red-glow);
  --header-bg: rgba(15, 23, 42, 0.85);
  --strip-bg: #020617;
  color-scheme: dark;

/* Base animations */
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }

}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; font-size: 85%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; transition: var(--trans); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; }
h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 800; color: var(--ink); }
[data-theme="dark"] h1 { color: #f8fafc; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700; transition: var(--trans); color: var(--ink); }
[data-theme="dark"] h2 { color: #f3f4f6; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.wrap { width: min(1250px, 80%); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-top: 2rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ---------- top strip ---------- */
.topstrip { background: var(--strip-bg); color: var(--strip-ink); font-size: .9rem; }
.topstrip-row { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; text-align: center; }
.topstrip-btn { text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: .2rem .9rem; background: rgba(255,255,255,0.05); color: #fff; }
.topstrip-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); border-bottom: none; transition: var(--trans); box-shadow: var(--shadow); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 48px; flex-wrap: wrap; padding-block: .25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; transition: transform 0.2s; color: var(--header-text); font-weight: 700; font-size: 1.5rem; font-family: var(--font-head); }
.brand:hover { transform: scale(1.02); }
.brand img { height: 48px; width: auto; object-fit: contain; margin-block: -0.25rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: 2rem; }
.nav a { color: var(--header-text); font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; text-shadow: none; }
.nav a[aria-current] { font-weight: 600; color: #fff; text-shadow: none; }
.brand-text { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: .02em; transition: var(--trans); color: #fff; text-decoration: none; }
.brand-text strong { font-weight: 800; padding-right: 2px; color: #fff; }
[data-theme="dark"] .brand-text strong { color: #fff; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; padding: .4rem .6rem; border-radius: 4px; font-weight: 500; font-size: 1.3rem; transition: var(--trans); position: relative; color: #fff; }
.nav a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav a[aria-current] { font-weight: 600; color: #fff; background: transparent; }
.nav a[aria-current]::after { content: ""; position: absolute; bottom: 2px; left: 1rem; right: 1rem; height: 2px; background: #fff; border-radius: 2px; }

.has-menu { position: relative; }
.has-menu .menu {
  position: absolute; left: 0; top: calc(100% + 10px); min-width: 280px; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--trans);
  display: flex; flex-direction: column; z-index: 60;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu a { padding: .5rem .8rem; font-weight: 500; border-radius: 6px; font-size: 1rem; color: var(--ink); }
.menu a::after { display: none; }
.menu a:hover { padding-left: 1rem; color: var(--red); background: var(--plate); }
.header-tools { margin-left: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.nav-wa-btn { padding: .5rem 1.25rem; font-size: 1.05rem; border-radius: 99px; box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4); animation: pulse-green 2s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.icon-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; transition: var(--trans); box-shadow: var(--shadow-sm); }
.icon-btn:hover { background: #fff; color: var(--header-bg); transform: rotate(15deg) scale(1.1); box-shadow: var(--shadow); }
.burger, .nav-close { display: none; }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.marquee-container { background: var(--plate); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 0.5rem 0; font-weight: 500; color: var(--red); font-size: 0.95rem; margin-top: 2rem; margin-bottom: -1rem; position: relative; z-index: 10; }
.marquee-content { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 49; transition: opacity 0.3s; }

/* ---------- search ---------- */
.search { position: relative; width: 100%; }
.search form { display: flex; align-items: center; gap: .4rem; background: var(--surface); border: 2px solid var(--red); border-radius: 99px; padding: .2rem .2rem .2rem 1rem; transition: var(--trans); box-shadow: 0 4px 10px rgba(37,99,235,0.1); }
.search form:focus-within { border-color: var(--red); box-shadow: var(--shadow-glow); transform: scale(1.02); }
.search svg { flex: none; color: var(--red); transition: color 0.3s; width: 18px; height: 18px; }
.search form:focus-within svg { color: var(--red); }
.search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 0.95rem; font-weight: 500; padding: .3rem .2rem; outline: none; }
.search input[type="search"]::placeholder { color: var(--muted); opacity: 0.9; font-weight: 500; }
.search-header { width: 280px; }
.search form .btn { padding: .4rem 1.2rem; font-size: 0.95rem; }
.search-hero form { padding: .3rem .3rem .3rem 1rem; box-shadow: 0 8px 20px rgba(37,99,235,0.15); background: var(--surface); border-color: var(--red); width: 100%; max-width: 550px; margin: 0 auto; }
.search-hero form:focus-within { border-color: var(--red); }
.search-hero input { font-size: 1.05rem; }

.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; max-height: 70vh; overflow-y: auto;
  opacity: 0; transform: translateY(-10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none;
}
.search-results:not([hidden]) { opacity: 1; transform: translateY(0); pointer-events: auto; }
.search-results li a { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; text-decoration: none; border-bottom: 1px solid var(--plate); transition: var(--trans); }
.search-results li a:hover, .search-results li a.is-focus { background: var(--plate); padding-left: 1.25rem; }
.search-results img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; box-shadow: var(--shadow-sm); }
.search-results .sr-name { font-weight: 600; line-height: 1.3; font-size: 1.05rem; }
.search-results .sr-cat { font-size: .85rem; color: var(--muted); }
.search-results .sr-more a, .search-results .sr-empty { justify-content: center; font-weight: 600; color: var(--red); padding: 1rem; }
.search-results .sr-empty { display: block; text-align: center; color: var(--muted); font-weight: 500; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font: inherit; font-weight: 600; text-decoration: none; padding: .8rem 1.5rem; border-radius: 99px; border: 2px solid transparent; cursor: pointer; transition: var(--trans); box-shadow: var(--shadow-sm); }
.btn-primary { background: #ffc200; color: #111; background-image: linear-gradient(45deg, #ffc200, #ffb000); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 194, 0, 0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; background-image: linear-gradient(45deg, var(--wa), #22c55e); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3); }
.btn-block { display: flex; width: 100%; }

/* ---------- hero split ---------- */
.hero-split { position: relative; padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; background: linear-gradient(180deg, var(--plate) 0%, var(--bg) 100%); display: flex; align-items: flex-start; min-height: 100%; }

.hero-split::before { content: ""; position: absolute; top: -30%; left: -10%; width: 100vw; height: 100vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%); z-index: 0; pointer-events: none; opacity: 1; }
[data-theme="dark"] .hero-split::before { background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%); }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: stretch; min-height: 65vh; }
.hero-copy { max-width: 650px; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; justify-content: flex-start; padding-top: 3rem; }
.hero-media { width: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 0; }

.tech-card { background: var(--surface); transition: all 0.4s ease; border: 1px solid var(--line); position: relative; overflow: hidden; }
.tech-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: var(--shadow-glow); }

.hero-copy > * {
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-copy > :nth-child(1) { animation-delay: 0.1s; }
.hero-copy > :nth-child(2) { animation-delay: 0.3s; }
.hero-copy > :nth-child(3) { animation-delay: 0.5s; }
.hero-copy > :nth-child(4) { animation-delay: 0.7s; }
.hero-copy > :nth-child(5) { animation-delay: 0.9s; }

@keyframes slideInUp { to { opacity: 1; transform: translateY(0); } }

.welcome-badge { display: inline-block; font-size: 1.25rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 2rem; padding: 0.8rem 2rem; background: linear-gradient(to right, var(--red), var(--red-hover)); border-radius: 99px; border: none; box-shadow: var(--shadow-glow); }

.hero-title { font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -0.01em; }
.title-glow-float {
  display: inline-block;
  background: linear-gradient(135deg, var(--ink) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: continuousGlowFloat 4s ease-in-out infinite;
  transform-origin: center;
}
[data-theme="dark"] .title-glow-float {
  background: linear-gradient(to right, #ffffff 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes continuousGlowFloat {
  0% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.2)); }
  25% { transform: translateY(-4px) rotate(1deg); filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
  50% { transform: translateY(-8px) rotate(0deg); filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.7)); }
  75% { transform: translateY(-4px) rotate(-1deg); filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
  100% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.2)); }

}
.hero-lead { font-size: 1.5rem; color: #555; max-width: 800px; margin: 0 0 2.5rem; line-height: 1.6; font-weight: 500; }

.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.hero-chips a { text-decoration: none; padding: .65rem 1.1rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); font-size: 1.1rem; font-weight: 500; transition: all 0.3s; box-shadow: var(--shadow-sm); }
.hero-chips a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-glow); }

.search-hero { width: 100%; max-width: 650px; margin: 0 auto; }
.search-page { width: 100%; max-width: 650px; margin: 1.5rem auto; }
.search-hero form, .search-page form { background: var(--surface); border: 1.5px solid var(--line); padding: 0.8rem 0.8rem 0.8rem 1.75rem; box-shadow: var(--shadow-lg); border-radius: 99px; }
.search-hero form:focus-within, .search-page form:focus-within { border-color: var(--blue); box-shadow: var(--shadow-glow); }
.search-hero input, .search-page input { font-size: 1.35rem; }
.search-hero .btn, .search-page .btn { padding: 1.25rem 3rem; font-size: 1.35rem; border-radius: 99px; }
.search-hero .search-results, .search-page .search-results { text-align: left; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(2rem, 5vw, 4rem) 0 0; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 1.5rem; position: relative; z-index: 1; animation: fadeInUp 1s ease-out; transition: var(--trans); }
.facts:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border: 1px solid var(--red-glow); }
.facts div { padding: 1rem; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .95rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 0.5rem; }
.facts dd { margin: 0; font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--ink); line-height: 1; text-shadow: 2px 2px 4px rgba(0,0,0,0.05); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; animation: fadeInUp 0.8s forwards; opacity: 0; }
.section.is-visible { opacity: 1; }
.section-plate { background: var(--plate); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 800px; margin: 0 auto 3rem auto; text-align: center; }
.section-head h2, .page-head h1 { position: relative; display: inline-block; padding-bottom: 0.8rem; }
.section-head h2::after, .page-head h1::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, rgba(40, 116, 240, 0.8), transparent); border-radius: 99px; }
.section-head h2::before, .page-head h1::before { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 11px; height: 11px; background: var(--red); z-index: 1; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; background: linear-gradient(180deg, var(--plate) 0%, var(--bg) 100%); text-align: center; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5em; }
.page-head p { color: var(--muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.card:hover { transform: translateY(-12px) scale(1.02); box-shadow: var(--shadow-glow); border-color: var(--red); z-index: 2; }
.thumb { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #fff; }
.card:hover .thumb img { transform: scale(1.05); }
.thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.card:hover .thumb::after { opacity: 1; }
.thumb-wide { aspect-ratio: 16 / 9; }
.card-body { padding: 1rem 1rem 1.25rem; transition: var(--trans); }
[data-theme="dark"] .card { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); }
[data-theme="dark"] .card:hover { background: rgba(255, 255, 255, 0.06); }
.card-cat { font-size: .85rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 .4rem; }
.card-title { margin-bottom: .25rem; font-size: 1.15rem; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.product-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.product-rating .reviews { color: var(--muted); font-size: .9rem; }
.card-title a { text-decoration: none; }
.card-title a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-text { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-count { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 1rem 0 0; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--plate); padding: 0.35rem 0.8rem; border-radius: 99px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.cat-card { display: flex; flex-direction: column; }
.cat-card .card-body { flex: 1; display: flex; flex-direction: column; }
.name-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.name-list a { display: inline-block; text-decoration: none; font-size: .8rem; padding: .15rem .5rem; border-radius: 6px; background: var(--plate); color: var(--ink); position: relative; z-index: 2; transition: var(--trans); border: 1px solid transparent; }
.name-list a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(220,38,38,0.2); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; }
.product-card .card-text { flex: 1; }
.product-card .card-title { font-size: 1.15rem; }

/* Out of Stock Styling */
.product-card.out-of-stock .thumb img { opacity: 0.4; filter: grayscale(100%); }
.product-card.out-of-stock .thumb { position: relative; }
.stock-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: #fff; padding: 0.5rem 1rem; border-radius: 4px; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; white-space: nowrap; z-index: 2; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.stock-text { color: var(--red); font-weight: 700; margin-top: -0.5rem; margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 1.5rem 0 .5rem; }
.tabs a { display: block; white-space: nowrap; text-decoration: none; padding: .5rem 1.25rem; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 1rem; font-weight: 500; transition: var(--trans); box-shadow: var(--shadow-sm); }
.tabs a[aria-current] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-glow); }
.tabs a:not([aria-current]):hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.empty { text-align: center; max-width: 620px; margin: 3rem auto; padding: 3rem; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--muted); }
.empty .btn { margin: 1rem .25rem 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem; align-items: start; }
.presence { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: 1.5rem; }
.states h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--red); }
.states li { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
/* removed .states li::before to fix unicode */
.states li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- forms ---------- */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.enquiry-intro h2 { font-size: 2.2rem; margin-bottom: .75rem; }
.enquiry-intro p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem; }
.qr-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--surface); padding: 1rem; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: inline-flex; }
.qr-row img { border-radius: 10px; background: #fff; padding: 6px; box-shadow: var(--shadow-sm); }
.form-card { padding: 1.5rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); background: linear-gradient(to bottom, var(--surface), var(--bg)); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form .full { grid-column: 1 / -1; }
.req-qty-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 1rem; align-items: start; }
.field label { display: block; font-weight: 600; font-size: 1.25rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid #a0a0a0;
  border-radius: 8px; padding: 0.75rem 1rem; transition: var(--trans); font-size: 1.2rem;
}
.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
  display: block;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--surface); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--red); font-size: .9rem; font-weight: 500; margin: .4rem 0 0; display: block; animation: fadeInUp 0.3s ease; }
.alert { grid-column: 1 / -1; background: color-mix(in srgb, var(--red) 8%, var(--surface)); border-left: 4px solid var(--red); border-radius: 8px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.alert ul { list-style: none; color: var(--ink); font-weight: 500; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1rem; }
.hint { margin: 0; color: var(--muted); font-size: .9rem; flex: 1 1 220px; line-height: 1.4; }

/* ---------- contact hub ---------- */
.contact-hub-card { padding: 1.25rem; background: linear-gradient(to bottom, var(--surface), var(--bg)); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 12px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-lg); }
.hub-title { font-size: 1.8rem; margin-bottom: 1rem; color: var(--ink); text-align: center; }
.hub-link { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: var(--trans); }
.hub-link:last-child { border-bottom: none; }
.hub-link:hover { transform: translateX(10px); }
.hub-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.call-icon { background: rgba(2, 132, 199, 0.15); color: var(--red); }
.wa-icon { background: rgba(34, 197, 94, 0.15); color: var(--wa); }
.email-icon { background: rgba(100, 116, 139, 0.15); color: var(--ink); }
.loc-icon { background: rgba(249, 115, 22, 0.15); color: #f97316; }
[data-theme="dark"] .call-icon { background: rgba(56, 189, 248, 0.15); color: var(--red); }
[data-theme="dark"] .email-icon { background: rgba(148, 163, 184, 0.15); color: var(--ink); }

.hub-label { display: block; font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.hub-value { display: block; font-size: 1.15rem; font-weight: 500; color: var(--muted); line-height: 1.5; }

.form-title { font-size: 1.8rem; margin-bottom: 1.25rem; color: var(--ink); }
.inquiry-form label span { color: var(--red); }
.btn-submit-inquiry { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; background: linear-gradient(45deg, var(--red), var(--red-hover)); color: var(--on-red); border-radius: 99px; padding: 1rem; font-size: 1.1rem; border: none; cursor: pointer; transition: var(--trans); font-weight: 600; box-shadow: var(--shadow-glow); }
.btn-submit-inquiry:hover { filter: brightness(1.15); transform: translateY(-2px); box-shadow: 0 10px 25px var(--red-glow); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: stretch; }
.contact-cards { display: grid; gap: 1.5rem; align-content: start; }
.info { padding: 1.5rem; border-left: 4px solid transparent; transition: var(--trans); }
.info:hover { border-left-color: var(--red); }
.info h2 { font-size: 1.5rem; margin-bottom: .75rem; color: var(--ink); }
.info address { font-style: normal; margin-bottom: 1.25rem; line-height: 1.6; color: var(--muted); font-size: 1.05rem; }
.info p:last-child, .info ul:last-child { margin-bottom: 0; }
.plain li { padding: .3rem 0; font-size: 1.05rem; font-weight: 500; }
.info a:not(.btn) { color: var(--blue); text-decoration: none; font-weight: 600; position: relative; }
.info a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform 0.3s; }
.info a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.qr-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(135deg, var(--wa), #15803d); color: #fff; border: 0; }
.qr-card h2 { color: #fff; }
.qr-card p { color: rgba(255,255,255,0.9); }
.qr-card img { border-radius: 12px; background: #fff; padding: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transform: rotate(2deg); transition: transform 0.3s; }
.qr-card:hover img { transform: rotate(-2deg) scale(1.05); }
.map-frame { min-height: 300px; height: 300px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--plate); box-shadow: var(--shadow-lg); position: relative; }
.map-frame::after { content: ''; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 20px rgba(0,0,0,0.05); pointer-events: none; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(0.8) brightness(0.8) contrast(1.2); }

/* ---------- thank you ---------- */
.done { text-align: center; padding-block: 3rem; animation: fadeInUp 0.5s ease; }
.tick { width: 80px; height: 80px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; margin: 0 auto 1.5rem; box-shadow: 0 10px 25px -5px rgba(34,197,94,0.4); animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.done h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.done p { font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-ink); padding: 2.5rem 0 1.5rem; border-top: none; font-size: 0.95rem; }
.footer-simple { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.5rem; }
.footer .brand-text { font-size: 2.2rem; font-weight: 800; letter-spacing: 0.5px; color: #ffffff; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.footer-nav a { text-decoration: none; color: var(--footer-ink); font-weight: 500; font-size: 1.05rem; transition: var(--trans); text-transform: uppercase; letter-spacing: 1px; }
.footer-nav a:hover { color: rgba(255, 255, 255, 0.7); transform: translateY(-2px); }
.footer-base { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,0.5); width: 100%; }

.floating-actions-container { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40; display: flex; flex-direction: column; gap: 0.75rem; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: var(--trans); animation: pulse 2.5s infinite; }
.float-btn:hover { filter: brightness(1.15); transform: scale(1.1); animation: none; }
.wa-float { background: var(--wa); box-shadow: 0 10px 25px rgba(34,197,94,0.4); animation-name: pulse-wa; }
.call-float { background: var(--red); color: var(--on-red); box-shadow: 0 10px 25px var(--red-glow); animation-delay: 1.25s; transition: background 0.3s ease, box-shadow 0.3s ease; }
.call-float.in-footer { background: #1e293b; box-shadow: 0 10px 25px rgba(30, 41, 59, 0.4); }

[data-theme="dark"] .footer .brand-text { background: linear-gradient(to right, #ffffff 0%, #818cf8 50%, #38bdf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme="dark"] .call-float.in-footer { background: var(--red); box-shadow: 0 10px 25px var(--red-glow); }

.float-btn svg { width: 24px; height: 24px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--red-glow); }
  70% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }

}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }

}
.theme-toggle-btn { transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.theme-toggle-btn:hover { transform: rotate(180deg) scale(1.15); }
.theme-toggle-btn:active { transform: scale(0.9); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about, .enquiry-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { max-width: 100%; align-items: center; text-align: center; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 2rem; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider { max-width: 500px; margin: 0 auto; transform: none; }
  .slider:hover { transform: translateY(-5px); }
  .hero { padding: 3rem 0; text-align: center; }
  .lead { margin-inline: auto; }
  .search-hero { margin: 0 auto; }
  .chips { justify-content: center; }
}
@media (max-width: 860px) {
  .burger, .nav-close { display: inline-grid; }
  .header-row { gap: .5rem; padding-block: .75rem; flex-wrap: nowrap; }
  .brand { margin-right: auto; }
  .header-tools { display: flex; align-items: center; gap: 0.5rem; margin-left: 0; }
  .search-header { order: 5; flex: 1 0 100%; width: 100%; padding-bottom: .5rem; margin-top: 0.5rem; }
  .search-header .search-results { top: calc(100% - 2px); }
  .nav {
    position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: min(340px, 85vw); margin: 0;
    background: var(--surface); flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 5rem 1.5rem 2rem;
    transform: translateX(-102%); transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; border-right: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 1rem 1.25rem; font-size: 1.1rem; border-radius: 10px; color: var(--ink); }
  .nav a::after, .nav a[aria-current]::after { display: none; }
  .nav a:hover { padding-left: 1.5rem; color: var(--red); background: rgba(0,0,0,0.02); }
  .nav a[aria-current] { font-weight: 700; color: var(--red); background: rgba(239, 68, 68, 0.1); }
  .nav-close { position: absolute; top: 1rem; right: 1rem; background: var(--plate); }
  .has-menu .menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 1rem 1.5rem; min-width: 0; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .menu a { font-size: 1rem; padding: .6rem 1rem; color: var(--muted); }
  .menu a:hover { color: var(--red); background: rgba(0,0,0,0.02); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 620px) {
  .wrap { width: 95%; }
  .form { grid-template-columns: 1fr; }
  .req-qty-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-media { grid-template-columns: 1fr; }
  .search-hero form { padding: 0.25rem 0.25rem 0.25rem 0.75rem; }
  .search-hero input { font-size: 0.95rem; }
  .search-hero button.btn { padding: 0.5rem 0.75rem; font-size: 0.9rem; }
  .search-hero > form > svg { display: none; }
  .brand-text { font-size: 1.15rem; }
  .brand img { height: 36px; }
  .facts dd { font-size: 2rem; }
  .page-head { padding: 2rem 0; }
  .section { padding: 3rem 0; }
  .qr-row { justify-content: center; text-align: center; }
  .contact-grid { gap: 1.5rem; }
  .map-frame { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {

/* Enhanced Animations */
.feature-hover-item:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: var(--shadow-glow);
  color: var(--red);
  z-index: 2;
  position: relative;
  }
/ *   M a r q u e e   S t y l e s   * / 
 . m a r q u e e - w r a p p e r   { 
     o v e r f l o w :   h i d d e n ; 
     w h i t e - s p a c e :   n o w r a p ; 
     b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   # 0 f 1 7 2 a   0 % ,   # 1 e 2 9 3 b   1 0 0 % ) ; 
     p a d d i n g :   1 . 2 r e m   0 ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     b o r d e r - t o p :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     b o x - s h a d o w :   i n s e t   0   0   2 0 p x   r g b a ( 0 , 0 , 0 , 0 . 5 ) ; 
     m a r g i n - t o p :   - 1 p x ;   / *   s e a m l e s s   w i t h   s e c t i o n s   * / 
 } 
 
 . m a r q u e e - c o n t e n t   { 
     d i s p l a y :   i n l i n e - b l o c k ; 
     a n i m a t i o n :   s c r o l l T e x t   2 5 s   l i n e a r   i n f i n i t e ; 
     c o l o r :   # f f f ; 
     f o n t - s i z e :   1 . 1 5 r e m ; 
     f o n t - w e i g h t :   6 0 0 ; 
     l e t t e r - s p a c i n g :   1 p x ; 
 } 
 
 . m a r q u e e - c o n t e n t   s p a n   { 
     m a r g i n :   0   2 r e m ; 
     d i s p l a y :   i n l i n e - f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 . m a r q u e e - c o n t e n t   s p a n : : b e f o r e   { 
     c o n t e n t :   " &'" ; 
     c o l o r :   # 3 8 b d f 8 ; 
     m a r g i n - r i g h t :   2 r e m ; 
     f o n t - s i z e :   1 . 2 r e m ; 
     f i l t e r :   d r o p - s h a d o w ( 0   0   5 p x   # 3 8 b d f 8 ) ; 
 } 
 
 @ k e y f r a m e s   s c r o l l T e x t   { 
  }
     0 %   {   t r a n s f o r m :   t r a n s l a t e X ( 0 ) ;   } 
     1 0 0 %   {   t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ;   } 
 } 
 
 / *   S t a t s   S e c t i o n   S t y l e s   * / 
 . s t a t s - s e c t i o n   { 
     b a c k g r o u n d :   # 0 f 1 7 2 a ; 
     p a d d i n g :   4 r e m   1 r e m ; 
     p o s i t i o n :   r e l a t i v e ; 
     o v e r f l o w :   h i d d e n ; 
 } 
 
 . s t a t s - g r i d   { 
     d i s p l a y :   g r i d ; 
     g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i t ,   m i n m a x ( 2 5 0 p x ,   1 f r ) ) ; 
     g a p :   2 r e m ; 
     m a x - w i d t h :   1 1 0 0 p x ; 
     m a r g i n :   0   a u t o ; 
 } 
 
 . s t a t - b o x   { 
     b a c k g r o u n d :   r g b a ( 3 0 ,   4 1 ,   5 9 ,   0 . 7 ) ; 
     b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
     b o r d e r - r a d i u s :   1 6 p x ; 
     p a d d i n g :   2 . 5 r e m   1 . 5 r e m ; 
     t e x t - a l i g n :   c e n t e r ; 
     b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
     b o x - s h a d o w :   0   8 p x   3 2 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ,   b o r d e r - c o l o r   0 . 3 s   e a s e ; 
 } 
 
 . s t a t - b o x : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
     b o r d e r - c o l o r :   # 3 8 b d f 8 ; 
 } 
 
 . s t a t - n u m b e r   { 
     f o n t - s i z e :   3 . 5 r e m ; 
     f o n t - w e i g h t :   8 0 0 ; 
     c o l o r :   # 3 8 b d f 8 ; 
     m a r g i n - b o t t o m :   0 . 5 r e m ; 
     l i n e - h e i g h t :   1 ; 
     t e x t - s h a d o w :   0   0   2 0 p x   r g b a ( 5 6 ,   1 8 9 ,   2 4 8 ,   0 . 5 ) ; 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 . s t a t - n u m b e r   . p l u s   { 
     c o l o r :   # 6 0 a 5 f a ; 
     f o n t - s i z e :   3 r e m ; 
     m a r g i n - l e f t :   2 p x ; 
 } 
 
 . s t a t - l a b e l   { 
     c o l o r :   # 9 4 a 3 b 8 ; 
     f o n t - s i z e :   1 r e m ; 
     f o n t - w e i g h t :   6 0 0 ; 
     l e t t e r - s p a c i n g :   2 p x ; 
     t e x t - t r a n s f o r m :   u p p e r c a s e ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     g a p :   8 p x ; 
 } 
 
 . s t a t - i c o n   { 
     f o n t - s i z e :   1 . 2 r e m ; 
 } 
 

[data-theme='dark'] .hero-lead { color: #f8fafc; font-weight: 600; }

