@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//vi-motors.remedia.md/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

:root {
	--wd-text-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 300;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Kumbh Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Kumbh Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Kumbh Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Kumbh Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(235,175,67);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(56,172,255);
	--btn-accented-bgcolor-hover: rgb(51,157,232);
	--btn-transform: capitalize;
	--wd-form-brd-width: 0px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
.page .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(245,245,245);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


header.whb-header:not(.whb-sticked) .wd-nav > li:not(:hover):not(.current-menu-item) > a {
    color: white !important;
}

/* --- CF7 Specific Overrides --- */
.wpcf7 {
    width:100%;
    margin: 0 auto;
}

.form-group br, .upload-box br{
    display: none !important;
}

.upload-box p, .upload-box{
	height: 100% !important;
}

.form-group p, .upload-grid p, .upload-box, .callout-header p{
    margin: 0 !important;
}

/* Input Fields */
.wpcf7-text, 
.wpcf7-email, 
.wpcf7-tel, 
.wpcf7-number, 
.wpcf7-select,
.wpcf7-textarea{
    width: 100%  important;
    padding: 0px 16px  !important;
    border: 1px solid #E0E0E0  !important;
    border-radius: 6px  !important;
    background-color: #F9F9F9  !important;
    font-size: 1rem  !important;
    font-family: system-ui, -apple-system, sans-serif  !important;
    color: #1A1A1A  !important;
    transition: all 0.2s ease  !important;
    box-sizing: border-box  !important; /* Crucial for CF7 inputs */
}

.wpcf7-textarea{
	padding: 12px 16px  !important;
}

.wpcf7-text:focus, 
.wpcf7-email:focus, 
.wpcf7-tel:focus, 
.wpcf7-number:focus, 
.wpcf7-select:focus
.wpcf7-textarea:focus{
    outline: none;
    border-color: #F5B300;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(245, 179, 0, 0.2);
}

/* Select Arrow Fix */
.wpcf7-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231A1A1A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    cursor: pointer;
}

/* --- Segmented Controls (Radio Buttons) --- */
/* Make the radio button wrapper span full width */
.wpcf7-radio {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
}

/* Force each individual option wrapper to grow equally */
.wpcf7-radio .wpcf7-list-item {
    flex: 1 !important; /* This divides the width perfectly equally */
    display: block !important;
    margin: 0 !important;
}

/* Make the clickable labels fill their item container */
.wpcf7-radio .wpcf7-list-item label {
    display: block !important;
    width: 100% !important;
    text-align: center !important; /* Centers the option text (e.g., "Excellent") */
    box-sizing: border-box !important;
    white-space: nowrap !important; /* Keeps text on a single line */
}

.wpcf7-list-item {
    display: inline-block !important; /* Override CF7 default block display */
    margin: 0 !important;
}

.wpcf7-list-item label {
    margin: 0 !important;
    display: inline-block;
    padding: 10px 16px;
    background-color: #F9F9F9;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1A1A1A;
    transition: all 0.2s ease;
    user-select: none;
    margin-right: 0 !important; /* Reset CF7 margin */
}

.wpcf7-list-item label:hover {
    border-color: #bbb;
    background-color: #eee;
}

/* Hide the actual radio input */
.wpcf7-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* --- Active State Styling (Fixed for Parent Labels) --- */

