/* =========================
   RESET / BASE
========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0; }
ul { margin: 0; padding-left: 1.1rem; }

:root{
  --bg: #070d18;
  --bg2: #0b1220;

  --card: rgba(15, 23, 42, 0.78);
  --card2: rgba(15, 23, 42, 0.58);
  --border: rgba(148, 163, 184, 0.14);

  --text: #e8eefc;
  --muted: #9fb1c8;
  --muted2: #7f93ad;

  --accent: #5aa3ff;
  --accent2: #3a8bff;
  --danger: #ff6b6b;
  --ok: #3ddc97;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.28);

  --pad: 22px;
  --gap: 22px;
  --maxw: 1120px;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 800px at 15% 5%, rgba(90,163,255,0.16), transparent 55%),
    radial-gradient(900px 700px at 80% 25%, rgba(61,220,151,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

.shell{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 28px 18px 60px;
}

.shell-inner{
  width: 100%;
  max-width: var(--maxw);
}

.brand{
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0 0 14px 4px;
  opacity: 0.95;
}

/* =========================
   CARDS / MESSAGES
========================= */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: var(--pad);
  backdrop-filter: blur(10px);
}
.card.soft{
  background: var(--card2);
  box-shadow: none;
}

.messages{ margin: 0 0 14px 0; }
.message{
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  margin-bottom: 10px;
}
.message.error{
  border-color: rgba(255, 107, 107, 0.32);
  background: rgba(255, 107, 107, 0.08);
}
.message.success{
  border-color: rgba(61, 220, 151, 0.30);
  background: rgba(61, 220, 151, 0.08);
}

/* =========================
   TYPOGRAPHY
========================= */
h1,h2,h3{ margin: 0; letter-spacing: -0.3px; }
h1{ font-size: 34px; line-height: 1.1; }
h2{ font-size: 22px; margin-bottom: 10px; }
h3{ font-size: 16px; margin-bottom: 10px; opacity: 0.95; }

.sub{
  margin-top: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.muted { color: var(--muted); }

/* =========================
   BUTTONS
   IMPORTANT: .btn is NOT full-width globally.
   Full-width is applied inside cards/forms.
========================= */
button, .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: auto;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;

  background: var(--accent);
  color: #061021;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 10px 24px rgba(90,163,255,0.22);
}
button:hover, .btn:hover{ background: var(--accent2); }

.btn.secondary{
  background: rgba(148,163,184,0.10);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.secondary:hover{ background: rgba(148,163,184,0.14); }

.btn.btn-ghost{
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}

/* Full-width buttons inside cards and forms */
.card .btn,
form button{
  width: 100%;
}

/* =========================
   FORMS
========================= */
form{ margin-top: 12px; }
label{
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

input, select, textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.25);
  color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(90,163,255,0.55);
  box-shadow: 0 0 0 4px rgba(90,163,255,0.14);
}

.errorlist{
  margin: 8px 0 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 107, 107, 0.92);
  font-size: 12px;
}
.helptext{ color: var(--muted2); font-size: 12px; margin-top: 6px; }

.card form input,
.card form select,
.card form textarea{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 44px;
}

.form-link{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  font-size: 13px;
}
.form-link a{ color: var(--accent); }
.form-link span{ color: rgba(148,163,184,0.4); }

.auth-card{
  max-width: 460px;
  margin: 0 auto;
}

/* Turnstile spacing */
.cf-turnstile{
  margin-top: 14px;
  margin-bottom: 6px;
  display: block;
}

/* =========================
   HOME PAGE ONLY (scoped)
========================= */
html{ scroll-behavior: smooth; }

body.home .shell{
  justify-content: stretch;
  padding: 0 ;
}

body.home .shell-inner{
  max-width: none;
  width: 100%;
}

/* Sticky header container */
body.home .site-header{
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Red top bar */
body.home .topbar{
  background: #c8102e;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
body.home .topbar-inner{
  width: 100%px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
body.home .topbar-nav a{
  color: rgba(255,255,255,.92);
  margin-right: 14px;
  font-size: 13px;
}
body.home .topbar-actions{
  display: flex;
  gap: 10px;
  align-items: center;
}
body.home .pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: auto;
}
body.home .pill-light{
  background: #fff;
  color: #c8102e;
}

/* Dark main bar under red bar */
body.home .mainbar{
  background: rgba(10, 16, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body.home .mainbar-inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}



body.home .brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 0;
  color:#fff;
}
.brand-logo{
  width: 54px;
  height: 54px;
  align-items:center;
  object-fit: contain;
  border-radius: 0px;
  flex: 0 0 auto;
}
.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 16px;
}

body.home .search{
  display:flex;
  align-items:center;
  width: min(420px, 48vw);
}
body.home .search input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
}
body.home .search button{
  width: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-left: none;
  border-radius: 0 999px 999px 0;
  padding: 10px 12px;
  background: rgba(255,255,255,.10);
  color: #fff;
  box-shadow: none;
}
body.home .search button:hover{ background: rgba(255,255,255,.16); }

/* Section nav row */
body.home .section-nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
body.home .section-nav a{
  color: rgba(255,255,255,.86);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 10px;
}
body.home .section-nav a:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}


body.home .hero{
  width: 100%;
  margin: 0;
  padding: 0;
}
body.home .carousel{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

body.home .carousel-track{
  position: relative;
  height: 360px;          /* adjust if you want taller */
}

body.home .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .45s ease, transform .45s ease;

  /* IMPORTANT: do NOT use background: shorthand here */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* overlay gradient for readability */
body.home .slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.20));
}

body.home .slide.is-active{
  opacity: 1;
  transform: scale(1);
}

body.home .slide-inner{
  position: relative;
  z-index: 1;
}


body.home .slide-inner{
  height: 100%;
  max-width: 650px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
body.home .slide h1{ font-size: 38px; line-height: 1.08; margin: 0; }
body.home .slide p{ color: rgba(255,255,255,.86); margin: 0; max-width: 56ch; }

body.home .slide-actions{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
body.home .slide-actions .btn{
  width: auto;           
}
body.home .carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
body.home .carousel-btn:hover{ background: rgba(0,0,0,.38); }
body.home .carousel-btn.prev{ left: 12px; }
body.home .carousel-btn.next{ right: 12px; }

body.home .carousel-dots{
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}
body.home .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.18);
  cursor: pointer;
}
body.home .dot.is-active{ background: #fff; }

/* MAIN CONTENT GRID under hero */
body.home .home-layout{
  width: 100%;
  margin: 18px 0 60px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}

body.home .hours{
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
body.home .hours > div{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148,163,184,0.08);
}
body.home .hours > div:last-child{ border-bottom: 0; padding-bottom: 0; }

/* Product grid on right side */
body.home .grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
body.home .product-card h2{ margin-bottom: 8px; }
body.home .product-card p{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
}
body.home .product-card a{
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 980px){
  body.home .home-layout{ grid-template-columns: 1fr; }
  body.home .grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  body.home .carousel-track{ height: 360px; position: relative; }
  body.home .slide-inner{ padding: 26px 18px; }
  body.home .slide h1{ font-size: 30px; }
  body.home .search{ display: none; }
}

body.home .header-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}
