/* Nova Plus — Site Updates */

/* ---------- Products dropdown (desktop "sized" mega menu) ---------- */
.nova-products-parent > .wd-dropdown-menu .wd-sub-menu { gap: 10px 36px; }
.nova-products-parent .nova-vmenu-cat > a { color: #1B2450 !important; font-weight: 800 !important; font-size: 14px; text-transform: none; }
.nova-products-parent .nova-vmenu-product > a { font-size: 14px; line-height: 1.45; padding-top: 5px; padding-bottom: 5px; color: #4A5170; }
.nova-products-parent .nova-vmenu-product > a:hover { color: #425CC7; }
.nova-products-parent .nova-vmenu-all > a { font-size: 13px; font-weight: 700; color: #7E57C5 !important; }
/* Mobile side menu */
.mobile-nav .nova-vmenu-cat > a, .wd-nav-mobile .nova-vmenu-cat > a { font-weight: 700; }
.wd-nav-mobile .nova-vmenu-product > a { font-size: 14px; }
.wd-nav-mobile .nova-vmenu-all > a { color: #7E57C5; font-weight: 700; font-size: 13px; }

/* ---------- Lead modal ---------- */
.nova-lead[hidden] { display: none !important; }
.nova-lead { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.nova-lead-backdrop { position: absolute; inset: 0; background: rgba(17, 23, 55, .62); backdrop-filter: blur(2px); }
.nova-lead-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 18px; padding: 30px 28px 24px; box-shadow: 0 30px 80px rgba(17, 23, 55, .35); }
.nova-lead-x { position: absolute; top: 10px; inset-inline-end: 12px; width: 36px; height: 36px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: #F1F3FA; color: #1B2450; font-size: 22px; line-height: 36px; cursor: pointer; }
.nova-lead-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7E57C5; }
.nova-lead-box h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: #1B2450; }
.nova-lead-sub { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #5B6280; }
.nova-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nova-lead-grid label { display: block; margin: 0; }
.nova-lead-grid label span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #1B2450; }
.nova-lead-grid input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #D9DEEE; border-radius: 10px; background: #fff; font-size: 15px; }
.nova-lead-grid input:focus { border-color: #425CC7; box-shadow: 0 0 0 3px rgba(66, 92, 199, .15); outline: 0; }
.nova-lead-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nova-lead-err { margin: 12px 0 0; padding: 9px 12px; border-radius: 8px; background: #FDECEC; color: #B42318; font-size: 13.5px; }
.nova-lead-btn { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 16px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #425CC7, #7E57C5); color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none !important; cursor: pointer; }
.nova-lead-btn[disabled] { opacity: .6; cursor: wait; }
.nova-lead-privacy { margin: 10px 0 0; font-size: 12px; color: #7A809B; text-align: center; }
.nova-lead-privacy a { color: #425CC7; text-decoration: underline; }
.nova-lead-ok { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 12px; border-radius: 50%; background: #E8F7EE; color: #16A34A; font-size: 28px; font-weight: 800; }
html.nova-lead-open-html { overflow: hidden; }
.nova-doc-gated.is-loading { opacity: .6; pointer-events: none; }
@media (max-width: 575px) {
	.nova-lead { align-items: flex-end; padding: 0; }
	.nova-lead-box { max-width: none; border-radius: 18px 18px 0 0; padding: 26px 18px 20px; max-height: 92vh; }
	.nova-lead-grid { grid-template-columns: 1fr; }
}

/* ---------- Certificates ---------- */
.nova-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; margin: 10px 0 30px; }
.nova-cert { margin: 0; padding: 14px; border: 1px solid #E4E8F4; border-radius: 16px; background: #fff; text-align: center; transition: box-shadow .25s, transform .25s; }
.nova-cert:hover { box-shadow: 0 14px 36px rgba(27, 36, 80, .12); transform: translateY(-3px); }
.nova-cert-img { display: block; }
.nova-cert img { width: 100%; height: auto; aspect-ratio: 1000 / 1414; object-fit: contain; border-radius: 6px; background: #F6F7FB; }
.nova-cert-logo img { aspect-ratio: 1000 / 1414; object-fit: contain; padding: 30%; }
.nova-cert figcaption { margin-top: 12px; }
.nova-cert figcaption strong { display: block; font-size: 16px; color: #1B2450; }
.nova-cert figcaption span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: #5B6280; }
.nova-certs-strip { grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; }
.nova-certs-strip .nova-cert { padding: 10px; }
.nova-certs-strip .nova-cert img { aspect-ratio: 3 / 4; }
.nova-certs-strip .nova-cert-logo img { padding: 22%; }
@media (max-width: 767px) {
	.nova-certs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.nova-certs-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Social ---------- */
.nova-social { display: flex; flex-wrap: wrap; gap: 8px; }
.nova-social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: inherit; font-size: 13px; text-decoration: none; }
.nova-social a:hover { background: rgba(255, 255, 255, .2); }
.nova-social span { direction: ltr; }

/* 1.0.1 — mobile side menu: single "Menu" panel (the Categories tab was empty) */
.mobile-nav .wd-nav-mob-tab { display: none !important; }
.mobile-nav .mobile-categories-menu { display: none !important; }
.mobile-nav .mobile-pages-menu { display: block !important; }
/* Sidebar toggle has nothing to open on code-built pages */
body.page:not(.woocommerce-page) .wd-sidebar-opener, body.nova-home .wd-sidebar-opener { display: none !important; }
.nova-lead .nova-lead-x { position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important; width: 36px !important; height: 36px !important; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; background: #F1F3FA !important; color: #1B2450 !important; font-size: 22px !important; line-height: 36px !important; box-shadow: none !important; }
.rtl .nova-lead .nova-lead-x { right: auto !important; left: 12px !important; }
.nova-lead .nova-lead-btn { text-transform: none !important; letter-spacing: 0 !important; }

/* Home certificates band (1.0.3) */
.nova-certs-sec { padding: 70px 0; background: #F6F7FC; }
.nova-certs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.nova-certs-head h2 { margin: 6px 0 0; }
.nova-certs-more { font-weight: 700; color: #425CC7; white-space: nowrap; }
@media (max-width: 767px) { .nova-certs-sec { padding: 48px 0; } .nova-certs-head { flex-direction: column; align-items: flex-start; } }
