/* ========================================
   STICKY BAR CONTAINER
   ======================================== */
.amv-sticky-quote-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    z-index: 100000;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amv-sticky-quote-bar.amv-ready {
    opacity: 1;
}

.amv-sticky-quote-bar.visible {
    transform: translateY(0);
    margin-top: 45px;
}

.amv-sticky-quote-bar__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    gap: 40px;
}

.amv-sticky-quote-bar__logo img {
    height: 32px;
    width: auto;
    display: block;
}

.amv-sticky-quote-bar__container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 50px;
    padding: 4px 6px 4px 24px;
    gap: 16px;
    height: 56px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 800px;
    justify-content: space-between;
}

/* ========================================
   FIELDS & BUTTON
   ======================================== */
.amv-sticky-quote-bar__fields {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.amv-sticky-quote-bar__field {
    cursor: pointer;
    flex: 1;
    min-width: 0;
    /* Allow text truncation */
    text-align: center;
}

.amv-sticky-quote-bar__field span {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.amv-sticky-quote-bar__divider {
    width: 1px;
    height: 24px;
    background: #e1e4e8;
}

.amv-sticky-quote-bar__button {
    height: 48px;
    padding: 0 32px;
    background: #bababa;
    /* Default Grey */
    color: #ffffff;
    border: none;
    border-radius: 24px;
    /* Standard pill button */
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    /* Initially disabled */
    white-space: nowrap;
    transition: all 0.3s ease;
}

.amv-sticky-quote-bar__button:hover {
    background: #a6a6a6;
    color: #4e4a59;
}

/* Active state when all fields are filled */
.amv-sticky-quote-bar__button.filled {
    background: #34CCFF;
    color: #ffffff;
    border: 2px solid #34CCFF;
    cursor: pointer;
}

.amv-sticky-quote-bar__button.filled:hover {
    background: #ffffff;
    color: #000000;
    border-color: #34CCFF;
}

/* ========================================
   STICKY QUOTE BAR - EXPANDED POPUP
   ======================================== */

.amv-sticky-quote-bar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99997;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.amv-sticky-quote-bar__overlay.active {
    opacity: 1;
    pointer-events: all;
}

.amv-sticky-quote-bar__popup {
    position: fixed;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 24px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 90vw;
}

.amv-sticky-quote-bar__popup.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.amv-sticky-quote-bar__popup-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.amv-sticky-quote-bar__popup-fields {
    display: flex;
    align-items: center;
    gap: 27px;
}

.amv-sticky-quote-bar__popup-field {
    display: flex;
    align-items: center;
    gap: 24px;
}

.amv-sticky-quote-bar__popup-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amv-sticky-quote-bar__popup-icon svg {
    width: 100%;
    height: 100%;
}

.amv-sticky-quote-bar__popup-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 128px;
}

.amv-sticky-quote-bar__popup-content label {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 33px;
    margin: 0;
}

.amv-sticky-quote-bar__popup-content input,
.amv-sticky-quote-bar__popup-content select {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #bababa;
    line-height: 33px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    width: 100%;
}

.amv-sticky-quote-bar__popup-content input:focus,
.amv-sticky-quote-bar__popup-content select:focus {
    color: #000000;
}

.amv-sticky-quote-bar__popup-content input::placeholder {
    color: #bababa;
}

.amv-sticky-quote-bar__popup-content select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23bababa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

.amv-sticky-quote-bar__popup-divider {
    width: 1px;
    height: 39px;
    background: #d9d9d9;
}

.amv-sticky-quote-bar__popup-button {
    background: #bfbfbf;
    color: #4e4a59;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 24px;
    padding: 0 24px;
    height: 45px;
    min-width: 171px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 33px;
    transition: all 0.3s ease;
}

.amv-sticky-quote-bar__popup-button:hover {
    background: #a6a6a6;
    color: #3a3640;
}

/* Active state when all fields are filled */
.amv-sticky-quote-bar__popup-button.filled {
    background: #34CCFF;
    color: #ffffff;
    border: 2px solid #34CCFF;
    cursor: pointer;
}

.amv-sticky-quote-bar__popup-button.filled:hover {
    background: #ffffff;
    color: #000000;
    border-color: #34CCFF;
}

/* ========================================
   CUSTOM VEHICLE SELECTOR
   ======================================== */

/* Vehicle Selector Trigger */
.amv-vehicle-selector {
    position: relative;
    width: 100%;
}

.amv-vehicle-selector__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
    width: 100%;
}

