.innerContainer {
    margin: 0 auto;
    max-width: 1280px;
	width: 100%;
}
.roadx-dealer-main .innerContainer {
    display: flex;
    max-width: 100%;
	column-gap: 64px;
}
a.roadx-iw-directions:focus-visible {
    outline: none !important;
}
.roadx-dealer-card.is-active {
    background: #ededed;
}
/* ── Hero / search section ── */
.roadx-dealer-hero {
    padding: 115px 20px 120px 20px;
    position: relative;
    overflow: hidden;
    margin-top: -57px;
    margin-bottom: -57px;
    z-index: 1;
	filter: url(#round);
}
section.roadx-dealer-hero::before {
    content: '';
    clip-path: polygon(0 50px, 83% 50px, 83% 0, 100% 0, 100% 100%, 93% 100%, 93% 87%, 0 87%);
	-webkit-clip-path: polygon(0 50px, 83% 50px, 83% 0, 100% 0, 100% 100%, 93% 100%, 93% 87%, 0 87%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #333333;
}




.roadx-dealer-hero > * { position: relative; z-index: 1; }
.roadx-dealer-title {
    font-size: 40px !important;
    color: #ffffff !important;
	font-weight: 600 !important;
    margin: 0 0 30px 0 !important;
	text-transform: uppercase !important;
}



/* ── Search row ── */
.roadx-search-row {
    display: flex;
    gap: 40px;
    align-items: stretch;
    max-width: 100%;
}

.roadx-input-wrap {
    flex: 1;
    position: relative;
    border-bottom: 2px solid var(--rx-red);
    width: calc(100% - 314px);
}
.roadx-btn-search {
    padding: 9px 25px !important;
}
.roadx-select-wrap select,
.roadx-input-wrap input,
.roadx-input-wrap gmp-place-autocomplete {
    background: transparent;
    height: 44px;
    border-width: 0 0 1px 0 !important;
    border-color: #C72127 !important;
    padding: 0 35px 0 0 !important;
    color: #fff !important;
    outline: none !important;
}

.roadx-input-wrap input::placeholder { color: #fff; }

.roadx-input-wrap gmp-place-autocomplete {
    display: block;
    width: 100%;
    color-scheme: dark;
}

.roadx-icon-search {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    display: flex;
}

.roadx-select-wrap {
    position: relative;
    min-width: 214px;
}
.roadx-select-wrap select {
    appearance: none !important;
    background: transparent url('data:image/svg+xml,<svg width="16" height="10" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 1.464L8.73199 8.73201C8.53746 8.92539 8.2743 9.03394 8 9.03394C7.7257 9.03394 7.46254 8.92539 7.26801 8.73201L0 1.464L1.46398 1.51948e-05L7.99481 6.53084L14.5256 1.46239e-05L16 1.464Z" fill="%23F2F2F7"/></svg>') no-repeat right center;
}


.roadx-select-wrap select option {
    background: #1e1e1e;
    color: #fff;
}
.roadx-select-wrap span.roadx-icon-chevron {
    display: none;
}
.roadx-icon-chevron {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    display: flex;
}
.roadx-btn-search:hover{
	background: #000 !important;
	border-color: #fff !important;
}

/* ── Main layout ── */
.roadx-dealer-main {
    display: flex;
    padding-left: calc(100% - 1700px);
    background: #fff;
}

/* ── Dealer list ── */
.roadx-dealer-list {
    width: 320px;
    background: #ffffff;
    color: var(--rx-text);
    overflow-y: auto;
    flex-shrink: 0;
    height: 725px;
    margin-top: 35px;
    margin-bottom: 120px;
}
.roadx-dealer-list::-webkit-scrollbar {width: 0px;transition: all 0.3s ease;}
.roadx-dealer-list:hover::-webkit-scrollbar { width: 4px; }
.roadx-dealer-list::-webkit-scrollbar-track { background: #ddd; }
.roadx-dealer-list::-webkit-scrollbar-thumb { background: #C72127; border-radius: 2px; }

/* ── Single dealer card ── */
.roadx-dealer-card {
    display: flex;
    gap: 14px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    cursor: pointer;
    transition: background 0.15s;
}

/* .roadx-dealer-card:hover { background: #f7f7f7; }

.roadx-dealer-card.is-active {
    background: #fdf5f5;
} */

.roadx-dealer-card.is-active .roadx-dname {
    color: var(--rx-red);
}

.roadx-dealer-pin { margin-top: 3px; flex-shrink: 0; }

.roadx-dinfo { flex: 1; }

.roadx-dname {
    font-family: "Open Sans" , sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 5px;
    transition: color 0.2s;
    color: #333333;
    letter-spacing: 0.3px;
	width:98%;
}

.roadx-dphone,
.roadx-daddress {
	 font-family: "Open Sans" , sans-serif;
    font-size: 14px;
   color: #333333;
    line-height: 1.65;
	font-weight:400;
	width:98%;
}

.roadx-dphone {
/*     font-size: 13px;
    color: var(--rx-muted); */
    margin-top: 5px;
}

.roadx-ddistance {
    color: var(--rx-red);
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}

/* ── Loading / empty states ── */
.roadx-loading,
.roadx-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    gap: 12px;
    color: #999;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
}

.roadx-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #eee;
    border-top-color: var(--rx-red);
    border-radius: 50%;
    animation: roadx-spin 0.8s linear infinite;
}

@keyframes roadx-spin { to { transform: rotate(360deg); } }

/* ── Google Map ── */
.roadx-map {
    flex: 1;
    min-width: 0;
    min-height: 100%;
}

.roadx-map-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background: #f2f2f2;
    color: #777;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
}

/* ── Map info window ── */
.roadx-iw {
/*     font-family: 'Barlow', sans-serif; */
    font-size: 12px;
    line-height: 1.35;
    min-width: 220px;
    max-width: 260px;
}

.roadx-iw-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.roadx-iw-marker {
    flex: 0 0 38px;
    width: 38px;
    padding-top: 2px;
}

.roadx-iw-marker-img {
    display: block;
    width: 36px;
    height: auto;
}

.roadx-iw-marker-fallback {
    display: block;
    width: 34px;
    height: 34px;
    background: #050505;
}

.roadx-iw-details {
    flex: 1;
    min-width: 0;
}

.roadx-iw-name {
/*     font-family: 'Barlow Condensed', sans-serif; */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #111;
    line-height: 1.15;
    margin-bottom: 4px;
}
.roadx-iw-addr {
    color: #333;
    font-size: 14px;
}


.roadx-iw-phone {
     color: #333;
    margin-top: 4px;
}

.roadx-iw-distance {
    color: var(--rx-red);
    margin-top: 4px;
    font-weight: 600;
}

.roadx-iw-actions {
    align-items: center;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 14px;
    margin-top: 10px;
    padding-top: 9px;
    white-space: nowrap;
}

.roadx-iw-action {
    color: #333;
    font-size: 12px;
}

.roadx-iw-directions {
    border-bottom: 1px solid var(--rx-red);
    color: #333;
    font-size: 12px;
    margin-left: auto;
    padding-bottom: 2px;
    text-decoration: none;
}

.roadx-iw-directions:hover {
    color: var(--rx-red);
}

/* ── Location permission banner ── */
.roadx-location-banner {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.roadx-location-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.roadx-location-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.roadx-location-text-group {
    flex: 1;
}

.roadx-location-main {
    font-weight: 600;
    margin-bottom: 4px;
}

.roadx-location-subtext {
    font-size: 12px;
    color: #666;
}

.roadx-location-btn {
    background: var(--rx-red, #C0161F);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background 0.2s;
}

.roadx-location-btn:hover {
    background: #a01219;
}

/* ── Location permission modal ── */
.roadx-permission-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: roadxFadeIn 0.3s ease-in-out;
}

.roadx-permission-overlay.roadx-permission-closing {
    animation: roadxFadeOut 0.3s ease-in-out;
}

@keyframes roadxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes roadxFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.roadx-permission-modal {
    background: white;
    border-radius: 8px;
    padding: 40px 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.roadx-permission-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.roadx-permission-close:hover {
    background: #f0f0f0;
    color: #333;
}

.roadx-permission-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.roadx-permission-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px;
    color: #222;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.02em;
}

.roadx-permission-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.6;
}

.roadx-permission-instructions {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 13px;
}

.roadx-permission-label {
    font-weight: 600;
    color: #222;
    margin: 0 0 12px;
}

.roadx-permission-step {
    margin-bottom: 16px;
}

.roadx-permission-step:last-child {
    margin-bottom: 0;
}

.roadx-permission-step strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.roadx-permission-step ol {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.roadx-permission-step li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.roadx-permission-buttons {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.roadx-permission-btn-primary,
.roadx-permission-btn-secondary {
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.roadx-permission-btn-primary {
    background: var(--rx-red, #C0161F);
    color: white;
}

.roadx-permission-btn-primary:hover {
    background: #a01219;
}

.roadx-permission-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.roadx-permission-btn-secondary:hover {
    background: #e0e0e0;
}

button.gm-ui-hover-effect {
    position: absolute !important;
    right: 5px;
    top: 5px;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    justify-content: center;
    align-items: center !important;
    background: #fff !important;
}
button.gm-ui-hover-effect span {
    margin: 0 !important;
    padding: 0 !important;
    width: 20px !important;
    height: 20px !important;
}
.gm-style .gm-style-iw-d {
    padding: 30px 20px 20px 20px !important;
    margin: 0 !important;
}
.gm-style .gm-style-iw-c{
	padding: 0 !important;
}
.gm-style-iw-ch {
    padding-top: 0 !important;
}




@media (max-width: 1600px) {
	.roadx-dealer-main{
		padding-left: calc(100% - 1520px);
	}
	.roadx-dealer-main .innerContainer {
		column-gap: 50px;
	}
}

@media (max-width: 1550px) {
	.roadx-dealer-main{
		padding-left: 20px;
	}
}

@media (max-width: 1200px) {
	.innerContainer {
		max-width: 1024px;
	}
	.roadx-dealer-title {
		font-size: 30px !important;
	}
	.roadx-dealer-main .innerContainer {
		column-gap: 30px;
	}
}
@media (max-width: 880px) {
	.roadx-dealer-list {
		width: 270px;
	}
}

/* Responsive */
@media (max-width: 767px) {
	.roadx-dealer-main {
		padding-left: 0;
	}
	.roadx-search-row {
		gap: 20px;
		flex-direction: column;
	}
	.roadx-input-wrap {
		width: 100%;
	}
    .roadx-permission-modal {
        padding: 32px 20px;
        width: 95%;
    }
    
    .roadx-permission-title {
        font-size: 18px;
    }
	.roadx-map {
		flex: unset;
		height: 460px;
	}
	.roadx-dealer-main .innerContainer {
		flex-direction: column-reverse;
	}
	.roadx-dealer-main {
		display: block;
	}
	.roadx-dealer-list {
    width: 100%;
    padding: 0 20px;
    height: 470px;
}
/*
	.roadx-dealer-list {
		width: 100%;
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
		height: auto;
		overflow-x: auto;
		overflow-y: hidden;
		margin-bottom:75px;
		margin-top:0;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
	}
	
	.roadx-dealer-list > * {
		flex: 0 0 auto;
	}
	
	
	
		.roadx-dealer-list::-webkit-scrollbar {
			height: 4px;
		}

		
		@media screen and (-webkit-min-device-pixel-ratio:0) {
			@supports not (-webkit-touch-callout: none) {

				.roadx-dealer-list::-webkit-scrollbar {
					height: 10px;
				}

			}
		}
	.roadx-dealer-list::-webkit-scrollbar-track {
		background: #ddd;
	}
	.roadx-dealer-list::-webkit-scrollbar-thumb {
		background: #C72127;
		border-radius: 2px;
	}
	 */
	
	
	.roadx-dealer-card {
		display: flex;
		gap: 14px;
		padding: 15px;
		border-bottom: 1px solid rgba(51, 51, 51, 0.5);
/* 		border-right: 1px solid rgba(51, 51, 51, 0.5); */
		cursor: pointer;
		transition: background 0.15s;
		min-width: 300px;
	}
	.roadx-dname {
		font-size: 16px;
	}
	section.roadx-dealer-hero::before {
		clip-path: polygon(0 50px, 83% 50px, 83% 0, 100% 0, 100% 100%, 75% 100%, 75% 93%, 0 93%);
		-webkit-clip-path: polygon(0 50px, 83% 50px, 83% 0, 100% 0, 100% 100%, 75% 100%, 75% 93%, 0 93%);
	}
	.roadx-dealer-hero {
		padding: 95px 20px 80px 20px;
		margin-bottom: -40px;
	}
}

/* ── Cross-country Redirection Modal ── */
.roadx-redirect-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    padding: 20px;
}

.roadx-redirect-modal-overlay.roadx-redirect-modal-open {
    opacity: 1;
    visibility: visible;
}

.roadx-redirect-modal-overlay.roadx-redirect-modal-closing {
    opacity: 0;
}

.roadx-redirect-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.04),
        0 24px 48px rgba(0, 0, 0, 0.18),
        0 8px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    transform: scale(0.88) translateY(28px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.roadx-redirect-modal-overlay.roadx-redirect-modal-open .roadx-redirect-modal {
    transform: scale(1) translateY(0);
}

.roadx-redirect-modal-overlay.roadx-redirect-modal-closing .roadx-redirect-modal {
    transform: scale(0.88) translateY(28px);
}

/* Accent bar at top */
.roadx-redirect-modal-accent {
    height: 5px;
    background: linear-gradient(90deg, #C72127 0%, #8E1017 50%, #C72127 100%);
    background-size: 200% 100%;
    animation: roadxAccentSlide 3s ease-in-out infinite;
}

@keyframes roadxAccentSlide {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.roadx-redirect-modal-inner {
    padding: 32px 36px 36px;
}

.roadx-redirect-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.05);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    z-index: 2;
}

.roadx-redirect-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #1f2937;
}

/* Header: flags + title */
.roadx-redirect-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.roadx-redirect-flags {
    display: flex;
    align-items: center;
    gap: 12px;
}

.roadx-redirect-flag {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #f4f5f6;
    flex-shrink: 0;
    line-height: 1;
}

.roadx-redirect-flag-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #C72127;
}

.roadx-redirect-flag-arrow svg {
    display: block;
}

.roadx-redirect-modal-title {
    font-family: 'Barlow Condensed', 'Open Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.1;
}

/* Divider */
.roadx-redirect-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 0 0 20px;
}

/* Body */
.roadx-redirect-modal-body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #4b5563;
    text-align: center;
    margin-bottom: 28px;
}

.roadx-redirect-modal-body p {
    margin: 0 0 10px;
}

.roadx-redirect-modal-body p:last-child {
    margin-bottom: 0;
}

.roadx-redirect-modal-body strong {
    color: #111111;
    font-weight: 700;
}

/* Destination site chip */
.roadx-redirect-site-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    padding: 5px 14px 5px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 8px 0 4px;
    font-family: 'Open Sans', sans-serif;
}

