/* Racketwale — light multi-commerce theme (XStore-style storefront) */

:root {
  --bg: #f3f5f4;
  --surface: #ffffff;
  --ink: #152820;
  --ink-muted: #5d7268;
  --accent: #1f8a4c;
  --accent-hover: #187540;
  --accent-soft: #e8f6ee;
  --line: #e3ebe6;
  --sale: #e53935;
  --star: #f5a623;
  --topbar: #1f8a4c;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --radius: 8px;
  --shadow: 0 8px 28px rgba(21, 40, 32, 0.08);
  --shadow-soft: 0 2px 10px rgba(21, 40, 32, 0.06);
  --header-h: 7.25rem;
  --topbar-h: 2.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Topbar */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--topbar-h);
  background: var(--topbar);
  color: #fff;
  font-size: 0.84rem;
}
.topbar__inner {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 0 1.15rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__promo { margin: 0; opacity: 0.95; }
.topbar__promo strong { color: #fff; font-weight: 700; }
.topbar__links { list-style: none; display: flex; gap: 1rem; margin: 0; }
.topbar__links a { color: rgba(255,255,255,0.92); }
.topbar__links a:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header {
  position: fixed;
  inset: var(--topbar-h) 0 auto;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.site-header__inner {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 0.75rem 1.15rem;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--ink); flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.header-search {
  flex: 1; max-width: 520px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #f7faf8;
}
.header-search input {
  flex: 1; border: 0; background: transparent; color: var(--ink);
  font: inherit; padding: 0.72rem 1rem; outline: none; min-width: 0;
}
.header-search__btn {
  border: 0; background: var(--accent); color: #fff;
  font-weight: 600; font-family: var(--font-body);
  padding: 0 1.15rem; cursor: pointer;
}
.header-search__btn:hover { background: var(--accent-hover); }

.header-utils { display: flex; align-items: center; gap: 0.85rem; margin-left: auto; }
.header-util { color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.header-util:hover { color: var(--accent); }
.header-cart { display: inline-flex; align-items: center; gap: 0.35rem; }
.header-cart__count {
  min-width: 1.3rem; height: 1.3rem; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.nav-toggle {
  display: none; width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line); background: #fff; border-radius: 6px;
  cursor: pointer; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.32rem; padding: 0;
}
.nav-toggle__bar { display: block; width: 1.05rem; height: 2px; background: var(--ink); }

.catbar { border-top: 1px solid var(--line); background: #fff; }
.catbar__inner {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  padding: 0.4rem 1.15rem;
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
}
.catbar__browse {
  display: inline-flex; align-items: center;
  min-height: 2.15rem; padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 0.88rem; border-radius: 6px;
  background: var(--accent-soft);
}
.catbar__browse:hover { background: var(--accent); color: #fff; }
.primary-nav { margin-right: auto; }
.nav-list { display: flex; list-style: none; gap: 1.1rem; align-items: center; }
.nav-list a { color: var(--ink); font-weight: 600; font-size: 0.93rem; }
.nav-list a:hover,
.nav-list .current-menu-item > a { color: var(--accent); }
.catbar__cats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.catbar__cats a { color: var(--ink-muted); font-weight: 500; font-size: 0.9rem; }
.catbar__cats a:hover { color: var(--accent); }

/* Main / Elementor */
.site-main { padding-top: calc(var(--header-h) + var(--topbar-h)); }
.page-content { min-height: 40vh; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.85rem; padding: 0.7rem 1.3rem;
  border-radius: 6px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { min-height: 2.3rem; padding: 0.4rem 0.9rem; font-size: 0.88rem; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: #123528;
  color: #d7e8de;
  padding: 3.5rem 1.15rem 1.5rem;
}
.site-footer a { color: #d7e8de; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; }
.site-footer__logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: #fff; margin: 0 0 0.4rem;
}
.site-footer__tag { color: #9fbfb0; max-width: 28ch; margin: 0 0 2rem; }
.site-footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-bottom: 2.5rem;
}
.footer-label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7dffa8; font-weight: 700; margin: 0 0 0.75rem;
}
.footer-links { list-style: none; display: grid; gap: 0.4rem; }
.footer-links--plain { color: #9fbfb0; font-size: 0.95rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.1rem; color: #8eaa9c; font-size: 0.88rem;
}
.site-footer__bottom p { margin: 0; }

/* Elementor helpers */
.elementor-kit-rw,
.rw-section { font-family: var(--font-body); }

/* Motion */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 5.8rem; }
  .topbar__links { display: none; }
  .header-search { display: none; }
  .catbar__cats { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header--commerce .primary-nav {
    position: fixed;
    inset: calc(var(--topbar-h) + 3.5rem) 0 auto;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0.85rem; padding: 1.1rem 1.15rem 1.35rem;
    background: #fff; border-bottom: 1px solid var(--line);
    width: 100%; margin: 0; z-index: 99;
  }
  .site-header--commerce .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