.amv-vehicle-selector__selected {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #bababa;
    line-height: 33px;
}

.amv-vehicle-selector__trigger svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.amv-vehicle-selector.active .amv-vehicle-selector__trigger svg {
    transform: rotate(180deg);
}

/* Vehicle Selector Overlay */
.amv-vehicle-selector__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.amv-vehicle-selector.active .amv-vehicle-selector__overlay {
    opacity: 1;
    pointer-events: all;
}

/* Vehicle Selector Modal (formerly dropdown) */
.amv-vehicle-selector__dropdown {
    position: fixed;
    top: 150%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 420px;
    max-width: 28vw;
    max-height: 90vh;
    overflow-y: auto;
}

.amv-vehicle-selector.active .amv-vehicle-selector__dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.amv-vehicle-selector__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 33px;
    margin-bottom: 20px;
}

.amv-vehicle-selector__options {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
    /* For scrollbar space */
}

/* Vehicle Option */
.amv-vehicle-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.amv-vehicle-option:last-child {
    border-bottom: none;
}

.amv-vehicle-option__image {
    width: 70px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.amv-vehicle-option__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.amv-vehicle-option__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
    min-width: 0;
}

.amv-vehicle-option__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.amv-vehicle-option__name {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}

.amv-vehicle-option__desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
}



/* Quantity Controls */
.amv-vehicle-option__qty {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Done Button */
.amv-vehicle-selector__actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
}

.amv-vehicle-selector__done-btn {
    width: 100%;
    height: 48px;
    background: #BABABA;
    color: #ffffff;
    border: 2px solid #BABABA;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.amv-vehicle-selector__done-btn:hover {
    background: #BABABA;
    color: #ffffff;
    border-color: #BABABA;
}

/* Active state when vehicle is selected */
.amv-vehicle-selector__done-btn.active {
    background: #34CCFF;
    color: #ffffff;
    border-color: #34CCFF;
    cursor: pointer;
}

.amv-vehicle-selector__done-btn.active:hover {
    background: #ffffff;
    color: #000000;
    border-color: #34CCFF;
}

.amv-qty-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.2s ease;
}

.amv-qty-btn:hover {
    color: #0066cc;
    transform: scale(1.1);
}

.amv-qty-btn:active {
    transform: scale(0.95);
}

.amv-qty-btn svg {
    width: 100%;
    height: 100%;
}

.amv-qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #ffffff;
    padding: 0;
    outline: none;
}

/* Hide spinner arrows for number input */
.amv-qty-input::-webkit-outer-spin-button,
.amv-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amv-qty-input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* Vehicle field alignment */
.amv-sticky-quote-bar__popup-field--vehicle {
    align-items: flex-start;
}

