/* ════════════════════════════════════════════════════════════════════════════
   MINTRV CUSTOM CSS - Consolidated & Cleaned
   Last Updated: December 2024
   ════════════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════════════
   1. SITE FRAME & BODY
   ════════════════════════════════════════════════════════════════════════════ */

body {
    background: #f5f7fa;
    padding: 12px;
}

.body-wrapper {
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 150, 136, 0.25);
    overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════════════════
   2. HEADER - Main Navigation Row
   ════════════════════════════════════════════════════════════════════════════ */

#sp-header {
    background-color: #134c5c !important;
    border-bottom: 1px solid #334155 !important;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    height: 60px;
}

#sp-header > .container,
#sp-header > .container-fluid,
#sp-header > .row {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

#sp-header .sp-column {
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Logo */
#sp-logo {
    padding: 0.25rem 0;
}

#sp-logo .logo {
    height: 40px !important;
}

#sp-logo .logo img {
    height: 40px !important;
}

/* Menu */
#sp-menu .sp-megamenu-parent > li > a,
#sp-menu .sp-megamenu-parent > li > span {
    color: #cbd5e1 !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0px 14px !important;
    transition: all 0.15s ease;
        line-height: 40px;

}

#sp-menu .sp-megamenu-parent > li > a:hover,
#sp-menu .sp-megamenu-parent > li > span:hover,
#sp-menu .sp-megamenu-parent > li.active > a {
    color: #ffffff !important;
    background-color: rgba(51, 65, 85, 0.5);
    border-radius: 0.375rem;
}

/* Search */
#sp-search {
    margin-right: 0.75rem;
}

#sp-search .d-flex {
    display: inherit !important;
}

#sp-search input,
#sp-header .search input {
    background-color: rgba(51, 65, 85, 0.5);
    border: 1px solid #475569;
    border-radius: 0.5rem;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

#sp-search input::placeholder {
    color: #64748b;
}

#sp-header .search-open-icon,
#sp-header .sp-search-btn {
    color: #cbd5e1 !important;
    padding: 6px 10px !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   3. USER1 AREA - Right Side (Search + Vehicle Chip)
   ════════════════════════════════════════════════════════════════════════════ */

#sp-user1 {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    padding-right: 0.5rem !important;
}

#sp-user1 ul.mod-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#sp-user1 ul.mod-list li {
    display: inline-block;
    margin: 0;
}

/* Signup/User Button (if used) */
#sp-user1 .signup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d5268;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 6px;
    padding: 8px 18px;
    line-height: 1;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

#sp-user1 .signup-link:hover,
#sp-user1 .signup-link:focus {
    background: #10717f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

#sp-user1 .signup-link i,
#sp-user1 .signup-link .fa {
    font-size: 1rem;
    color: #ffffff;
    margin-right: 8px;
    vertical-align: middle;
}

/* ════════════════════════════════════════════════════════════════════════════
   4. VEHICLE WIDGET - Modern Theme (.mintrv-vw)
   ════════════════════════════════════════════════════════════════════════════ */

.mintrv-vw {
    position: relative !important;
    display: inline-block !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Chip - Base */
.mintrv-vw .mintrv-vw-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    border: 1px solid #334155 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.mintrv-vw .mintrv-vw-chip:hover {
    background: #334155 !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
}

/* Chip - Active (has vehicle) */
.mintrv-vw .mintrv-vw-chip.active {
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: rgba(16, 185, 129, 0.15) !important;
}

.mintrv-vw .mintrv-vw-chip.active:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
}

/* Amber pulsing dot */
.mintrv-vw .mintrv-vw-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #fbbf24 !important;
    animation: mintrvPulse 2s infinite !important;
    flex-shrink: 0 !important;
}

@keyframes mintrvPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Text styles */
.mintrv-vw .mintrv-vw-text {
    color: #94a3b8 !important;
    white-space: nowrap !important;
    font-weight: 400 !important;
}

.mintrv-vw .mintrv-vw-add {
    color: #34d399 !important;
    font-weight: 600 !important;
}

.mintrv-vw .mintrv-vw-icon {
    width: 16px !important;
    height: 16px !important;
    color: #34d399 !important;
    flex-shrink: 0 !important;
}

