/* polymer80 theme — home page layer. Loaded only by the theme's index.html; product, category,
   cart and checkout pages keep the default stylesheet untouched. Namespaced with .p80- */
:root {
  --p80-ink: #101418;
  --p80-ink-2: #1B2128;
  --p80-accent: #E8632B;
  --p80-accent-ink: #FFFFFF;
  --p80-paper: #F3F1EC;
  --p80-surface: #FFFFFF;
  --p80-text: #171B20;
  --p80-muted: #5F6670;
  --p80-line: #DDD8CF;
  --p80-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --p80-body: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
}
.p80-eyebrow { font-family: var(--p80-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p80-accent); margin-bottom: 8px; }
.p80-block { padding: 56px 0; background: var(--p80-paper); color: var(--p80-text); font-family: var(--p80-body); }
.p80-block.alt { background: var(--p80-surface); }
.p80-block h2 { font-family: var(--p80-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1; letter-spacing: .005em; color: var(--p80-ink); margin: 0; text-wrap: balance; }
.p80-block h3 { font-family: var(--p80-display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; color: var(--p80-ink); margin: 0 0 6px; }
.p80-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.p80-lead { max-width: 52ch; color: var(--p80-muted); margin: 0; font-size: 1rem; line-height: 1.55; }
.p80-see-all { font-weight: 600; color: var(--p80-ink); text-decoration: none; border-bottom: 2px solid var(--p80-accent); padding-bottom: 2px; white-space: nowrap; }
.p80-see-all:hover { color: var(--p80-accent); }
.container.narrow { max-width: 820px; }

/* Hero slider */
.p80-hero { background: var(--p80-ink); color: #fff; font-family: var(--p80-body); position: relative; overflow: hidden; }
.p80-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 420px at 85% 30%, rgba(232,99,43,.22), transparent 60%); pointer-events: none; }
.p80-slider { position: relative; }
.p80-track { position: relative; min-height: 460px; }
.p80-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.p80-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.p80-slide-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0 40px; }
.p80-eyebrow + .p80-headline, .p80-headline { font-family: var(--p80-display); font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: .95; letter-spacing: -.005em; margin: 0 0 16px; color: #fff; text-wrap: balance; }
.p80-sub { font-size: 1.08rem; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 48ch; margin: 0 0 26px; }
.p80-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.p80-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--p80-accent); color: var(--p80-accent-ink); font-weight: 700; padding: 14px 22px; text-decoration: none; border-radius: 3px; letter-spacing: .01em; transition: transform .15s, background .15s; }
.p80-btn:hover { background: #F07A48; transform: translateY(-1px); }
.p80-btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.p80-btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.p80-btn:focus-visible, .p80-arrow:focus-visible, .p80-dot:focus-visible, .p80-card:focus-visible { outline: 3px solid var(--p80-accent); outline-offset: 3px; }
.p80-slide-visual { position: relative; display: block; background: var(--p80-ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; padding: 28px; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.p80-slide-visual img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.p80-slide-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(16,20,24,.85); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-left: 3px solid var(--p80-accent); }
.p80-slider-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 0 26px; }
.p80-arrow { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: border-color .15s, background .15s; }
.p80-arrow:hover { border-color: var(--p80-accent); background: rgba(232,99,43,.15); }
.p80-dots { display: flex; gap: 10px; }
.p80-dot { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; transition: background .2s; }
.p80-dot.is-active { background: var(--p80-accent); }

/* Trust strip */
.p80-trust { background: var(--p80-surface); border-bottom: 1px solid var(--p80-line); font-family: var(--p80-body); }
.p80-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.p80-trust-row > div { padding: 18px 20px; border-right: 1px solid var(--p80-line); display: flex; flex-direction: column; gap: 2px; }
.p80-trust-row > div:last-child { border-right: 0; }
.p80-trust-row b { font-family: var(--p80-display); font-size: 1.15rem; font-weight: 700; color: var(--p80-ink); letter-spacing: .01em; }
.p80-trust-row span { font-size: 13px; color: var(--p80-muted); }

/* Frame finder table */
.p80-tablewrap { overflow-x: auto; border: 1px solid var(--p80-line); background: var(--p80-surface); }
.p80-finder { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.p80-finder th, .p80-finder td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--p80-line); vertical-align: top; }
.p80-finder thead th { font-family: var(--p80-body); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--p80-muted); background: var(--p80-paper); }
.p80-finder tbody th { font-family: var(--p80-display); font-size: 1.2rem; font-weight: 700; color: var(--p80-ink); white-space: nowrap; }
.p80-finder tbody tr:last-child th, .p80-finder tbody tr:last-child td { border-bottom: 0; }
.p80-finder td a { color: var(--p80-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--p80-accent); white-space: nowrap; }
.p80-finder td a:hover { color: var(--p80-accent); }

