/* Global styles for costa3ddesigns.ca. Page layout lives inline in each page
   (it came straight from the approved mockups); this file adds the base,
   focus states and phone-size adjustments. */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #121419; color: #D5D9E0; font-family: Inter, system-ui, sans-serif; }
a { color: #FF8A33; }
a:hover { color: #FFB37A; }
img, video { max-width: 100%; }
button:disabled { opacity: 0.85; }
:focus-visible { outline: 3px solid #FF8A33; outline-offset: 2px; }
#root[aria-busy="true"] { min-height: 100vh; }
.noscript { margin: 0; padding: 16px 24px; background: #2A1414; color: #FFD5D2; }

/* Phones and small tablets */
@media (max-width: 760px) {
  h1 { font-size: 34px !important; }
  h2 { font-size: min(1em, 26px); }
  header nav { gap: 4px 18px !important; font-size: 14px !important; }
  header img { height: 64px !important; }
  section > div, main, aside { padding-left: 16px !important; padding-right: 16px !important; }
  article > div + div { padding: 20px !important; }
}
@media (max-width: 420px) {
  h1 { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Wide screens: the cart follows you down the shop page. */
@media (min-width: 1000px) {
  #cart { position: sticky; top: 56px; max-height: calc(100vh - 72px); overflow-y: auto; }
}