.mintrv-vw .mintrv-vw-name {
    color: #34d399 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    max-width: 140px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mintrv-vw .mintrv-vw-chevron {
    width: 12px !important;
    height: 12px !important;
    color: #34d399 !important;
    opacity: 0.7 !important;
    transition: transform 0.2s !important;
    flex-shrink: 0 !important;
}

.mintrv-vw.open .mintrv-vw-chevron {
    transform: rotate(180deg) !important;
}

/* Dropdown */
.mintrv-vw .mintrv-vw-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    background: #1e293b !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
    min-width: 280px !important;
    display: none !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    border: 1px solid #334155 !important;
}

.mintrv-vw.open .mintrv-vw-dropdown {
    display: block !important;
    animation: mintrvSlide 0.15s ease-out !important;
}

@keyframes mintrvSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dropdown Header */
.mintrv-vw .mintrv-vw-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #334155 !important;
}

.mintrv-vw .mintrv-vw-label {
    color: #64748b !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 4px 0 !important;
    font-weight: 500 !important;
}

.mintrv-vw .mintrv-vw-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Stats Grid */
.mintrv-vw .mintrv-vw-stats {
    padding: 12px 16px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    background: transparent !important;
}

.mintrv-vw .mintrv-vw-stat {
    text-align: center !important;
    padding: 10px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border-radius: 8px !important;
    border: 1px solid #334155 !important;
}

.mintrv-vw .mintrv-vw-stat-label {
    color: #64748b !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    margin: 0 0 4px 0 !important;
    font-weight: 500 !important;
}

.mintrv-vw .mintrv-vw-stat-value {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.mintrv-vw .mintrv-vw-stat-value.green {
    color: #34d399 !important;
}

/* Action Buttons */
.mintrv-vw .mintrv-vw-actions {
    display: flex !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border-top: 1px solid #334155 !important;
}

.mintrv-vw .mintrv-vw-btn {
    flex: 1 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
}

.mintrv-vw .mintrv-vw-btn.outline {
    background: transparent !important;
    border: 1px solid #475569 !important;
    color: #cbd5e1 !important;
}

.mintrv-vw .mintrv-vw-btn.outline:hover {
    border-color: #34d399 !important;
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    text-decoration: none !important;
}

.mintrv-vw .mintrv-vw-btn.primary {
    background: #10b981 !important;
    color: #0f172a !important;
    border: none !important;
}

.mintrv-vw .mintrv-vw-btn.primary:hover {
    background: #34d399 !important;
    text-decoration: none !important;
    color: #0f172a !important;
}

.mintrv-vw .mintrv-vw-btn i {
    font-size: 12px !important;
}

/* Empty State */
.mintrv-vw .mintrv-vw-empty {
    padding: 24px 16px !important;
    text-align: center !important;
    background: transparent !important;
}

.mintrv-vw .mintrv-vw-empty-icon {
    width: 48px !important;
    height: 48px !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px !important;
}

.mintrv-vw .mintrv-vw-empty-icon svg {
    width: 24px !important;
    height: 24px !important;
    color: #34d399 !important;
}

.mintrv-vw .mintrv-vw-empty h3 {
    font-size: 15px !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    font-weight: 600 !important;
}

.mintrv-vw .mintrv-vw-empty p {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin: 0 0 16px 0 !important;
}

.mintrv-vw .mintrv-vw-empty .mintrv-vw-btn {
    display: inline-flex !important;
    flex: none !important;
    padding: 10px 20px !important;
}
.towbar1{
    background-color: #0b3e4a;
}
.mint-tow-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mint-tow-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.mint-tow-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mint-tow-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #34d399 !important;
    font-weight: 600;
    font-size: 1rem;
}

.mint-tow-prompt svg {
    width: 20px;
    height: 20px;
    color: #34d399;
    fill: #34d399;
    flex-shrink: 0;
}

.mint-tow-subtext {
    color: #64748b !important;
    font-size: 0.9rem;
}

.mint-tow-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Primary CTA Button */
.mint-btn-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background-color: #10b981 !important;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.4;
}

