/* Storefront quick-add — button on each shop card + the shared modal. */

/* Quick-add button on shop-loop cards */
ul.products li.product { position: relative; }
ul.products li.product .par-qa-btn {
  display: block; width: 100%; margin-top: 10px; position: relative; z-index: 3;
  border: 1px solid var(--hairline, #2a2414); background: transparent; color: var(--bone, #f2eee3);
  font: inherit; font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 12px; border-radius: 10px; cursor: pointer; transition: .15s;
}
ul.products li.product .par-qa-btn:hover {
  background: var(--gold, #c9a24b); color: var(--obsidian, #14110a); border-color: var(--gold, #c9a24b);
}

/* Modal */
.par-qa { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  background: rgba(8, 6, 3, .82); backdrop-filter: blur(4px); padding: 24px; }
.par-qa.show { display: flex; }
.par-qa-box { display: flex; gap: 26px; max-width: 880px; width: 100%; background: var(--bg-elev, #1c1810);
  border: 1px solid var(--hairline, #2a2414); border-radius: 18px; padding: 22px; position: relative; }
.par-qa-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(242, 238, 227, .25); background: transparent; color: #f2eee3; font-size: 24px; line-height: 1;
  cursor: pointer; z-index: 2; }
.par-qa-close:hover { border-color: var(--gold, #c9a24b); color: var(--gold, #c9a24b); }
.par-qa-media { flex: 1 1 50%; background: #fff; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; padding: 16px; min-height: 360px; }
.par-qa-media img { max-width: 100%; max-height: 62vh; object-fit: contain; }
.par-qa-info { flex: 1 1 46%; display: flex; flex-direction: column; text-align: left; color: var(--bone, #f2eee3); }
.par-qa-name { font-family: var(--font-display, serif); font-weight: 600; font-size: 23px; line-height: 1.2; margin-bottom: 8px; padding-right: 36px; }
.par-qa-price { font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.par-qa-rlbl { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-muted, #a89e89); margin: 12px 0 7px; }
.par-qa-row { display: flex; flex-wrap: wrap; gap: 8px; }
.par-qa .cpill { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 11.5px; font-weight: 600;
  border: 1px solid #3a3118; background: transparent; color: var(--bone, #f2eee3); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: .15s; }
.par-qa .cpill:hover { border-color: var(--gold, #c9a24b); }
.par-qa .cpill.sel { border-color: var(--gold, #c9a24b); background: rgba(201, 162, 75, .14); box-shadow: 0 0 0 1px var(--gold, #c9a24b); }
/* Double ring (light outer + dark inner) so the dot stays visible on ANY garment
   colour against the dark modal — black/navy no longer disappear, white/cream get
   a defined edge. */
.par-qa .cpill .sw { width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #9a9a9a, #3a3a3a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .45); }
.par-qa .pill { font: inherit; font-size: 11.5px; font-weight: 600; border: 1px solid #3a3118; background: transparent;
  color: var(--bone, #f2eee3); padding: 7px 12px; border-radius: 8px; cursor: pointer; transition: .15s; min-width: 42px; text-align: center; }
.par-qa .pill:hover { border-color: var(--gold, #c9a24b); }
.par-qa .pill.sel { background: var(--gold, #c9a24b); color: #1a1408; border-color: var(--gold, #c9a24b); }
.par-qa-add { margin-top: 18px; width: 100%; border: 0; border-radius: 11px; background: var(--gold, #c9a24b); color: #191307;
  font: inherit; font-weight: 800; font-size: 15px; padding: 15px; cursor: pointer; transition: .15s; }
.par-qa-add:hover { filter: brightness(1.06); }
.par-qa-add.added { background: #2a3a22; color: #9fe08a; }
.par-qa-add.err { background: #3a2420; color: #f0b9ad; }
.par-qa-view { display: inline-block; margin-top: 12px; color: var(--fg-muted, #a89e89); font-size: 13px; text-decoration: none; }
.par-qa-view:hover { color: var(--gold, #c9a24b); }
@media (max-width: 680px) {
  .par-qa-box { flex-direction: column; gap: 16px; max-width: 94vw; max-height: 90vh; overflow: auto; }
  .par-qa-media { min-height: 240px; }
}

/* Mobile a11y: 44px tap targets on the quick-add pills (2026-06-24 audit). */
@media (max-width: 768px) {
  .par-qa .pill, .par-qa .cpill { min-height: 44px; }
}
