/* 
Theme Name: Dunlop Tire Theme
Theme URI: https://yeswebdesignstudio.com/
Description: Dunlop Tire Child is a child theme of Hello Elementor, created by Yes Webdesign Studio team
Author: Yes Webdesign Studio Team
Author URI: https://yeswebdesignstudio.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: yes
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
body {
	font-family: 'Noto Sans Thai';
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

p {
	margin-block-end: 0;
	margin-block-start: 0;
}

#tire-filter-form {
	font-family: 'Noto Sans Thai';
}
.forminator-input,
.forminator-textarea{
	color: #FFFFFF;
}
#tire-filter-form h4 {
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	font-family: 'Noto Sans Thai';
	margin-bottom: 12px;
}

#tire-filter-form hr {
	border: none;
	background-color: rgba(255, 255, 255, 0.3);
	margin: 24px auto;
	height: 1px;
}

.top-filter {
	background: linear-gradient(180deg, #2A2A2A 0%, rgba(42, 42, 42, 0.00) 100%), #000;
	width: 100%;
}

.tire-category-tabs {
	display: flex;
	gap: 16px;
	list-style: none;
	justify-content: center;
	padding: 0;
}

.tire-category-tabs li a {
	padding: 12px 16px;
	display: block;
	border-bottom: solid 1px transparent;
	/*font-weight: 500;*/
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	text-transform: uppercase;
	color: #FFFFFF;
}

.tire-category-tabs li.active a {
	background: #222;
	color: #fff;
	border-bottom: solid 1px #FEDE29;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.30) 100%);
}

.tire-grid-wrap {
	display: flex;
	gap: 32px;
	color: #FFF;
	max-width: 1200px;
	margin: auto;
	padding: 60px 20px;
}

.tire-filter-sidebar {
	width: 220px;
}

.tire-product-grid {
	flex: 1;
}

.tire-products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.product-card {
	border: 1px solid #333;
	position: relative;
}

.product-card .product-cats {
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 10px;
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.product-card .product-cats .cat {
	padding: 3px 10px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.70);
	text-align: center;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	/* 166.667% */
	text-transform: uppercase;
}

.product-card .img {
	background: radial-gradient(ellipse at center, #606060 5%, #151515 75%);
	padding: 50px 0;
	position: relative;
}

.product-card .img img {
	width: 100%;
	height: 174px;
	object-fit: contain;
}

.product-card .product-card-content {
	padding: 34px 24px 16px;
	background-color: #151515;
}

.product-card .card-title {
	color: var(--Yellow-500, #FFDF00);
	/* body-en/lg */
	font-family: var(--type-font-family-en, Barlow);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
}

.product-card .subtitle {
	color: #FFF;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
}

label.compare {
	margin-top: 16px;
	margin-bottom: 0;
}

.compare span {
	color: #B2B2B2;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
}

.view-btn {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 16px;
	background: #ffd600;
	color: #000;
	text-decoration: none;
}

.filter-checkbox {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	margin-bottom: 12px;
	cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
	display: none;
}

.filter-checkbox .checkmark {
	width: 16px;
	height: 16px;
	border: 1px solid rgba(255, 255, 255, .60);
	background: transparent;
	margin-right: 10px;
	position: relative;
	border-radius: 3px;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark {
	background: #ffe100;
	border-color: #ffe100;
}

.filter-checkbox .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark:after {
	display: block;
}

.filter-checkbox .checkmark:after {
	left: 4px;
	top: 0px;
	width: 6px;
	height: 12px;
	border: solid #000;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
	content: "";
	position: absolute;
}

#price-slider .noUi-connect {
	background: #ffe01b;
}

#price-slider.noUi-target {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none;
}

#price-slider .noUi-handle {
	background: #111;
	border: 3px solid #ffe01b;
	border-radius: 50%;
	width: 14px;
	height: 14px;
	box-shadow: 0 0 0 4px rgba(255, 224, 27, 0.15);
	cursor: pointer;
	top: -5px;
	overflow: hidden;
}

#price-slider .noUi-handle:after,
#price-slider .noUi-handle:before {
	display: none;
}

#price-slider .noUi-base,
#price-slider .noUi-connects {
	height: 6px;
	border-radius: 4px;
	background: #444;
}

#price-slider {
	margin: 24px 0;
}