.mint-btn-primary:hover {
    background-color: #34d399 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.mint-btn-primary svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Vehicle Info Display */
.mint-vehicle-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mint-vehicle-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mint-vehicle-icon-wrap {
    width: 42px;
    height: 42px;
    background-color: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mint-vehicle-icon-wrap svg {
    width: 20px;
    height: 20px;
    color: #34d399;
    fill: #34d399;
}

.mint-vehicle-label,
.mint-tow-capacity-label {
    font-size: 0.7rem;
    color: #64748b !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.mint-vehicle-name {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.mint-tow-divider {
    width: 1px;
    height: 42px;
    background-color: #334155;
    flex-shrink: 0;
}

.mint-tow-capacity-value {
    color: #34d399 !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.mint-btn-edit {
    padding: 0.5rem;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mint-btn-edit:hover {
    color: #ffffff;
    background-color: #334155;
}

.mint-btn-edit svg {
    width: 16px;
    height: 16px;
}

/* ════════════════════════════════════════════════════════════════════════════
   6. STICKY HEADER
   ════════════════════════════════════════════════════════════════════════════ */

#sp-header.header-sticky {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    margin: 0;
    position: fixed;
    z-index: 9998;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0 !important;
}

#sp-header.header-sticky > .container,
#sp-header.header-sticky > .container-fluid {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

#sp-header.header-sticky #sp-logo .logo img {
    max-height: 32px !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   7. TYPOGRAPHY & CONTENT
   ════════════════════════════════════════════════════════════════════════════ */

h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}


#sp-main-body {
    padding-top: 1rem !important;
}

#sp-component .container.my-4 {
    margin-top: 0 !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   8. BREADCRUMBS
   ════════════════════════════════════════════════════════════════════════════ */

.breadcrumb {
    background-color: #f5f7fa !important;
    --bs-breadcrumb-margin-bottom: 0;
    margin-top: .5rem;
    font-size: 12px;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd;
}

.breadcrumb a {
    color: #235553;
}

.breadcrumbs {
    list-style: none;
    padding: 0;
    display: flex;
}

.breadcrumbs li {
    margin-right: 5px;
}

.breadcrumbs li::after {
    content: ">";
    margin-left: 5px;
}

.breadcrumbs li:last-child::after {
    content: "";
}

/* ════════════════════════════════════════════════════════════════════════════
   9. FOOTER & SECTIONS
   ════════════════════════════════════════════════════════════════════════════ */

#sp-bottom {
    margin-top: 2rem;
}

#sp-bottom,
#sp-top {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

#sp-footer,
#sp-main-body {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

/* ════════════════════════════════════════════════════════════════════════════
   10. BRAND PHOTOS & THUMBNAILS
   ════════════════════════════════════════════════════════════════════════════ */

.mintrv-has-dropdown .mintrv-search-menu {
    width: 400px !important;
}

.mrv-brand-photo {
    width: 100%;
    background: #fff;
    border-radius: .75rem .75rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mrv-brand-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.mrv-thumbcell {
    width: 96px;
}

.mrv-thumbbox {
    width: 96px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
    overflow: hidden;
}

.mrv-thumbbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Modal floorplan */
.mrv-planbox {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mrv-planbox img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ════════════════════════════════════════════════════════════════════════════
   11. TOW CALCULATOR & VEHICLE SECTIONS
   ════════════════════════════════════════════════════════════════════════════ */

.user-vehicle {
    margin: 3rem 0;
    background-color: #cfd9d7;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

#vehicle-towing-form {
    margin: 4rem 0 0;
}

#rv-rating-chart p {
    margin-top: 2rem;
    font-size: .9rem;
}

#rv-rating-chart,
#user-vehicle,
#rv-specs {
    margin: 0 0 1rem;
}

/* Chart styles */
.vehicle-row {
    height: 30px;
    position: relative;
}

.green-bar {
    position: absolute;
    left: 0;
    height: 100%;
    background-color: green;
}

.range-box {
    position: absolute;
    height: 100%;
    border: 2px solid black;
    background: linear-gradient(to right, green, red);
}

/* ════════════════════════════════════════════════════════════════════════════
   12. REVIEWS
   ════════════════════════════════════════════════════════════════════════════ */

