@import url('fonts.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: oklch(98% 0.004 70);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: oklch(17% 0.01 70);
}
img { max-width: 100%; display: block; }
a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }

/* Fluid headline sizing so the design holds up on small screens without changing desktop values */
h1.h-hero { font-size: clamp(32px, 6.2vw, 56px); }
h1.h-page { font-size: clamp(28px, 5vw, 44px); }
h2.h-section { font-size: clamp(24px, 4vw, 36px); }

/* Two-column layout helper: desktop sizing stays on the inline style, this only forces a stack on narrow screens */
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr !important;
  }
  .two-col > * {
    order: initial !important;
  }
  .nav-links {
    gap: 12px !important;
  }
  .cart-drawer {
    width: 100vw !important;
  }
}

@media (max-width: 600px) {
  header .brand-text { font-size: 17px !important; }
  .hide-mobile { display: none !important; }
}

/* Cookie banner + cart drawer start hidden; JS in site.js reveals them as needed */
#cookieBanner { display: none; }
#cartDrawer, #cartOverlay { display: none; }
#contactThanks, #checkoutForm, #orderThanks { display: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: oklch(17% 0.01 70);
  color: #fff;
  padding: 12px 18px;
  z-index: 300;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

input:focus, select:focus, textarea:focus, button:focus, a:focus {
  outline: 2px solid oklch(66% 0.19 41);
  outline-offset: 2px;
}