#price-slider-display {
	font-size: 14px;
	text-align: center;
	padding: 7px 10px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

#price-slider .noUi-touch-area {
	background: #FFF;
}

#price-slider .noUi-handle {
	right: -6px;
}

.price-range {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	margin-bottom: 12px;
}

.wrapper-more-detail {
	display: none;
	position: absolute;
	width: 100%;
    top: 67%;
}

.product-card:hover .wrapper-more-detail {
	display: block;
}

.tire-products .more-detail {
	position: relative;
	box-sizing: border-box;
	margin-top: -27px;
	display: flex;
	text-align: center;
	justify-content: center;
	align-items: center;
}

.tire-products .more-detail a {
	width: 50%;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tire-products .more-detail a.view-deail {
	background-color: #2A2A2A;
	color: #FFDF00;
}

.tire-products .more-detail a.view-deail:after {
	content: url('/wp-content/uploads/2025/07/view-arrow.svg');
	margin-top: 5px;
	margin-left: 7px;
}

.tire-products .more-detail a.view-dealer {
	background-color: #FFDF00;
	color: #000000;
	padding: 10px 0 11px;
}

.yes-product-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.yes-hero-left {
	flex: 1;
	min-width: 300px;
}

.yes-hero-title {
	color: var(--Primary-Yellow, #FEDE29);

	/* heading-en/h3 */
	font-family: var(--type-font-family-en, Barlow);
	font-size: var(--fontsize-heading-h3, 32px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--lineheight-heading-h3, 40px);
	/* 125% */
}

.yes-hero-subtitle {
	color: #FFF;
	font-size: 24px;
	font-style: normal;
	font-weight: 500;
	line-height: 32px;
	/* 133.333% */
	margin-top: 12px;
}
.term-badges{
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.yes-badge {
	border: 1px solid #888;
	border-radius: 100px;
	padding: 3px 10px;
	color: rgba(255, 255, 255, 0.70);
	text-align: center;
	text-transform: uppercase;
	/* body-en/xs */
	/*font-family: var(--type-font-family-en, Barlow);*/
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

.term-badge {
	display: inline-block;
	background: #232323;
	color: #fff;
	font-size: 12px;
	border-radius: 4px;
	padding: 4px 12px;
	margin-right: 6px;
	margin-bottom: 2px;
	letter-spacing: 1px;
}


.yes-rating-star {
	color: #FFD600;
	margin-left: 8px;
}

.yes-rating-score {
	color: #FFD600;
}

.yes-rating-count {
	color: #aaa;
	font-size: 0.9em;
}

.yes-hero-description {
	color: var(--neutral-200, #D5D5D5);

	/* body-th/md-reg */
	font-family: "Noto Sans Thai";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	/* 150% */
	margin-top: 24px;
}

.yes-hero-center {
	flex: 1;
	text-align: center;
}

#yes-hero-main-image {
	width: 366px;
	height: 364px;
	overflow: hidden;
}

#yes-hero-main-image .yes-hero-main-img {
	height: 100%;
	width: 100%;
	margin-bottom: 20px;
	object-fit: contain;
}

.yes-hero-thumbnails {
	display: flex;
	gap: 7px;
	justify-content: center;
	margin-top: 55px;
}

.yes-hero-thumbnails .wrapper-img {
	width: 80px;
	height: 80px;
	/*border: 2px solid #222;*/
	background: radial-gradient(ellipse at center, #606060 5%, #151515 75%);
	cursor: pointer;
	/*border-radius: 4px;*/
}

.yes-hero-thumbnails .yes-hero-thumb {
	height: 100%;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	object-fit: contain;
	/*border-radius: 4px;*/
}

.yes-hero-thumb.active {
	border: 1px solid rgba(255, 255, 255, 0.8);
	/*box-shadow: 0 0 6px #FFD60099;*/
}

.yes-hero-right {
	flex: 1;
	min-width: 200px;
}

.yes-hero-label {
	color: #FFF;
	leading-trim: both;
	text-edge: cap;
	font-family: var(--type-font-family-th, "Noto Sans Thai");
	font-size: var(--fontsize-body-md, 16px);
	font-style: normal;
	font-weight: 400;
	line-height: var(--border-radius-none, 24px);
	/* 150% */
}

.yes-hero-price {
	color: var(--Primary-Yellow, #FEDE29);
	leading-trim: both;
	text-edge: cap;
	font-family: var(--type-font-family-en, Barlow);
	font-size: var(--fontsize-heading-h3, 32px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--lineheight-heading-h3, 40px);
	/* 125% */
}

.yes-hero-price-unit {
	color: var(--Yellow-500, #FFDF00);
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	font-family: var(--type-font-family-th, "Noto Sans Thai");
	font-size: var(--fontsize-body-md, 16px);
	font-style: normal;
	font-weight: 400;
	line-height: var(--border-radius-none, 24px);
	/* 150% */
}

.yes-hero-right .yes-hero-cta {
	color: #000;
	/* body-th/md-med */
	font-family: "Noto Sans Thai";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
	/* 150% */
	display: inline-block;
	margin: 18px 0 10px 0;
	background: #FFD600;
	color: #222;
	padding: 7px 16px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #FFD600;
}

.yes-hero-right .yes-hero-cta:hover {
	background-color: transparent;
	color: #FFD600;
	border: 1px solid #FFD600;
}

.yes-hero-compare {
	color: #FFF;

	/* body-th/md-med */
	font-family: "Noto Sans Thai";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
	/* 150% */

	display: inline-block;
	background: none;
	border: 1.5px solid #fff;
	color: #fff;
	padding: 7px 16px;
	text-align: center;
	text-decoration: none;
	width: 168px;
}

.yes-hero-compare:hover {
	background-color: transparent;
	color: #FFD600;
	border: 1px solid #FFD600;
}

.one-line {
	display: flex;
	margin-top: 12px;
}

.top-size {
	display: flex;
	position: relative;
	justify-content: space-between;
	color: #ddd;
	margin-bottom: 40px;
}

.top-size .content-left h2 {
	color: #fff;
	font-size: 32px;
	font-weight: 500;
}

.top-size .content-left .post-title {
	color: #ddd;
	font-size: 18px;
	font-weight: 500;
	padding-top: 8px;
	display: block;
}

.top-size .content-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.rim-tabs {
	display: flex;
	gap: 24px;
	font-size: 16px;
}

.rim-tab {
	background: none;
	border: none;
	color: #fff;
	font-size: 16px;
	padding: 8px 18px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: border 0.2s, background 0.2s;
}

.rim-tab.active {
	border-bottom: 4px solid #ffe01b;
	background: #2d2d2d;
	color: #ffe01b;
	font-weight: 600;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.30) 100%);
}

.rim-slider {
	display: flex;
	overflow-x: auto;
	gap: 16px;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: #ffe01b #222;
}

.rim-slider .size-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.rim-swiper {
	overflow: visible !important;
	clip-path: inset(0 -100% 0 0) !important;
	padding-bottom: 65px !important;
}

.rim-swiper .swiper-nav-btn {
	position: absolute;
	height: 30px;
	width: 100%;
	bottom: 0;
    right: 0;
    margin-right: 15px;
}

.rim-swiper .swiper-button-next,
.rim-swiper .swiper-button-prev {
	width: 30px;
	height: 30px;
	border-radius: 100%;
	border: 1px solid #fff;
}

.rim-swiper .swiper-button-prev {
	left: unset;
	right: 30px;
}

.rim-swiper .swiper-button-next {
	right: -10px;
}

.rim-swiper .swiper-button-next::after,
.rim-swiper .swiper-button-prev::after {
	font-size: 10px;
	color: #fff;
}

.rim-content-wrap .rim-content {
	display: none;
    overflow: hidden;
}

.rim-content-wrap .rim-content.active {
	display: block;
}

.sizes-row {
	display: flex;
	gap: 24px;
}

.size-card {
	color: #fff;
	min-width: 170px;
	font-family: 'Barlow', sans-serif;
}

.size-card div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding: 10px 0;
}

.size-card span img {
	max-width: 12px;
	margin-right: 6px;
}

.size-card .size-card-price {
	font-size: 16px;
	color: #ffe01b;
}

.size-card .tire-price {
	color: #ffe01b;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	gap: 5px;
	align-items: flex-start;
}

.size-card .tire-price span {
	font-size: 14px;
	font-weight: 500;
	padding-top: 2px;
}

.active-tab-text {
	color: #DDD;
	/* body-th/xl */
	font-family: "Noto Sans Thai";
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px;
	padding-bottom: 24px;
	/* 140% */
}

.active-tab-text .text-active {
	color: #FFF;
	/* heading-en/h3 */
	font-family: var(--type-font-family-en, Barlow);
	font-size: var(--fontsize-heading-h3, 32px);
	font-style: normal;
	font-weight: 500;
	line-height: var(--lineheight-heading-h3, 40px);
	/* 125% */
}

.compare-btn-block {
	width: 100%;
	background: #232323;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 5px;
	font-size: 20px;
	padding: 12px 0;
	margin-top: 12px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.compare-btn-block.in-list {
	background: #ffe100;
	color: #232323;
	border-color: #ffe100;
}

.compare-btn-block:disabled {
	background: #888;
	color: #222;
	cursor: not-allowed;
}

/* Compare Table */
.compare-table {
	margin-bottom: 0;
}

.compare-header-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.compare-header-wrapper .close-compare-btn {
	width: 20%;
	max-width: 120px;
	padding: 0 !important;
	color: #fff;
	border: none;
	text-align: left;
}

.compare-header-wrapper .close-compare-btn:focus,
.compare-header-wrapper .close-compare-btn:hover {
	color: #FEDE29;
	background: transparent;
}

.compare-header-wrapper .compare-table-title {
	width: 80%;
}

.compare-table-wrap {
	background: #262626;
	color: #fff;
	overflow-x: auto;
}

.compare-table-wrap::-webkit-scrollbar {
	display: none;
}

.compare-table-scroll {
	min-width: 1240px;
	padding: 60px 30px;
	border: 1px solid #949494;
}

.compare-table-title {
	text-align: center;
	font-size: 28px;
	font-weight: 500;
}

.compare-table {
	display: flex;
	min-width: 700px;
}

.compare-col {
	flex: 0 0 300px;
	z-index: 2;
	border-right: 1px solid #424242;
	display: flex;
	flex-direction: column;
}

.compare-col:nth-child(4n) {
	border-right: none;
}

.compare-table .compare-col-static {
	justify-content: center;
	align-items: center;
}

.compare-logo-img {
	max-width: 120px;
}

.compare-product {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 60px;
}

.compare-product-col {
	flex: 1 1 0;
	padding: 24px 12px;
	border-radius: 6px;
	margin: 0 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.compare-product-title {
	font-weight: 500;
	font-size: 18px;
	margin-bottom: 8px;
	color: #fff;
}

.compare-product-detail {
	font-size: 16px;
	font-weight: 500;
	color: #FEDE29;
	margin-bottom: 30px;
}

.compare-product-detail:hover {
	color: #FEDE29;
}

.link-dealer {
	font-size: 16px;
	font-weight: 500;
	color: #000;
	background: #FEDE29;
	margin-top: 60px;
	padding: 8px 18px;
}

.compare-price {
	color: #FFDF00;
	font-size: 18px;
	font-weight: 600;
}

.remove-compare-btn {
	display: block;
	background: transparent;
	color: #fff;
	font-size: 14px;
	border: 1px solid #fff;
	border-radius: 0;
	padding: 10px 18px;
	margin-top: 10px;
	cursor: pointer;
}

.remove-compare-btn:hover,
.remove-compare-btn:focus {
	background: #FEDE29;
	color: #000;
	border-color: #FEDE29;
}

.compare-features-table {
	display: flex;
}

.compare-feature-labels {
	flex: 1 1 0;
	padding: 0 8px;
}

.compare-feature-row {
	height: 32px;
	display: flex;
	align-items: center;
}

.compare-progress-bar {
	display: flex;
	gap: 2px;
	justify-content: center;
}

.compare-progress-bar-full {
	display: inline-block;
	width: 20px;
	height: 4px;
	background: #FFDF00;
}

.compare-progress-bar-half {
	display: inline-block;
	width: 20px;
	height: 4px;
	background: linear-gradient(to right, #FFDF00 50%, #444 50%);
}

.compare-progress-bar-empty {
	display: inline-block;
	width: 20px;
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
}

.features-row {
	display: flex;
	align-items: center;
}

.compare-col:not(.compare-col-static) .features-row {
	justify-content: center;
}


.features-row+.features-row {
	margin-top: 24px;
	height: 24px;
}

.features-row:has(.link-dealer) {
	height: auto;
}

/* similar tires */
.similar-tires-list {
	display: flex;
}

.similar-tires-list .product-card {
	display: flex;
	width: 34%;
	background: #151515;
	position: relative;
	gap: 20px;
}

.similar-tires-list .product-card a {
	display: block;
	text-align: left;
}

.similar-tires-list .product-card .product-similar-img {
	padding: 21px 0;
	width: 40%;
	background: radial-gradient(50% 50% at 50% 50%, #5D5D5D 30%, #151515 100%);
}

.similar-tires-list .product-card img {
	max-width: 100px;
	height: auto;
}

.similar-tires-list .product-title {
	color: #FFDF00;
	font-family: 'Barlow', sans-serif;
	font-weight: 500;
	margin-bottom: 8px;
}

.similar-tires-list .term-badges {
	margin-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
}

.similar-tires-list .product-static-info {
	font-size: 14px;
	color: #fff;
	margin-bottom: 5px;
}

.similar-tires-list .product-static-info:hover {
	color: #fff;
}

.similar-tires-list .product-subtitle {
	color: #bbb;
	font-size: 13px;
	margin-bottom: 4px;
}

.similar-tires-list .product-cats {
	margin-bottom: 8px;
}

.similar-tires-list .product-similar-content {
	width: 60%;
	padding: 21px 24px 21px 0;
}

.similar-tires-list .product-price {
	font-family: 'Barlow', sans-serif;
	color: #FEDE29;
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 4px;
}

.similar-tires-list .product-price span {
	font-size: 14px;
	font-weight: 400;
	padding-top: 2px;
}

.similar-tires-list .filter-checkbox.compare {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 3px;
}

.similar-tires-list .filter-checkbox .checkmark {
	margin-right: 6px;
	color: #B2B2B2;
	font-size: 12px;
	border-radius: 0;
	width: 13px;
	height: 13px;
}

.similar-tires-list .filter-checkbox .checkmark:after {
	left: 3px;
	width: 6px;
    height: 10px;
}


.similar-tires-list {
	margin: 24px 0;
	text-align: center;
	color: #bbb;
	font-size: 18px;
}


/* Vehicle Search Popup */
.vehicle-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.vehicle-search-popup {
    background: #2a2a2a;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #fff;
    font-family: 'Noto Sans Thai', sans-serif;
}

.popup-header {
    position: absolute;
    top: 15px;
    right: 20px;
}

.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #FEDE29;
}

.vehicle-search-popup .form-group {
    margin-bottom: 24px;
}

.vehicle-search-popup label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.vehicle-search-popup .form-select {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-family: 'Noto Sans Thai', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.vehicle-search-popup .form-select:focus {
    outline: none;
    border-color: #FEDE29;
    box-shadow: 0 0 0 2px rgba(254, 222, 41, 0.2);
}

.vehicle-search-popup .form-select option {
    background: #1a1a1a;
    color: #fff;
}

.vehicle-search-popup .search-btn {
    width: 100%;
    padding: 14px 24px;
    background: #FEDE29;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Noto Sans Thai', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 16px;
}

.vehicle-search-popup .search-btn:hover {
    background: #FFD600;
}

.vehicle-search-popup .search-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.vehicle-search-trigger {
    background: #FEDE29;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Noto Sans Thai', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vehicle-search-trigger:hover {
    background: #FFD600;
}

.dealer-filter-parent option, .dealer-filter-child option{
	color: #000;
}
.car-search-filter {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 5px;
}
.car-search-filter .form-group {
    margin-bottom: 15px;
}
.car-search-filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.car-search-filter select,
.car-search-filter button {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.car-search-filter button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
}
.car-search-filter button:hover {
    background: #005177;
}
.search-tabs-panel { display: none; }
.search-tabs-panel.active, .search-tabs-panel[style*="display: block"] { display: block; }

.search-section {
    background: #000;
    padding: 40px 0;
    position: relative;
}
.search-section .popup-logo{
	width: 237px;
	margin-left: 60px;
    margin-top: -30px;
    position: absolute;
    top: 0;
}
.search-section .popup-close{
	position: absolute;
    top: -30px;
    right: -30px;
}
.search-tabs-layout {
    display: flex;
    justify-content: space-around;
    /* align-items: normal; */
    max-width: 1200px;
    margin: auto;
    padding: 60px;
}
.search-tabs-menu {
    width: 40%;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.search-tabs-panel-wrap{
	width: 60%;
    margin-left: 50px;
}
.search-tabs-menu h2 {
	color: #FFF;
	font-family: "Noto Sans Thai";
	font-size: 28px;
	font-style: normal;
	font-weight: 500;
	line-height: 42px; /* 150% */
}
.search-tabs-menu ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    width: 100%;
    margin-top: 24px;
}
.search-tabs-menu li {
    font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 133.333% */
    background: #000;
    color: rgba(255, 255, 255, 0.20);
    padding: 16px 20px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background 0.2s;
    border-left: solid 2px transparent;
}
.search-tabs-menu li.active,
.search-tabs-menu li:hover {
    border-left: solid #ffc600 2px;
    color: #FFFFFF;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.20);
}
.search-car-img {
    width: 100%;
    max-width: 300px;
    margin-top: 40px;
}

.search-tabs-panel {
    background: #2A2A2A;
    padding: 32px 40px;
    min-width: 400px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-row {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}
.seach-form label {
	color: #FFF;

	/* body-th/lg-reg */
	font-family: "Noto Sans Thai";
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 133.333% */
}
.seach-form select, input[type="text"] {
    width: 100%;
    font-size: 1.15rem;
    padding: 15px 18px;
    border-radius: 0px;
    border: none;
    background: #111;
    color: #fff;
    margin-bottom: 5px;
}
.seach-form select{
	color: #B9B9B9;
	/* body-th/md-reg */
	font-family: "Noto Sans Thai";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
	border: 1px solid #707070;
	background-color: #2A2A2A;
}
select:disabled {
    background: #333;
    color: #bbb;
}
select:focus-visible{
	outline: none;
}
.btn-next {
	color: #000;
	/* body-th/md-med */
	font-family: "Noto Sans Thai";
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 150% */
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
	padding: 8px 18px;
	justify-content: center;
	align-items: center;
	border: solid 1px #FEDE29;
	background-color: #FEDE29;
	width: 120px;
	height: 40px;
	border-radius: 0px;
    float: right;
}
.btn-next:hover {
    background: transparent;
    color: #FEDE29;
}
.image-tabs-panel{
	display: none;
}
.image-tabs-panel.active{
	display: inline;
}
.seach-form .form-row{
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
.seach-form .form-row label{
	width: 60%;
}
.car-search-modal { 
	display: none; 
	position: fixed; 
	inset: 0; 
	z-index: 99999; 
}
.car-search-modal.active { 
	display: block; 
}
.car-search-modal-backdrop {
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 1;
    backdrop-filter: blur(3px);
}
.car-search-modal-content {
    position: relative; z-index: 2;
    width: 95vw; 
    max-width: 1200px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #2A2A2A; 
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    color: #fff;

}
.car-search-modal-close {
    position: absolute; right: 15px; top: 12px; background: none; border: none;
    color: #fff; font-size: 32px; cursor: pointer; line-height: 1;
}
.size-card{
	
}
.elementor-custom-embed-image-overlay{
	background-position: center !important;
	background-size: contain !important;
    background-repeat: no-repeat !important;
}
.mobile-filter-top{
	display: none;
}

.dealer-filter-form-container {
    padding-bottom: 24px;
}

.dealer-list {
    overflow-y: auto;
    max-height: 652px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}

.dealer-list::-webkit-scrollbar {
    display: none;
}

.dealer-locator-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    color: #fff;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.dealer-filter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.dealer-filter-search-container {
    width: 60%;
    display: flex;
    gap: 30px;
}
.dealer-filter-search {
    padding: 0 0 10px 0 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    font-size: 14px;
    background: transparent !important;
    margin-left: 20px !important;
    border-left: none !important;
    color: #fff;
    border-right: none !important;
    border-radius: 0 !important;
}
.dealer-filter-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.dealer-select-filter {
    display: flex;
    gap: 20px;
    width: 40%;
}
.dealer-filter-parent, .dealer-filter-child {
    padding: 0 0 10px 0;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    background: transparent;
    border-left: none;
    color: #fff;
    border-right: none;
    max-width: 234px;
    border-radius: 0;
}

.dealer-filter-search:focus, .dealer-filter-parent:focus, .dealer-filter-child:focus {
   outline: none !important;
}
.dealer-filter-submit {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FEDE29;
    color: #000;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
}
.dealer-filter-submit:hover, .dealer-filter-submit:focus {
    background-color: #FEDE29;
    color: #000;
}
.dealer-filter-submit .icon-btn {
    width: 16px;
    height: 16px;
    display: flex;
}

.dealer-locator-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    margin: 0;
    overflow-x: auto;
}

.dealer-list-container {
    flex: 1;
    overflow-y: auto;
    max-width: 450px;
    width: 100%;
}

.dealer {
    padding: 18px 24px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.dealer-distance-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dealer-distance {
    background: transparent;
    color: #FEDE29;
    border: 1px solid #FEDE29;
    border-radius: 50%;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
}
.distance-unit {
    color: #fff;
    font-size: 12px;
}
.dealer-title {
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
}

.dealer-contact-box {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.dealer-address,
.dealer-email,
.dealer-phone {
    margin: 5px 0;
    font-size: 16px;
    color: #CACACA;
}
.dealer-actions {
    margin-top: 5px;
    display: flex;
    gap: 8px;
}
.custom-popup .leaflet-popup-content{
	width: 360px !important;
}
.custom-popup .popup-details{
	display: flex;
	gap: 10px;
}
.custom-popup .popup-image {
	width: 120px;
}
.custom-popup .popup-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.custom-popup .popup-content{
	width: 60%;
}
.display-none{
	display: none !important;
}
.btn-contact {
    background: #ffd700;
    padding: 8px 15px;
    color: #000;
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 10px;
}
.btn-map {
    background: transparent;
    border: 1px solid #fff;
    padding: 8px 15px;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-map:hover {
    color: #fff;
}
.icon-btn {
    display: flex;
    align-items: center;
    max-width: 16px;
}
.dealer-list__empty {
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin: 24px 0;
}
.dealer-map {
    flex: 2;
    z-index: 1;
    overflow: hidden;
    height: 652px !important;
    min-height: 652px !important;
    max-height: 652px !important;
}
.dealer.highlight {
    background: #2a2a2a;
    border-color: #ffd700;
    transition: background 0.3s, border 0.3s;
}
.marker-cluster {
    border: none !important;
    background-color: #ffd700 !important;
    color: #000 !important;
    border-radius: 50% !important;
}
.marker-cluster div {
    border: none !important;
}
.leaflet-popup-content-wrapper {
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.leaflet-popup-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-popup {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 16px 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom-popup .dealer-image {
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
}
.custom-popup .dealer-distance img {
    background: #ffd700;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.custom-popup .popup-details {
    flex: 1;
}
.custom-popup .popup-details h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}
.custom-popup .popup-details p {
    margin: 10px 0 0;
    font-size: 14px;
    color: #CACACA;
}
.custom-popup .popup-buttons {
    margin-top: 5px;
}
.custom-popup .popup-buttons a {
    background: #ffd700;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    color: #000;
    text-decoration: none;
    margin-right: 5px;
}
.leaflet-popup-tip {
    display: none;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  user-select: none;
}

.pagination button {
  background: transparent;
  border: none;
  color: #cfcfcf;       /* light grey text like your screenshot */
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.pagination button:hover,
.pagination button:focus{
	background-color: transparent;
}
.pagination .page-nav {
  width: 40px;
  height: 40px;
  border: 1px solid #8e8e8e;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination .page-nav span {
  display: inline-block;
  font-size: 18px;
  transform: translateY(-1px); /* nudge */
}

.pagination .page-num {
  padding: 0 2px;
  opacity: 0.7;
}

.pagination .page-num:hover {
  opacity: 1;
}

.pagination .page-num.is-active {
  width: 40px;
  height: 40px;
  border: 1px solid #8e8e8e;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 1;
}

.pagination .is-disabled,
.pagination button[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}


@media screen and (max-width: 1024px) {
    .dealer-filter-form-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .dealer-locator-content {
        flex-direction: column;
        gap: 40px;
    }

    .dealer-list-container {
        max-width: 100%;
    }

    .dealer-list {
        max-height: 520px;
    }
}

@media screen and (max-width: 768px) {
    .dealer-filter-form {
        flex-direction: column;
        gap: 20px;
    }
}
@media screen and (max-width: 1024px) {
	.tire-products {
		grid-template-columns: repeat(2, 1fr);
	}

	.yes-product-hero, .similar-tires-list {
		flex-direction: column;
	}

	.similar-tires-list .product-card {
		width: 100%;
	}
	
	.yes-hero-right,
	.yes-hero-right .yes-hero-cta,
	.yes-hero-right .yes-hero-compare {
		width: 100%;
	}

	.top-size,
	.top-size .content-right {
		flex-direction: column;
		align-items: flex-start;
	}

	.top-size .content-right {
		gap: 12px;
		margin-top: 24px;
	}

	.top-size .content-left h2 {
		font-size: 24px;
	}

	.top-size .content-left .post-title {
		font-size: 20px;
	}
	    .car-search-modal-content{
    	width: 90vw;
    }
    .search-section{
    	padding: 24px 0;
    }
    .search-tabs-panel-wrap{
    	margin-left: 24px;
    }
    .search-tabs-layout{
    	padding: 40px;
    }
    .seach-form .form-row{
		flex-direction: column;
		justify-content: space-between;
		align-items: start;
		gap: 16px;
    }
    #dealer-filter .dealer-select-filter{
    	width: 100%;
    }
    #dealer-filter .dealer-filter-parent, #dealer-filter .dealer-filter-child{
    	max-width: 100%;
    }
    #dealer-filter .dealer-filter-search-container{
    	width: 100%;
    }
    .dealer-filter-search-container .dealer-filter-search{
    	margin-left: 0 !important;
    }
}

@media screen and (max-width: 768px) {
	.tire-products {
		grid-template-columns: repeat(2, 1fr);
	}

	.tire-category-tabs {
		flex-wrap: wrap;
	}

	.vehicle-search-popup {
		padding: 30px 20px;
		margin: 20px;
		width: calc(100% - 40px);
	}

	.vehicle-search-popup .form-group {
		margin-bottom: 20px;
	}

	.vehicle-search-popup label {
		font-size: 14px;
	}

	.vehicle-search-popup .form-select {
		padding: 10px 14px;
		font-size: 14px;
	}

	.vehicle-search-popup .search-btn {
		padding: 12px 20px;
		font-size: 16px;
	}
	    .modern-tire-card {
        flex-direction: column;
    }
    
    .tire-card-image {
        width: 100%;
        min-width: auto;
        padding: 30px 20px;
    }
    
    .tire-card-content {
        padding: 24px 20px;
    }
    
    .tire-card-actions {
        flex-direction: column;
    }
    
    .tire-card-actions .btn-detail,
    .tire-card-actions .btn-shop {
        width: 100%;
        text-align: center;
    }
    .tire-grid-wrap{
    	gap: 16px;
    }

}
@media (max-width: 600px) {
    .car-search-modal-content { padding: 12px 4vw; }
}
@media (max-width: 480px) {
	.rim-tabs{
	    gap: 0;
        justify-content: space-around;
	}
	.size-card{
		margin-right: 20px;
	}
	.tire-products {
		grid-template-columns: repeat(1, 1fr);
	}
	.tire-grid-wrap{
		flex-direction: column;
	}
	.tire-filter-sidebar{
		width: 100%;
	}
	.mobile-filter-top{
		display: flex;
        justify-content: space-between;
	}
	#tire-filter-form{
		display: none;
		flex-direction: column;
		padding-top: 24px;
	}
	#tire-filter-form.active{
		display: flex;
	}
	#tire-filter-form hr{
		width: 90%;
	}
	.search-section{
		max-height: 80vh;
        overflow-y: scroll;
	}
	.search-section .popup-logo{
		position: relative;
		margin: auto;
	}
	.wrapper-more-detail {
		display: block;
		bottom: 0;
		position: relative;
		top: auto;
        margin-top: 24px;
	}
	.search-section .popup-close{
		right: 0;
		top: 0;
	}
	.search-tabs-layout{
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: auto;
	}
	.search-tabs-layout{
		width: 100%;
	}
	.seach-form .form-row label{
		width: 100%;
	}
	.search-tabs-menu{
		width: 100%;
	}
	.search-tabs-panel-wrap {
        margin-left: 0;
        width: 100%;
		margin-top: 32px;
    }
	.search-tabs-panel{
		padding: 32px 20px;
		min-width: 100%;
	}
}