/* Targets the label when the radio inside it is checked */
.wpcf7-list-item label:has(input[type="radio"]:checked) {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* Optional: Make the text span inside turn white too */
.wpcf7-list-item label:has(input[type="radio"]:checked) .wpcf7-list-item-label {
    color: #fff !important;
}

/* --- Layout & Typography --- */
.cf7-custom-wrapper {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
		padding: 20px 0;
		position: relative;
		top: -90px;
}
.section {
    padding: 20px 40px;
}

.photo-section{
	  border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

fieldset legend{
    padding:0!important;
}

fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

legend {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1A1A1A;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    border-bottom: 2px solid var(--wd-primary-color);
    padding-bottom: 10px;
}

.photos-legend{
	border:0;
}

.required {
    color: #d32f2f;
    margin-left: 4px;
}

.grid-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Custom grid split: Year & Mileage take up less space, Condition takes the rest */
.car-stats-grid {
    /* Splits the row into 2 parts: 1 part for the mini-grid, 1 part for Condition */
    grid-template-columns: auto 1fr !important;
    align-items: end;
}

.mobile-inline-grid {
    display: grid;
    grid-template-columns: 120px 150px; /* Precise widths on desktop */
    gap: 20px;
}

/* Ensure the radio buttons stay on a single line and don't wrap */
.car-stats-grid .wpcf7-radio {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

/* Make sure button labels size themselves nicely to fit */
.car-stats-grid .wpcf7-list-item label {
    padding: 10px 12px !important; /* Slightly snugger padding */
    font-size: 0.85rem !important;
    text-align: center;
    white-space: nowrap !important; /* Prevents text breaking into 2 lines */
}

/* Mobile Responsive Override */
@media (max-width: 768px) {
    .car-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .mobile-inline-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 15px !important;
        width: 100% !important;
    }
    .car-stats-grid .wpcf7-radio {
        flex-direction: column !important; /* Stack radio buttons vertically on mobile for thumb reach */
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* --- Photo Section & Hidden File Input Controls --- */
.photo-section{

}
.photo-section-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* Hidden input wrapper structure */
.upload-box {
    position: relative;
    border: 2px dashed #E0E0E0;
    border-radius: 6px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}

/* Visually hide original CF7 native select box cleanly */
.upload-box .hidden-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.upload-box:hover {
    border-color: #F5B300;
    background-color: #FFFDF7;
}

/* Dynamic State: File Attached */
.upload-box.has-file {
    border: 2px solid #28a745;
    background-color: #F4FBF6;
}

.upload-box.has-file .upload-icon {
    fill: #28a745;
}

.upload-box.has-file .upload-text {
    color: #1A1A1A;
    font-weight: 600;
}

.upload-box.has-file .upload-subtext {
    color: #28a745;
    font-weight: bold;
}

.upload-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    fill: #666;
    transition: fill 0.2s ease;
}

.upload-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.upload-subtext {
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.upload-box.has-error {
    border-color: #dc3232 !important; /* Contact Form 7 standard error red */
    background-color: #fffafb !important; /* Soft light red background tint */
    box-shadow: 0 0 0 1px rgba(220, 50, 50, 0.15);
    animation: uploadBoxShake 0.4s ease-in-out; /* Attention grabbing shake effect */
}

/* 2. Status Label Text inside the Error Container */
.upload-box.has-error .status-text {
    color: #dc3232 !important;
    font-weight: 600;
}

/* 3. Upload Icon Variation on Error (Optional - if using an SVG/icon font inside) */
.upload-box.has-error .upload-icon,
.upload-box.has-error i {
    color: #dc3232 !important;
}

/* 4. Smooth Shake Animation Keyframes */
@keyframes uploadBoxShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* --- Callout Box --- */
.callout-box {
    background-color: #FFF9E6;
    border-radius: 6px;
    padding: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
		align-items: flex-start;
	height: fit-content;
	gap: 20px;
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tow-truck-icon {
    width: 80px;
    aspect-ratio: 1/1;
    fill: #F5B300;
}

.callout-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1A1A1A;
}

.callout-content p{
	margin: 0 !important;
}

/* --- Submit Button --- */
.submit-area {
    text-align: center;
}

.wpcf7-submit.btn-submit {
    background-color: var(--wd-primary-color) !important;
    color: #000;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    display: inline-flex; /* Allows icon alignment if added via CSS content */
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.wpcf7-submit.btn-submit:hover {
    background-color: #e0a300;
}

.security-text p{
margin:0!important;
}

.security-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lock-icon {
    width: 12px;
    height: 12px;
    fill: #666;
}

@media (max-width: 980px) {
    .photo-section-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cf7-custom-wrapper {
        padding: 20px 0;
				top: -40px;
    }
    .photo-section-grid {
        grid-template-columns: 1fr;
    }
    .wpcf7-radio {
        flex-direction: column;
    }
    .wpcf7-list-item label {
        width: 100%;
        text-align: center;
    }
}

.upload-box .wpcf7-form-control-wrap,
.upload-box .hidden-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}