.amv-sticky-quote-bar__popup-field--vehicle .amv-sticky-quote-bar__popup-content {
    min-width: 200px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .amv-sticky-quote-bar__container {
        gap: 40px;
        padding: 0 28px;
    }

    .amv-sticky-quote-bar__fields {
        gap: 16px;
    }

    .amv-sticky-quote-bar__field {
        padding: 0 16px;
    }

    .amv-sticky-quote-bar__popup-inner {
        gap: 40px;
    }

    .amv-sticky-quote-bar__popup-fields {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .amv-vehicle-selector__dropdown {
        min-width: 300px;
    }

    .amv-vehicle-option__desc {
        display: none;
    }
}

/* ========================================
   HERO FORM VEHICLE SELECTOR MODAL
   Override default dropdown behavior to use centered modal
   ======================================== */

/* Hero form overlay */
.amv-hero-quote-card .amv-vehicle-selector__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.amv-hero-quote-card .amv-vehicle-selector.active .amv-vehicle-selector__overlay,
.amv-vehicle-selector__overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Hero form modal (override dropdown positioning) */
.amv-hero-quote-card .amv-vehicle-selector__dropdown {
    position: fixed !important;
    top: 50vh !important;
    left: 50vw !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) scale(0.95) !important;
    margin: 0 !important;
    background: #ffffff !important;
    width: auto !important;
    min-width: 420px !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    z-index: 999999 !important;
    border-radius: 16px !important;
    border: 1px solid #d9d9d9 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    padding: 24px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.amv-hero-quote-card .amv-vehicle-selector.active .amv-vehicle-selector__dropdown,
.amv-vehicle-selector__dropdown.active {
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translate(-50%, -50%) scale(1) !important;
}


@media (max-width: 991px) {
    .amv-sticky-quote-bar {
        display: none;
    }
}

/* ========================================
   AT-TOP STATE: in document flow below nav, no logo/burger
   ======================================== */
.amv-sticky-quote-bar__logo,
.amv-sticky-menu-wrapper {
    transition: opacity 0.3s ease;
}

/* At-top: flows naturally in DOM between nav and page_title */
.amv-sticky-quote-bar.visible.at-top {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: 0;
    z-index: 1;
}

/* Hide logo and burger in at-top state */
.amv-sticky-quote-bar.at-top .amv-sticky-quote-bar__logo,
.amv-sticky-quote-bar.at-top .amv-sticky-menu-wrapper {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* ========================================
   HERO FORM ANIMATION
   ======================================== */
.amv-hero-form {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-in-out;
    visibility: hidden;
}

.amv-hero-form.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

/* Hero Form Button Styling */
.amv-hero-form input[type="submit"],
.amv-hero-form button[type="submit"] {
    background: #34CCFF !important;
    color: #ffffff !important;
    border: 2px solid #34CCFF !important;
    border-radius: 24px;
    padding: 10px 32px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.amv-hero-form input[type="submit"]:hover,
.amv-hero-form button[type="submit"]:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #34CCFF !important;
}

/* ========================================
   AMV HERO QUOTE CARD BUTTON
   ======================================== */
.amv-hero-quote-card__btn {
    width: 100%;
    height: 54px;
    margin-top: 10px;
    background: #cccccc !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #cccccc !important;
    border-radius: 10px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(204, 204, 204, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

/* Active State (Blue) when vehicle_selection has data */
.amv-hero-quote-card__btn.btn-active {
    background: #34CCFF !important;
    border-color: #34CCFF !important;
    cursor: pointer;
    pointer-events: all;
}

.amv-hero-quote-card__btn.btn-active:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #34CCFF !important;
    box-shadow: 0 6px 20px rgba(52, 204, 255, 0.35);
    transform: translateY(-1px);
}

.amv-hero-quote-card__btn.btn-active:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 204, 255, 0.25);
}


/* ========================================
   HAMBURGER MENU TOGGLE & DROPDOWN
   ======================================== */
.amv-sticky-menu-wrapper {
    position: relative;
}

.amv-sticky-menu-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
}

.amv-sticky-menu-toggle svg {
    width: 32px;
    height: 32px;
}

.amv-sticky-menu-toggle:hover,
.amv-sticky-menu-toggle.active {
    color: #34CCFF;
}

.amv-sticky-menu-toggle svg path {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

/* Dropdown Styles */
.amv-sticky-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #1a1a1a;
    /* Dark background */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 4px;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100001;
    overflow: hidden;
}

.amv-sticky-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.amv-sticky-menu-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.amv-sticky-menu-list>li {
    border-bottom: 1px solid #333;
}

.amv-sticky-menu-list>li:last-child {
    border-bottom: none;
}

.amv-sticky-menu-list>li>a {
    display: block;
    padding: 12px 24px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    /* White text */
    text-decoration: none;
    transition: all 0.2s ease;
}

.amv-sticky-menu-list>li>a:hover {
    background: #2a2a2a;
    color: #34CCFF;
    /* Blue on hover */
    padding-left: 28px;
    /* Slight movement on hover */
}

