/* =========================================================
   VigoAsia — WordPress additions (status badges, empty states, WP core classes)
   ========================================================= */
.va-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.va-status { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.va-status--hold { background: #f59e0b; }
.va-status--sold { background: #dc2626; }
.stock-item__media, .gallery__main { position: relative; }

.va-empty { padding: 40px 20px; text-align: center; }
.va-empty i { font-size: 40px; color: var(--c-muted, #94a3b8); margin-bottom: 10px; }
.va-empty h2 { font-size: 18px; margin: 6px 0; }
.va-empty p { color: var(--c-muted, #64748b); margin: 0 0 16px; }

.va-loading { width: 100%; padding: 30px 0; text-align: center; color: var(--c-muted, #64748b); }

/* Generic WordPress page / post content */
.va-content { padding: 24px 0 40px; }
.va-content .entry-title { font-size: 26px; margin: 0 0 16px; }
.va-content .entry-content { line-height: 1.75; }
.va-content .entry-content img { max-width: 100%; height: auto; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 0 auto 12px; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--c-muted, #64748b); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.va-404 { padding: 60px 0; text-align: center; }
.va-404 .va-404__code { font-size: 64px; font-weight: 800; color: var(--c-navy, #1f1f1f); line-height: 1; }

/* =========================================================
   Form Builder forms — [va_form id="…"]
   ========================================================= */
.va-cform { --cf: #b91c1c; max-width: 860px; margin: 0 auto 28px; }
.va-cform--boxed { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); position: relative; overflow: hidden; }
.va-cform--boxed::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--cf); }
.va-cform__title { font-size: 22px; margin: 0 0 6px; }
.va-cform__intro { color: var(--c-muted, #64748b); font-size: 14px; margin-bottom: 18px; }
.va-cform__intro p:last-child { margin-bottom: 0; }
.va-cform__grid { display: flex; flex-wrap: wrap; gap: 0 16px; }
.va-cform__grid > * { min-width: 0; }
.va-w-full { flex: 1 1 100%; }
.va-w-half { flex: 1 1 calc(50% - 8px); max-width: calc(50% - 8px); }
.va-w-third { flex: 1 1 calc(33.333% - 11px); max-width: calc(33.333% - 11px); }
.va-cform .form-control:focus, .va-cform .form-select:focus { border-color: var(--cf); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cf) 18%, transparent); }
.va-cform__help { display: block; font-size: 12px; color: var(--c-muted, #64748b); margin-top: 5px; }
.va-cform .field-error { display: block; color: var(--c-red, #dc2626); font-size: 12px; margin-top: 4px; min-height: 0; }
.va-cform .field-error:empty { display: none; }
.va-cform__heading { margin: 6px 0 14px; }
.va-cform__heading h3 { font-size: 17px; margin: 0 0 4px; }
.va-cform__heading div { color: var(--c-muted, #64748b); font-size: 13.5px; }
.va-cform__heading p { margin: 0; }
.va-cform__divider { flex: 1 1 100%; border: 0; border-top: 1px dashed #e2e8f0; margin: 6px 0 18px; }
.va-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.va-choice { padding: 9px 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; font-size: 13.5px; transition: border-color .15s, background .15s; }
.va-choice:hover { border-color: var(--cf); }
.va-choice input { accent-color: var(--cf); margin: 0; }
.va-choice:has(input:checked) { border-color: var(--cf); background: color-mix(in srgb, var(--cf) 8%, #fff); font-weight: 600; }
.va-consent { align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.va-consent input { margin-top: 3px; accent-color: var(--cf); }
.va-consent a { color: var(--cf); }
.va-file { height: auto; padding: 9px; background: #f8fafc; border-style: dashed; cursor: pointer; }
.va-file::file-selector-button { border: 0; border-radius: 8px; padding: 7px 12px; margin-right: 10px; background: var(--cf); color: #fff; font-weight: 600; cursor: pointer; }
.va-cform__vehicle { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.va-cform__vehicle img { border-radius: 6px; object-fit: cover; }
.va-cform__vehicle span { display: flex; flex-direction: column; font-size: 13px; }
.va-cform__vehicle b { color: var(--cf); }
.va-cform__submit { margin-top: 6px; min-width: 180px; }
.va-cform .btn-gradient { background: var(--cf); }
.va-cform .btn-gradient:hover { filter: brightness(1.08); }
.va-cform__ok { display: none; text-align: center; padding: 30px 10px; }
.va-cform__ok.is-show { display: block; animation: vaFade .35s ease; }
.va-cform__ok i { font-size: 52px; color: var(--c-green, #16a34a); }
.va-cform__ok h3 { font-size: 20px; margin: 12px 0 6px; }
.va-cform__ok p { color: var(--c-muted, #64748b); font-size: 14px; margin: 0; }
.va-reveal { animation: vaFade .25s ease; }
@keyframes vaFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.va-cform-note { padding: 12px 16px; border-radius: 10px; background: #fef3c7; color: #92400e; font-size: 13.5px; }
.va-preview-bar { position: sticky; top: 0; z-index: 99; display: flex; align-items: center; gap: 12px; justify-content: center; padding: 10px; background: #0f172a; color: #fff; font-size: 13px; }
.va-preview-bar a { color: #67e8f9; }
@media (max-width: 680px) {
	.va-cform--boxed { padding: 20px 16px; border-radius: 12px; }
	.va-w-half, .va-w-third { flex-basis: 100%; max-width: 100%; }
	.va-choice { flex: 1 1 calc(50% - 4px); }
	.va-cform__submit { width: 100%; }
}
.va-consent .req, .va-cform .req { color: var(--c-red, #dc2626); }

/* ===== Customer account: header menu, bell, save search ===== */
.hdr-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .35); }
.m-icons__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.me-panel { width: 290px; padding: 14px; }
.me-panel__user { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.me-panel__user img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.me-panel__user div { min-width: 0; display: flex; flex-direction: column; }
.me-panel__user b { font-size: 14px; color: var(--c-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-panel__user span { font-size: 12px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-panel__links { list-style: none; margin: 8px 0; padding: 0; }
.me-panel__links a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; color: #374151; font-weight: 500; }
.me-panel__links a:hover { background: #eef0fb; color: var(--c-navy); }
.me-panel__links i { width: 16px; text-align: center; color: var(--c-navy); }
.me-panel__links em { margin-left: auto; font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--c-red); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.me-panel__out { display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid var(--c-border); color: var(--c-red); font-weight: 600; font-size: 13.5px; border-radius: 0 0 8px 8px; }
.me-panel__out:hover { background: #fef2f2; }
.bell__panel { width: 360px; padding: 0; overflow: hidden; }
.bell__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.bell__head b { font-size: 15px; color: var(--c-dark); }
.bell__all { color: var(--c-navy); font-size: 12.5px; font-weight: 600; }
.bell__all:hover { text-decoration: underline; }
.bell__panel .ntf-list { max-height: 380px; overflow-y: auto; }
.bell__loading, .bell__empty { padding: 26px; text-align: center; color: var(--c-muted); list-style: none; font-size: 13px; }
.bell__foot { display: block; text-align: center; padding: 12px; font-weight: 600; font-size: 13px; color: var(--c-navy); border-top: 1px solid var(--c-border); background: #fafbff; }
.bell__foot:hover { background: #eef0fb; }
/* notification rows in the bell (My Account has its own in account.css) */
.bell__panel .ntf-list { list-style: none; margin: 0; padding: 0; }
.bell__panel .ntf { display: flex; align-items: center; border-bottom: 1px solid #f0f1f5; position: relative; }
.bell__panel .ntf.is-unread { background: #f5f7ff; }
.bell__panel .ntf.is-unread::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c-navy); }
.bell__panel .ntf__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.bell__panel .ntf__link:hover { background: #fafbff; }
.bell__panel .ntf__media { position: relative; width: 52px; height: 40px; flex: none; }
.bell__panel .ntf__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.bell__panel .ntf__media--icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; margin: 0 6px; }
.bell__panel .ntf__media--navy, .bell__panel .ntf__badge--navy { background: #eef0fb; color: var(--c-navy); }
.bell__panel .ntf__media--green, .bell__panel .ntf__badge--green { background: #dcfce7; color: var(--c-green); }
.bell__panel .ntf__media--red, .bell__panel .ntf__badge--red { background: #fee2e2; color: var(--c-red); }
.bell__panel .ntf__media--violet, .bell__panel .ntf__badge--violet { background: #ede9fe; color: #6d28d9; }
.bell__panel .ntf__media--orange, .bell__panel .ntf__badge--orange { background: #fee2e2; color: var(--c-orange-d); }
.bell__panel .ntf__badge { position: absolute; right: -7px; bottom: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; border: 2px solid #fff; }
.bell__panel .ntf__text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bell__panel .ntf__text b { font-size: 13px; font-weight: 600; color: var(--c-dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bell__panel .ntf__text span { font-size: 12px; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell__panel .ntf__text small { font-size: 11px; color: #9ca3af; }

.page-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.save-search, .notify-btn { white-space: nowrap; }
.save-search.is-saved, .notify-btn.is-saved { border-color: var(--c-green); color: var(--c-green); }
.save-search.is-saved i, .notify-btn.is-saved i { font-weight: 900; }
.save-search.is-busy, .notify-btn.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 767px) {
  .page-head__side { width: 100%; align-items: stretch; }
  .save-search { width: 100%; justify-content: center; }
}
