@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800;900&display=swap');
:root {
--sm-font-base: Inter, Arial, Helvetica, sans-serif;
--sm-font-heading: Inter, Arial, Helvetica, sans-serif;

--sm-color-primary: #111111;
--sm-color-secondary: #f5f5f5;
--sm-color-accent: #333333;
--sm-color-text: #111111;
--sm-color-muted: #666666;
--sm-color-surface: #ffffff;
--sm-color-border: #dddddd;

--sm-button-radius: 0px;
--sm-card-radius: 0px;

--sm-section-max: 1180px;
--sm-section-pad-x: 24px;
--sm-section-pad-y: 64px;
}

body.sm-brand-dealer,
.sm-brand-scope--dealer {
--sm-font-base: Inter, Arial, Helvetica, sans-serif;
--sm-font-heading: Inter, Arial, Helvetica, sans-serif;

--sm-color-primary: #111111;
--sm-color-secondary: #f5f5f5;
--sm-color-accent: #333333;
--sm-color-text: #111111;
--sm-color-muted: #666666;
--sm-color-surface: #ffffff;
--sm-color-border: #dddddd;

--sm-button-radius: 0px;
--sm-card-radius: 0px;
}

body.sm-brand-ford,
.sm-brand-scope--ford {
--sm-font-base: FordAntenna, fordAntenna, Inter, Arial, Helvetica, sans-serif;
--sm-font-heading: FordAntennaCond, FordAntenna, fordAntenna, Inter, Arial, Helvetica, sans-serif;

--sm-color-primary: #102B4E;
--sm-color-secondary: #00095B;
--sm-color-accent: #2861A4;
--sm-color-text: #102B4E;
--sm-color-muted: #4d5d70;
--sm-color-surface: #ffffff;
--sm-color-border: #d7dce2;

--sm-button-radius: 999px;
--sm-card-radius: 0px;
}

body.sm-brand-chery,
.sm-brand-scope--chery {
--sm-font-base: Chery, Poppins, "Open Sans", Arial, Helvetica, sans-serif;
--sm-font-heading: Chery, Poppins, "Open Sans", Arial, Helvetica, sans-serif;

--sm-color-primary: #c7001f;
--sm-color-secondary: #b00d27;
--sm-color-accent: #e62a36;
--sm-color-text: #1f1f1f;
--sm-color-muted: #3b3b3b;
--sm-color-surface: #ffffff;
--sm-color-border: #e4e4e4;

--sm-button-radius: 0px;
--sm-card-radius: 0px;
}

.sm-core-active {
font-family: var(--sm-font-base);
color: var(--sm-color-text);
}

.sm-brand-scope {
font-family: var(--sm-font-base);
color: var(--sm-color-text);
background: var(--sm-color-surface);
}

.sm-brand-heading {
font-family: var(--sm-font-heading);
color: var(--sm-color-primary);
}

.sm-brand-section {
max-width: var(--sm-section-max);
margin-left: auto;
margin-right: auto;
padding: var(--sm-section-pad-y) var(--sm-section-pad-x);
}

.sm-brand-card {
background: var(--sm-color-surface);
border: 1px solid var(--sm-color-border);
border-radius: var(--sm-card-radius);
color: var(--sm-color-text);
}

.sm-brand-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 12px 22px;
border: 1px solid var(--sm-color-primary);
border-radius: var(--sm-button-radius);
background: var(--sm-color-primary);
color: #ffffff;
font-family: var(--sm-font-base);
font-size: 15px;
font-weight: 700;
line-height: 1.2;
text-decoration: none;
cursor: pointer;
}

.sm-brand-button:hover,
.sm-brand-button:focus {
background: var(--sm-color-accent);
border-color: var(--sm-color-accent);
color: #ffffff;
}

.sm-brand-token-preview {
padding: 18px;
border: 1px solid var(--sm-color-border);
background: var(--sm-color-surface);
color: var(--sm-color-text);
font-family: var(--sm-font-base);
}

.sm-brand-token-preview__title {
margin: 0 0 12px;
font-family: var(--sm-font-heading);
color: var(--sm-color-primary);
}

.sm-brand-token-preview__row {
display: flex;
align-items: center;
gap: 10px;
margin: 8px 0;
}

.sm-brand-token-preview__row span {
display: inline-block;
width: 34px;
height: 22px;
border: 1px solid var(--sm-color-border);
}

