/* Site B compact purchase sheet: overview, pack rows, and a single checkout bar. */
#quickView .modal__panel { width: min(640px, 100%); border-radius: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; scrollbar-width: thin; }
#quickView .modal__close { top: 12px; right: 12px; width: 30px; height: 30px; background: #fff; }
#quickView .modal__close svg { width: 16px; height: 16px; }
#qvBody { display: block; }
.qv-overview { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 24px; padding: 24px 24px 20px; background: #f6f2fb; align-items: center; }
.qv-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.qv-photo img { width: 168px; height: 168px; object-fit: contain; mix-blend-mode: multiply; }
.qv-photo small { color: var(--text-subtle); font-size: 10px; text-align: center; }
.qv-heading { min-width: 0; padding-right: 12px; }
.qv-category { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.qv-heading h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; color: var(--text-strong); padding-right: 8px; }
.qv-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.qv-meta .pcard__rating { font-size: 11px; font-family: var(--font-sans); }
.qv-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ok-text); }
.qv-stock::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.qv-stock.is-out { color: var(--bad-text); }
.qv-price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.qv-price strong { font-size: 26px; line-height: 1.2; color: var(--text-strong); font-weight: 750; letter-spacing: -.035em; }
.qv-price s { font-size: 12px; color: var(--text-subtle); }
.qv-price > span { color: var(--accent-text); font-size: 11px; font-weight: 600; }
.qv-selected { margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.qv-rate { font-size: 10px; color: var(--text-subtle); margin-top: 3px; }
.qv-content { padding: 20px 24px 16px; }
.qv-packs { border: 0; margin: 0; padding: 0; min-width: 0; }
.qv-packs legend { font-size: 13px; font-weight: 650; color: var(--text-strong); padding: 0; margin-bottom: 10px; }
.qv-pack-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.qv-pack { display: grid; grid-template-columns: 14px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px; min-width: 0; text-align: left; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.qv-pack[aria-pressed='true'] { border-color: var(--accent); background: #f7f3fd; }
.qv-pack:hover { border-color: var(--accent-border); }
.qv-radio { width: 13px; height: 13px; border: 1px solid var(--border-strong); border-radius: 50%; }
.qv-pack[aria-pressed='true'] .qv-radio { border: 4px solid var(--accent); }
.qv-pack-label, .qv-pack-cost { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qv-pack-label strong, .qv-pack-cost b { color: var(--text-strong); font-size: 12px; font-weight: 650; }
.qv-pack-label small, .qv-pack-cost small { font-size: 9px; line-height: 1.3; color: var(--text-subtle); }
.qv-pack-cost { text-align: right; }
.qv-pack:disabled { opacity: .45; cursor: not-allowed; }
.qv-quantity { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 16px; }
.qv-quantity strong { display: block; font-size: 13px; color: var(--text-strong); }
.qv-quantity small { display: block; font-size: 11px; color: var(--text-subtle); margin-top: 2px; }
.qv-quantity .product-count__stepper { border-radius: 7px; padding: 2px; }
.qv-quantity .product-count__stepper button { width: 28px; height: 28px; border-radius: 5px; }
.qv-details { border-block: 1px solid var(--border); padding-block: 12px; }
.qv-details summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; color: var(--text-strong); }
.qv-details summary::-webkit-details-marker { display: none; }
.qv-details[open] summary svg { transform: rotate(180deg); }
.qv-details p { margin-top: 10px; font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.qv-details .specs { gap: 12px; margin-top: 12px; }
.qv-delivery { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; color: var(--text-muted); }
.qv-delivery svg { color: var(--accent); }
.qv-footer { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 16px 24px; background: #fff; border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; z-index: 2; }
.qv-total { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qv-total small { font-size: 10px; color: var(--text-subtle); }
.qv-total strong { font-size: 22px; line-height: 1.25; color: var(--text-strong); font-weight: 750; }
.qv-add { flex: 0 1 240px; min-height: 44px; font-size: 13px; }
.qv-save { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); color: var(--accent); flex: none; }
.qv-save[aria-pressed='true'] { background: var(--accent-soft); }
/* The category rail follows the section's left edge on every screen. */
.catbar { margin-top: 24px; }
.aisle-head { margin-bottom: 12px; }
.catbar .rail { display: flex; justify-content: flex-start; gap: 12px; padding: 0; }
.catbar .chip { flex: 0 0 80px; min-width: 80px; }
.catbar + #catalog + .sec { margin-top: 24px; }
@media (max-width: 599px) {
  #quickView { padding: 8px; }
  #quickView .modal__panel { max-height: calc(100dvh - 16px); border-radius: 12px; }
  .qv-overview { grid-template-columns: 116px minmax(0,1fr); gap: 12px; padding: 20px 16px 16px; }
  .qv-photo img { width: 116px; height: 148px; object-fit: cover; }
  .qv-photo img[src*='oil-product'] { object-fit: cover; transform: scale(1.4); }
  .qv-photo { overflow: hidden; }
  .qv-heading { padding-right: 0; }
  .qv-category { font-size: 10px; margin-bottom: 6px; padding-right: 22px; }
  .qv-heading h2 { font-size: 20px; padding-right: 0; }
  .qv-meta { gap: 8px; margin-top: 8px; }
  .qv-price { gap: 6px; margin-top: 10px; }
  .qv-price strong { font-size: 24px; }
  .qv-price > span { font-size: 10px; }
  .qv-selected { font-size: 10px; }
  .qv-rate { font-size: 9px; }
  .qv-photo small { font-size: 9px; }
  .qv-content { padding: 16px; }
  .qv-pack-grid { grid-template-columns: 1fr; gap: 6px; }
  .qv-pack { padding: 9px 10px; grid-template-columns: 14px minmax(0,1fr) auto; }
  .qv-pack-label { flex-direction: row; gap: 6px; align-items: baseline; }
  .qv-pack-label small { font-size: 10px; }
  .qv-pack-cost { gap: 2px; }
  .qv-quantity { padding-block: 12px; }
  .qv-footer { padding: 12px 16px; gap: 8px; border-radius: 0 0 12px 12px; }
  .qv-total { flex: 0 0 64px; }
  .qv-total strong { font-size: 20px; }
  .qv-add { flex: 1; min-width: 0; padding-inline: 10px; font-size: 12px; gap: 6px; }
  .qv-save { width: 40px; height: 44px; }
  .catbar .rail { gap: 6px; }
  .catbar .chip { flex-basis: 68px; min-width: 68px; }
}
@media (max-width: 359px) {
  .qv-overview { grid-template-columns: 96px minmax(0,1fr); gap: 10px; }
  .qv-photo img { width: 96px; height: 132px; }
  .qv-heading h2 { font-size: 18px; }
  .qv-pack-label { flex-direction: column; gap: 2px; }
  .qv-total { flex-basis: 52px; }
}
@media (max-width: 599px) {
  .qv-photo img { object-fit: contain; }
  .qv-photo img[src*='colgate-product'] { object-fit: cover; }
}
/* Desktop categories become a full-width navigation strip. */
@media (min-width: 900px) {
  .catbar { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 24px; padding-block: 20px; border-block: 1px solid var(--border); }
  .aisle-head { margin: 0; }
  .aisle-title { font-size: 15px; }
  .aisle-hint { max-width: 24ch; font-size: 11px; line-height: 1.5; }
  .catbar .rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .catbar .chip { flex: none; min-width: 0; min-height: 52px; flex-direction: row; justify-content: center; gap: 8px; padding: 10px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; border-radius: 8px; }
  .catbar .chip__icon { width: 26px; height: 26px; background: transparent; border-radius: 6px; }
  .catbar .chip__icon svg { width: 19px; height: 19px; }
  .catbar .chip__n { display: none; }
  .catbar .chip[aria-selected='true'] { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-border); }
  .catbar .chip[aria-selected='true'] .chip__icon { background: transparent; color: var(--accent); }
  .catbar .chip:hover { background: #f4f0f9; }
  .catbar .chip:hover .chip__icon, .catbar .chip[aria-selected='true']:hover .chip__icon { background: transparent; }
}
@media (min-width: 900px) and (max-width: 1150px) {
  .catbar { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; }
  .catbar .rail { gap: 4px; }
  .catbar .chip { font-size: 11px; gap: 5px; padding-inline: 4px; }
  .catbar .chip__icon { width: 22px; }
}