.review {
    margin-bottom: 1.5em;
}

.review-header {
    font-weight: bold;
}

.review-rating {
    color: #ffc107;
}

.star-rating {
    font-size: 1.2em;
}

.review-body {
    margin-top: 0.5em;
}

.write-review {
    margin-top: 1.5em;
}

.write-review button {
    padding: 10px 20px;
}

/* ════════════════════════════════════════════════════════════════════════════
   13. AFFILIATE CARDS
   ════════════════════════════════════════════════════════════════════════════ */

.affiliate-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.affiliate-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.affiliate-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.affiliate-thumb {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 1rem;
}

.affiliate-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.affiliate-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.affiliate-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #333;
    min-height: 2.6em;
}

.affiliate-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

.affiliate-meta .merchant {
    font-weight: 500;
    color: #007bff;
}

.affiliate-meta .rating {
    color: #ffa500;
    font-weight: 600;
}

.article-details {
    margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   14. RESPONSIVE - MOBILE
   ════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 992px) {
    .mrv-brand-photo {
        height: 160px;
    }
    
    .breadcrumb + .d-lg-flex .btn {
        line-height: 1.6;
    }
}

@media (max-width: 1199px) {
    .mint-tow-subtext {
        display: none;
    }
    
    #sp-user1 {
        gap: 8px !important;
    }
}

@media (max-width: 991px) {
    #sp-header {
        border-radius: 20px 20px 0 0;
    }
    
    #sp-header > .container,
    #sp-header > .container-fluid {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    #sp-logo {
        padding: 0 15px;
    }
    
    #sp-logo .logo img {
        max-height: 34px !important;
    }
    
    .mintrv-vw .mintrv-vw-text {
        display: none !important;
    }
    
    .mint-tow-container {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    #sp-main-body {
        padding-top: 0rem !important;
    }
    #sp-header {
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
    }
    
    #sp-header.header-sticky {
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }
    
    #sp-mobile-search {
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        margin-bottom: 0px;
    }
    
    .mint-tow-container {
        padding: 0.625rem 1rem;
        flex-wrap: wrap;
    }
    
    .mint-tow-state {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .mint-tow-divider {
        display: none;
    }
    
    .mint-vehicle-info > div:nth-child(3) {
        display: none;
    }
    
    .mint-tow-prompt {
        font-size: 0.875rem;
    }
    
    .mint-tow-prompt span {
        display: none;
    }
    
    .mint-tow-prompt::after {
        content: "What can you tow?";
        color: #34d399;
    }
    
    .mint-btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .mint-vehicle-icon-wrap {
        width: 36px;
        height: 36px;
    }
    
    .mint-vehicle-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .mint-tow-left {
        flex: 1;
    }
    
    .mint-btn-primary svg {
        display: none;
    }
    
    .mintrv-vw .mintrv-vw-dropdown {
        min-width: 260px !important;
        right: -10px !important;
    }
}



/* ==================== TOW CALCULATOR v7.0 ==================== */
:root {
    --mint-teal-dark: #1a3a47;
    --mint-teal: #234e5c;
    --mint-teal-light: #2d6a7a;
    --mint-green: #3eb489;
    --mint-green-light: #e8f5f0;
    --mint-green-dark: #2d8a68;
    --mint-white: #ffffff;
    --mint-gray-50: #f9fafb;
    --mint-gray-100: #f3f4f6;
    --mint-gray-200: #e5e7eb;
    --mint-gray-300: #d1d5db;
    --mint-gray-400: #9ca3af;
    --mint-gray-500: #6b7280;
    --mint-gray-600: #4b5563;
    --mint-gray-700: #374151;
    --mint-gray-800: #1f2937;
    --tow-red: #ef4444;
    --tow-orange: #f97316;
    --tow-yellow: #eab308;
    --tow-green: #22c55e;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.tow-calc-v7 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--mint-gray-800); line-height: 1.6; }
.tow-calc-v7 * { box-sizing: border-box; }

/* HERO */
.tc-hero {background: linear-gradient(355deg, #0a323a 0%, #124d5b 70%, #154754 100%);  padding: 3rem 1.5rem; position: relative; overflow: hidden; border-radius: 20px;  }
.tc-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; pointer-events: none; }
.tc-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.tc-hero h1 { color: white; font-size: 2.25rem; font-weight: 800; text-align: center; margin: 0 0 0.5rem 0; line-height: 1.2; }
.tc-hero h1 .highlight { color: var(--mint-green); }
.tc-hero-subtitle { color: rgba(255,255,255,0.85); text-align: center; font-size: 1.1rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* CALC CARD */
.tc-calc-card { background: white; border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow-xl); }
.tc-calc-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--mint-gray-200); padding-bottom: 1rem; }
.tc-calc-tab { padding: 0.5rem 1rem; background: transparent; border: none; font-size: 0.9rem; font-weight: 600; color: var(--mint-gray-500); cursor: pointer; border-radius: 6px; transition: all 0.2s; }
.tc-calc-tab:hover { background: var(--mint-gray-100); color: var(--mint-gray-700); }
.tc-calc-tab.active { background: var(--mint-green-light); color: var(--mint-green-dark); }
.tc-tab-content { display: none; }
.tc-tab-content.active { display: block; }