/* Submenu styling */
.amv-sticky-menu-list ul.sub-menu {
    border-top: 1px solid #333;
    background: #151515;
    /* Slightly darker for submenu */
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.amv-sticky-menu-list li.menu-item-has-children:hover ul.sub-menu {
    display: block;
}

.amv-sticky-menu-list ul.sub-menu>li>a {
    display: block;
    padding: 10px 24px 10px 32px;
    /* More indentation */
    font-family: 'Titillium Web', sans-serif;
    font-size: 15px;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #252525;
    transition: color 0.2s ease;
}

.amv-sticky-menu-list ul.sub-menu>li:last-child>a {
    border-bottom: none;
}

.amv-sticky-menu-list ul.sub-menu>li>a:hover {
    background: #222;
    color: #34CCFF;
}

/* ========================================
   HERO SECTION POSITIONING
   ======================================== */
/* HERO positioning context */
#amv-hero {
    position: relative;
    overflow: visible !important;
}

/* Keep slider behind */
#amv-hero .wpb_revslider_element,
#amv-hero .rev_slider_wrapper,
#amv-hero rs-module-wrap,
#amv-hero rs-module {
    position: relative;
    z-index: 1 !important;
}

/* Put the form container above the slider */
#amv-hero .amv-hero-form {
    position: absolute;
    top: 237px;
    right: 2%;
    z-index: 99999;
    width: min(440px, 90vw);
    max-width: 440px;
}

/* Avoid VC clipping */
#amv-hero,
#amv-hero .vc_row,
#amv-hero .vc_column-inner,
#amv-hero .wpb_wrapper {
    overflow: visible !important;
}

/* ========================================
   QUOTE CARD CONTAINER
   ======================================== */
#amv-hero .amv-hero-quote-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 32px 28px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
}

/* ========================================
   CARD HEADER
   ======================================== */
.amv-hero-quote-card__head {
    margin-bottom: 28px;
    text-align: left;
}

.amv-hero-quote-card__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.amv-hero-quote-card__title span {
    color: #34CCFF;
    font-weight: 800;
}

.amv-hero-quote-card__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
}

.amv-hero-quote-card__subtitle a {
    color: #34CCFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.amv-hero-quote-card__subtitle a:hover {
    color: #0088bb;
    text-decoration: underline;
}

/* ========================================
   FORM FIELDS
   ======================================== */
.amv-hero-quote-card__fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.amv-hero-quote-card__fields p {
    margin: 0 !important;
}

/* Field wrapper styling */
.amv-field {
    display: block;
    width: 100%;
}

/* Input field styling */
.amv-hero-quote-card__fields input[type="text"],
.amv-hero-quote-card__fields input[type="email"],
.amv-hero-quote-card__fields input[type="tel"],
.amv-hero-quote-card__fields input[type="date"],
.amv-hero-quote-card__fields select,
.amv-hero-quote-card__fields textarea {
    width: 100%;
    height: 54px;
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.amv-hero-quote-card__fields textarea {
    height: auto;
    min-height: 54px;
    padding: 16px 18px;
    resize: vertical;
}

/* Input focus state */
.amv-hero-quote-card__fields input:focus,
.amv-hero-quote-card__fields select:focus,
.amv-hero-quote-card__fields textarea:focus {
    outline: none;
    border-color: #34CCFF;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 204, 255, 0.1);
}

/* Placeholder styling */
.amv-hero-quote-card__fields input::placeholder,
.amv-hero-quote-card__fields textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
    font-weight: 400;
}

/* Date input wrapper for pseudo-placeholder */
.amv-field--date {
    position: relative;
}

/* iOS Safari specific sizing */
@supports (-webkit-touch-callout: none) {
    .amv-field--date {
        max-width: 261px;
    }
}

/* Date input specific styling */
.amv-hero-quote-card__fields input[type="date"] {
    color: #1a1a1a;
    position: relative;
}

.amv-hero-quote-card__fields input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.amv-hero-quote-card__fields input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.amv-hero-quote-card__fields input[type="date"]:valid {
    color: #1a1a1a;
}

/* Select dropdown styling */
.amv-hero-quote-card__fields select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
    cursor: pointer;
}

