:root {
  --blue: #1F4E79;
  --blue-mid: #2E75B6;
  --blue-light: #EBF3FB;
  --blue-pale: #F5F8FC;
  --border: #D6E4F0;
  --text: #1A2330;
  --text-muted: #5A6B7D;
  --text-light: #B8D4E8;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --red: #DC2626;
  --red-light: #FEE2E2;
  --amber: #D97706;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size: 14px; line-height: 1.5; text-rendering: optimizeLegibility;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
a { text-decoration: none; color: inherit;
  transition: color .2s ease, background .2s ease, border-color .2s ease; }
button { font-family: inherit; cursor: pointer;
  transition: all .2s ease; border: none; background: none; }
ul { list-style: none; }
img, svg { display: block; }
input, select, textarea { font-family: inherit; }

/* TOP BAR */
.topbar { height: 36px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; letter-spacing: .15px; }
.topbar strong { font-weight: 700; margin: 0 4px; }

/* HEADER */
.header { background: #fff; height: 80px; border-bottom: 1px solid var(--border); }
.header-inner { height: 100%; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
.logo { font-size: 24px; font-weight: 800; color: var(--blue);
  letter-spacing: -.4px; white-space: nowrap; cursor: pointer; }
.logo .dash { color: var(--blue-mid); }
.search { display: flex; align-items: center; background: var(--blue-pale);
  border: 1px solid var(--border); border-radius: 999px; height: 44px;
  padding: 0 4px 0 20px; max-width: 600px; margin: 0 auto; width: 100%;
  transition: border-color .2s ease, background .2s ease; }
.search:focus-within { border-color: var(--blue-mid); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; outline: 0;
  font-size: 14px; color: var(--text); height: 100%; }
.search input::placeholder { color: var(--text-muted); }
.search-btn { background: var(--blue); color: #fff; height: 36px;
  border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center;
  gap: 8px; font-weight: 600; font-size: 13px; }
.search-btn:hover { background: var(--blue-mid); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.header-link { display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text);
  cursor: pointer; white-space: nowrap; }
.header-link svg { color: var(--blue); }
.header-link:hover, .header-link:hover svg { color: var(--blue-mid); }
.cart-badge { background: var(--blue-mid); color: #fff; font-size: 11px;
  font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px; margin-left: 2px; line-height: 1; }

/* NAV / MEGA MENU */
.nav { background: var(--blue); position: relative; z-index: 50; }
.nav-inner { display: flex; align-items: stretch; height: 48px; }
.nav-item { position: relative; display: inline-flex; align-items: center;
  gap: 6px; padding: 0 18px; color: #fff; font-size: 13px; font-weight: 500;
  cursor: pointer; height: 100%; transition: background .2s ease; }
.nav-item:first-child { padding-left: 0; }
.nav-item:hover { background: rgba(255,255,255,.08); }
.nav-item .chev { width: 10px; height: 10px; opacity: .7;
  transition: transform .2s ease; }
.nav-item:hover .chev { transform: rotate(180deg); }
.megamenu { opacity: 0; visibility: hidden; transform: translateY(-4px);
  position: absolute; top: 100%; left: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(31,78,121,.08); padding: 28px 36px;
  min-width: 540px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 40px; z-index: 100;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-item:hover .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu a { display: flex; align-items: center; gap: 10px; padding: 7px 0;
  color: var(--blue); font-size: 13.5px; font-weight: 500; }
.megamenu a::before { content: ""; width: 4px; height: 4px;
  border-radius: 50%; background: var(--blue-mid); flex-shrink: 0;
  opacity: .4; transition: opacity .2s ease; }
.megamenu a:hover { color: var(--blue-mid); }
.megamenu a:hover::before { opacity: 1; }

/* FOOTER */
.footer { background: var(--blue); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { font-size: 13px; font-weight: 700; margin-bottom: 22px;
  letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.footer-info .footer-logo { font-size: 22px; font-weight: 800;
  color: #fff; margin-bottom: 18px; letter-spacing: -.4px; }
.footer p, .footer a, .footer li { color: var(--text-light);
  font-size: 13px; font-weight: 400; line-height: 1.85; }
.footer ul li { margin-bottom: 4px; }
.footer a { display: inline-block; cursor: pointer; }
.footer a:hover { color: #fff; }
.footer-info p { line-height: 1.7; }
.footer-info .contact-row { display: flex; gap: 10px;
  align-items: flex-start; margin-top: 12px; color: var(--text-light);
  font-size: 13px; line-height: 1.6; }
.footer-info .contact-row svg { flex-shrink: 0; margin-top: 3px; opacity: .8; }
.pay-icons { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pay-icon { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px; padding: 0 10px; display: inline-flex;
  align-items: center; justify-content: center; height: 32px;
  min-width: 52px; color: #fff; }
.footer-hours { display: flex; flex-direction: column; gap: 4px;
  color: var(--text-light); font-size: 13px; }
.footer-hours .row { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours .row span:last-child { color: #fff; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; font-size: 12.5px; color: var(--text-light); }
.footer-bottom-inner { display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: #fff; }

/* TOAST */
.toast { position: fixed; bottom: 24px; right: 24px;
  background: var(--blue); color: #fff; padding: 14px 22px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(31,78,121,.18); z-index: 1000;
  display: flex; align-items: center; gap: 10px; max-width: 360px;
  transform: translateY(100px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast .check { width: 20px; height: 20px;
  border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; }
