:root{
  --pryzm-black:#0b0b0b;
  --pryzm-white:#ffffff;
  --pryzm-text:#111;
  --pryzm-shadow: 0 8px 18px rgba(0,0,0,.18);
  --pryzm-hairline: rgba(0,0,0,.08);
  --pryzm-max: 1200px;
}

html, body{ width:100%; overflow-x:hidden; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--pryzm-text);
  background:#fff;
}

img{ max-width:100%; height:auto; display:block; }

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

/* ===== Pryzm Header (shared) ===== */
/* Global fixed header (site-wide). JS sets --pryzm-header-h based on actual header height. */
:root{ --pryzm-header-h: 0px; }
body{ padding-top: var(--pryzm-header-h) !important; }
.pryzm-header{ position: fixed !important; top: 0 !important; left: 0; right: 0; width: 100%; z-index: 100000 !important; isolation: isolate; }
@media (max-width: 680px){ :root{ --pryzm-header-h: 0px; } }
.pryzm-promo__dots{ display:none; }
/* Global fixed header (sticky on all pages) */
@media (max-width: 680px){ :root{ --pryzm-header-h: 122px; } }
/* Make ALL page headers sticky by default (site-wide) */


.pryzm-promo{
  background: var(--pryzm-black);
  color: var(--pryzm-white);
  box-shadow: var(--pryzm-shadow);
}
.pryzm-promo__inner{
  max-width: var(--pryzm-max);
  margin: 0 auto;
  height: 34px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pryzm-rotator{
  position: relative;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  overflow: hidden;
}
.pryzm-rotator__item{
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 12px;
}
.pryzm-rotator__item.is-active{
  opacity: .95;
  transform: translateY(0);
}
.pryzm-rotator strong{ font-weight: 700; }

.pryzm-promo__dots{
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  opacity: .35;
  font-size: 10px;
  pointer-events: none;
  user-select: none;
}

.pryzm-main{
  background: var(--pryzm-white);
  border-bottom: 1px solid var(--pryzm-hairline);
}
.pryzm-main__inner{
  max-width: var(--pryzm-max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pryzm-brand{ display:flex; align-items:center; min-width: 220px; }
.pryzm-brand__logo{
  height: 96px;
  width: auto;
  display:block;
}

.pryzm-nav{
  display:flex;
  align-items:center;
  gap: 22px;
}
.pryzm-nav a{
  color: var(--pryzm-text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 6px;
  border-radius: 10px;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.pryzm-nav a:hover{
  background: rgba(0,0,0,.05);
  transform: translateY(-1px);
}

.pryzm-cart{
  display:flex;
  align-items:center;
  gap: 10px;
}
.pryzm-cart__pill{
  min-width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: var(--pryzm-black);
  color: var(--pryzm-white);
  font-size: 12px;
  line-height: 1;
  padding: 0 7px;
}

.pryzm-burger{
  display:none;
  min-width: 52px;
  min-height: 52px;
  position: relative;
  z-index: 100001;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pryzm-hairline);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

/* Force a generous, consistent tap target across ALL pages.
   Page-specific CSS (e.g. product.css) may override .pryzm-burger sizing.
*/
button#navToggle.pryzm-burger{
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  padding: 12px !important;
  border-radius: 12px !important;
  touch-action: manipulation;
}

@media (max-width: 860px){
  /* Prevent the brand block from growing into the burger hit zone on some pages */
  .pryzm-header .pryzm-main__inner{ gap: 10px !important; }
  .pryzm-header .pryzm-brand{ min-width: 0 !important; flex: 1 1 auto !important; }
  .pryzm-header .pryzm-cart{ flex: 0 0 auto !important; }
  .pryzm-header .pryzm-burger{ flex: 0 0 auto !important; }
}
.pryzm-burger span{
  display:block;
  height: 2px;
  background: #111;
  border-radius: 2px;
  margin: 6px 0;
}

@media (max-width: 980px){
  .pryzm-brand__logo{ height: 74px; }
  .pryzm-brand{ min-width: 180px; }
}
@media (max-width: 860px){
  .pryzm-burger{ display:block; }
  .pryzm-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(34px + 110px);
    background: #fff;
    border-bottom: 1px solid var(--pryzm-hairline);
    box-shadow: 0 14px 28px rgba(0,0,0,.10);
    padding: 12px 18px 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .pryzm-nav a{
    padding: 14px 12px;
    border-radius: 14px;
  }
  .pryzm-header.is-open .pryzm-nav{ display:flex; }
}
@media (max-width: 420px){
  .pryzm-brand__logo{ height: 62px; }
  .pryzm-promo__inner{ height: 32px; }
  .pryzm-rotator__item{ font-size: 11px; }
}

@media (prefers-reduced-motion: reduce){
  .pryzm-rotator__item{ display:none; position: static; opacity: 1; transform:none; transition:none; }
  .pryzm-rotator{ height: auto; }
  .pryzm-rotator::before{
    content: "Free Single Vision Prescription Lenses • Handmade in Oregon • Free Prescription Lenses";
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .95;
  }
  .pryzm-promo__dots{ display:none; }
}

/* Footer logo (small footer variant) */
.footerLogo{ display:inline-flex; align-items:center; margin-right: 10px; }
.footerLogo__img{ height: 52px; width: auto; display:block; }


/* Prevent background scroll when drawers open */
body.noScroll{ overflow: hidden; }


/* Burger override force (page CSS sometimes overrides nav display) */
@media (max-width: 860px){
  .pryzm-header .pryzm-nav{ display:none !important; }
  .pryzm-header.is-open .pryzm-nav{ display:flex !important; }
}


/* Mobile nav dropdown: anchor to header bar (avoid top calc issues across pages) */
@media (max-width: 860px){
  .pryzm-main__inner{ position: relative; }
  .pryzm-header .pryzm-nav{
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001;
  }
}


/* =========================
   Pryzm Simple Footer (global)
   ========================= */
.footer{
  background: #0b0b0b;
  color: rgba(255,255,255,.9);
  padding: 34px 0 22px;
  margin-top: 20px;
}
.footer__inner{
  max-width: var(--pryzm-max, 1160px);
  margin: 0 auto;
  padding: 0 18px;
  display:flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__logo{ display:inline-flex; align-items:center; }
.footer__logoImg{ height: 52px; width:auto; display:block; }

.footer__links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.footer__links a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 2px;
  white-space: nowrap;
}
.footer__links a:hover{ color:#fff; border-bottom-color: rgba(255,255,255,.45); }
.footer__links span{ opacity:.4; }

.footer__signup{
  min-width: 260px;
  max-width: 360px;
}
.footer__signupTitle{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 4px;
}
.footer__signupSub{
  font-size: 12px;
  opacity: .76;
  margin-bottom: 8px;
}
.footer__signupRow{
  display:flex;
  gap: 8px;
  align-items: stretch;
}
.footer__signupInput{
  flex:1;
  height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
  padding: 0 10px;
  outline: none;
}
.footer__signupInput::placeholder{ color: rgba(255,255,255,.45); }
.footer__signupBtn{
  height: 38px;
  padding: 0 12px;
  background: #fff;
  color: #000;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  font-weight: 700;
}
.footer__signupBtn:hover{ opacity: .92; }
.footer__signupFine{
  margin-top: 6px;
  font-size: 12px;
  opacity: .62;
}

.footer__right{
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .78;
}

@media (max-width: 760px){
  .footer__inner{ justify-content: center; text-align: center; }
  .footer__signup{ width: min(92vw, 380px); }
  .footer__links{ justify-content: center; }
}
/* Policy / content pages (FAQ, Shipping, Privacy, Terms) */
.policy{ padding: 34px 18px 60px; }
.policy__inner{ max-width: var(--pryzm-max); margin: 0 auto; }
.policy__kicker{ font-size:12px; letter-spacing:2px; text-transform:uppercase; opacity:.7; margin-bottom:10px; }
.policy__title{ margin:0; font-size: 40px; letter-spacing:-0.02em; }
.policy__lead{ margin: 10px 0 0; max-width: 70ch; opacity:.88; line-height:1.6; }
@media (max-width: 680px){
  .policy{ padding: 22px 14px 48px; }
  .policy__title{ font-size: 30px; }
}
/* Embedded Stripe Elements */
.cardPay { margin-top: 14px; }
.cardPayBox { padding: 14px; border: 1px solid #e7e7e7; }
#payment-element { margin: 10px 0 14px; }
.payMsg { font-size: 0.95rem; margin-top: 10px; }
.btnPrimary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid #000; background: #000; color: #fff; cursor: pointer; }
.btnPrimary:disabled { cursor: not-allowed; }



/* Mobile burger: increase tap target and reliability */
.pryzm-burger, #navToggle{
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.pryzm-burger span{ pointer-events: none; }


/* Ensure header stays clickable above overlays */
.pryzm-header{ pointer-events: auto; }


/* Footer policy note */
.footer__note{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.78;
  text-align: center;
  line-height: 1.4;
}

/* Social links */
.footer__links{
  gap: 14px;
  flex-wrap: wrap;
}

/* Burger button: enforce a big, reliable click/tap target across ALL pages.
   Some page-specific CSS files redefine .pryzm-burger later; this id+class selector wins. */
button#navToggle.pryzm-burger{
  min-width: 52px !important;
  min-height: 52px !important;
  width: 52px !important;
  height: 52px !important;
  padding: 12px !important;
  position: relative;
  z-index: 100001 !important;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile: prevent logo/link area from encroaching on the burger tap target.
   On very narrow screens, the brand link can overflow and make the burger feel "hard" to tap. */
@media (max-width: 520px){
  .pryzm-main__inner{ position: relative; z-index: 10002; }
  .pryzm-brand{ min-width: 0 !important; flex: 1 1 auto; }
  .pryzm-brand__logo{ height: 64px; }
  button#navToggle.pryzm-burger{ position: relative; z-index: 10003; flex: 0 0 auto; }
}
button#navToggle.pryzm-burger span{ pointer-events: none; }

/* SEO / descriptive copy blocks at the bottom of pages */
.section.seoCopy{
  padding: 46px 0;
}
.section.seoCopy .wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}
.section.seoCopy h2{
  margin: 0 0 14px 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.section.seoCopy p{
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0,0,0,0.62);
}
.section.seoCopy p:last-child{ margin-bottom: 0; }
@media (max-width: 720px){
  .section.seoCopy{ padding: 28px 0; }
  .section.seoCopy p{ font-size: 15px; }
}