/* Product grid */
.p80-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p80-card { display: flex; flex-direction: column; background: var(--p80-paper); border: 1px solid var(--p80-line); text-decoration: none; color: var(--p80-text); transition: transform .15s, box-shadow .15s, border-color .15s; }
.p80-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,20,24,.12); border-color: var(--p80-accent); }
.p80-card-img { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--p80-line); }
.p80-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.p80-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p80-card-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p80-accent); }
.p80-card h3 { font-family: var(--p80-body); font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--p80-ink); margin: 0; }
.p80-card-price { margin-top: auto; font-family: var(--p80-display); font-size: 1.35rem; font-weight: 700; color: var(--p80-ink); font-variant-numeric: tabular-nums; }

/* Build path */
.p80-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p80-step { background: var(--p80-surface); border: 1px solid var(--p80-line); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.p80-step-n { font-family: var(--p80-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--p80-accent); font-weight: 700; }
.p80-step p { color: var(--p80-muted); line-height: 1.55; margin: 0; font-size: .96rem; }
.p80-step a { margin-top: auto; color: var(--p80-ink); font-weight: 700; text-decoration: none; }
.p80-step a:hover { color: var(--p80-accent); }

/* Categories */
.p80-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p80-cat { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--p80-paper); border: 1px solid var(--p80-line); border-left: 4px solid var(--p80-accent); text-decoration: none; color: var(--p80-ink); transition: background .15s; }
.p80-cat:hover { background: #fff; }
.p80-cat b { font-family: var(--p80-display); font-size: 1.25rem; font-weight: 700; }
.p80-cat span { font-size: 13px; color: var(--p80-muted); }

/* Intro + guides + FAQ */
.p80-intro h2 { margin-bottom: 12px; }
.p80-intro p { color: var(--p80-text); line-height: 1.65; font-size: 1.04rem; max-width: 68ch; }
.p80-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p80-guide { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 20px; background: var(--p80-paper); border: 1px solid var(--p80-line); text-decoration: none; color: var(--p80-ink); }
.p80-guide span { color: var(--p80-accent); font-weight: 700; }
.homepage-faq .faq-item { border-bottom: 1px solid var(--p80-line); padding: 14px 0; }
.homepage-faq summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; list-style: none; position: relative; padding-right: 28px; color: var(--p80-ink); }
.homepage-faq summary::-webkit-details-marker { display: none; }
.homepage-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--p80-accent); font-weight: 300; }
.homepage-faq details[open] summary::after { content: "–"; }
.homepage-faq .faq-answer { padding-top: 8px; color: var(--p80-muted); line-height: 1.6; }

@media (max-width: 960px) {
  .p80-slide-grid { grid-template-columns: 1fr; padding: 44px 0 24px; }
  .p80-slide-visual { max-width: 520px; }
  .p80-trust-row { grid-template-columns: repeat(2, 1fr); }
  .p80-trust-row > div:nth-child(2) { border-right: 0; }
  .p80-trust-row > div:nth-child(-n+2) { border-bottom: 1px solid var(--p80-line); }
  .p80-grid, .p80-cats { grid-template-columns: repeat(2, 1fr); }
  .p80-steps, .p80-guides { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .p80-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p80-cats { grid-template-columns: 1fr; }
  .p80-ctas .p80-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .p80-slide, .p80-card, .p80-btn { transition: none; }
}
