/* ==========================================================================
   Pages: Request a Part, Contact, content pages, Brands A–Z, 404.
   ========================================================================== */

/* ---------- Request a Part ---------- */

.vz-rq__hero { padding: 16px 0 clamp(28px, 4vw, 40px); background: var(--surface); border-bottom: 1px solid var(--line); }
.vz-rq__ticks { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; font-weight: 500; }
.vz-rq__ticks li { display: flex; align-items: center; gap: 6px; }
.vz-rq__ticks .vz-icon { color: var(--ok); }

.vz-rq { background: var(--white); }
.vz-rq__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: clamp(24px, 4vw, 40px);
    padding-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 1000px) {
    .vz-rq__grid { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: 32px; }
    .vz-rq__side { position: sticky; top: 24px; }
}
.vz-rq__form, .vz-rq__done { background: var(--white); }
.vz-rq__group { margin-top: 24px; }
.vz-rq__group .vz-formgrid { margin-top: 12px; }
.vz-rq__submit { padding-top: 20px; border-top: 1px solid var(--line); }
.vz-rq__summary { margin-top: 20px; padding: 4px 16px; }
.vz-rq__nexttitle { margin: 24px 0 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }

.vz-rq__side { display: flex; flex-direction: column; gap: 16px; }
.vz-rq__box { padding: 20px; }
.vz-rq__box .vz-h3 { margin-bottom: 14px; }
.vz-rq__box--faq { padding: 4px 0 0; }
.vz-rq__box--faq .vz-faq__q { font-size: 15px; min-height: 52px; }
.vz-rq__how { display: flex; flex-direction: column; gap: 14px; }
.vz-rq__how li { display: flex; gap: 12px; align-items: flex-start; }

/* drop zone */
.vz-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border-radius: var(--r-inner);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--ring-soft);
    text-align: center;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}
.vz-drop:hover { background: var(--hover); }
.vz-drop.is-over { background: rgba(10, 10, 10, .05); box-shadow: inset 0 0 0 2px var(--accent); }
.vz-drop:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.vz-drop__title { font-size: 14.5px; font-weight: 500; }
.vz-drop__browse { color: var(--accent-text); font-weight: 600; text-decoration: underline; }
.vz-drop__input { margin-top: 6px; font-size: 13px; max-width: 100%; }
.vz-drop.is-js .vz-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.vz-filechips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.vz-filechips[hidden] { display: none; }
.vz-filechip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    height: 44px;
    padding: 0 4px 0 12px;
    border-radius: var(--r-pill);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ring-soft);
    font-size: 13.5px;
}
.vz-filechip .vz-icon { color: var(--accent-text); }
.vz-filechip__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.vz-filechip__size { font-size: 12px; color: var(--muted); }
.vz-filechip__x { width: 36px; height: 36px; border: 0; border-radius: var(--r-pill); background: transparent; display: grid; place-items: center; color: var(--muted); }
.vz-filechip__x:hover { background: var(--hover); color: var(--ink); }
.vz-field__err[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .vz-drop { transition: none; }
}

/* ---------- content pages ---------- */

.vz-article { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1000px) {
    .vz-article.has-toc { grid-template-columns: minmax(0, 720px) 240px; justify-content: space-between; }
    .vz-toc { position: sticky; top: 24px; order: 2; }
}
@media (max-width: 999px) {
    .vz-toc { display: none; }
}
.vz-article__body { max-width: 720px; min-width: 0; }
.vz-toc__title { font-family: var(--font-head); font-weight: 600; font-size: 13px; margin-bottom: 8px; padding-left: 12px; }
.vz-toc ul { display: flex; flex-direction: column; gap: 2px; }
.vz-toc a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: var(--r-item);
    font-size: 14px;
    color: var(--ink);
    line-height: 1.35;
}
.vz-toc a:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.vz-toc a[aria-current] { background: var(--accent-tint); color: var(--accent-text); font-weight: 600; }

.vz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
@media (min-width: 640px) {
    .vz-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.vz-stat { border-radius: var(--r-tile); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; }
.vz-stat__v { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.vz-stat__k { font-size: 13px; color: var(--muted); }

/* editor content and placeholder share this */
.vz-content { font-size: 16px; color: var(--text-2); line-height: 1.65; }
.vz-content > * + * { margin-top: 14px; }
.vz-content h2 {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: var(--ink);
    scroll-margin-top: 16px;
}
.vz-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.vz-content h3 { margin-top: 24px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.vz-content ul, .vz-content ol { padding-left: 22px; list-style: revert; }
.vz-content li + li { margin-top: 6px; }
.vz-content ul.is-style-ticks { padding-left: 0; list-style: none; }
.vz-content ul.is-style-ticks li { position: relative; padding-left: 26px; }
.vz-content ul.is-style-ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--ok);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vz-content .vz-kvlist { border-radius: var(--r-inner); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); padding: 4px 16px; }
.vz-content .vz-note-p { border-radius: var(--r-ctl); background: var(--info-bg); color: var(--info-text); padding: 12px 14px; font-size: 14.5px; }
.vz-content a { text-decoration: underline; }
.vz-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.vz-content th, .vz-content td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }

