/* AutoKing homepage — used by the Elementor homepage sections (css classes ak-*) */
:root {
	--ak-accent: #e1251b;
	--ak-accent-dark: #b81a12;
	--ak-text: #1d1d1f;
	--ak-muted: #7a7a7a;
	--ak-border: #e6e6e6;
	--ak-soft: #f6f6f7;
	--ak-font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.ak-home-section,
.ak-home-section h1, .ak-home-section h2, .ak-home-section h3, .ak-home-section h4,
.ak-home-section p, .ak-home-section a, .ak-home-section button, .ak-home-section select {
	font-family: var(--ak-font);
}
.ak-home-section a { text-decoration: none; }
.ak-home-section h1, .ak-home-section h2, .ak-home-section h3, .ak-home-section h4,
.ak-home-section .elementor-heading-title,
.ak-home-section .elementor-icon-box-title { word-spacing: normal !important; letter-spacing: normal !important; }
.ak-hero .ak-kicker .elementor-heading-title { letter-spacing: 3px !important; }
.ak-home-section *, .ak-home-section *::before, .ak-home-section *::after { box-sizing: border-box; }

/* ---------- Hero ---------- */
.ak-hero .ak-kicker .elementor-heading-title {
	color: var(--ak-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.ak-hero .ak-hero-title .elementor-heading-title {
	color: #fff;
	font-size: 52px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.1;
	text-transform: uppercase;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.ak-hero-search {
	display: flex;
	align-items: stretch;
	margin: 0;
	background: rgba(15, 15, 18, .72);
	backdrop-filter: blur(4px);
	border-radius: 4px;
	padding: 10px 10px 10px 18px;
	color: #fff;
}
.ak-hs-intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 150px;
	padding-right: 18px;
}
.ak-hs-intro strong { font-size: 14px; font-weight: 700; }
.ak-hs-intro span { font-size: 11px; color: #c8c8c8; }
.ak-hs-field {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 4px 14px;
	border-left: 1px solid rgba(255, 255, 255, .18);
	color: #fff;
	min-width: 0;
}
.ak-hs-field > span {
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: #a9a9a9;
	margin-bottom: 2px;
}
.ak-hero-search .select2-container { display: none !important; }
.ak-hero-search .ak-hs-field select {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: static !important;
	clip: auto !important;
	clip-path: none !important;
	overflow: visible !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	text-transform: none;
	min-height: 0;
	line-height: 1.4;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 13px;
	padding: 0;
	height: auto;
	width: 100%;
	cursor: pointer;
	box-shadow: none;
	outline: none;
}
.ak-hs-field select option { color: var(--ak-text); }
.ak-hs-more em { font-style: normal; font-size: 13px; color: #fff; }
.ak-hs-more em i { font-size: 9px; margin-left: 4px; }
.ak-hero-search .ak-hs-submit {
	box-shadow: none;
	text-transform: none;
	background: var(--ak-accent);
	border: 0;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	margin-left: 10px;
	padding: 0 30px;
	transition: background .2s;
}
.ak-hero-search .ak-hs-submit:hover { background: var(--ak-accent-dark); }
.ak-hs-submit i { margin-right: 6px; }

/* ---------- Left sidebar ---------- */
.ak-side-box {
	border: 1px solid var(--ak-border);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 18px;
	background: #fff;
}
.ak-side-head {
	background: var(--ak-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 9px 12px;
}
.ak-side-list { list-style: none; margin: 0; padding: 0; }
.ak-side-list li { border-bottom: 1px solid #f0f0f0; margin: 0; }
.ak-side-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	color: var(--ak-text);
	font-size: 12px;
	transition: background .15s;
}
.ak-side-list a:hover { background: var(--ak-soft); color: var(--ak-accent); }
.ak-side-logo, .ak-side-icon {
	flex: 0 0 26px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ak-muted);
	font-size: 12px;
}
.ak-side-logo img, .ak-side-icon img { max-width: 26px; max-height: 22px; object-fit: contain; }
.ak-price-icon {
	flex-basis: 20px;
	height: 20px;
	border: 1px solid var(--ak-border);
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
}
.ak-side-name small { display: block; color: var(--ak-muted); font-size: 10px; }
.ak-side-more {
	display: block;
	text-align: center;
	color: var(--ak-accent);
	font-size: 11px;
	font-weight: 600;
	padding: 9px;
}

/* ---------- Center ---------- */
.ak-type-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid var(--ak-border);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 22px;
}
.ak-type-tabs a {
	color: var(--ak-text);
	font-size: 12px;
	font-weight: 500;
	padding: 11px 6px;
	text-align: center;
	transition: background .15s, color .15s;
}
.ak-type-tabs a + a { border-left: 1px solid var(--ak-border); }
.ak-type-tabs a i { color: var(--ak-muted); margin-right: 6px; }
.ak-type-tabs a:hover { background: var(--ak-accent); color: #fff; }
.ak-type-tabs a:hover i { color: #fff; }

.ak-grid-block { margin-bottom: 30px; scroll-margin-top: 130px; }
.ak-grid-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}
.ak-grid-head h2 { color: var(--ak-text); font-size: 20px; font-weight: 700; line-height: 1.2; margin: 0 0 4px; }
.ak-grid-head p { color: var(--ak-muted); font-size: 12px; margin: 0; }
.ak-btn-outline {
	border: 1px solid #d5d5d5;
	border-radius: 20px;
	color: var(--ak-text);
	font-size: 11px;
	font-weight: 600;
	padding: 7px 18px;
	white-space: nowrap;
	transition: all .15s;
}
.ak-btn-outline:hover { border-color: var(--ak-accent); color: var(--ak-accent); }
.ak-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 12px;
}
.ak-card { display: block; color: var(--ak-text); }
.ak-card-img {
	display: block;
	aspect-ratio: 4 / 3;
	background: #ececec;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 7px;
}
.ak-card-img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transition: transform .3s;
}
.ak-card:hover .ak-card-img img { transform: scale(1.05); }
.ak-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	min-height: 30px;
}
.ak-card:hover .ak-card-title { color: var(--ak-accent); }
.ak-card-price { display: block; color: #555; font-size: 11px; margin-top: 2px; }
.ak-sold { color: var(--ak-accent); font-weight: 700; }
.ak-grid-empty {
	background: var(--ak-soft);
	border: 1px dashed var(--ak-border);
	border-radius: 4px;
	color: var(--ak-muted);
	font-size: 13px;
	padding: 30px;
	text-align: center;
}

.ak-view-all .elementor-button {
	background: #fff;
	border: 2px solid var(--ak-accent);
	border-radius: 24px;
	color: var(--ak-accent);
	font-family: var(--ak-font);
	font-size: 13px;
	font-weight: 600;
	padding: 11px 30px;
}
.ak-view-all .elementor-button:hover { background: var(--ak-accent); color: #fff; }

/* ---------- Right sidebar (Why sign up) ---------- */
.ak-signup-box > .elementor-widget-wrap {
	background: var(--ak-soft);
	border-radius: 4px;
}
.ak-signup-box .ak-signup-title .elementor-heading-title { font-size: 15px; font-weight: 700; color: var(--ak-text); }
.ak-signup-box .ak-signup-text { color: var(--ak-muted); font-size: 12px; line-height: 1.6; }
.ak-signup-box .ak-signup-text p { margin: 0; }
.ak-compare-title { font-size: 13px; font-weight: 700; color: var(--ak-text); margin: 4px 0 10px; }
.ak-compare {
	background: #fff;
	border: 1px solid var(--ak-border);
	border-radius: 4px;
	font-size: 11px;
}
.ak-compare-row {
	display: grid;
	grid-template-columns: 1fr 38px 42px;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
	padding: 8px 8px;
	color: #444;
}
.ak-compare-row:last-child { border-bottom: 0; }
.ak-compare-row > span:first-child { display: flex; align-items: center; gap: 7px; }
.ak-compare-row > span:first-child i { color: var(--ak-muted); width: 12px; }
.ak-compare-row .ak-ok { text-align: center; }
.ak-compare-row .ak-ok i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 9px;
	color: #fff;
	background: #19a35b;
}
.ak-compare-row .ak-ok.ak-no i { background: #fff; color: #c4c4c4; border: 1px solid #dcdcdc; }
.ak-compare-head { color: var(--ak-muted); font-size: 8px; padding: 6px 8px; }
.ak-compare-head span { text-align: center; }
.ak-compare-head .ak-member {
	background: var(--ak-accent);
	border-radius: 3px;
	color: #fff;
	font-weight: 600;
	padding: 2px 0;
}
.ak-signup-btn .elementor-button {
	width: 100%;
	background: var(--ak-accent);
	border-radius: 4px;
	font-family: var(--ak-font);
	font-size: 13px;
	font-weight: 600;
	padding: 13px 10px;
}
.ak-signup-btn .elementor-button:hover { background: var(--ak-accent-dark); }

/* ---------- For you to choose ---------- */
.ak-choose { border-top: 3px solid var(--ak-accent); }
.ak-choose .ak-choose-title .elementor-heading-title { font-size: 28px; font-weight: 700; color: var(--ak-text); }
.ak-choose .ak-choose-link { text-align: right; }
.ak-choose .ak-choose-link a { color: var(--ak-text); font-size: 13px; font-weight: 600; }
.ak-browse { margin-bottom: 34px; text-align: center; }
.ak-home-section .ak-browse h3 {
	word-spacing: normal !important;
	letter-spacing: normal !important;
	color: var(--ak-text);
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 14px;
	text-align: left;
}
.ak-browse-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	text-align: left;
}
.ak-browse-card {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid var(--ak-border);
	border-radius: 6px;
	color: var(--ak-text);
	padding: 10px 14px;
	min-height: 54px;
	transition: border-color .15s, box-shadow .15s;
}
.ak-browse-card:hover { border-color: var(--ak-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.ak-browse-card.ak-hidden { display: none; }
.ak-browse-icon {
	flex: 0 0 34px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ak-muted);
	font-size: 16px;
}
.ak-browse-icon img { max-width: 34px; max-height: 28px; object-fit: contain; }
.ak-browse-text { min-width: 0; }
.ak-browse-text strong {
	display: block;
	font-size: 12px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ak-browse-text small { color: var(--ak-muted); font-size: 10px; }
.ak-browse .ak-load-more {
	display: block;
	width: fit-content;
	margin-left: auto !important;
	margin-right: auto !important;
	box-shadow: none;
	text-transform: none;
	background: #fff;
	border: 1px solid #d5d5d5;
	border-radius: 20px;
	color: var(--ak-text) !important;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	margin-top: 18px;
	padding: 8px 22px;
}
.ak-browse .ak-load-more:hover { border-color: var(--ak-accent); color: var(--ak-accent) !important; background: #fff; }
.ak-load-more i { font-size: 9px; margin-left: 4px; }

/* ---------- Feature boxes ---------- */
.ak-features .elementor-icon-box-title,
.ak-features .elementor-icon-box-title a { font-family: var(--ak-font); font-size: 15px !important; font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
.ak-features .elementor-icon-box-description { font-family: var(--ak-font); font-size: 12px; margin: 0; }

/* ---------- Reviews ---------- */
.ak-reviews .ak-reviews-title .elementor-heading-title { font-size: 20px; font-weight: 700; color: var(--ak-text); }
.ak-reviews .ak-reviews-sub { color: var(--ak-muted); font-size: 12px; }
.ak-reviews .ak-reviews-sub p { margin: 0; }
.ak-rating-summary { text-align: right; font-family: var(--ak-font); }
.ak-rating-summary .ak-stars { color: #f5b301; font-size: 18px; letter-spacing: 1px; }
.ak-rating-summary strong { font-size: 18px; margin-left: 6px; color: var(--ak-text); }
.ak-rating-summary div { color: var(--ak-muted); font-size: 11px; }
.ak-review {
	border: 1px solid var(--ak-border);
	border-radius: 6px;
	font-family: var(--ak-font);
	height: 100%;
	padding: 18px;
}
.ak-review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ak-avatar {
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	background: #e9e9ec;
	color: #888;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ak-review-who { flex: 1; }
.ak-review-who strong { display: block; font-size: 13px; color: var(--ak-text); }
.ak-review-who small { color: var(--ak-muted); font-size: 11px; }
.ak-review-meta { text-align: right; }
.ak-review-meta .ak-stars { color: #f5b301; font-size: 13px; }
.ak-review-meta small { display: block; color: var(--ak-muted); font-size: 11px; }
.ak-review-car {
	display: inline-block;
	border: 1px solid var(--ak-border);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 10px;
	padding: 5px 10px;
}
.ak-review p { color: #555; font-size: 12px; line-height: 1.6; margin: 0; }

/* ---------- FAQ ---------- */
.ak-faq > .elementor-container { border-top: 1px solid var(--ak-border); }
.ak-faq .ak-faq-title .elementor-heading-title { font-size: 18px; font-weight: 700; color: var(--ak-text); }
.ak-faq .ak-faq-q .elementor-heading-title { font-size: 14px; font-weight: 600; color: var(--ak-text); }
.ak-faq .ak-faq-a { color: var(--ak-muted); font-size: 12px; line-height: 1.6; }
.ak-faq .ak-faq-a p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.ak-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ak-browse-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.ak-hero-search { flex-wrap: wrap; padding: 14px; gap: 10px 0; }
	.ak-hs-intro { flex: 0 0 100%; }
	.ak-hs-field { flex: 0 0 33.33%; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding: 8px 6px; }
	.ak-hs-submit { flex: 0 0 100%; margin: 4px 0 0; padding: 12px; }
	.ak-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ak-browse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ak-hero .ak-hero-title .elementor-heading-title { font-size: 32px; }
	.ak-hs-field { flex-basis: 50%; }
	.ak-grid, .ak-browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-type-tabs { grid-template-columns: repeat(2, 1fr); }
	.ak-type-tabs a:nth-child(3) { border-left: 0; }
	.ak-type-tabs a:nth-child(n+3) { border-top: 1px solid var(--ak-border); }
	.ak-rating-summary, .ak-choose .ak-choose-link { text-align: left; }
}
