﻿/* PartMart design v2 (2026-11-28, owner-approved mockup). Scoped to body.v2 so old pages are not affected.
   Type scale: h1 34/800, h2 22/800, h3 17/700, body 15, small 13. Colours: ink #14171C, muted #5A6470,
   header #16191D, primary #0062B1, tint #EAF3FC, border #E1E6EB. */
body.v2 { margin: 0; background: #fff; color: #14171C; font-family: Manrope, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
body.v2 * { box-sizing: border-box; }
/* the old site CSS sets its own fonts on many elements: inherit ours everywhere except icon fonts */
body.v2 *:not(.fa):not([class^="icon"]):not(.glyphicon) { font-family: Manrope, Arial, sans-serif; }
body.v2 a { color: #0062B1; }
body.v2 a:hover { text-decoration: underline; }
body.v2 h1 { font-family: Manrope, Arial, sans-serif; font-size: 34px; line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.01em; color: #14171C; }
body.v2 h2 { font-family: Manrope, Arial, sans-serif; font-size: 22px; line-height: 1.3; margin: 0; font-weight: 800; color: #14171C; }
.v2-w { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.v2-muted { color: #5A6470; }
.v2-sm { font-size: 13px; }
.v2-one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* header */
.v2-top { background: #16191D; color: #fff; position: sticky; top: 0; z-index: 1000; }
.v2-top-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.v2-top-left { justify-self: start; display: flex; align-items: center; gap: 28px; }
.v2-top-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
body.v2 .v2-top-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
body.v2 .v2-top-link:hover { color: #C9D1D9; text-decoration: none; }
.v2-logo { display: flex; }
.v2-logo img { display: block; }
body.v2 .v2-menu { margin-top: 10px; border-radius: 8px; border: 1px solid #E1E6EB; box-shadow: 0 8px 16px rgba(20,23,28,.12); padding: 6px; min-width: 200px; }
body.v2 .v2-menu > li > a { padding: 8px 12px; border-radius: 6px; font-size: 15px; color: #14171C; }
body.v2 .v2-menu > li > a:hover { background: #EAF3FC; color: #14171C; text-decoration: none; }

/* hero / search */
.v2-hero { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; }
.v2-search { display: flex; gap: 8px; margin: 0; }
/* the suggestions plugin wraps the input: let the wrapper and the input take the whole width */
.v2-search > :not(button) { flex: 1; min-width: 0; width: auto !important; }
body.v2 .v2-search input.v2-input { width: 100% !important; max-width: none !important; }
body.v2 .v2-input { flex: 1; min-height: 56px; font-size: 17px; border: 1px solid #CFD6DE; border-radius: 8px; padding: 0 16px; font-family: inherit; color: #14171C; background: #fff; width: auto; height: auto; box-shadow: none; }
body.v2 .v2-input:focus { outline: 2px solid #0062B1; outline-offset: 0; border-color: #0062B1; }
body.v2 .v2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; border: 0; border-radius: 8px; background: #0062B1; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
body.v2 .v2-btn:hover { background: #00508F; }
body.v2 .v2-btn-wide { width: 100%; min-height: 48px; }
.v2-hero-info { display: flex; gap: 32px; font-size: 13px; color: #5A6470; flex-wrap: wrap; }
body.v2 .v2-phone { font-weight: 700; color: #0062B1; text-decoration: none; }
.v2-hero-count { margin-left: auto; }
.v2-hero-count b { color: #14171C; }
@media (min-width: 768px) { body.v2 a.v2-phone { pointer-events: none; cursor: text; } } /* phones are tap-to-call on mobile only */

/* sections */
.v2-sec { padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.v2-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
body.v2 .v2-tile { border: 1px solid #E1E6EB; border-radius: 10px; color: #14171C; text-decoration: none; transition: background .15s, border-color .15s; }
body.v2 .v2-tile:hover { background: #EAF3FC; border-color: #0062B1; text-decoration: none; color: #14171C; }
.v2-top10 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.v2-top10 .v2-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.v2-top10 .v2-tile b { font-size: 15px; }
body.v2 .v2-offer > b { font-size: 15px; font-weight: 700; }
.v2-top10 .v2-tile span { font-size: 13px; color: #5A6470; }
.v2-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.v2-offer { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.v2-offer-img { position: relative; display: flex; align-items: center; justify-content: center; height: 170px; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 4px; }
.v2-offer-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v2-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; background: #E6F1FB; color: #004A87; font-size: 12px; font-weight: 700; }
.v2-price { font-size: 17px; }

/* why restored + before/after */
.v2-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: stretch; }
.v2-why-left { display: flex; flex-direction: column; gap: 14px; }
.v2-why-box { flex: 1; border: 1px solid #E1E6EB; border-radius: 10px; padding: 18px 20px; display: flex; }
.v2-why-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; justify-content: space-evenly; font-size: 16px; }
.v2-why-right { min-width: 0; }
.v2-slide-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; padding-top: 10px; }
body.v2 .compare-slider { margin: 0; }
body.v2 .compare-slider .twentytwenty-container img { max-height: 340px; width: 100%; object-fit: contain; }
body.v2 .compare-slider .slick-dots { position: static; margin-top: 8px; }

/* questions / articles */
.v2-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.v2-qa-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.v2-row { display: flex; align-items: center; gap: 16px; border-top: 1px solid #E1E6EB; padding-top: 10px; }
.v2-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.v2 .v2-arr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 18px; border: 1px solid #CFD6DE; color: #14171C; font-size: 18px; text-decoration: none; }
body.v2 .v2-arr:hover { background: #EAF3FC; border-color: #0062B1; text-decoration: none; }

/* footer */
.v2-main { padding-bottom: 56px; }
.v2-foot { background: #16191D; color: #C9D1D9; }
.v2-foot-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 32px; }
.v2-foot p { margin: 0; font-size: 14px; line-height: 1.6; color: #C9D1D9; }

/* narrow screens: the full mobile layout comes later (owner, 2026-11-28); keep it usable meanwhile */
@media (max-width: 900px) {
    .v2-top10 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-why, .v2-qa, .v2-foot-row { grid-template-columns: 1fr; }
    .v2-hero-count { margin-left: 0; }
    body.v2 h1 { font-size: 26px; }
    .v2-top-row { grid-template-columns: auto auto auto; gap: 8px; }
    .v2-logo img { width: 130px; height: auto; }
}


/* ---------------- search results (2026-11-28) */
.v2-bar { border-bottom: 1px solid #E1E6EB; }
.v2-bar-row { display: flex; gap: 12px; align-items: center; min-height: 76px; }
body.v2 .v2-input-bar { min-height: 46px; font-size: 16px; flex: 1; }
.v2-bar-row > :first-child, .v2-bar-row > .twitter-typeahead { flex: 1; min-width: 0; width: auto !important; }
body.v2 .v2-bar-row input.v2-input { width: 100% !important; }
body.v2 .v2-btn-bar { min-height: 46px; padding: 0 24px; text-decoration: none; }
body.v2 .v2-btn-bar:hover { text-decoration: none; color: #fff; }
.v2-bar-phone { display: flex; flex-direction: column; font-size: 13px; color: #5A6470; line-height: 1.3; white-space: nowrap; }
.v2-results { padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.v2-results-hd { align-items: center; }
.v2-results-links { display: flex; gap: 20px; font-size: 14px; }
body.v2 .v2-link { color: #0062B1; cursor: pointer; }
body.v2 .v2-link:hover { text-decoration: underline; }
body.v2 .v2-link.on { font-weight: 700; }
body.v2 .v2-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; margin: 0; }
body.v2 .v2-table th { text-align: left; font-size: 12px; font-weight: 700; color: #5A6470; padding: 10px 12px; border-bottom: 1px solid #CFD6DE; white-space: nowrap; background: #fff; }
body.v2 .v2-table td { padding: 12px; border-bottom: 1px solid #EEF0F2; vertical-align: middle; border-left: 0; border-right: 0; background: transparent; }
body.v2 .v2-table tbody tr.v2-row-item:hover td { background: #EAF3FC; }
body.v2 .v2-table th.v2-w1 { width: 1%; }
.v2-r { text-align: right; }
.v2-nw { white-space: nowrap; }
.v2-price-cell { font-weight: 800; }
body.v2 .v2-table td a.js-lnkItemDetails { font-size: 15px; }
body.v2 .v2-faq-item span:last-child { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.v2-hf { position: relative; display: inline-block; color: #5A6470; cursor: pointer; }
.v2-hf.on { color: #0062B1; }
.v2-hf select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 14px; }
.v2-tp { display: inline-flex; width: 24px; height: 24px; border-radius: 6px; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: #E6F1FB; color: #004A87; }
.v2-tp.u { background: #EEF0F2; color: #3E4752; }
.v2-ico { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: #5A6470; cursor: pointer; font-size: 15px; text-decoration: none; }
a.v2-ico { color: #0062B1; }
.v2-ico + .v2-ico { margin-left: 4px; }
.v2-sale, .v2-ico.v2-sale { color: #1A7F37; }
.v2-faq-row td { padding-top: 28px !important; border-bottom: 0 !important; }
body.v2 .v2-faq-row h2 { margin-bottom: 14px; }
.v2-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.v2 .v2-faq-item { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #E1E6EB; padding-top: 10px; color: #14171C; text-decoration: none; }
body.v2 .v2-faq-item:hover { color: #0062B1; text-decoration: none; }
.v2-results-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; font-size: 14px; }
.v2-legend { display: flex; gap: 16px; color: #5A6470; font-size: 13px; }
.v2-legend .fa { margin-right: 4px; }
@media (max-width: 900px) {
    .v2-faq-grid { grid-template-columns: 1fr; }
    .v2-bar-phone { display: none; }
    body.v2 .v2-table { font-size: 14px; }
}


/* ---------------- popups: ask / order restoration (#FeedbackModal) and login, all pages (2026-11-28) */
#FeedbackModal .modal-dialog { width: min(560px, calc(100% - 32px)); margin: 60px auto; }
#FeedbackModal .modal-content { border-radius: 12px; border: 0; box-shadow: 0 8px 24px rgba(20,23,28,.25); font-family: Manrope, Arial, sans-serif; }
#FeedbackModal .modal-header { border-bottom: 0; padding: 20px 22px 4px; }
#FeedbackModal .modal-title { font-size: 22px; font-weight: 800; color: #14171C; }
#FeedbackModal .modal-header .close { font-size: 28px; opacity: .6; }
#FeedbackModal .modal-body { padding: 8px 22px 22px; color: #14171C; font-size: 14px; }
#FeedbackModal .modal-body p { color: #5A6470; font-size: 13px; line-height: 1.5; }
#FeedbackModal .nav-tabs { border: 0; display: flex; gap: 8px; margin-bottom: 14px; }
#FeedbackModal .nav-tabs > li { float: none; margin: 0; }
#FeedbackModal .nav-tabs > li > span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid #CFD6DE; background: #fff; color: #14171C; font-weight: 600; cursor: pointer; }
#FeedbackModal .nav-tabs > li.active > span { background: #14171C; border-color: #14171C; color: #fff; }
#FeedbackModal input[type=text], #FeedbackModal input[type=email], #FeedbackModal input[type=tel], #FeedbackModal textarea, #FeedbackModal select {
    width: 100%; min-height: 44px; border: 1px solid #CFD6DE; border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 15px; color: #14171C; background: #fff; margin-bottom: 10px; box-shadow: none; }
#FeedbackModal textarea { min-height: 96px !important; height: auto !important; }
#FeedbackModal input:focus, #FeedbackModal textarea:focus, #FeedbackModal select:focus { outline: 2px solid #0062B1; border-color: #0062B1; }
#FeedbackModal .btn-blue, #FeedbackModal .butrecaptcha { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; border: 0; border-radius: 8px; background: #0062B1; color: #fff; font-weight: 700; font-size: 16px; }
#FeedbackModal .btn-blue:hover, #FeedbackModal .butrecaptcha:hover { background: #00508F; }
#FeedbackModal .file_upload { border: 1px dashed #CFD6DE; border-radius: 8px; min-height: 44px; margin-bottom: 10px; }
#FeedbackModal .text-xs-center { margin-left: 0; }

.loginFormContainer { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(20,23,28,.25); padding: 22px !important; width: min(380px, calc(100vw - 32px)) !important; font-family: Manrope, Arial, sans-serif; }
.loginFormContainer .v2-login-title { font-size: 22px; font-weight: 800; color: #14171C; margin-bottom: 12px; }
.loginFormContainer .v2-label { display: block; font-size: 13px; color: #5A6470; font-weight: 500; margin: 6px 0 4px; }
.loginFormContainer .form-control { min-height: 44px; border: 1px solid #CFD6DE; border-radius: 8px; font-size: 15px; box-shadow: none; margin-bottom: 6px; }
.loginFormContainer .logLink.button { display: flex !important; align-items: center; justify-content: center; width: 100%; min-height: 48px; border-radius: 8px; background: #0062B1 !important; color: #fff !important; font-weight: 700; font-size: 16px; margin: 12px 0 8px; border: 0; cursor: pointer; }
.loginFormContainer .logLink.button:hover { background: #00508F !important; }
.loginFormContainer .forgot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.loginFormContainer .forgot .moreAsk { color: #0062B1; cursor: pointer; }

/* fixes over the old popup CSS (2026-11-28) */
#FeedbackModal .tabber, #FeedbackModal .tabber .nav-tabs, #FeedbackModal .nav-tabs > li, #FeedbackModal .nav-tabs > li.active { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
#FeedbackModal .tab-content, #FeedbackModal .tabIndex { border: 0 !important; padding: 0 !important; background: none !important; }
#FeedbackModal .file_upload { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 0 12px; position: relative; overflow: hidden; }
#FeedbackModal .file_upload .js-fileName { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #5A6470; font-size: 14px; width: auto !important; border: 0 !important; padding: 0 !important; }
#FeedbackModal .file_upload button { min-height: 42px; border: 0; border-left: 1px solid #CFD6DE; background: #F5F6F8; padding: 0 14px; border-radius: 0 8px 8px 0; }
#recaptcha_footer .recaptcha { transform: none !important; }

.loginFormWrapper .loginFormContainer, .loginFormContainer form { height: auto !important; }
.loginFormContainer form { display: flex; flex-direction: column; }
.loginFormContainer .form-control, .loginFormContainer input[type=password], .loginFormContainer input[type=text] { display: block !important; width: 100% !important; float: none !important; position: static !important; margin: 0 0 6px !important; padding: 8px 12px !important; }
.loginFormContainer .v2-label { position: static !important; float: none !important; }
.loginFormContainer .logLink.button { position: static !important; float: none !important; }
.loginFormContainer .forgot { position: static !important; float: none !important; width: 100% !important; margin: 0 !important; }
.loginFormContainer .forgot .forgotInpt { display: flex; align-items: center; gap: 6px; float: none !important; position: static !important; }
.loginFormContainer .forgot .forgotInpt input { position: static !important; margin: 0 !important; }
.loginFormContainer .forgot label { position: static !important; color: #5A6470; font-weight: 500; margin: 0; }
.loginFormContainer .forgot .moreAsk { position: static !important; float: none !important; }