/* FORMS */
.tc-vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
@media (max-width: 767px) { .tc-vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tc-vehicle-grid { grid-template-columns: 1fr; } }
.tc-form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--mint-gray-600); margin-bottom: 0.4rem; }
.tc-form-group select, .tc-form-group input { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--mint-gray-200); border-radius: 8px; font-size: 0.95rem; color: var(--mint-gray-800); background: white; transition: all 0.2s; cursor: pointer; }
.tc-form-group select:focus, .tc-form-group input:focus { outline: none; border-color: var(--mint-green); box-shadow: 0 0 0 3px rgba(62,180,137,0.15); }
.tc-form-group select:disabled { background: var(--mint-gray-100); cursor: not-allowed; opacity: 0.7; }

.tc-btn-primary { width: 100%; padding: 1rem 1.5rem; background: var(--mint-green); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.tc-btn-primary:hover { background: var(--mint-green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(62,180,137,0.3); }
.tc-btn-primary:disabled { background: var(--mint-gray-300); cursor: not-allowed; transform: none; box-shadow: none; }

/* VIN */
.tc-vin-input-wrap { display: flex; gap: 1rem; margin-bottom: 1rem; }
.tc-vin-input-wrap input { flex: 1; font-family: 'Monaco', 'Consolas', monospace; letter-spacing: 1px; text-transform: uppercase; }
.tc-vin-input-wrap button { flex-shrink: 0; padding: 0.75rem 1.5rem; }

/* RESULTS */
.tc-results-section { display: none; background: var(--mint-gray-50); padding: 3rem 1.5rem; }
.tc-results-section.show { display: block; }
.tc-results-inner { max-width: 1000px; margin: 0 auto; }

.tc-vehicle-header { background: linear-gradient(135deg, var(--mint-teal-dark) 0%, var(--mint-teal) 100%); border-radius: 16px; padding: 1.5rem 2rem; color: white; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.tc-vehicle-header h2 { margin: 0; font-size: 1.5rem; font-weight: 700; }
.tc-vehicle-header-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.tc-btn-outline { padding: 0.5rem 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: white; border-radius: 6px; font-size: 0.85rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; transition: all 0.2s; text-decoration: none; }
.tc-btn-outline:hover { background: rgba(255,255,255,0.2); color: white; }
.tc-btn-save { background: var(--mint-green); border-color: var(--mint-green); }
.tc-btn-save:hover { background: var(--mint-green-dark); border-color: var(--mint-green-dark); }

/* SAVE PROMPT */
.tc-save-prompt { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px solid #f59e0b; border-radius: 12px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tc-save-prompt-text { display: flex; align-items: center; gap: 0.75rem; }
.tc-save-prompt-text .icon { font-size: 1.5rem; }
.tc-save-prompt-text p { margin: 0; font-size: 0.9rem; color: var(--mint-gray-700); }
.tc-save-prompt-actions { display: flex; gap: 0.75rem; }
.tc-btn-save-account { padding: 0.6rem 1.25rem; background: var(--mint-green); color: white; border: none; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; }
.tc-btn-save-account:hover { background: var(--mint-green-dark); }
.tc-btn-session { padding: 0.6rem 1rem; background: transparent; color: var(--mint-gray-600); border: 1px solid var(--mint-gray-300); border-radius: 6px; font-size: 0.85rem; cursor: pointer; }
.tc-btn-session:hover { background: var(--mint-gray-100); }

.tc-saved-indicator { background: var(--mint-green-light); border: 1px solid var(--mint-green); border-radius: 12px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2rem; }
.tc-saved-indicator .icon { color: var(--mint-green); font-size: 1.25rem; }
.tc-saved-indicator p { margin: 0; font-size: 0.9rem; color: var(--mint-gray-700); }

/* PROFILE CARDS */
.tc-profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 991px) { .tc-profile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .tc-profile-grid { grid-template-columns: 1fr; } }
.tc-profile-card { background: white; border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--mint-gray-200); }
.tc-profile-card.highlight { border-color: var(--mint-green); background: linear-gradient(180deg, white 0%, var(--mint-green-light) 100%); }
.tc-profile-card .label { font-size: 0.75rem; font-weight: 600; color: var(--mint-gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.tc-profile-card .value { font-size: 2rem; font-weight: 800; color: var(--mint-teal-dark); line-height: 1; }
.tc-profile-card .unit { font-size: 0.9rem; font-weight: 600; color: var(--mint-gray-500); margin-left: 0.25rem; }
.tc-profile-card .note { font-size: 0.75rem; color: var(--mint-gray-500); margin-top: 0.5rem; }
.tc-profile-card.highlight .value { color: var(--mint-green-dark); }

/* CAPACITY BAR */
.tc-capacity-visual { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow-md); margin-bottom: 2rem; }
.tc-capacity-visual h3 { font-size: 1rem; font-weight: 700; color: var(--mint-teal-dark); margin: 0 0 1rem 0; }
.tc-capacity-bar-wrap { position: relative; margin-bottom: 1rem; }
.tc-capacity-bar { display: flex; height: 50px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.tc-capacity-segment { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 0.85rem; }
.tc-capacity-segment .range { font-size: 0.7rem; opacity: 0.9; }
.tc-capacity-segment.suv { background: var(--tow-red); }
.tc-capacity-segment.half { background: var(--tow-orange); }
.tc-capacity-segment.three-quarter { background: var(--tow-yellow); color: var(--mint-gray-800); }
.tc-capacity-segment.one-ton { background: var(--tow-green); }
.tc-vehicle-marker { position: absolute; top: 55px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 10; }
.tc-vehicle-marker::before { content: ''; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid var(--mint-teal-dark); }
.tc-vehicle-marker-label { background: var(--mint-teal-dark); color: white; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.tc-capacity-legend { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--mint-gray-500); margin-top: 2rem; }

/* TOP RVS */
.tc-top-rvs-section { padding: 3rem 1.5rem; background: white; }
.tc-section-header { text-align: center; margin-bottom: 2rem; }
.tc-section-header h2 { font-size: 1.75rem; font-weight: 800; color: var(--mint-teal-dark); margin: 0 0 0.5rem 0; }
.tc-section-header p { color: var(--mint-gray-600); font-size: 1rem; margin: 0; max-width: 500px; margin-left: auto; margin-right: auto; }
.tc-top-rvs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; max-width: 1200px; margin: 0 auto; }

/* RV Class Cards with Images */
.tc-class-card { background: white; border: 1px solid var(--mint-gray-200); border-radius: 12px; overflow: hidden; transition: all 0.2s; display: flex; flex-direction: column; }
.tc-class-card:hover { border-color: var(--mint-green); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tc-class-card.exceed { opacity: 0.7; }
.tc-class-card.exceed:hover { opacity: 0.85; }
.tc-class-card-image { height: 120px; background-size: cover; background-position: center; position: relative; background-color: var(--mint-gray-100); }
.tc-class-card-icon { position: absolute; top: 0.75rem; left: 0.75rem; width: 40px; height: 40px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; box-shadow: var(--shadow-md); }
.tc-class-card-body { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.tc-class-card-body h3 { margin: 0 0 0.25rem 0; font-size: 1.1rem; font-weight: 700; color: var(--mint-teal-dark); }
.tc-class-weight-range { font-size: 0.8rem; color: var(--mint-gray-500); margin-bottom: 0.75rem; }
.tc-class-capacity-bar { height: 6px; background: var(--mint-gray-200); border-radius: 3px; margin-bottom: 0.5rem; overflow: hidden; }
.tc-class-capacity-fill { height: 100%; border-radius: 3px; }
.tc-class-capacity-fill.safe { background: var(--tow-green); }
.tc-class-capacity-fill.caution { background: var(--tow-orange); }
.tc-class-capacity-fill.exceed { background: var(--tow-red); }
.tc-class-status { font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.tc-class-status.safe { color: var(--tow-green); }
.tc-class-status.caution { color: var(--tow-orange); }
.tc-class-status.exceed { color: var(--tow-red); }
.tc-top-rv { background: var(--mint-gray-50); border-radius: 8px; padding: 0.75rem; margin-bottom: 0.75rem; flex: 1; }
.tc-top-rv-label { font-size: 0.65rem; font-weight: 700; color: var(--mint-green); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.35rem; }
.tc-top-rv-content { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.tc-top-rv-info { flex: 1; min-width: 0; }
.tc-top-rv-name { font-size: 0.85rem; font-weight: 600; color: var(--mint-teal-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-mint-score { background: var(--mint-green); color: white; padding: 0.35rem 0.5rem; border-radius: 6px; font-size: 0.85rem; font-weight: 700; min-width: 36px; text-align: center; }
.tc-class-browse { display: block; text-align: center; padding: 0.6rem; background: var(--mint-green-light); border-radius: 6px; color: var(--mint-teal-dark); font-size: 0.85rem; font-weight: 600; text-decoration: none; margin-top: auto; }
.tc-class-browse:hover { background: var(--mint-green); color: white; }

/* TABLES */
.tc-tables-section { padding: 3rem 1.5rem; background: var(--mint-gray-50); }
.tc-tables-inner { max-width: 1000px; margin: 0 auto; }
.tc-tables-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 1.5rem; }
@media (max-width: 500px) { .tc-tables-grid { grid-template-columns: 1fr; } }
.tc-table-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.tc-table-card h3 { background: var(--mint-teal-dark); color: white; padding: 1rem 1.25rem; margin: 0; font-size: 1rem; font-weight: 700; }
.tc-table-card table { width: 100%; border-collapse: collapse; }
.tc-table-card th, .tc-table-card td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--mint-gray-200); font-size: 0.9rem; }
.tc-table-card th { background: var(--mint-gray-100); font-weight: 600; color: var(--mint-gray-600); font-size: 0.75rem; text-transform: uppercase; }
.tc-table-card td:last-child { font-weight: 600; color: var(--mint-teal-dark); }
.tc-table-card tr:last-child td { border-bottom: none; }
.tc-table-link { display: block; padding: 0.75rem 1rem; text-align: center; background: var(--mint-gray-50); color: var(--mint-green); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-top: 1px solid var(--mint-gray-200); }
.tc-table-link:hover { background: var(--mint-green-light); }

/* EDUCATION */
.tc-education-section { padding: 3rem 1.5rem; background: white; }
.tc-education-inner { max-width: 1100px; margin: 0 auto; }
.tc-terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 767px) { .tc-terms-grid { grid-template-columns: 1fr; } }
.tc-terms-box { background: var(--mint-gray-50); border-radius: 12px; padding: 1.5rem; }
.tc-terms-box h3 { font-size: 1.1rem; font-weight: 700; color: var(--mint-teal-dark); margin: 0 0 1rem 0; display: flex; align-items: center; gap: 0.5rem; }
.tc-terms-box h3 .icon { width: 28px; height: 28px; background: var(--mint-green-light); color: var(--mint-green); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.tc-term-item { margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--mint-gray-200); }
.tc-term-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.tc-term-item dt { font-weight: 600; color: var(--mint-teal-dark); font-size: 0.9rem; margin-bottom: 0.15rem; }
.tc-term-item dd { color: var(--mint-gray-600); font-size: 0.85rem; margin: 0; line-height: 1.5; }

.tc-tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 767px) { .tc-tips-grid { grid-template-columns: 1fr; } }
.tc-tip-card { background: linear-gradient(135deg, var(--mint-teal-dark) 0%, var(--mint-teal) 100%); border-radius: 12px; padding: 1.5rem; color: white; }
.tc-tip-card .number { width: 32px; height: 32px; background: var(--mint-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.75rem; }
.tc-tip-card h4 { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem 0; }
.tc-tip-card p { font-size: 0.85rem; opacity: 0.9; margin: 0; line-height: 1.5; }

/* FAQ */
.tc-faq-section { padding: 3rem 1.5rem; background: var(--mint-gray-50); }
.tc-faq-inner { max-width: 800px; margin: 0 auto; }
.tc-faq-item { background: white; border-radius: 10px; margin-bottom: 0.75rem; border: 1px solid var(--mint-gray-200); overflow: hidden; }
.tc-faq-question { padding: 1rem 1.25rem; font-weight: 600; color: var(--mint-teal-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.tc-faq-question:hover { background: var(--mint-gray-50); }
.tc-faq-question .icon { color: var(--mint-green); font-size: 1.25rem; transition: transform 0.2s; }
.tc-faq-item.open .tc-faq-question .icon { transform: rotate(45deg); }
.tc-faq-answer { display: none; padding: 0 1.25rem 1.25rem; color: var(--mint-gray-600); line-height: 1.7; font-size: 0.95rem; }
.tc-faq-item.open .tc-faq-answer { display: block; }

/* MODAL */
.tc-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9999; align-items: center; justify-content: center; padding: 1rem; }
.tc-modal-overlay.show { display: flex; }
.tc-modal { background: white; border-radius: 16px; max-width: 420px; width: 100%; padding: 2rem; position: relative; box-shadow: var(--shadow-xl); }
.tc-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: var(--mint-gray-400); cursor: pointer; }
.tc-modal h3 { font-size: 1.5rem; font-weight: 800; color: var(--mint-teal-dark); margin: 0 0 0.5rem 0; text-align: center; }
.tc-modal-subtitle { color: var(--mint-gray-600); text-align: center; margin-bottom: 1.5rem; font-size: 0.95rem; }
.tc-social-logins { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.tc-social-btn { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--mint-gray-200); border-radius: 8px; background: white; font-size: 0.95rem; font-weight: 600; color: var(--mint-gray-700); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.75rem; transition: all 0.2s; }
.tc-social-btn:hover { background: var(--mint-gray-50); border-color: var(--mint-gray-300); }
.tc-modal-divider { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--mint-gray-400); font-size: 0.85rem; }
.tc-modal-divider::before, .tc-modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--mint-gray-200); }
.tc-modal-form input { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--mint-gray-200); border-radius: 8px; font-size: 0.95rem; margin-bottom: 0.75rem; }
.tc-modal-form input:focus { outline: none; border-color: var(--mint-green); }
.tc-modal-form button { width: 100%; padding: 0.85rem; background: var(--mint-green); color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; }
.tc-modal-form button:hover { background: var(--mint-green-dark); }
.tc-modal-footer { text-align: center; margin-top: 1rem; font-size: 0.85rem; color: var(--mint-gray-500); }
.tc-modal-footer a { color: var(--mint-green); text-decoration: none; font-weight: 600; }

/* UTILITIES */
.tc-spinner { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--mint-gray-200); border-top-color: var(--mint-green); border-radius: 50%; animation: tc-spin 0.6s linear infinite; margin-right: 0.5rem; vertical-align: middle; }
@keyframes tc-spin { to { transform: rotate(360deg); } }

/* Hide hero when results showing */
.tc-hero.hidden { display: none; }

@media (max-width: 767px) {
    .tc-hero h1 { font-size: 1.75rem; }
    .tc-profile-card .value { font-size: 1.5rem; }
    .tc-vehicle-header { flex-direction: column; text-align: center; }
    .tc-vehicle-header h2 { font-size: 1.25rem; }
}