.amv-hero-quote-card__fields select:focus {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2334CCFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Select2 dropdown styling (if using Select2 plugin) */
.amv-hero-quote-card__fields .select2-container .select2-selection--single {
    height: 54px;
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.amv-hero-quote-card__fields .select2-container .select2-selection__rendered {
    line-height: 54px;
    padding-left: 18px;
    padding-right: 45px;
    color: #9ca3af;
    font-size: 15px;
}

.amv-hero-quote-card__fields .select2-container--open .select2-selection--single {
    border-color: #34CCFF;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 204, 255, 0.1);
}

.amv-hero-quote-card__fields .select2-container .select2-selection__arrow {
    height: 54px;
    right: 18px;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */
.amv-hero-quote-card__btn {
    width: 100%;
    height: 54px;
    margin-top: 10px;
    background: #34CCFF;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #34CCFF;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(52, 204, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.amv-hero-quote-card__btn:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #34CCFF;
    box-shadow: 0 6px 20px rgba(52, 204, 255, 0.35);
    transform: translateY(-1px);
}

.amv-hero-quote-card__btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 204, 255, 0.25);
}

/* Alternative button selectors for Contact Form 7 */
#wpcf7-f208-p1269-o1 .wpcf7-submit,
#wpcf7-f208-p1269-o1 input[type="submit"],
#wpcf7-f208-p1269-o1 button[type="submit"] {
    width: 100%;
    height: 54px;
    background: #34CCFF;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #34CCFF;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(52, 204, 255, 0.25);
    padding: 0 24px;
}

#wpcf7-f208-p1269-o1 .wpcf7-submit:hover,
#wpcf7-f208-p1269-o1 input[type="submit"]:hover,
#wpcf7-f208-p1269-o1 button[type="submit"]:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #34CCFF;
    box-shadow: 0 6px 20px rgba(52, 204, 255, 0.35);
    transform: translateY(-1px);
}

#wpcf7-f208-p1269-o1 .wpcf7-submit:active,
#wpcf7-f208-p1269-o1 input[type="submit"]:active,
#wpcf7-f208-p1269-o1 button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 204, 255, 0.25);
}

/* ========================================
   VALIDATION & ERROR MESSAGES
   ======================================== */
.amv-hero-quote-card__fields .wpcf7-not-valid-tip {
    font-size: 13px;
    color: #dc2626;
    margin-top: 6px;
    display: block;
}

.amv-hero-quote-card__fields .wpcf7-not-valid {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    border: none !important;
}