.sm-brand-test-wrap {
max-width: 1180px;
margin: 0 auto;
padding: 48px 24px;
}

.sm-brand-test-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}

.sm-brand-test-card {
padding: 24px;
border: 1px solid var(--sm-color-border);
background: var(--sm-color-surface);
color: var(--sm-color-text);
min-height: 260px;
}

.sm-brand-test-card__eyebrow {
margin: 0 0 8px;
color: var(--sm-color-muted);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
}

.sm-brand-test-card__title {
margin: 0 0 10px;
font-family: var(--sm-font-heading);
color: var(--sm-color-primary);
font-size: 30px;
line-height: 1.12;
}

.sm-brand-test-card__text {
margin: 0 0 18px;
color: var(--sm-color-muted);
font-size: 15px;
line-height: 1.55;
}

.sm-brand-test-card__swatches {
display: flex;
gap: 8px;
margin: 18px 0;
}

.sm-brand-test-card__swatch {
width: 42px;
height: 28px;
border: 1px solid var(--sm-color-border);
}

.sm-brand-test-card__swatch--primary {
background: var(--sm-color-primary);
}

.sm-brand-test-card__swatch--secondary {
background: var(--sm-color-secondary);
}

.sm-brand-test-card__swatch--accent {
background: var(--sm-color-accent);
}

@media (max-width: 900px) {
.sm-brand-test-grid {
grid-template-columns: 1fr;
}
}

/* SM 5.4D-H Chery showroom WEBP hero */
body.page-id-8 .entry-title,
body.page-id-9 .entry-title {
display: none;
}

body.page-id-8 #content,
body.page-id-9 #content {
padding-top: 0;
}

.sm-brand-landing {
--sm-hero-max: 1240px;
color: var(--sm-brand-text, #111827);
background: #fff;
}

.sm-brand-showroom {
position: relative;
left: 50%;
width: 100vw;
height: clamp(720px, 86vh, 920px);
margin-left: -50vw;
overflow: hidden;
background: #d8d3cc;
isolation: isolate;
}

.sm-brand-showroom__top {
position: relative;
z-index: 4;
width: min(var(--sm-hero-max), calc(100% - 40px));
margin: 0 auto;
padding-top: clamp(40px, 5.6vw, 78px);
text-align: center;
}

.sm-brand-showroom__families {
display: flex;
align-items: center;
justify-content: center;
gap: clamp(54px, 10vw, 150px);
}

.sm-brand-showroom__family {
border: 0;
background: transparent;
padding: 0;
font-family: var(--sm-font-heading, inherit);
font-size: clamp(38px, 4.7vw, 70px);
font-weight: 850;
line-height: 1;
letter-spacing: -0.045em;
color: rgba(17, 24, 39, 0.44);
cursor: pointer;
}

.sm-brand-showroom__family.is-active {
color: #111827;
}

.sm-brand-showroom__models {
display: flex;
align-items: flex-start;
justify-content: center;
flex-wrap: wrap;
gap: 8px 28px;
max-width: 900px;
margin: 32px auto 0;
}

.sm-brand-showroom__model {
border: 0;
border-bottom: 2px solid transparent;
background: transparent;
padding: 0 0 8px;
color: rgba(17, 24, 39, 0.58);
font-size: 14px;
font-weight: 760;
line-height: 1.15;
text-transform: uppercase;
cursor: pointer;
}

.sm-brand-showroom__model.is-active {
color: #111827;
border-bottom-color: var(--sm-brand-primary, #b19a7a);
}

.sm-brand-showroom__slides,
.sm-brand-showroom__slide {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}

.sm-brand-showroom__slide {
opacity: 0;
visibility: hidden;
transform: translateX(18px);
transition: opacity 540ms ease, visibility 540ms ease, transform 720ms ease;
}

.sm-brand-showroom__slide.is-active {
opacity: 1;
visibility: visible;
transform: translateX(0);
}

.sm-brand-showroom__image {
position: absolute;
left: 50%;
top: 51%;
width: min(1120px, 76vw);
height: min(470px, 49vh);
object-fit: contain;
object-position: center center;
transform: translate(-50%, -37%);
display: block;
filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.18));
}

.sm-brand-landing--ford .sm-brand-showroom {
background: #eef1f4;
}

.sm-brand-landing--ford .sm-brand-showroom__image {
width: min(1120px, 78vw);
height: min(480px, 50vh);
}

