/* PA Contractor Connection — Print Store.
   Design language: CLASSY · ELEGANT · SOPHISTICATED.
   A premium boutique presentation for a professional advertising company:
   warm white space, refined serif display type, hairline silver rules,
   soft shadows, and the brand's silver-and-orange used with restraint —
   orange is an accent, never a shout. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #26292d;
  --ink-2: #3c4045;
  --paper: #faf8f5;
  --paper-2: #ffffff;
  --muted: #71767c;
  --line: #e5e1da;
  --line-strong: #cfccc4;
  --accent: #c75b10;
  --accent-dark: #a34a0b;
  --accent-soft: #fbf0e4;
  --gold: #c75b10;
  --gold-dark: #a34a0b;
  --gold-soft: #fbf0e4;
  --success: #2e6b45;
  --danger: #a2362c;
  --shadow: 0 14px 34px rgba(38, 41, 45, .07);
  --shadow-lift: 0 22px 44px rgba(38, 41, 45, .10);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---- top utility bar ---- */
.utility {
  background: var(--ink);
  color: #e9e6e0;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 9px; }
.utility a { color: #fff; text-decoration: none; }
.utility-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.utility-links a { color: #cfccc4; }
.utility-links a:hover { color: #fff; }

/* ---- navigation ---- */
.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { height: 46px; width: auto; display: block; flex: none; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.nav-link {
  color: var(--ink-2); text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.nav-link:hover { color: var(--accent-dark); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cart-count {
  position: absolute; top: -9px; right: -13px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 19px; text-align: center;
}

/* ---- page intro / hero ---- */
.page-intro { padding: clamp(52px, 8vw, 92px) 0 clamp(34px, 5vw, 54px); text-align: center; }
.page-intro .wrap { max-width: 860px; }
.eyebrow {
  color: var(--accent-dark);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  margin: 0 0 18px;
}
.page-intro h1, h1.product-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.14; letter-spacing: .005em;
  margin: 0 0 18px; color: var(--ink);
}
.page-intro p { color: var(--muted); font-size: 1.05rem; max-width: 68ch; margin-inline: auto; }
.page-intro .eyebrow { color: var(--accent-dark); }
.page-intro p strong { color: var(--ink-2); font-weight: 600; }
.lede { font-size: 1.08rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--sans); font-size: .86rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: wait; }

/* ---- sections ---- */
.content-section { padding: clamp(44px, 6vw, 76px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 12px;
}
.section-head p { color: var(--muted); margin: 0; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.crumb { font-size: .82rem; letter-spacing: .06em; color: var(--muted); margin: 26px 0 6px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent-dark); }

/* ---- store home ---- */
.store-search { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin: 0 auto; text-align: left; }
.store-search label { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.store-search input {
  width: 100%; padding: 15px 20px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--paper-2); font: inherit; color: var(--ink);
}
.store-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(199, 91, 16, .12); }
.summary-line {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; color: var(--ink-2);
}
.tax-note {
  margin-top: 18px; padding: 16px 18px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; color: var(--ink-2); font-size: .92rem;
}
.tax-note span { font-weight: 400; color: var(--muted); }

/* ---- cards: products + categories ---- */
.p-grid, .cat-grid, .kit-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.p-card {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.p-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: #fff; padding: 20px; display: block;
}
.cat-card img { aspect-ratio: 16 / 10; }
.p-body { padding: 6px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.p-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.25; margin: 4px 0 0; }
.p-desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.p-price { font-weight: 600; color: var(--ink); font-size: 1.02rem; margin-top: 8px; }
.p-price::after {
  content: "Configure →"; display: block; margin-top: 5px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark);
}
.p-badge {
  align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  border: 1px solid #f0d9c2; border-radius: 999px; padding: 4px 11px;
}
.p-badge.quote { color: var(--ink-2); background: var(--paper); border-color: var(--line-strong); }
.p-count { color: var(--muted); font-size: .85rem; letter-spacing: .05em; }
.empty-note {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px; text-align: center; color: var(--muted);
}
.empty-note .btn { margin-top: 8px; }

/* ---- steps ---- */
.steps-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--accent);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px;
}
.step-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; margin: 0 0 8px; }
.step-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---- product configurator ---- */
.config-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 30px; }
.config-photo { position: sticky; top: 96px; }
.config-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.product-desc { color: var(--muted); max-width: 62ch; margin: 0 0 8px; }
.quote-lede { color: var(--ink-2); max-width: 62ch; }
.opt-group { margin-top: 30px; }
.opt-group h3, .group-head {
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 13px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.group-head { margin-top: 34px; }
.facet-text { color: var(--muted); margin: 0; }

/* tap bubbles */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip-body {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line-strong);
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: all .16s ease; user-select: none;
}
.chip-body small { font-weight: 600; color: var(--accent-dark); }
.chip:hover .chip-body { border-color: var(--ink-2); }
.chip.selected .chip-body {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 6px 16px rgba(199, 91, 16, .28);
}
.chip.selected .chip-body small { color: #ffe9d6; }
.chip input:focus-visible + .chip-body { outline: 2px solid var(--accent); outline-offset: 2px; }

/* radio rows (artwork choice) */
.radio-rows { display: grid; gap: 10px; }
.radio-row {
  display: flex; gap: 13px; align-items: flex-start; cursor: pointer;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px;
  transition: border-color .16s ease, background .16s ease;
}
.radio-row:hover { border-color: var(--line-strong); }
.radio-row.selected { border-color: var(--accent); background: var(--accent-soft); }
.radio-row input { margin-top: 4px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.radio-row strong { display: block; font-size: .97rem; }
.radio-row span span { color: var(--muted); font-size: .9rem; }

/* quantity + forms */
.qty-input-row { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; }
.unit-price-hint { color: var(--accent-dark); font-weight: 600; padding-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select, input[type="file"] {
  font: inherit; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 15px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(199, 91, 16, .12); }
.form-note { color: var(--muted); font-size: .9rem; }
.file-hint { color: var(--muted); font-size: .88rem; display: block; margin-top: 7px; }
.file-name { color: var(--success); font-weight: 600; font-size: .92rem; margin-top: 8px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.price-table th {
  text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr { cursor: pointer; }
.price-table tbody tr:hover td { background: #fdfbf8; }
.price-table tr.active td { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }

/* sticky price panel */
.price-panel {
  margin-top: 30px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 24px;
}
.pp-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.pp-total { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.pp-detail { color: var(--muted); font-size: .88rem; margin-top: 5px; }
.pp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.pp-actions .btn { flex: 1; min-width: 170px; }

/* quote success banner */
.success-banner {
  display: flex; flex-direction: column; gap: 5px;
  background: #eef5ee; border: 1px solid #cfe0cf; border-left: 3px solid var(--success);
  border-radius: 12px; padding: 17px 20px; margin: 20px 0 6px; color: var(--ink-2);
}
.success-banner strong { color: var(--success); }

/* artwork upload rows (cart) */
.art-upload-row {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 17px; margin-bottom: 11px;
}
.art-upload-row p { margin: 0 0 7px; }
.attached-note { color: var(--success); font-weight: 600; font-size: .92rem; }
.attached-note.warn { color: var(--danger); }

/* cart */
.builder {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px);
}
.cart-table { width: 100%; border-collapse: collapse; background: var(--paper-2); }
.cart-table th {
  text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.cart-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-item-name { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.cart-item-opts { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.cart-item-art { color: var(--ink-2); font-size: .9rem; margin: 3px 0 0; }
.cart-remove {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--danger); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px;
}
.cart-edit { font-size: .88rem; font-weight: 600; }
.cart-total-row td { font-size: 1.12rem; font-weight: 600; border-bottom: none; }
.tax-included-line { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  background: var(--ink); color: #fff; border-radius: 999px;
  padding: 13px 24px; font-size: .93rem; box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; max-width: calc(100vw - 36px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #ffc79a; }

/* footer */
footer { background: var(--ink); color: #d8d4cc; margin-top: 0; }
footer .wrap { padding-block: 34px; display: flex; flex-direction: column; gap: 13px; font-size: .92rem; }
footer a { color: #fff; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #b9b4a9; text-decoration: none; font-size: .85rem; letter-spacing: .05em; }
.footer-nav a:hover { color: #fff; }
.footer-area { display: flex; gap: 9px; flex-wrap: wrap; color: #b9b4a9; }
.footer-area strong { color: #fff; font-weight: 600; }

/* ---- phone ---- */
@media (max-width: 900px) {
  .config-wrap { grid-template-columns: 1fr; }
  .config-photo { position: static; }
  .price-panel { position: sticky; bottom: 12px; z-index: 40; }
  .nav-links { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 13px 20px; margin-top: 4px; }
  .brand-logo { height: 42px; }
}
@media (max-width: 640px) {
  .brand-logo { height: 38px; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: .76rem; }
  .p-grid, .cat-grid, .kit-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .p-card img { padding: 12px; }
  .p-body { padding: 4px 15px 16px; }
  .p-body h3 { font-size: 1.05rem; }
  .p-desc { font-size: .85rem; }
  .form-grid { grid-template-columns: 1fr; }
  .utility .wrap { justify-content: center; text-align: center; }
  .pp-row { flex-direction: column; gap: 6px; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
}