.roadx-redirect-site-chip .roadx-chip-flag {
    font-size: 16px;
    line-height: 1;
}

/* Footer buttons */
.roadx-redirect-modal-footer {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.roadx-redirect-btn-stay {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    background: transparent;
    border: 2px solid #e5e7eb;
    color: #6b7280;
    flex: 0 0 auto;
    white-space: nowrap;
}

.roadx-redirect-btn-stay:hover {
    border-color: #d1d5db;
    color: #374151;
    background: #f9fafb;
}

.roadx-redirect-btn-switch {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3;
    background: #C72127;
    border: 2px solid #C72127;
    color: #ffffff;
    flex: 1;
    box-shadow: 0 4px 14px rgba(199, 33, 39, 0.28);
}

.roadx-redirect-btn-switch:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.roadx-redirect-btn-switch:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@keyframes roadxPulse {
    0%   { box-shadow: 0 0 0 0 rgba(199, 33, 39, 0.25); }
    70%  { box-shadow: 0 0 0 12px rgba(199, 33, 39, 0); }
    100% { box-shadow: 0 0 0 0 rgba(199, 33, 39, 0); }
}

@media (max-width: 480px) {
    .roadx-redirect-modal-inner {
        padding: 24px 22px 28px;
    }
    .roadx-redirect-modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .roadx-redirect-btn-stay {
        width: 100%;
    }
    .roadx-redirect-modal-title {
        font-size: 22px;
    }
}

/* ══ Responsive ══ */
/* @media (max-width: 900px) {
    .roadx-dealer-hero { padding: 32px 20px 28px; }
    .roadx-search-row  { flex-wrap: wrap; }
    .roadx-dealer-main { flex-direction: column; height: auto; }
    .roadx-dealer-list { width: 100%; max-height: 320px; }
    .roadx-map         { height: 420px; }
}

@media (max-width: 480px) {
    .roadx-select-wrap { min-width: 100%; }
    .roadx-input-wrap  { min-width: 100%; }
    .roadx-btn-search  { width: 100%; padding: 14px; }
}
 */