.wpcf7-validation-errors {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.wpcf7-mail-sent-ok {
    background: #f0fdf4 !important;
    color: #16a34a !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* Tablet */
@media (max-width: 991px) {
    #amv-hero .amv-hero-form {
        position: static;
        transform: none;
        width: 100%;
        max-width: 520px;
        margin: 24px auto 0;
    }

    #amv-hero .amv-hero-quote-card {
        padding: 28px 24px !important;
    }

    .amv-hero-quote-card__title {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    /* Fix form positioning */
    #amv-hero .amv-hero-form {
        position: static !important;
        margin: 80px auto 40px !important;
        width: calc(100% - 32px) !important;
        max-width: 100% !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    #amv-hero .amv-hero-quote-card {
        padding: 24px 20px !important;
        border-radius: 12px !important;
    }

    .amv-hero-quote-card__title {
        font-size: 22px;
    }

    .amv-hero-quote-card__subtitle {
        font-size: 13px;
    }

    .amv-hero-quote-card__fields input[type="text"],
    .amv-hero-quote-card__fields input[type="email"],
    .amv-hero-quote-card__fields input[type="tel"],
    .amv-hero-quote-card__fields input[type="date"],
    .amv-hero-quote-card__fields select,
    .amv-hero-quote-card__fields textarea {
        height: 50px;
        font-size: 14px;
        padding: 0 16px;
    }

    .amv-hero-quote-card__btn,
    #wpcf7-f208-p1269-o1 .wpcf7-submit {
        height: 50px;
        font-size: 15px;
    }

    .amv-hero-quote-card__fields {
        gap: 4px;
    }

    /* Vehicle selector mobile - make it full screen modal */
    .amv-hero-quote-card .amv-vehicle-selector__dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 400px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        z-index: 999999 !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    }

    .amv-hero-quote-card .amv-vehicle-selector__title {
        font-size: 18px !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid #e1e4e8 !important;
    }

    .amv-hero-quote-card .amv-vehicle-selector__options {
        padding: 12px !important;
    }

    /* Stack vehicle options vertically on mobile */
    .amv-hero-quote-card .amv-vehicle-option {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px !important;
        margin-bottom: 8px !important;
        border: 1px solid #e1e4e8 !important;
        border-radius: 8px !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__image {
        width: 170px !important;
        margin-bottom: -15px !important;
        margin-right: 0 !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__info {
        width: 90% !important;
        margin-left: 45px;
    }

    .amv-hero-quote-card .amv-vehicle-option__text {
        margin-bottom: 12px !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__name {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-left: 12px !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__desc {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #666 !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__qty {
        width: 55% !important;
        justify-content: center !important;
        gap: 0px !important;
        margin-left: 90px !important;
    }

    .amv-hero-quote-card .amv-qty-btn {
        width: 20px !important;
        height: 20px !important;
    }

    .amv-hero-quote-card .amv-qty-input {
        width: 30px !important;
        height: 35px !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    .amv-hero-quote-card .amv-vehicle-selector__actions {
        padding: 16px 20px !important;
        border-top: 1px solid #e1e4e8 !important;
    }

    .amv-hero-quote-card .amv-vehicle-selector__done-btn {
        height: 48px !important;
        font-size: 16px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    #amv-hero .amv-hero-form {
        margin-top: 120px !important;
        width: calc(100% - 24px) !important;
    }

    .amv-hero-quote-card__title {
        font-size: 20px;
    }

    .amv-hero-quote-card__subtitle {
        font-size: 12px;
    }

    .amv-hero-quote-card .amv-vehicle-selector__dropdown {
        width: calc(100vw - 24px) !important;
    }

    .amv-hero-quote-card .amv-vehicle-option__image {
        width: 70px !important;
    }

    .amv-hero-quote-card .amv-vehicle-option {
        padding: 12px !important;
    }
}

/* ============================
   VEHICLE SELECTOR - MOBILE FIX
   ============================ */
@media (max-width: 767px) {

    /* Fullscreen-ish dropdown */
    .amv-vehicle-selector__dropdown {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: calc(100vw - 24px) !important;
        max-width: 520px !important;
        max-height: 85vh !important;
        overflow: auto !important;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    /* Make options list breathe */
    .amv-vehicle-selector__options {
        max-height: none !important;
        padding-right: 0 !important;
    }

    /* Each option becomes a clean grid row */
    .amv-vehicle-option {
        display: grid !important;
        grid-template-columns: 64px 1fr auto !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px !important;
        border: 1px solid #e1e4e8 !important;
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }

    /* Icon box */
    .amv-vehicle-option__image {
        width: 64px !important;
        height: 44px !important;
        margin: 0 !important;
    }

    .amv-vehicle-option__image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    /* Text area */
    .amv-vehicle-option__info {
        width: auto !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    .amv-vehicle-option__text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .amv-vehicle-option__name {
        font-size: 15px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        /* allow wrap */
    }

    /* Qty controls stay on the right */
    .amv-vehicle-option__qty {
        width: auto !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .amv-qty-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .amv-qty-input {
        width: 44px !important;
        height: 34px !important;
        font-size: 16px !important;
    }

    /* Done button */
    .amv-vehicle-selector__actions {
        padding-top: 12px !important;
    }

    .amv-vehicle-selector__done-btn {
        height: 48px !important;
        border-radius: 10px !important;
    }
}

/* Smaller phones */
@media (max-width: 400px) {
    .amv-vehicle-option {
        grid-template-columns: 56px 1fr auto !important;
        gap: 10px !important;
    }

    .amv-vehicle-option__image {
        width: 56px !important;
    }
}