.sm-brand-showroom__controls {
position: absolute;
z-index: 6;
left: 50%;
bottom: clamp(54px, 7vh, 78px);
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
transform: translateX(-50%);
}

.sm-brand-showroom__arrow {
display: inline-flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border: 0;
border-radius: 8px;
background: rgba(255, 255, 255, 0.42);
color: #111827;
font-size: 32px;
line-height: 1;
cursor: pointer;
box-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
backdrop-filter: blur(8px);
}

.sm-brand-showroom__arrow:hover,
.sm-brand-showroom__arrow:focus {
background: rgba(255, 255, 255, 0.82);
}

.sm-brand-showroom__explore {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 220px;
min-height: 54px;
padding: 15px 30px;
border-radius: 8px;
background: var(--sm-brand-primary, #b19a7a);
color: #fff;
font-size: 14px;
font-weight: 850;
letter-spacing: 0.08em;
text-decoration: none;
text-transform: uppercase;
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.13);
}

.sm-brand-showroom__explore:hover,
.sm-brand-showroom__explore:focus {
background: color-mix(in srgb, var(--sm-brand-primary, #b19a7a) 84%, #000);
color: #fff;
text-decoration: none;
}

.sm-brand-landing__content {
width: min(1180px, calc(100% - 40px));
margin: 0 auto;
padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 8vw, 96px);
}

.sm-brand-landing__eyebrow {
margin: 0 0 12px;
font-size: 13px;
font-weight: 850;
line-height: 1;
letter-spacing: 0.14em;
text-transform: uppercase;
}

.sm-brand-landing__eyebrow--dark {
color: var(--sm-brand-primary, #111827);
}

.sm-brand-landing__section-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 28px;
margin-bottom: 26px;
}

.sm-brand-landing__section-head h2,
.sm-brand-landing__cta-strip h2 {
margin: 0;
font-family: var(--sm-font-heading, inherit);
font-size: clamp(31px, 4vw, 52px);
line-height: 1.02;
letter-spacing: -0.04em;
color: var(--sm-brand-heading, #111827);
}

.sm-brand-landing__section-head p,
.sm-brand-landing__cta-strip p {
max-width: 680px;
margin: 12px 0 0;
color: var(--sm-brand-muted, #4b5563);
font-size: 17px;
line-height: 1.55;
}

.sm-brand-landing__text-link,
.sm-brand-landing__model-link {
color: var(--sm-brand-primary, #111827);
font-weight: 850;
text-decoration: none;
white-space: nowrap;
}

.sm-brand-landing__text-link:hover,
.sm-brand-landing__text-link:focus,
.sm-brand-landing__model-link:hover,
.sm-brand-landing__model-link:focus {
text-decoration: underline;
}

.sm-brand-landing__model-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}

.sm-brand-landing__model-card {
overflow: hidden;
border: 1px solid rgba(17, 24, 39, 0.11);
border-radius: 12px;
background: #fff;
box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.sm-brand-landing__model-image {
display: block;
aspect-ratio: 4 / 3;
overflow: hidden;
background: #f3f4f6;
}

.sm-brand-landing__model-image img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
padding: 8px;
transition: transform 240ms ease;
}

.sm-brand-landing__model-card:hover .sm-brand-landing__model-image img {
transform: scale(1.025);
}

.sm-brand-landing__model-body {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 17px 18px 18px;
}

.sm-brand-landing__model-body h3 {
margin: 0;
font-size: 20px;
line-height: 1.18;
}

.sm-brand-landing__model-body h3 a {
color: var(--sm-brand-heading, #111827);
text-decoration: none;
}

.sm-brand-landing__model-body h3 a:hover,
.sm-brand-landing__model-body h3 a:focus {
text-decoration: underline;
}

.sm-brand-landing__model-link {
font-size: 14px;
}

.sm-brand-landing__cta-strip {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
margin-top: clamp(46px, 7vw, 82px);
padding: clamp(26px, 4vw, 42px);
border-radius: 14px;
background: #f5f6f8;
border: 1px solid rgba(17, 24, 39, 0.08);
}

.sm-brand-landing__cta-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}

.sm-brand-landing .sm-brand-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 12px 18px;
border: 0;
border-radius: 6px;
font-size: 14px;
font-weight: 850;
line-height: 1.15;
text-decoration: none;
cursor: pointer;
transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.sm-brand-landing .sm-brand-button:hover,
.sm-brand-landing .sm-brand-button:focus {
transform: translateY(-1px);
text-decoration: none;
}

.sm-brand-button--dark {
background: #111827;
color: #fff;
}

.sm-brand-button--dark:hover,
.sm-brand-button--dark:focus {
background: #000;
color: #fff;
}

.sm-brand-button--ghost-dark {
background: rgba(255, 255, 255, 0.72);
color: #111827;
box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.18);
}

.sm-brand-button--ghost-dark:hover,
.sm-brand-button--ghost-dark:focus {
background: #fff;
color: #111827;
}

@media (max-width: 980px) {
.sm-brand-showroom {
height: 760px;
}

.sm-brand-showroom__top {
padding-top: 38px;
}

.sm-brand-showroom__families {
gap: 38px;
}

.sm-brand-showroom__models {
display: none;
}

.sm-brand-showroom__image,
.sm-brand-landing--ford .sm-brand-showroom__image {
top: 47%;
width: min(980px, 96vw);
height: min(470px, 48vh);
transform: translate(-50%, -35%);
}

.sm-brand-showroom__controls {
bottom: 44px;
}

.sm-brand-landing__section-head,
.sm-brand-landing__cta-strip {
align-items: flex-start;
flex-direction: column;
}

.sm-brand-landing__model-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-brand-landing__cta-actions {
width: 100%;
}
}

@media (max-width: 640px) {
.sm-brand-showroom {
height: 720px;
}

.sm-brand-showroom__families {
gap: 20px;
justify-content: space-between;
}

.sm-brand-showroom__family {
font-size: clamp(25px, 9vw, 38px);
}

.sm-brand-showroom__image,
.sm-brand-landing--ford .sm-brand-showroom__image {
top: 45%;
width: 116vw;
height: 360px;
transform: translate(-50%, -35%);
}

.sm-brand-showroom__controls {
width: calc(100% - 28px);
gap: 10px;
bottom: 34px;
}

.sm-brand-showroom__arrow {
width: 42px;
height: 42px;
}

.sm-brand-showroom__explore {
flex: 1;
min-width: 0;
}

.sm-brand-landing__content {
width: min(100% - 28px, 1180px);
padding-top: 42px;
}

.sm-brand-landing__model-grid {
grid-template-columns: 1fr;
}

.sm-brand-landing__model-body {
align-items: flex-start;
flex-direction: column;
}

.sm-brand-landing .sm-brand-button,
.sm-brand-landing__text-link {
width: 100%;
text-align: center;
}
}

/* SM 5.4D-K Chery hero nav style and no scroll fix */
body.page-id-9 {
overflow-x: hidden;
}

body.page-id-9 .sm-brand-landing--chery .sm-brand-landing__content {
display: none !important;
}

body.page-id-9 .sm-brand-landing--chery .sm-brand-showroom {
height: calc(100vh - 56px);
min-height: 620px;
max-height: none;
}

body.admin-bar.page-id-9 .sm-brand-landing--chery .sm-brand-showroom {
height: calc(100vh - 88px);
min-height: 590px;
}

.sm-brand-landing--chery .sm-brand-showroom__top {
padding-top: clamp(34px, 4.5vh, 54px);
}

.sm-brand-landing--chery .sm-brand-showroom__families {
display: flex;
align-items: center;
justify-content: center;
gap: clamp(110px, 18vw, 260px);
}

.sm-brand-landing--chery .sm-brand-showroom button.sm-brand-showroom__family {
appearance: none !important;
-webkit-appearance: none !important;
border: 0 !important;
outline: 0;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
min-width: 0 !important;
min-height: 0 !important;
width: auto !important;
height: auto !important;
font-family: "Orbitron", Chery, "Arial Narrow", Arial, Helvetica, sans-serif !important;
font-size: clamp(42px, 4.4vw, 70px) !important;
font-weight: 900 !important;
line-height: 0.95 !important;
letter-spacing: 0.015em !important;
text-transform: uppercase !important;
color: rgba(17, 24, 39, 0.48) !important;
transform: none !important;
-webkit-text-stroke: 0 !important;
cursor: pointer;
}

.sm-brand-landing--chery .sm-brand-showroom button.sm-brand-showroom__family.is-active {
color: #05070b !important;
}

.sm-brand-landing--chery .sm-brand-showroom__models {
display: flex;
align-items: flex-start;
justify-content: center;
flex-wrap: nowrap;
gap: clamp(26px, 2.7vw, 48px);
max-width: min(1040px, calc(100vw - 60px));
margin: clamp(30px, 4vh, 42px) auto 0;
overflow: visible;
}

.sm-brand-landing--chery .sm-brand-showroom button.sm-brand-showroom__model {
appearance: none !important;
-webkit-appearance: none !important;
border: 0 !important;
border-bottom: 3px solid transparent !important;
border-radius: 0 !important;
outline: 0;
background: transparent !important;
box-shadow: none !important;
padding: 0 0 10px !important;
margin: 0 !important;
min-width: 0 !important;
min-height: 0 !important;
width: auto !important;
height: auto !important;
font-family: Poppins, "Open Sans", Arial, Helvetica, sans-serif !important;
font-size: clamp(15px, 0.95vw, 18px) !important;
font-weight: 500 !important;
line-height: 1.25 !important;
letter-spacing: -0.015em !important;
text-align: center !important;
text-transform: uppercase !important;
color: rgba(17, 24, 39, 0.55) !important;
cursor: pointer;
}

.sm-brand-landing--chery .sm-brand-showroom button.sm-brand-showroom__model.is-active {
color: #05070b !important;
border-bottom-color: #b29a78 !important;
font-weight: 600 !important;
}

.sm-brand-landing--chery .sm-brand-showroom__image {
top: 55%;
width: min(1160px, 74vw);
height: min(470px, 48vh);
transform: translate(-50%, -36%);
}

.sm-brand-landing--chery .sm-brand-showroom__controls {
bottom: clamp(36px, 5.2vh, 58px);
gap: 16px;
}

.sm-brand-landing--chery .sm-brand-showroom__explore {
min-width: 220px;
min-height: 54px;
border-radius: 8px;
background: #b29a78;
color: #fff;
}

.sm-brand-landing--chery .sm-brand-showroom__arrow {
appearance: none !important;
-webkit-appearance: none !important;
width: 44px;
height: 44px;
border: 1px solid #da2660 !important;
border-radius: 4px;
background: transparent !important;
color: #da2660;
box-shadow: none !important;
}

.sm-brand-landing--chery .sm-brand-showroom__arrow:hover,
.sm-brand-landing--chery .sm-brand-showroom__arrow:focus {
background: rgba(255, 255, 255, 0.42) !important;
}

@media (max-width: 1100px) {
body.page-id-9 .sm-brand-landing--chery .sm-brand-showroom {
height: auto;
min-height: 720px;
}

body.admin-bar.page-id-9 .sm-brand-landing--chery .sm-brand-showroom {
height: auto;
min-height: 700px;
}

.sm-brand-landing--chery .sm-brand-showroom__families {
gap: clamp(44px, 11vw, 120px);
}

.sm-brand-landing--chery .sm-brand-showroom__models {
display: none;
}

.sm-brand-landing--chery .sm-brand-showroom__image {
top: 48%;
width: min(980px, 96vw);
height: min(470px, 48vh);
transform: translate(-50%, -33%);
}
}

@media (max-width: 640px) {
body.page-id-9 .sm-brand-landing--chery .sm-brand-showroom,
body.admin-bar.page-id-9 .sm-brand-landing--chery .sm-brand-showroom {
min-height: 690px;
}

.sm-brand-landing--chery .sm-brand-showroom__top {
padding-top: 30px;
}

.sm-brand-landing--chery .sm-brand-showroom__families {
gap: 22px;
justify-content: space-between;
}

.sm-brand-landing--chery .sm-brand-showroom button.sm-brand-showroom__family {
font-size: clamp(26px, 8.2vw, 40px) !important;
letter-spacing: 0 !important;
}

.sm-brand-landing--chery .sm-brand-showroom__image {
top: 46%;
width: 116vw;
height: 360px;
transform: translate(-50%, -32%);
}

.sm-brand-landing--chery .sm-brand-showroom__controls {
width: calc(100% - 28px);
bottom: 28px;
gap: 10px;
}

.sm-brand-landing--chery .sm-brand-showroom__explore {
flex: 1;
min-width: 0;
}
}

/* SM 5.4D-P Chery official text tabs final */
.sm-brand-landing--chery .sm-brand-showroom__family-tabs,
.sm-brand-landing--chery .sm-brand-showroom__families,
.sm-brand-landing--chery .sm-brand-showroom__family-nav,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sm-brand-landing--chery .sm-brand-showroom__family,
.sm-brand-landing--chery .sm-brand-showroom__family-button,
.sm-brand-landing--chery .sm-brand-showroom__family-tab,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 2px 1rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #000 !important;
  opacity: 0.5 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: -0.045em !important;
  font-family: "Arial Narrow", "Roboto Condensed", "Poppins", "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(2.15rem, 4.2vw, 3rem) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: opacity 180ms ease, color 180ms ease !important;
}

.sm-brand-landing--chery .sm-brand-showroom__family:hover,
.sm-brand-landing--chery .sm-brand-showroom__family:focus,
.sm-brand-landing--chery .sm-brand-showroom__family.is-active,
.sm-brand-landing--chery .sm-brand-showroom__family[aria-selected="true"],
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link:hover,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link:focus,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link.active,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link:not(.collapsed),
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link:hover,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link:focus,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link.active,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link:not(.collapsed) {
  color: #000 !important;
  opacity: 1 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sm-brand-landing--chery .sm-brand-showroom__family::before,
.sm-brand-landing--chery .sm-brand-showroom__family::after,
.sm-brand-landing--chery .sm-brand-showroom__family-button::before,
.sm-brand-landing--chery .sm-brand-showroom__family-button::after,
.sm-brand-landing--chery .sm-brand-showroom__family-tab::before,
.sm-brand-landing--chery .sm-brand-showroom__family-tab::after,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link::before,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link::after,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link::before,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link::after {
  content: none !important;
  display: none !important;
}

/* Model tabovi ispod porodica: bez pink/box varijante */
.sm-brand-landing--chery .sm-brand-showroom__model,
.sm-brand-landing--chery .sm-brand-showroom__model-tab,
.sm-brand-landing--chery .sm-brand-showroom__models button,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button {
  appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
  opacity: 0.45 !important;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(0.9rem, 1.25vw, 1.125rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  letter-spacing: -0.02em !important;
  padding: 0.35rem 0.75rem !important;
  cursor: pointer !important;
}

.sm-brand-landing--chery .sm-brand-showroom__model:hover,
.sm-brand-landing--chery .sm-brand-showroom__model:focus,
.sm-brand-landing--chery .sm-brand-showroom__model.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model[aria-selected="true"],
.sm-brand-landing--chery .sm-brand-showroom__model-tab:hover,
.sm-brand-landing--chery .sm-brand-showroom__model-tab:focus,
.sm-brand-landing--chery .sm-brand-showroom__model-tab.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model-tab[aria-selected="true"],
.sm-brand-landing--chery .sm-brand-showroom__models button:hover,
.sm-brand-landing--chery .sm-brand-showroom__models button:focus,
.sm-brand-landing--chery .sm-brand-showroom__models button.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button:hover,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button:focus,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button.is-active {
  color: #000 !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .sm-brand-landing--chery .sm-brand-showroom__family-tabs,
  .sm-brand-landing--chery .sm-brand-showroom__families,
  .sm-brand-landing--chery .sm-brand-showroom__family-nav,
  .sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill {
    margin-bottom: 1.25rem !important;
  }

  .sm-brand-landing--chery .sm-brand-showroom__family,
  .sm-brand-landing--chery .sm-brand-showroom__family-button,
  .sm-brand-landing--chery .sm-brand-showroom__family-tab,
  .sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link,
  .sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link {
    font-size: clamp(1.45rem, 8vw, 2rem) !important;
    padding: 2px 0.5rem !important;
    letter-spacing: -0.04em !important;
  }

  .sm-brand-landing--chery .sm-brand-showroom__model,
  .sm-brand-landing--chery .sm-brand-showroom__model-tab,
  .sm-brand-landing--chery .sm-brand-showroom__models button,
  .sm-brand-landing--chery .sm-brand-showroom__model-tabs button {
    font-size: 0.85rem !important;
    padding: 0.25rem 0.35rem !important;
  }
}

/* SM 5.4D-Q Chery hero spacing fix */

/* Porodice: Tiggo / FX / Arrizo moraju biti tri odvojena teksta, ne zalepljeni logo */
.sm-brand-landing--chery .sm-brand-showroom__family-tabs,
.sm-brand-landing--chery .sm-brand-showroom__families,
.sm-brand-landing--chery .sm-brand-showroom__family-nav,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: clamp(1.75rem, 4.5vw, 4.75rem) !important;
  width: 100% !important;
  margin: 0 0 1.85rem !important;
  padding: 0 !important;
  overflow: visible !important;
}

.sm-brand-landing--chery .sm-brand-showroom__family,
.sm-brand-landing--chery .sm-brand-showroom__family-button,
.sm-brand-landing--chery .sm-brand-showroom__family-tab,
.sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link,
.sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  letter-spacing: -0.025em !important;
  font-size: clamp(2.35rem, 4.5vw, 3.15rem) !important;
  line-height: 0.95 !important;
}

/* Modeli: dozvoljen wrap, bez preklapanja i bez gurkanja aktivnog modela preko suseda */
.sm-brand-landing--chery .sm-brand-showroom__model-tabs,
.sm-brand-landing--chery .sm-brand-showroom__models,
.sm-brand-landing--chery .sm-brand-showroom__model-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  column-gap: clamp(0.75rem, 1.8vw, 1.8rem) !important;
  row-gap: 0.45rem !important;
  width: min(100%, 980px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

.sm-brand-landing--chery .sm-brand-showroom__model,
.sm-brand-landing--chery .sm-brand-showroom__model-tab,
.sm-brand-landing--chery .sm-brand-showroom__models button,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.15rem 0 !important;
  white-space: nowrap !important;
  letter-spacing: -0.015em !important;
  font-size: clamp(0.82rem, 1.05vw, 0.98rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  transform: none !important;
}

.sm-brand-landing--chery .sm-brand-showroom__model.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model[aria-selected="true"],
.sm-brand-landing--chery .sm-brand-showroom__model-tab.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model-tab[aria-selected="true"],
.sm-brand-landing--chery .sm-brand-showroom__models button.is-active,
.sm-brand-landing--chery .sm-brand-showroom__model-tabs button.is-active {
  font-weight: 700 !important;
  transform: none !important;
}

/* Strelice: uklanjamo ružičasti okvir */
.sm-brand-landing--chery .sm-brand-showroom__arrow,
.sm-brand-landing--chery .sm-brand-showroom__control,
.sm-brand-landing--chery .sm-brand-showroom__nav button,
.sm-brand-landing--chery .sm-brand-showroom__controls button {
  border-color: rgba(164, 137, 108, 0.7) !important;
  color: #a4896c !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sm-brand-landing--chery .sm-brand-showroom__arrow:hover,
.sm-brand-landing--chery .sm-brand-showroom__control:hover,
.sm-brand-landing--chery .sm-brand-showroom__nav button:hover,
.sm-brand-landing--chery .sm-brand-showroom__controls button:hover {
  border-color: #a4896c !important;
  color: #fff !important;
  background: #a4896c !important;
}

/* Mobilni prikaz */
@media (max-width: 767px) {
  .sm-brand-landing--chery .sm-brand-showroom__family-tabs,
  .sm-brand-landing--chery .sm-brand-showroom__families,
  .sm-brand-landing--chery .sm-brand-showroom__family-nav,
  .sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill {
    gap: clamp(0.85rem, 4vw, 1.35rem) !important;
    margin-bottom: 1.15rem !important;
  }

  .sm-brand-landing--chery .sm-brand-showroom__family,
  .sm-brand-landing--chery .sm-brand-showroom__family-button,
  .sm-brand-landing--chery .sm-brand-showroom__family-tab,
  .sm-brand-landing--chery .sm-brand-showroom__family-tabs .nav-link,
  .sm-brand-landing--chery .accordion-header.nav.nav-pills.nav-fill .nav-link {
    font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
    letter-spacing: -0.02em !important;
  }

  .sm-brand-landing--chery .sm-brand-showroom__model-tabs,
  .sm-brand-landing--chery .sm-brand-showroom__models,
  .sm-brand-landing--chery .sm-brand-showroom__model-nav {
    width: min(100%, 92vw) !important;
    column-gap: 0.65rem !important;
    row-gap: 0.35rem !important;
  }

  .sm-brand-landing--chery .sm-brand-showroom__model,
  .sm-brand-landing--chery .sm-brand-showroom__model-tab,
  .sm-brand-landing--chery .sm-brand-showroom__models button,
  .sm-brand-landing--chery .sm-brand-showroom__model-tabs button {
    font-size: 0.72rem !important;
  }
}