.vz-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.vz-photo {
    aspect-ratio: 4 / 3;
    border-radius: var(--r-inner);
    background: repeating-linear-gradient(135deg, #EFEFEF 0 8px, var(--surface) 8px 16px);
    box-shadow: inset 0 0 0 1px var(--line);
    display: grid;
    place-items: center;
    padding: 8px;
}
.vz-photo span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: var(--white); border-radius: var(--r-pill); padding: 3px 10px; box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
/* a real photo (admin screen / SHAPE Edit) in the same frame */
.vz-photo--img { margin: 0; padding: 0; background: none; overflow: hidden; display: block; }
.vz-photo--img img, .vz-photo--img .shape-edit-image-slot { display: block; width: 100%; height: 100%; object-fit: cover; padding: 0; border-radius: 0; background: none; box-shadow: none; }

/* paragraphs from a text field (inc/inline-edit.php vz_rich) */
.vz-rich > p { margin: 0; }
.vz-rich > * + * { margin-top: 10px; }
.vz-content .vz-rich > * + * { margin-top: 14px; }

/* jump pills (condition guide, FAQ topics) */
.vz-jump { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.vz-jump .vz-chip { height: 40px; }
.vz-jump .vz-chip .vz-pill { background: transparent; padding: 0; }

/* condition guide */
.vz-conds { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.vz-cond { scroll-margin-top: 16px; background: var(--white); }
.vz-cond__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.vz-cond__title { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.3; }
.vz-cond__body { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) {
    .vz-cond__body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}
.vz-cond__text { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-2); }
.vz-cond__label { margin-top: 8px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); }
.vz-cond__label:first-child { margin-top: 0; }
.vz-cond__browse { margin-top: 8px; }

/* FAQ page */
.vz-faqgroups { margin-top: 24px; display: flex; flex-direction: column; gap: 28px; max-width: 880px; }
.vz-faqgroup { scroll-margin-top: 16px; }
.vz-faqgroup__title { margin-bottom: 12px; font-family: var(--font-head); font-weight: 600; font-size: 20px; }

/* Contact */
.vz-contact { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1000px) {
    .vz-contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.vz-contact .vz-glass { background: var(--white); }
.vz-contact__side { display: flex; flex-direction: column; gap: 16px; }
.vz-channels { overflow: hidden; }
.vz-channels li + li { border-top: 1px solid var(--line); }
.vz-channel { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; color: var(--ink); text-decoration: none; }
.vz-channel:hover { background: var(--hover-soft); color: var(--ink); text-decoration: none; }
.vz-channel > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.vz-channel__k { font-size: 13px; color: var(--muted); }
.vz-channel__v { font-weight: 600; overflow-wrap: anywhere; }
.vz-hours { padding: 20px; }
.vz-hours .vz-kvlist { margin: 8px 0 10px; }

/* Brands A–Z */
.vz-az { margin-top: 24px; }
.vz-az__bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 10px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.vz-az__search { width: min(100%, 280px); height: 44px; margin: 0; }
.vz-az__letters { display: flex; flex-wrap: wrap; gap: 2px; }
.vz-az__letters a, .vz-az__letters span {
    min-width: 32px;
    height: 36px;
    border-radius: var(--r-item);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
}
.vz-az__letters a { color: var(--ink); }
.vz-az__letters a:hover { background: var(--hover); text-decoration: none; }
.vz-az__letters span { color: var(--ring-input); }
.vz-az__none { margin-top: 20px; font-size: 15px; color: var(--muted); }
.vz-az__none[hidden] { display: none; }
.vz-az__group { padding-top: 24px; scroll-margin-top: 72px; }
.vz-az__group[hidden] { display: none; }
.vz-az__letter { font-family: var(--font-mono); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.vz-az__list { columns: 1; column-gap: 24px; }
@media (min-width: 560px) { .vz-az__list { columns: 2; } }
@media (min-width: 900px) { .vz-az__list { columns: 3; } }
@media (min-width: 1200px) { .vz-az__list { columns: 4; } }
.vz-az__list li { break-inside: avoid; }
.vz-az__list li[hidden] { display: none; }
.vz-az__brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--ink); font-weight: 500; }
.vz-az__brand:hover { background: var(--hover); color: var(--ink); text-decoration: none; }

/* 404 */
.vz-404 { padding-top: clamp(40px, 7vw, 88px); text-align: center; }
.vz-404__chip { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--muted); }
.vz-404__h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.vz-404__lead { margin-left: auto; margin-right: auto; }
.vz-bigsearch {
    margin: 28px auto 0;
    max-width: 720px;
    height: 64px;
    border-radius: var(--r-pill);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--ring-input), 0 18px 40px -24px rgba(10, 10, 10, .3);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 22px;
}
.vz-bigsearch:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 18px 40px -24px rgba(10, 10, 10, .3); }
.vz-bigsearch__icon { color: var(--muted); }
.vz-bigsearch__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-family: var(--font-mono); font-size: 17px; color: var(--ink); }
.vz-bigsearch .vz-btn { height: 48px; }
.vz-404__links { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font-size: 15px; color: var(--muted); }
.vz-404__cats { margin-top: clamp(40px, 6vw, 64px); text-align: left; }
.vz-404__cats .vz-h3 { margin-bottom: 12px; }
.vz-cattiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .vz-cattiles--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vz-cattiles--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 519px) {
    .vz-bigsearch { height: 56px; padding-left: 16px; }
    .vz-bigsearch__input { font-size: 15px; }
    .vz-bigsearch .vz-btn { height: 44px; padding: 0 16px; }
}
