/* ===== RESET & BASE ===== */
:root {
    --color-primary: #0a33a1;
    --color-primary-dark: #0a2351;
    --color-primary-hover: #143f7a;
    --color-primary-deep: #071a3d;
    --color-primary-soft: #f0f6ff;
    --color-primary-tint: #e8f1fd;
    --color-primary-border: #c5d9f0;
    --color-white: #fff;
    --color-bg: #f5f5f5;
    --color-surface: #fff;
    --color-border: #eee;
    --color-border-strong: #ddd;
    --color-border-soft: #f0f0f0;
    --color-text: #333;
    --color-text-soft: #444;
    --color-muted: #666;
    --color-muted-medium: #555;
    --color-muted-light: #888;
    --color-muted-lighter: #999;
    --color-footer-bg: #0a1f3e;
    --color-footer-text: #ccc;
    --color-footer-muted: #9ab;
    --color-cta: #ff4b16;
    --color-cta-hover: #f04412;
    --color-orange: #e8491d;
    --color-orange-soft: #f26522;
    --color-danger: #e74c3c;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-accent: #ffd736;
    --color-accent-hero: #ffd700;
    --color-machine-icon: #b0c4de;
    --color-link-soft: #4a6fa5;
    --color-neutral: #e0e0e0;
    --color-dealer-blue-start: #1a2a4a;
    --color-dealer-blue-end: #2a4a7a;
    --color-article-icon: #7aabe8;
    --color-sidebar-start: #113b75;
    --color-sidebar-mid: #0b2a5c;
    --color-sidebar-end: #071d43;
    --color-sidebar-icon: #08245a;
    --primary-12: rgba(10, 51, 161, .12);
    --primary-14: rgba(10, 51, 161, .14);
    --accent-14: rgba(255, 215, 54, .14);
    --accent-22: rgba(255, 215, 54, .22);
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-panel: 0 2px 12px rgba(0, 0, 0, .08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .1);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, .15);
    --shadow-carousel: 0 4px 14px rgba(0, 0, 0, .18);
    --shadow-primary-sm: 0 2px 8px rgba(10, 51, 161, .12);
    --shadow-primary-md: 0 2px 10px rgba(10, 51, 161, .12);
    --shadow-sidebar: 18px 0 40px rgba(3, 12, 30, .26);
    --shadow-cta-sm: 0 3px 8px rgba(255, 75, 22, .22);
    --shadow-cta-md: 0 5px 14px rgba(255, 75, 22, .35);
    --text-shadow-strong: 0 2px 8px rgba(0, 0, 0, .3);
    --text-shadow-soft: 0 1px 4px rgba(0, 0, 0, .3);
    --black-10: rgba(0, 0, 0, .1);
    --black-20: rgba(0, 0, 0, .2);
    --black-70: rgba(0, 0, 0, .7);
    --white-07: rgba(255, 255, 255, .07);
    --white-08: rgba(255, 255, 255, .08);
    --white-09: rgba(255, 255, 255, .09);
    --white-10: rgba(255, 255, 255, .1);
    --white-11: rgba(255, 255, 255, .11);
    --white-12: rgba(255, 255, 255, .12);
    --white-14: rgba(255, 255, 255, .14);
    --white-15: rgba(255, 255, 255, .15);
    --white-18: rgba(255, 255, 255, .18);
    --white-20: rgba(255, 255, 255, .2);
    --white-26: rgba(255, 255, 255, .26);
    --white-35: rgba(255, 255, 255, .35);
    --white-40: rgba(255, 255, 255, .4);
    --white-50: rgba(255, 255, 255, .5);
    --white-68: rgba(255, 255, 255, .68);
    --white-84: rgba(255, 255, 255, .84);
    --white-88: rgba(255, 255, 255, .88);
    --overlay-dark: rgba(4, 11, 26, .62);
    --overlay-hero-start: rgba(10, 25, 50, .82);
    --overlay-hero-mid: rgba(15, 35, 70, .7);
    --overlay-hero-end: rgba(20, 45, 80, .5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit
}

select {
    font-family: inherit
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--color-white);
    color: #14213d;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 0;
    border-bottom: 1px solid #eef1f6
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 34px
}

.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.topbar-left i,
.topbar-right i {
    color: var(--color-primary-dark);
    font-size: 15px
}

.topbar-right a {
    color: #14213d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color .2s
}

.topbar-right a:hover {
    color: var(--color-primary)
}

/* ===== HEADER ===== */
.header {
    background: var(--color-white);
    padding: 10px 0;
    border-bottom: 1px solid #eef1f6
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 34px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 370px;
    text-decoration: none
}


.logo-symbol-img {
    width: 96px;
    max-width: none;
    height: auto;
    transform: translate(-6px, -6px)
}

.logo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    color: var(--color-primary-dark);
    min-width: 0
}

.logo-copy strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0
}

.logo-copy small {
    margin-top: 5px;
    color: var(--color-primary-dark);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 520px;
    height: 44px;
    border: 1px solid #cfd5e3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-white)
}

.search-bar input {
    flex: 1;
    min-width: 0;
    padding: 0 18px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #1f2937
}

.search-bar input::placeholder {
    color: #6f7787
}

.search-btn {
    background: var(--color-primary-dark);
    color: var(--color-white);
    width: 128px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .2s
}

.search-btn:hover {
    background: var(--color-primary)
}

.header-actions {
    display: flex;
    align-items: center;
    min-width: 210px;
    justify-content: flex-end
}

.btn-sell {
    background: var(--color-cta);
    color: var(--color-white);
    min-height: 48px;
    padding: 7px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-cta-sm);
    transition: transform .2s, box-shadow .2s
}

.btn-sell-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid var(--white-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px
}

.btn-sell-icon i {
    font-size: 18px;
    color: var(--color-white)
}

.btn-sell-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15
}

.btn-sell-text strong {
    font-size: 14px;
    font-weight: 800
}

.btn-sell-text small {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white-88)
}

.btn-sell:hover {
    transform: translateY(-1px);
    background: var(--color-cta-hover);
    box-shadow: var(--shadow-cta-md)
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--color-white);
    border-bottom: 1px solid #e5e8ef;
    box-shadow: 0 2px 5px rgba(17, 24, 39, .06)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px
}

.hamburger {
    display: none
}

.sidebar-header,
.sidebar-divider,
.sidebar-contact {
    display: none
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 56px;
    padding: 0 8px;
    color: #17213b;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s
}

.nav-menu li a i {
    color: var(--color-primary-dark);
    font-size: 18px
}

.nav-menu li a span {
    min-width: 0
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-primary)
}

.nav-menu li a:hover i,
.nav-menu li a.active i {
    color: var(--color-primary)
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--color-danger);
    color: var(--color-white);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-8px)
}

/* ===== HERO ===== */
.hero {
    padding: 16px 0
}

.hero-inner {
    display: flex;
    gap: 16px
}

.hero-slider {
    position: relative;
    flex: 0 0 65%;
    border-radius: 12px;
    color: var(--color-white);
    overflow: hidden;
    min-height: 340px
}

.slides-wrapper {
    position: absolute;
    inset: 0
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease
}

.slide.active {
    opacity: 1
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--overlay-hero-start) 0%, var(--overlay-hero-mid) 40%, var(--overlay-hero-end) 100%);
    z-index: 1
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 340px
}

.hero-slide-content {
    display: none;
    flex-direction: column;
    justify-content: center
}

.hero-slide-content.active {
    display: flex
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 12px;
    color: var(--color-white);
    background: var(--white-10);
    border: 1px solid var(--white-15);
    width: fit-content
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-orange);
    display: inline-block;
    flex-shrink: 0
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
    text-shadow: var(--text-shadow-strong)
}

.hero-content .highlight {
    color: var(--color-accent-hero);
    font-size: 42px;
    display: block;
    line-height: 1.1;
    margin-top: 2px
}

.hero-desc {
    font-size: 16px;
    opacity: .9;
    margin-bottom: 20px;
    text-shadow: var(--text-shadow-soft)
}

.hero-features {
    display: flex;
    gap: 12px;
}

.hero-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white-08);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    backdrop-filter: blur(6px);
    border: 1px solid var(--white-12);
    transition: background .2s
}

.hero-feat:hover {
    background: var(--white-18)
}

.feat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--white-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.feat-icon i {
    font-size: 13px;
    color: var(--color-white)
}

.hero-feat small {
    opacity: .65;
    display: block;
    margin-top: 2px
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white-40);
    transition: all .2s;
    cursor: pointer
}

.dot.active {
    background: var(--color-white);
    width: 20px;
    border-radius: 4px
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white-20);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background .2s;
    z-index: 3
}

.slider-arrow:hover {
    background: var(--white-35)
}

.slider-arrow.left {
    left: 12px
}

.slider-arrow.right {
    right: 12px
}

/* Hero Dealer Finder */
.hero-dealer {
    flex: 1;
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-panel);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.hero-dealer h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px
}

.hero-dealer>p {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 16px
}

.btn-locate {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    width: 100%;
    justify-content: center
}

.btn-locate:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px)
}

.dealer-divider {
    font-size: 12px;
    color: var(--color-muted-lighter);
    margin: 14px 0;
    position: relative;
    width: 100%
}

.dealer-divider::before,
.dealer-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: var(--color-neutral)
}

.dealer-divider::before {
    left: 0
}

.dealer-divider::after {
    right: 0
}

.dealer-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border-strong);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-muted);
    outline: none;
    appearance: none;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    transition: border-color .2s
}

.dealer-select:focus {
    border-color: var(--color-primary)
}

.dealer-stats {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    width: 100%
}

.stat {
    flex: 1;
    text-align: center
}

.stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary)
}

.stat-label {
    font-size: 13px;
    color: var(--color-muted)
}

/* ===== QUICK SERVICES ===== */
.quick-services {
    padding: 0 0 20px
}

.quick-services-inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px
}

.quick-service-card {
    position: relative;
    grid-column: span 3;
    min-height: 100px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 15px 14px;
    border: 1px solid #eef1f6;
    border-radius: 6px;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
    transition: transform .2s, box-shadow .2s, border-color .2s
}

.quick-service-card:nth-last-child(-n+3):nth-child(4n+1),
.quick-service-card:nth-last-child(-n+3):nth-child(4n+1) ~ .quick-service-card {
    grid-column: span 4
}

.quick-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08)
}

.quick-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex: 0 0 44px
}

.quick-service-icon i {
    font-size: 24px
}

.quick-service-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25
}

.quick-service-copy strong {
    color: #17213b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6
}

.quick-service-copy small {
    margin-top: 5px;
    color: #596174;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35
}

.quick-service-copy em {
    margin-top: 10px;
    color: #17213b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800
}

.quick-service-copy em i {
    font-size: 11px
}

.service-repair {
    background: #fbfbff
}

.service-repair .quick-service-icon {
    background: #0a2c9a
}

.service-liquidation {
    background: #fbfffc
}

.service-liquidation .quick-service-icon {
    background: #168a45
}

.service-parts {
    background: #fdfbff
}

.service-parts .quick-service-icon {
    background: #4a18a8
}

.service-maintenance {
    background: #fffafa
}

.service-maintenance .quick-service-icon {
    background: #f0f2f5;
    color: var(--color-danger);
    border: 2px solid rgba(231, 76, 60, .2)
}

.quick-service-card.is-featured {
    border: 2px solid var(--color-danger);
    box-shadow: 0 4px 16px rgba(231, 76, 60, .12)
}

.quick-service-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 28px;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    background: var(--color-danger);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800
}

.service-maintenance .quick-service-copy strong,
.service-maintenance .quick-service-copy em {
    color: #b42318
}

.service-recruit {
    background: #fffdf8
}

.service-recruit .quick-service-icon {
    background: #c47a08
}

.service-region {
    background: #f8fbff
}

.service-region .quick-service-icon {
    background: #0e7490
}

.service-supplier {
    background: #fbfef9
}

.service-supplier .quick-service-icon {
    background: #4d7c0f
}

.service-top-rated {
    background: #fffaf0
}

.service-top-rated .quick-service-icon {
    background: #d97706
}

.service-field {
    background: #f8f7ff
}

.service-field .quick-service-icon {
    background: #6d28d9
}

.service-rental {
    background: #f7fdfb
}

.service-rental .quick-service-icon {
    background: #0f766e
}

.service-electronics {
    background: #f8fafc
}

.service-electronics .quick-service-icon {
    background: #334155
}

/* ===== SECTIONS ===== */
.section {
    padding: 28px 0
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px
}

.section-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-left: 14px
}

.section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--color-primary);
    border-radius: 2px
}

.section-head a {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500
}

.section-head a:hover {
    text-decoration: underline
}

/* ===== BRANDS ===== */
.brands {
    background: var(--color-white);
    padding-top: 24px;
    padding-bottom: 24px
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px
}

.brand-item {
    text-align: center;
    padding: 16px 8px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: all .2s;
    cursor: pointer
}

.brand-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-primary-sm);
    transform: translateY(-2px)
}

.brand-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--color-text)
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px
}

.brand-item span {
    font-size: 13px;
    color: var(--color-muted-light)
}

.brand-more {
    background: var(--color-primary-soft);
    border-color: var(--color-primary-border)
}

.brand-more .brand-logo {
    color: var(--color-primary);
    font-size: 28px
}

.brand-more strong {
    display: block;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600
}

.brand-more small {
    font-size: 10px;
    color: var(--color-muted-light)
}

/* ===== SUPPLIERS ===== */
.suppliers-section,
.supplier-regions-section {
    background: var(--color-white)
}

.supplier-fields-section {
    background: var(--color-bg)
}

.supplier-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.supplier-section-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-left: 14px
}

.supplier-section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--color-primary);
    border-radius: 2px
}

.supplier-section-head a {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600
}

.supplier-featured-slider {
    --supplier-slide-gap: 18px;
    --supplier-slides-visible: 5;
    position: relative
}

.supplier-featured-viewport {
    overflow: hidden;
    padding: 2px 2px 10px
}

.supplier-carousel {
    display: flex;
    gap: var(--supplier-slide-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0
}

.supplier-carousel::-webkit-scrollbar {
    display: none
}

.supplier-card {
    flex: 0 0 calc((100% - (var(--supplier-slide-gap) * (var(--supplier-slides-visible) - 1))) / var(--supplier-slides-visible));
    scroll-snap-align: start;
    background: var(--color-white);
    border: 1px solid #edf0f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
    color: inherit;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s
}

.supplier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08)
}

.supplier-card>img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover
}

.supplier-card-body {
    position: relative;
    padding: 32px 14px 14px
}

.supplier-card-logo {
    position: absolute;
    top: -40px;
    left: 14px;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid var(--color-white);
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .14)
}

.supplier-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.supplier-card h3 {
    min-height: 42px;
    color: #17213b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px
}

.supplier-card p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #596174;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px
}

.supplier-card p i {
    color: #6273a4;
    font-size: 16px
}

.supplier-card p .ph-star,
.supplier-card p i.ph-star {
    color: var(--color-warning)
}

.supplier-card p strong {
    color: #17213b
}

.supplier-card-body>a,
.supplier-card-cta {
    min-height: 38px;
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dee8;
    border-radius: 5px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s, color .2s;
    line-height:0;
}

.supplier-card-body>a:hover,
.supplier-card:hover .supplier-card-cta {
    border-color: var(--color-primary);
    color: var(--color-primary)
}

.supplier-slider-arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 4
}

.supplier-slider-arrow.left {
    left: -18px
}

.supplier-slider-arrow.right {
    right: -18px
}

.supplier-slider-arrow:disabled {
    opacity: .38;
    cursor: not-allowed
}

.supplier-empty {
    padding: 22px;
    border: 1px dashed #d9dee8;
    border-radius: 8px;
    background: var(--color-white);
    color: #596174;
    font-size: 14px;
    font-weight: 600;
    text-align: center
}

.top-rated-suppliers {
    background: var(--color-white)
}

.top-rated-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px
}

.top-rated-head h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-left: 14px
}

.top-rated-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--color-primary);
    border-radius: 2px
}

.top-rated-head>a {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap
}

.top-rated-tabs {
    display: flex;
    align-items: center;
    gap: 10px
}

.top-rated-tabs button {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 4px;
    border: 1px solid #d9dee8;
    background: var(--color-white);
    color: #17213b;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05)
}

.top-rated-tabs button.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white)
}

.top-rated-slider {
    position: relative
}

.top-rated-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 8px
}

.top-rated-track::-webkit-scrollbar {
    display: none
}

.top-rated-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 4);
    min-height: 188px;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    background: var(--color-white);
    border: 1px solid #edf0f5;
    border-radius: 6px;
    padding: 22px 18px 18px 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04)
}

.rank-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f6fa;
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08)
}

.rank-1 {
    background: #ffbf1f;
    color: var(--color-white)
}

.rank-2 {
    background: #91a6c8;
    color: var(--color-white)
}

.rank-3 {
    background: #f36f32;
    color: var(--color-white)
}

.top-rated-logo {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.top-rated-logo img {
    width: 100%;
    height: 104px;
    object-fit: contain
}

.top-rated-body {
    min-width: 0
}

.top-rated-body h3 {
    color: #17213b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 38px;
    margin-bottom: 8px
}

.top-rated-body p {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #596174;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px
}

.top-rated-body p i {
    color: #6273a4;
    font-size: 15px
}

.top-rated-body p i.ph-star {
    color: var(--color-warning)
}

.top-rated-body p strong {
    color: #17213b
}

.top-rated-body a {
    min-height: 36px;
    margin-top: 13px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef3fb;
    color: var(--color-primary-dark);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    min-width: 142px
}

.top-rated-arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid #edf0f5;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    z-index: 4
}

.top-rated-arrow.left {
    left: -18px
}

.top-rated-arrow.right {
    right: -18px
}

.supplier-field-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px
}

.supplier-field-card {
    min-height: 124px;
    padding: 18px 10px;
    background: var(--color-white);
    border: 1px solid #edf0f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    color: #17213b;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.supplier-field-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary-border);
    box-shadow: var(--shadow-primary-sm)
}

.supplier-field-card i {
    color: var(--color-primary-dark);
    font-size: 34px
}

.supplier-field-icon-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    display: block
}

.supplier-field-card strong {
    color: #17213b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25
}

.supplier-field-card span {
    color: #596174;
    font-size: 12px;
    font-weight: 600
}

.supplier-region-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px
}

.supplier-region-card {
    background: var(--color-white);
    border: 1px solid #edf0f5;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    color: #17213b;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
    transition: transform .2s, box-shadow .2s
}

.supplier-region-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08)
}

.supplier-region-card img {
    width: 100%;
    height: 82px;
    object-fit: cover
}

.supplier-region-card strong {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500
}

.supplier-region-card span {
    display: block;
    margin: 4px 0 13px;
    color: #596174;
    font-size: 13px;
    font-weight: 500
}

/* ===== NEARBY TECHNICIANS ===== */
.nearby-techs-section {
    background: var(--color-bg)
}

.tech-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.tech-title-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    min-width: 0
}

.tech-title-row h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-left: 14px;
    white-space: nowrap
}

.tech-title-row h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--color-primary);
    border-radius: 2px
}

.tech-title-row span {
    color: #596174;
    font-size: 14px;
    font-weight: 700
}

.tech-section-head>a {
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap
}

.tech-slider {
    position: relative
}

.tech-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 8px
}

.tech-grid::-webkit-scrollbar {
    display: none
}

.tech-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #d9dee8;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
    transform: translateY(-50%)
}

.tech-slider-arrow.left {
    left: -19px
}

.tech-slider-arrow.right {
    right: -19px
}

.tech-slider-arrow:disabled {
    opacity: .35;
    cursor: not-allowed
}

.tech-card {
    flex: 0 0 calc((100% - 54px) / 4);
    scroll-snap-align: start;
    background: var(--color-white);
    border: 1px solid #edf0f5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04)
}

.tech-main {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px
}

.tech-photo {
    position: relative;
    height: 132px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-primary-soft);
    display: block
}

.tech-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.tech-online,
.tech-check {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-success);
    border: 3px solid var(--color-white)
}

.tech-online {
    top: 8px;
    left: 8px
}

.tech-check {
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 9px
}

.tech-info h3 {
    color: #17213b;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px
}

.tech-info h3 a {
    color: inherit
}

.tech-info h3 a:hover {
    color: var(--color-primary)
}

.tech-info p {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #596174;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    margin-top: 8px
}

.tech-info p i {
    color: #9d4153;
    font-size: 15px;
    margin-top: 1px
}

.tech-info .tech-rating {
    display: block;
    margin-top: 6px
}

.tech-rating-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.1
}

.tech-rating-line span {
    color: var(--color-warning);
    letter-spacing: 0
}

.tech-rating strong {
    color: #17213b
}

.tech-review-count {
    display: block;
    color: #596174;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2px
}

.smm-technician-vip-badge {
    width: max-content;
    max-width: 100%;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #dbe7f6;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap
}

.smm-technician-vip-badge.is-bronze {
    border-color: #f4cf73;
    background: #fff8e7;
    color: #9a5b00
}

.smm-technician-vip-badge.is-silver {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569
}

.smm-technician-vip-badge.is-gold {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309
}

.tech-card-vip {
    display: flex;
    margin: -2px 0 6px
}

.tech-status {
    color: var(--color-success) !important;
    font-weight: 500 !important
}

.tech-status i {
    color: var(--color-success) !important
}

.tech-status.is-busy,
.tech-status.is-busy i {
    color: #b66a00 !important
}

.tech-online.is-busy {
    background: #f59e0b
}

.tech-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: auto
}

.tech-action,
.tech-detail-action {
    min-height: 42px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500
}

.tech-action {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary-sm)
}

.tech-detail-action {
    min-width: 92px;
    border: 1px solid #d9e2f2;
    background: #fff;
    color: var(--color-primary);
    font-weight: 500
}

.tech-action:hover,
.tech-detail-action:hover {
    text-decoration: none
}

.tech-detail-action:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-soft)
}

/* ===== ARTICLES ===== */
.articles {
    background: var(--color-white)
}

.article-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px
}

.article-card {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all .25s;
    cursor: pointer
}

.article-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px)
}

.article-img {
    height: 130px;
    background: linear-gradient(135deg, var(--color-primary-tint), var(--color-primary-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-article-icon)
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.article-card h4 {
   padding: 10px 17px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 2.35;
    height: calc(2.7em + 35px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    background: #082760;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0
}

.trust-item i {
    width: 54px;
    flex: 0 0 54px;
    color: rgba(255, 255, 255, .78);
    font-size: 46px;
    line-height: 1
}

.trust-item strong {
    display: block;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2
}

.trust-item small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 40px 0 30px
}

.footer-inner {
    display: flex;
    gap: 30px
}

.footer-col {
    flex: 1
}

.footer-about {
    flex: 1.3
}

.footer-logo {
    margin-bottom: 14px
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-footer-muted)
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white-10);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .2s
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px)
}

.footer-heading {
    display: block;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px
}

.footer-col ul li {
    margin-bottom: 8px
}

.footer-col ul li a,
.footer-col ul li {
    font-size: 14px;
    color: var(--color-footer-muted);
    transition: color .2s
}

.footer-col ul li a:hover {
    color: var(--color-white)
}

/* ===== AUTH PAGES ===== */
.auth-page {
    background: var(--color-bg);
    padding: 42px 0
}

.auth-wrap {
    max-width: 980px
}

.auth-panel {
    display: grid;
    grid-template-columns: 1fr 430px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-panel)
}

.auth-media {
    min-height: 520px;
    background: var(--color-primary-soft)
}

.auth-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.auth-card {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.auth-head {
    margin-bottom: 22px
}

.auth-head h1 {
    font-size: 26px;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 8px
}

.auth-head p {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.6
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text)
}

.form-group input {
    height: 42px;
    border: 1px solid var(--color-border-strong);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--primary-12)
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.check-line {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-muted);
    line-height: 1.4
}

.check-line input {
    margin-top: 2px;
    flex: 0 0 auto
}

.auth-link,
.auth-switch a {
    color: var(--color-primary);
    font-weight: 600
}

.auth-submit {
    height: 44px;
    border-radius: 6px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .2s
}

.auth-submit:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px)
}

.auth-switch {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-muted);
    text-align: center
}

.auth-policy {
    margin-top: 2px
}

.auth-nav-menu {
    margin-left: auto
}

.login-page {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
    padding: 0 0 44px
}

.auth-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    font-size: 13px;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border-soft)
}

.auth-breadcrumb a {
    color: var(--color-muted)
}

.auth-breadcrumb span,
.auth-breadcrumb a:hover {
    color: var(--color-primary)
}

.auth-breadcrumb i {
    font-size: 10px;
    color: var(--color-muted-light)
}

.auth-title {
    padding: 34px 0 28px
}

.auth-title h1 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #050b18;
    margin-bottom: 10px
}

.auth-title p {
    font-size: 15px;
    color: #3f4d68
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, .9fr);
    gap: 28px;
    align-items: start
}

.login-card,
.login-side-card,
.login-support-card,
.login-benefits {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(10, 35, 81, .05)
}

.login-card {
    padding: 0 32px 34px
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #e6edf7;
    margin-bottom: 30px
}

.auth-tab {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #4d5a73;
    font-size: 14px;
    font-weight: 700;
    position: relative
}

.auth-tab i {
    font-size: 24px
}

.auth-tab.active {
    color: var(--color-primary)
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--color-primary);
    box-shadow: 0 4px 10px rgba(10, 51, 161, .22)
}

.auth-switch-inline {
    text-align: center;
    color: #53637d;
    font-size: 15px;
    margin-bottom: 34px
}

.auth-switch-inline a {
    color: var(--color-primary);
    font-weight: 700
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.login-form .form-group {
    gap: 12px
}

.login-form .form-group label {
    color: #132447;
    font-size: 15px;
    font-weight: 800
}

.login-form .form-group label span {
    color: var(--color-danger)
}

.login-form .form-group input,
.password-field {
    height: 56px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.login-form .form-group input {
    padding: 0 16px
}

.login-form .form-group input::placeholder {
    color: #7e8ca5
}

.login-form .form-group small {
    font-size: 13px;
    color: #66758f
}

.login-form .form-group.has-error>input,
.login-form .form-group.has-error .password-field {
    border-color: var(--color-danger);
    background: #fffafa
}

.login-form .form-group.has-error>input:focus,
.login-form .form-group.has-error .password-field:focus-within {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, .12)
}

.login-form .field-error {
    margin: -4px 0 0;
    font-size: 12px
}

.password-field {
    display: flex;
    align-items: center
}

.password-field input {
    flex: 1;
    height: 100%;
    border: 0;
    background: transparent
}

.password-field button {
    width: 50px;
    height: 100%;
    background: transparent;
    color: #71809a;
    font-size: 17px
}

.login-options {
    margin-top: 16px
}

.login-options .check-line {
    align-items: center;
    font-size: 14px
}

.login-options .check-line input {
    width: 24px;
    height: 24px;
    margin: 0;
    accent-color: var(--color-primary)
}

.login-options .auth-link {
    font-size: 14px
}

.login-submit {
    height: 54px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative
}

.login-submit i {
    position: absolute;
    right: 22px;
    font-size: 18px;
    font-weight: 400
}

.login-submit.is-loading {
    cursor: wait;
    opacity: .88
}

.login-submit.is-loading i {
    animation: smm-register-spin .8s linear infinite
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #66758f;
    font-size: 14px;
    margin: 36px 0 24px
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: #dfe6f1
}

.social-login {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.social-btn {
    height: 64px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    background: var(--color-white);
    color: #23324d;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.social-btn span,
.social-btn i {
    font-size: 27px;
    font-weight: 800
}

.social-btn.google span {
    color: #4285f4
}

.social-btn.facebook i {
    color: #1877f2
}

.auth-info {
    margin-top: 44px;
    min-height: 96px;
    border: 1px solid #cfe0fb;
    background: #f7fbff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px
}

.auth-info i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    font-size: 13px
}

.auth-info p {
    font-size: 14px;
    color: #3d4b65;
    line-height: 1.7
}

.auth-info div {
    min-width: 0
}

.auth-info strong {
    display: block;
    color: #132447;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 3px
}

.auth-info-error {
    margin: 0 0 24px;
    min-height: 0;
    border-color: rgba(231, 76, 60, .28);
    background: #fff8f7;
    gap: 14px;
    padding: 16px 18px
}

.auth-info-error i {
    background: var(--color-danger)
}

.auth-info-error strong {
    color: #9f2f24
}

.auth-info-error p {
    color: #73342f;
    line-height: 1.55
}

.auth-info-success {
    margin: 0 0 24px;
    min-height: 0;
    border-color: rgba(39, 174, 96, .28);
    background: #f3fbf6;
    gap: 14px;
    padding: 16px 18px
}

.auth-info-success i {
    background: var(--color-success)
}

.auth-info-success strong {
    color: #14783a
}

.auth-info-success p {
    color: #28533a;
    line-height: 1.55
}

.login-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.login-side-card {
    padding: 34px 32px
}

.login-hero-visual {
    height: 270px;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f6ff
}

.login-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.login-side-card h2 {
    font-size: 20px;
    line-height: 1.35;
    color: var(--color-primary);
    margin-bottom: 12px
}

.login-side-card>p {
    color: #3e4d68;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 28px
}

.login-feature {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 24px
}

.login-feature>span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #cfe0fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 25px
}

.login-feature strong {
    display: block;
    color: #172846;
    font-size: 14px;
    margin-bottom: 8px
}

.login-feature p {
    color: #58677f;
    font-size: 13px;
    line-height: 1.6
}

.login-support-card {
    padding: 24px 32px
}

.login-support-card h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 10px
}

.login-support-card>p {
    color: #3e4d68;
    font-size: 14px;
    margin-bottom: 22px
}

.support-line {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    align-items: start;
    margin-top: 18px
}

.support-line i {
    color: #19304f;
    font-size: 22px;
    margin-top: 3px
}

.support-line strong {
    display: block;
    color: var(--color-primary);
    font-size: 15px;
    margin-bottom: 5px
}

.support-line span {
    display: block;
    color: #64738c;
    font-size: 13px
}

.login-benefits {
    margin-top: 36px;
    padding: 28px 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.benefit-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start
}

.benefit-item i {
    color: var(--color-primary);
    font-size: 42px
}

.benefit-item strong {
    display: block;
    color: #172846;
    font-size: 14px;
    margin-bottom: 8px
}

.benefit-item span {
    color: #58677f;
    font-size: 13px;
    line-height: 1.6
}

/* ===== REGISTER PAGE ===== */
.register-page {
    background: var(--color-bg);
    padding-bottom: 34px
}

.register-hero {
    display: grid;
    grid-template-columns: 1.25fr .8fr;
    gap: 28px;
    align-items: center;
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    padding: 34px 34px 28px;
    margin: 26px 0 24px;
    overflow: hidden
}

.register-hero h1 {
    font-size: 28px;
    line-height: 1.25;
    color: #050b18;
    margin-bottom: 12px
}

.register-hero p {
    color: #3f4d68;
    font-size: 14px;
    line-height: 1.65
}

.register-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px
}

.register-hero-benefits div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #172846;
    font-size: 12px;
    font-weight: 700
}

.register-hero-benefits i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px
}

.register-hero-image {
    height: 230px;
    border-radius: 12px;
    background: #f1f6ff;
    overflow: hidden
}

.register-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.register-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 18px
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7890;
    font-size: 13px;
    font-weight: 600
}

.step::after {
    content: '';
    height: 1px;
    flex: 1;
    background: #dbe4f2
}

.step:last-child::after {
    display: none
}

.step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef3fb;
    color: #65738c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    font-size: 12px
}

.step.active {
    color: var(--color-primary)
}

.step.active span {
    background: var(--color-primary);
    color: var(--color-white)
}

.register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start
}

.register-form-card,
.side-card {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(10, 35, 81, .04)
}

.register-form-card {
    padding: 26px
}

.form-section {
    padding-bottom: 24px;
    border-bottom: 1px solid #edf1f7;
    margin-bottom: 24px
}

.form-section h2,
.side-card h3 {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 20px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 22px;
    margin-bottom:15px;
}

.form-group-full {
    grid-column: 1 / -1
}

.register-form-card .form-group label,
.register-form-card>label {
    color: #172846;
    font-size: 13px;
    font-weight: 700
}

.register-form-card .form-group label span {
    color: var(--color-danger)
}

.register-form-card input,
.register-form-card select,
.register-form-card textarea {
    width: 100%;
    border: 1px solid #d8e0ec;
    border-radius: 7px;
    background: var(--color-white);
    color: var(--color-text);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.register-form-card input,
.register-form-card select {
    height: 42px;
    padding: 0 12px
}

.register-form-card textarea {
    min-height: 92px;
    padding: 12px;
    resize: vertical
}

.register-form-card input:focus,
.register-form-card select:focus,
.register-form-card textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--primary-12)
}

.register-form-card .has-error input,
.register-form-card .has-error select,
.register-form-card .has-error textarea {
    border-color: var(--color-danger)
}

.register-form-card .has-error input:focus,
.register-form-card .has-error select:focus,
.register-form-card .has-error textarea:focus {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12)
}

.register-form-card .password-field {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    border: 1px solid #d8e0ec;
    border-radius: 7px;
    background: var(--color-white);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s
}

.register-form-card .password-field:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--primary-12)
}

.register-form-card .password-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 12px
}

.register-form-card .password-field input:focus {
    border-color: transparent;
    box-shadow: none
}

.register-form-card .password-field button {
    flex: 0 0 44px;
    width: 44px;
    height: 100%;
    border: 0;
    border-left: 1px solid #e6ecf5;
    background: transparent;
    color: #66758f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background .2s, color .2s
}

.register-form-card .password-field button:hover,
.register-form-card .password-field button:focus-visible {
    background: #f7f9fc;
    color: var(--color-primary)
}

.register-form-card .has-error .password-field {
    border-color: var(--color-danger)
}

.register-form-card .has-error .password-field:focus-within {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .12)
}

.field-error {
    display: none;
    margin: 6px 0 0;
    color: var(--color-danger);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 600
}

.field-error.show,
.field-error:not(:empty) {
    display: block
}

.business-type-other {
    display: none;
    margin-top: 10px
}

.business-type-other.show {
    display: block
}

.upload-grid .field-error {
    grid-column: 1 / -1
}


.register-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.register-upload-box {
    min-height: 104px;
    border: 1px dashed #b8c9e4;
    border-radius: 10px;
    background: #f8fbff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s
}

.register-upload-box:hover,
.register-upload-box:focus-within {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 74, 125, .09)
}

.register-upload-box input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.register-upload-icon {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    background: #eaf2ff;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 auto
}

.register-upload-cover .register-upload-icon {
    background: #fff0ed;
    color: var(--color-danger)
}

.register-upload-copy {
    min-width: 0;
    display: grid;
    gap: 4px
}

.register-upload-copy strong {
    color: #172846;
    font-size: 13px;
    line-height: 1.35
}

.register-upload-copy small {
    margin: 0;
    color: #66758f
}

.register-upload-copy em {
    color: #315a94;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.register-upload-box.has-file {
    border-style: solid;
    border-color: rgba(30, 126, 62, .32);
    background: #f7fff9
}

@media (max-width: 640px) {
    .register-upload-grid {
        grid-template-columns: 1fr
    }
}

.register-form-card small {
    color: #66758f;
    font-size: 11px
}

.email-verification {
    margin-top: 10px
}

.email-verification-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.email-verification-code {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) auto;
    gap: 10px;
    flex: 1;
    min-width: 0
}

.email-verification-button {
    height: 38px;
    border: 1px solid var(--color-primary);
    border-radius: 7px;
    background: var(--color-primary);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, border-color .2s ease
}

.email-verification-button-secondary {
    background: #f7fbff;
    color: var(--color-primary)
}

.email-verification-button:disabled {
    cursor: not-allowed;
    opacity: .68
}

.email-verification-button.is-loading i,
.register-submit.is-loading i {
    animation: smm-spin .8s linear infinite
}

.email-verification.is-verified .email-verification-button-secondary {
    border-color: #16a34a;
    background: #ecfdf3;
    color: #15803d
}

.email-verification-status {
    margin: 8px 0 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45
}

.email-verification-status:empty {
    display: none
}

.email-verification-status.is-info {
    color: #66758f
}

.email-verification-status.is-success {
    color: #15803d
}

.email-verification-status.is-error {
    color: var(--color-danger)
}

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

.dealer-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #cfe0fb;
    border-radius: 9px;
    background: #f7fbff;
    margin-bottom: 24px;
    cursor: pointer
}

.dealer-toggle input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    flex: 0 0 auto
}

.dealer-toggle strong {
    display: block;
    font-size: 14px;
    color: #172846;
    margin-bottom: 4px
}

.dealer-toggle small {
    display: block;
    line-height: 1.5
}

.dealer-toggle.has-error {
    border-color: var(--color-danger);
    background: #fff7f7
}

.register-policy.has-error {
    color: var(--color-danger)
}

.liquidation-toggle {
    border-color: rgba(231, 76, 60, .26);
    background: #fffafa
}

.liquidation-toggle input {
    accent-color: var(--color-danger)
}

.liquidation-toggle strong {
    color: #b42318
}

.dealer-fields,
.liquidation-fields {
    display: none
}

.dealer-fields.show,
.liquidation-fields.show {
    display: block
}

.register-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px
}

.register-check-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.register-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.register-check-grid label {
    min-height: 42px;
    border: 1px solid #d8e0ec;
    border-radius: 7px;
    background: #fbfdff;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: #33415f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35
}

.register-check-grid input {
    width: 15px;
    height: 15px;
    padding: 0;
    margin: 0;
    flex: 0 0 15px;
    accent-color: var(--color-danger)
}

.upload-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    margin-bottom: 20px
}

.upload-box,
.gallery-box {
    border: 1px dashed #c8d3e2;
    border-radius: 8px;
    background: #fbfdff;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    color: #7b879c
}

.upload-box {
    min-height: 112px;
    flex-direction: column;
    gap: 7px;
    text-align: center;
    padding: 14px
}

.upload-box input,
.gallery-box input {
    display: none
}

.upload-box i {
    font-size: 26px;
    color: #8a97ab
}

.upload-box strong {
    color: #5a667a;
    font-size: 12px
}

.upload-box span {
    font-size: 10px;
    line-height: 1.4
}

.upload-file-state {
    color: #6b7890;
    display: block;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis
}

.upload-box.has-file,
.gallery-box.has-file {
    border-color: var(--color-primary);
    color: var(--color-white)
}

.upload-box.has-file strong,
.upload-box.has-file span,
.upload-box.has-file .upload-file-state,
.gallery-box.has-file .upload-file-state {
    color: var(--color-white);
    position: relative;
    z-index: 1
}

.upload-box.is-invalid,
.gallery-box.is-invalid {
    border-color: var(--color-danger);
    background: #fff7f7
}

.gallery-upload {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px
}

.gallery-box {
    flex-direction: column;
    gap: 5px;
    height: 76px;
    padding: 8px;
    text-align: center
}

.gallery-box i {
    font-size: 24px
}

.register-policy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--color-muted);
    line-height: 1.5
}

.register-policy input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 16px;
    accent-color: var(--color-primary)
}

.register-policy span {
    flex: 1;
    min-width: 0;
    color: var(--color-muted)
}

.register-policy a {
    color: var(--color-primary);
    font-weight: 700
}

.register-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px
}

.btn-cancel {
    height: 44px;
    min-width: 132px;
    border-radius: 7px;
    border: 1px solid #d8e0ec;
    color: #44536c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700
}

.register-submit {
    width: 250px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: opacity .2s ease
}

.register-submit:disabled {
    cursor: not-allowed;
    opacity: .82
}

.register-submit.is-loading {
    cursor: wait
}

.register-submit.is-loading i {
    animation: smm-register-spin .8s linear infinite
}

@keyframes smm-register-spin {
    to {
        transform: rotate(360deg)
    }
}

.register-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.side-card {
    padding: 22px
}

.side-feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    margin-top: 18px
}

.side-feature i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px
}

.side-feature strong,
.process-card strong {
    display: block;
    color: #172846;
    font-size: 13px;
    margin-bottom: 5px
}

.side-feature span,
.process-card p,
.support-card p,
.support-card a {
    color: #59687f;
    font-size: 12px;
    line-height: 1.55
}

.process-card>div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin-top: 16px
}

.process-card>div>span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800
}

.support-card a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #172846
}

.support-card a i {
    font-size: 20px;
    color: var(--color-primary)
}

/* ===== DEALER DIRECTORY PAGE ===== */
.dealer-page {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
    padding-bottom: 42px
}

.dealer-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    font-size: 13px;
    color: var(--color-muted)
}

.dealer-breadcrumb a {
    color: var(--color-muted)
}

.dealer-breadcrumb span,
.dealer-breadcrumb a:hover {
    color: var(--color-primary)
}

.dealer-breadcrumb i {
    color: var(--color-muted-light);
    font-size: 11px
}

.dealer-hero {
    margin-bottom: 28px
}

.dealer-hero h1 {
    font-size: 40px;
    line-height: 1.15;
    color: #050b18;
    margin-bottom: 12px
}

.dealer-hero p {
    font-size: 16px;
    color: #3f4d68
}

.dealer-filter {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(10, 35, 81, .06);
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(180px, 1fr)) 150px;
    gap: 16px;
    margin-bottom: 28px
}

.dealer-search,
.dealer-select-filter {
    height: 54px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: #63718a;
    background: var(--color-white)
}

.dealer-search i,
.dealer-select-filter i {
    color: #4f5f79;
    font-size: 22px
}

.dealer-search input,
.dealer-select-filter select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #3d4b65;
    font-family: inherit;
    font-size: 14px
}

.dealer-filter button {
    height: 54px;
    border-radius: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(10, 51, 161, .22)
}

.dealer-filter button i {
    font-size: 22px
}

.dealer-filter-toggle,
.dealer-filter-close,
.dealer-filter-overlay {
    display: none
}

.dealer-directory-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start
}

.dealer-filter-sidebar {
    position: sticky;
    top: 90px
}

.dealer-filter-panel {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(10, 35, 81, .06);
    padding: 18px;
    display: grid;
    gap: 18px
}

.dealer-filter-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6edf7;
    position: relative
}

.dealer-filter-head>i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 24px
}

.dealer-filter-head strong {
    display: block;
    color: #172846;
    font-size: 16px;
    line-height: 1.25
}

.dealer-filter-head span {
    display: block;
    color: #63718a;
    font-size: 12px;
    margin-top: 2px
}

.dealer-filter-field {
    display: grid;
    gap: 8px
}

.dealer-filter-field>span:first-child {
    color: #172846;
    font-size: 13px;
    font-weight: 700
}

.dealer-filter-control {
    min-height: 48px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    color: #63718a;
    background: var(--color-white)
}

.dealer-filter-control i {
    color: #4f5f79;
    font-size: 20px
}

.dealer-filter-control input,
.dealer-filter-control select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #3d4b65;
    font-family: inherit;
    font-size: 14px
}

.dealer-tier-options {
    display: grid;
    gap: 8px
}

.dealer-tier-option {
    min-height: 42px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    color: #52617a;
    background: #f8fbff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer
}

.dealer-tier-option input {
    width: 15px;
    height: 15px;
    accent-color: var(--color-primary)
}

.dealer-tier-option i {
    color: #4f5f79;
    font-size: 18px
}

.dealer-tier-option.is-active {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
    color: var(--color-primary)
}

.dealer-tier-option.is-active i {
    color: var(--color-primary)
}

.dealer-filter-actions {
    display: grid;
    gap: 10px;
    padding-top: 2px
}

.dealer-filter-actions button,
.dealer-filter-actions a {
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700
}

.dealer-filter-actions button {
    color: var(--color-white);
    background: var(--color-primary);
    box-shadow: 0 8px 18px rgba(10, 51, 161, .22)
}

.dealer-filter-actions button i {
    font-size: 19px
}

.dealer-filter-actions a {
    color: #52617a;
    border: 1px solid #d8e0ec;
    background: var(--color-white)
}

.dealer-directory-content {
    min-width: 0
}

.dealer-directory-content .dealer-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.dealer-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.dealer-directory-card {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10, 35, 81, .04);
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    transition: box-shadow .2s, transform .2s
}

.dealer-directory-card:hover {
    box-shadow: 0 14px 30px rgba(10, 35, 81, .09);
    transform: translateY(-2px)
}

.dealer-directory-card.supplier-tier-complete {
    border-color: #c5d9f0;
}

.dealer-directory-card.supplier-tier-verified,
.dealer-directory-card.supplier-tier-trusted {
    border-color: rgba(10, 51, 161, .3);
    box-shadow: 0 12px 28px rgba(10, 51, 161, .08);
}

.dealer-directory-card.supplier-tier-vip {
    border-color: rgba(213, 164, 58, .68);
    box-shadow: 0 16px 34px rgba(213, 164, 58, .16);
}

.dealer-thumb-wrap {
    display: block;
    position: relative;
    margin-bottom: 10px;
    color: inherit;
    text-decoration: none
}

.dealer-thumb {
    width: 100%;
    height: 130px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #dbe4f2
}

.dealer-logo-badge {
    position: absolute;
    left: 12px;
    bottom: -18px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 3px solid var(--color-white);
    background: var(--color-white);
    object-fit: contain;
    box-shadow: 0 10px 22px rgba(10, 35, 81, .18)
}

.dealer-directory-body h2 {
    font-size: 16px;
    line-height: 1.35;
    color: #172846;
    margin-bottom: 8px
}

.dealer-directory-body h2 a {
    color: inherit;
    text-decoration: none
}

.dealer-directory-body h2 a:hover {
    color: var(--color-primary)
}

.dealer-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px
}

.smm-shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #dbe4f2;
    background: #f6f9fd;
    color: #52617a;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    margin:7px 0px;
}

.smm-shop-badge i {
    font-size: 14px
}

.smm-shop-badge.is-complete {
    border-color: #c5d9f0;
    background: #f0f6ff;
    color: #0a33a1
}

.smm-shop-badge.is-verified {
    border-color: #bde8ca;
    background: #eef7f1;
    color: #168a3a
}

.smm-shop-badge.is-trusted {
    border-color: rgba(213, 164, 58, .45);
    background: #fff8e8;
    color: #8a5a00
}

.smm-shop-badge.is-vip {
    border-color: rgba(213, 164, 58, .7);
    background: linear-gradient(135deg, #fff8e8, #f0f6ff);
    color: #0a2351
}

.dealer-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px
}

.dealer-directory-body p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 8px
}

.dealer-directory-body p i {
    color: #50617b;
    font-size: 18px;
    margin-top: 2px;
    flex: 0 0 auto
}

.dealer-directory-body p strong {
    color: var(--color-primary)
}

.dealer-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 18px;
    font-size: 13px;
    color: #172846
}

.dealer-rating-row span {
    color: #ffb400;
    letter-spacing: 1px
}

.dealer-rating-row small {
    color: #52617a
}

.dealer-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.dealer-card-actions a {
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600
}

.dealer-detail-btn {
    color: var(--color-primary);
    border: 1px solid #bed1ef;
    background: var(--color-white)
}

.dealer-route-btn {
    color: var(--color-white);
    background: var(--color-primary);
    box-shadow: 0 8px 18px rgba(10, 51, 161, .2)
}

.dealer-route-btn i {
    font-size: 19px
}

.dealer-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px
}

.dealer-pagination a,
.dealer-pagination button,
.dealer-pagination span {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #20304d;
    background: transparent;
    font-size: 13px
}

.dealer-pagination a.active {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background: var(--color-white)
}

.dealer-pagination button {
    border: 1px solid #dbe4f2;
    color: var(--color-primary)
}

.dealer-pagination button:disabled {
    color: #bac5d6;
    background: #f4f7fb
}

.dealer-directory-empty {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 260px;
    padding: 42px 20px;
    border: 1px solid #dbe4f2;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(10, 35, 81, .04);
    text-align: center
}

.dealer-directory-empty i {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 30px
}

.dealer-directory-empty h2 {
    margin: 6px 0 0;
    color: #172846;
    font-size: 22px;
    line-height: 1.3
}

.dealer-directory-empty p {
    max-width: 520px;
    margin: 0;
    color: #52617a;
    font-size: 15px;
    line-height: 1.6
}

/* ===== CONTACT PAGE ===== */
.contact-page {
    background: linear-gradient(180deg, var(--color-white) 0%, #f5f8fd 48%, var(--color-bg) 100%);
    padding-bottom: 48px
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px
}

.contact-hero-copy {
    min-height: 330px;
    border-radius: 18px;
    padding: 38px;
    background: linear-gradient(135deg, #071d43 0%, #0a33a1 58%, #0d6aa8 100%);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.contact-hero-copy::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 48px solid rgba(255, 215, 54, .18)
}

.contact-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff5bf;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px
}

.contact-eyebrow i {
    font-size: 18px
}

.contact-hero h1 {
    max-width: 760px;
    font-size: 42px;
    line-height: 1.14;
    margin-bottom: 14px;
    position: relative;
    z-index: 1
}

.contact-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.72;
    position: relative;
    z-index: 1
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    position: relative;
    z-index: 1
}

.contact-primary-btn,
.contact-secondary-btn {
    min-height: 46px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600
}

.contact-primary-btn {
    color: #06183b;
    background: var(--color-accent);
    box-shadow: 0 10px 22px rgba(255, 215, 54, .22)
}

.contact-secondary-btn {
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1)
}

.contact-primary-btn i,
.contact-secondary-btn i {
    font-size: 20px
}

.contact-hero-panel {
    border: 1px solid #dbe4f2;
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 14px 34px rgba(10, 35, 81, .08);
    padding: 22px;
    display: grid;
    gap: 14px;
    align-content: center
}

.contact-quick-line {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e1e8f3;
    border-radius: 12px;
    background: #f8fbff
}

.contact-quick-line>i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 24px
}

.contact-quick-line span {
    display: block;
    color: #64738d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px
}

.contact-quick-line strong {
    display: block;
    color: #172846;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    font-weight:600;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start
}

.contact-main {
    display: grid;
    gap: 24px;
    min-width: 0
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.contact-channel-card,
.contact-branch-card,
.contact-form-card,
.contact-info-card,
.contact-faq-item {
    border: 1px solid #dbe4f2;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(10, 35, 81, .05)
}

.contact-channel-card {
    padding: 20px;
    display: flex;
    min-height: 230px;
    flex-direction: column
}

.contact-channel-card>i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    font-size: 26px;
    margin-bottom: 16px
}

.contact-channel-card h2 {
    color: #172846;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 9px
}

.contact-channel-card p {
    color: #52617a;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px
}

.contact-channel-card a {
    margin-top: auto;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    overflow-wrap: anywhere
}

.contact-section {
    display: grid;
    gap: 16px
}

.contact-section-head h2 {
    color: #172846;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 8px
}

.contact-section-head p {
    color: #52617a;
    font-size: 15px;
    line-height: 1.65
}

.contact-branch-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.contact-branch-card {
    padding: 20px;
    display: grid;
    gap: 12px
}

.contact-branch-card h3 {
    color: #172846;
    font-size: 18px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 8px
}

.contact-branch-card p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #52617a;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere
}

.contact-branch-card p i,
.contact-branch-card h3 i {
    color: var(--color-primary);
    flex: 0 0 auto;
    margin-top: 2px
}

.contact-map-link {
    width: fit-content;
    min-height: 38px;
    border-radius: 8px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 13px;
    font-weight: 600
}

.contact-sidebar {
    position: sticky;
    top: 90px;
    display: grid;
    gap: 16px
}

.contact-form-card,
.contact-info-card {
    padding: 22px
}

.contact-form-card h2 {
    color: #172846;
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 8px
}

.contact-form-card>p,
.contact-info-card p {
    color: #52617a;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px
}

.contact-fallback-form,
.contact-shortcode-form form,
.contact-shortcode-form .wpcf7-form,
.contact-shortcode-form .wpforms-form {
    display: grid;
    gap: 12px
}

.contact-fallback-form p {
    color: #52617a;
    font-size: 14px;
    line-height: 1.6
}

.contact-fallback-form a {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #d8e0ec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-primary);
    background: #f8fbff;
    font-size: 13px;
    font-weight: 800
}

.contact-fallback-form label,
.contact-shortcode-form label {
    display: grid;
    gap: 7px;
    color: #172846;
    font-size: 13px;
    font-weight: 800
}

.contact-fallback-form input,
.contact-fallback-form textarea,
.contact-shortcode-form input[type="text"],
.contact-shortcode-form input[type="email"],
.contact-shortcode-form input[type="tel"],
.contact-shortcode-form input[type="url"],
.contact-shortcode-form select,
.contact-shortcode-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8e0ec;
    border-radius: 8px;
    background: #f8fbff;
    color: #172846;
    font-family: inherit;
    font-size: 14px;
    padding: 11px 12px;
    outline: 0
}

.contact-fallback-form textarea,
.contact-shortcode-form textarea {
    min-height: 120px;
    resize: vertical
}

.contact-fallback-form input:focus,
.contact-fallback-form textarea:focus,
.contact-shortcode-form input:focus,
.contact-shortcode-form select:focus,
.contact-shortcode-form textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(10, 51, 161, .08)
}

.contact-fallback-form button,
.contact-shortcode-form input[type="submit"],
.contact-shortcode-form button[type="submit"],
.contact-shortcode-form .wpforms-submit {
    min-height: 48px;
    border-radius: 8px;
    padding: 0 18px;
    color: var(--color-white);
    background: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(10, 51, 161, .22)
}

.contact-form-card small {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #64738d;
    font-size: 12px;
    line-height: 1.55;
    margin-top: 14px
}

.contact-form-card small i {
    color: var(--color-primary);
    font-size: 16px;
    margin-top: 1px
}

.contact-info-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #172846;
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px
}

.contact-info-card h3 i {
    color: var(--color-primary);
    font-size: 22px
}

.contact-info-card a {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px
}

.contact-faq-list {
    display: grid;
    gap: 10px
}

.contact-faq-item {
    padding: 0;
    overflow: hidden
}

.contact-faq-item summary {
    min-height: 58px;
    padding: 16px 18px;
    color: #172846;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none
}

.contact-faq-item summary::-webkit-details-marker {
    display: none
}

.contact-faq-item p {
    color: #52617a;
    border-top: 1px solid #e6edf7;
    padding: 18px 18px 18px;
    font-size: 14px;
    line-height: 1.65
}

.contact-shortcode-form .wpcf7-not-valid-tip,
.contact-shortcode-form .wpforms-error {
    color: var(--color-danger);
    font-size: 12px;
    font-weight: 600
}

.contact-shortcode-form .wpcf7-response-output,
.contact-shortcode-form .wpforms-confirmation-container-full {
    border-radius: 8px;
    margin: 12px 0 0;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5
}

/* ===== DEALER DETAIL PAGE ===== */
.dealer-detail-page {
    background: #f6f9fd;
    padding: 0 0 28px
}

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    color: #63718a;
    font-size: 13px
}

.shop-breadcrumb a {
    color: #52617a
}

.shop-breadcrumb span,
.shop-breadcrumb a:hover {
    color: var(--color-primary)
}

.dealer-shop-header {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 210px 280px;
    gap: 16px;
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(10, 35, 81, .05)
}

.shop-logo-card {
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    min-height: 126px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark)
}

.shop-logo-card img {
    width: 74px;
    height: 58px;
    object-fit: cover;
    margin-bottom: 8px
}

.shop-logo-card strong {
    color: #e0342b;
    font-size: 14px
}

.shop-logo-card span {
    font-size: 10px;
    font-weight: 700
}

.shop-profile h1 {
    color: #172846;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px
}

.shop-profile h1 i {
    color: var(--color-primary)
}

.shop-status {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    background: var(--color-cta);
    color: var(--color-white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px
}

.shop-rating-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #52617a;
    font-size: 13px;
    margin-bottom: 8px
}

.shop-rating-line .stars,
.shop-product-card div span,
.shop-review-box .stars {
    color: #ffb400;
    letter-spacing: 1px
}

.shop-profile p {
    display: flex;
    gap: 8px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 4px
}

.shop-profile p i {
    color: #50617b;
    font-size: 17px;
    margin-top: 2px
}

.shop-actions {
    display: grid;
    gap: 8px;
    align-self: start
}

.shop-actions a {
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #dbe4f2
}

.shop-actions .call {
    background: #21b344;
    color: var(--color-white);
    border-color: #21b344
}

.shop-actions .zalo {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary)
}

.shop-actions .messenger {
    background: var(--color-white);
    color: #2467d6
}

.shop-actions .follow {
    background: var(--color-white);
    color: #ef3f45
}

.shop-actions em {
    background: #ef3f45;
    color: var(--color-white);
    border-radius: 999px;
    padding: 1px 6px;
    font-style: normal;
    font-size: 10px
}

.shop-cover img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #dbe4f2
}

.shop-gallery {
    position: relative;
    margin-top: 14px;
    padding: 0 42px;
    overflow: hidden
}

.shop-gallery-track {
    padding: 0
}

.shop-gallery:not(.swiper-initialized) .shop-gallery-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none
}

.shop-gallery:not(.swiper-initialized) .shop-gallery-track::-webkit-scrollbar {
    display: none
}

.shop-gallery article {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-primary-dark)
}

.shop-gallery:not(.swiper-initialized) article {
    flex: 0 0 calc((100% - 30px) / 4)
}

.shop-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .74
}

.shop-gallery strong,
.shop-gallery span,
.shop-gallery i {
    position: absolute;
    left: 14px;
    right: 14px;
    text-align: center;
    text-shadow: var(--text-shadow-strong)
}

.shop-gallery strong {
    bottom: 34px;
    font-size: 13px
}

.shop-gallery span {
    bottom: 17px;
    font-size: 11px
}

.shop-gallery i {
    top: 34px;
    font-size: 36px
}

.shop-gallery .shop-gallery-arrow {
    width: 34px;
    height: 34px;
    margin-top: 0;
    transform: translateY(-50%);
    border: 1px solid var(--primary-14);
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-carousel);
    color: var(--color-primary)
}

.shop-gallery .shop-gallery-arrow::after {
    display: none
}

.shop-gallery .shop-gallery-arrow i {
    position: static;
    font-size: 22px;
    text-shadow: none
}

.shop-gallery .swiper-button-prev {
    left: 4px
}

.shop-gallery .swiper-button-next {
    right: 4px
}

.shop-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 14px 0
}

.shop-search-bar label {
    position: relative;
    flex: 0 0 250px
}

.shop-search-bar input {
    width: 100%;
    height: 36px;
    border: 1px solid #dbe4f2;
    border-radius: 4px;
    padding: 0 38px 0 12px;
    outline: 0
}

.shop-search-bar label i {
    position: absolute;
    right: 12px;
    top: 9px;
    color: #66758e
}

.shop-search-bar span {
    color: #52617a;
    font-size: 13px
}

.shop-search-bar a {
    background: #f4f7fb;
    border: 1px solid #e1e8f2;
    border-radius: 4px;
    color: #52617a;
    font-size: 12px;
    padding: 8px 12px
}

.shop-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px
}

.shop-sidebar,
.shop-content {
    min-width: 0
}

.shop-side-box,
.shop-content > .shop-feature-strip,
.shop-content > .shop-section-head,
.shop-slider,
.shop-bottom-grid > div {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 4px
}

.shop-side-box {
    padding: 14px;
    margin-bottom: 14px
}

.shop-side-box h3,
.shop-section-head h2,
.shop-bottom-grid h3 {
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 12px
}

.shop-side-box a,
.shop-side-box label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 9px;
    overflow-wrap: anywhere
}

.shop-side-box a i {
    flex: 0 0 auto;
    color: #66758e;
    font-size: 17px
}

.brand-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.brand-mini-grid .brand-mini-item {
    min-height: 42px;
    margin-bottom: 0;
    padding: 7px;
    border: 1px solid #e1e8f2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden
}

.brand-mini-grid .brand-mini-item:hover {
    border-color: var(--color-primary)
}

.brand-mini-grid img {
    display: block;
    max-width: 100%;
    max-height: 28px;
    object-fit: contain
}

.brand-mini-grid span {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.25;
    text-align: center
}

.shop-side-box .view-more {
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0
}

.shop-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 14px 16px;
    gap: 14px;
    margin-bottom: 14px
}

.shop-feature-strip div {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 10px;
    align-items: center
}

.shop-feature-strip i {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 20px
}

.shop-feature-strip strong {
    color: #172846;
    font-size: 12px
}

.shop-feature-strip span {
    color: #66758e;
    font-size: 11px
}

.shop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 0;
    margin-bottom: 0
}

.shop-section-head h2 {
    margin: 0;
    font-size:15px;
}

.shop-section-head a {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500
}

.shop-slider {
    position: relative;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    padding: 14px;
    overflow: hidden;
    margin-bottom: 14px
}

.shop-products-empty-slider {
    min-height: 96px;
    display: grid;
    place-items: center
}

.shop-products-empty-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #66758e;
    font-size: 13px;
    font-weight: 600
}

.shop-products-empty-note i {
    color: var(--color-primary);
    font-size: 20px
}

.shop-slide-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 2px 2px
}

.shop-slide-track::-webkit-scrollbar {
    display: none
}

.smm-banner-ad-section {
    background: transparent
}

.smm-banner-ad-section .container {
    position: relative
}

.smm-banner-slider {
    padding: 0 44px;
    margin: 0;
    overflow: visible;
    border-radius: 0
}

.smm-banner-track {
    gap: 14px;
    padding: 0;
    scroll-snap-type: x mandatory
}

.smm-banner-card {
    flex: 0 0 100%;
    position: relative;
    display: block;
    aspect-ratio: 16 / 4.2;
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #dbe6f4;
    background: #eef4fb;
    box-shadow: 0 12px 28px rgba(15, 35, 70, .08);
    scroll-snap-align: start
}

.smm-banner-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.smm-banner-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(9, 23, 50, 0) 0%, rgba(9, 23, 50, .68) 100%)
}

.smm-banner-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(239, 68, 68, .22)
}

.smm-banner-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    gap: 4px;
    color: #fff
}

.smm-banner-copy strong {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800
}

.smm-banner-copy small {
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 600
}

.smm-banner-arrow {
    top: 50%;
    transform: translateY(-50%);
    border-color: #d9e5f4;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 35, 70, .12)
}

.smm-banner-arrow.left {
    left: 0
}

.smm-banner-arrow.right {
    right: 0
}

.parts-results .smm-banner-ad-section {
    padding: 0 0 18px
}

.parts-results .smm-banner-ad-section .container {
    max-width: none;
    padding: 0
}

.parts-results .smm-banner-ad-section .supplier-section-head {
    margin-bottom: 12px
}

.parts-results .smm-banner-slider {
    padding: 0 38px
}

.parts-results .smm-banner-card {
    min-height: 150px;
    aspect-ratio: 16 / 4.6;
    box-shadow: none
}

@media (max-width: 768px) {
    .smm-banner-slider,
    .parts-results .smm-banner-slider {
        padding: 0 34px
    }

    .smm-banner-card,
    .parts-results .smm-banner-card {
        aspect-ratio: 16 / 7;
        min-height: 160px
    }

    .smm-banner-copy {
        left: 14px;
        right: 14px;
        bottom: 14px
    }

    .smm-banner-copy strong {
        font-size: 17px
    }
}

.shop-product-card,
.shop-video-grid article {
    scroll-snap-align: start
}

.shop-product-card {
    flex: 0 0 calc((100% - 24px) / 3);
    position: relative;
    border: 1px solid #e1e8f2;
    border-radius: 4px;
    padding: 10px;
    background: var(--color-white)
}

.product-card-cover,
.parts-card-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit
}

.shop-product-card em {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #ef3f45;
    color: var(--color-white);
    border-radius: 999px;
    padding: 3px 7px;
    font-style: normal;
    font-size: 11px;
    font-weight: 500
}

.shop-product-card img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
    background: #eef4fb;
    margin-bottom: 10px
}

.shop-product-card h3 {
    color: #172846;
    font-size: 13px;
    line-height: 1.35;
    min-height: 36px;
    margin-bottom: 7px
}

.shop-product-card > strong {
    color: #ff3b30;
    display: block;
    font-size: 14px;
    margin-bottom: 6px
}

.shop-product-card div {
    display: flex;
    align-items: center;
    gap: 5px
}

.shop-product-card .product-card-rating-line,
.parts-product-card .product-card-rating-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 20px;
    margin: 4px 0 6px;
    color: #66758e;
    font-size: 11.5px;
    line-height: 1.35
}

.shop-product-card .product-card-rating-line i,
.parts-product-card .product-card-rating-line i,
.shop-product-card .product-card-rating-line span,
.parts-product-card .product-card-rating-line span {
    color: #f59e0b
}

.shop-product-card .product-card-rating-line small,
.parts-product-card .product-card-rating-line small {
    color: #66758e;
    font-size: 11px;
    font-weight: 600
}

.shop-product-card small,
.shop-product-card p {
    color: #66758e;
    font-size: 11px
}

.shop-product-card p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0 8px
}

.shop-product-card .product-card-actions {
    position: relative;
    z-index: 2
}

.shop-product-card button,
.shop-product-card .product-card-actions a {
        height: 35px;
    flex: 1;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.shop-product-card button:last-child,
.shop-product-card .product-card-actions a:last-child {
    background: #22b14c
}

.shop-video-grid article {
    flex: 0 0 calc((100% - 24px) / 3);
    position: relative
}

.shop-video-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 4px
}

.shop-video-thumb {
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #eef4fb
}

.shop-video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 43, 0) 45%, rgba(7, 20, 43, .18) 100%);
    opacity: .8;
    pointer-events: none;
    transition: opacity .18s ease
}

.shop-video-grid img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px
}

.shop-video-thumb .shop-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #ed1b2f;
    box-shadow: 0 12px 26px rgba(237, 27, 47, .28);
    pointer-events: none;
    transition: transform .18s ease, box-shadow .18s ease
}

.shop-video-thumb .shop-video-play::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff
}

.shop-video-grid article:hover .shop-video-thumb .shop-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 14px 30px rgba(237, 27, 47, .34)
}

.shop-video-grid article:hover .shop-video-thumb::after {
    opacity: .55
}

.shop-video-grid .shop-video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e40012;
    color: var(--color-white);
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700
}

.shop-video-grid h3 {
    color: #172846;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 4px
}

.shop-video-grid small {
    color: #66758e;
    font-size: 11px
}

.shop-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--primary-14);
    box-shadow: var(--shadow-carousel);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all .2s
}

.shop-slide-arrow:hover {
    background: var(--color-primary);
    color: var(--color-white)
}

.shop-slide-arrow:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none
}

.shop-slide-arrow.left {
    left: 6px
}

.shop-slide-arrow.right {
    right: 6px
}

.shop-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1.2fr;
    gap: 14px
}

.shop-bottom-grid > div {
    padding: 16px
}

.shop-review-box .score {
    color: #172846;
    font-size: 44px;
    font-weight: 800;
    line-height: 1
}

.shop-review-box .score span {
    color: #66758e;
    font-size: 20px
}

.shop-review-box p,
.shop-info-box p {
    color: #52617a;
    font-size: 12px;
    line-height: 1.7
}

.shop-delivery-box div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px
}

.shop-delivery-box img {
    width: 100%;
    height: 76px;
    object-fit: cover;
    border-radius: 4px
}

.shop-delivery-box a {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700
}

.shop-trust {
    background: var(--color-white);
    border-top: 1px solid #dbe4f2
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-carousel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s, visibility .2s, transform .2s, background .2s
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.back-to-top:hover {
    background: var(--color-primary-hover)
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-page {
    background: #f6f9fd;
    padding: 0 0 30px
}

.product-detail-hero,
.product-detail-layout,
.related-products-section {
    display: grid;
    gap: 16px;
    margin-bottom: 16px
}

.product-detail-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr)
}

.product-media-panel,
.product-summary-panel,
.product-info-box,
.product-safety-box,
.product-shop-card,
.related-products-section {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(10, 35, 81, .05)
}

.product-media-panel,
.product-summary-panel,
.product-info-box,
.product-safety-box,
.product-shop-card {
    padding: 14px
}

.product-main-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 6px;
    background: #edf3fb;
    border: 1px solid #e1e8f2
}

.product-main-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-video-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
    color: var(--color-white);
    background: linear-gradient(135deg, rgba(10, 35, 81, .86), rgba(10, 51, 161, .64)), url("../images/anh-default-video.jpg") center / cover
}

a.product-video-preview {
    text-decoration: none
}

.product-video-preview[hidden] {
    display: none
}

.product-video-preview i {
    font-size: 58px;
    color: var(--color-accent)
}

.product-video-preview strong {
    font-size: 18px;
    font-weight: 800
}

.product-video-preview span {
    max-width: 360px;
    color: var(--white-84);
    font-size: 13px
}

.product-thumb-slider {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity
}

.product-thumb-slider::-webkit-scrollbar {
    height: 6px
}

.product-thumb-slider::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #c9d6e8
}

.product-thumb {
    position: relative;
    flex: 0 0 calc((100% - 30px) / 4);
    min-width: 126px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 5px;
    background: #eef4fb;
    cursor: pointer;
    scroll-snap-align: start
}

.product-thumb.active {
    border-color: var(--color-primary)
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-thumb-video span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: rgba(4, 11, 26, .42);
    font-size: 24px
}

.product-media-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow-xs);
    font-size: 16px
}

.product-media-nav.prev {
    left: 12px
}

.product-media-nav.next {
    right: 12px
}

.product-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    background: #eef7f1;
    color: #168a3a;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px
}

.product-status-tag.is-unavailable {
    background: #fef2f2;
    color: #b42318
}

.product-summary-panel h1 {
    color: #172846;
    font-size: 25px;
    line-height: 1.35;
    margin-bottom: 10px
}

.product-rating-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #66758e;
    font-size: 13px;
    margin-bottom: 6px
}

.product-rating-line span {
    color: #ffb400;
    letter-spacing: 1px
}

.product-rating-line strong {
    color: #172846
}

.product-category-line {
    color: #52617a;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px
}

.product-price-box {
    padding: 14px;
    border-radius: 6px;
    background: #fff6f2;
    border: 1px solid #ffd5c7;
    margin-bottom: 14px
}

.product-price-box span,
.product-spec-grid span {
    display: block;
    color: #66758e;
    font-size: 12px;
    margin-bottom: 3px
}

.product-price-box strong {
    display: block;
    color: #ff3b30;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 4px
}

.product-price-box em {
    color: #8a4b29;
    font-size: 12px;
    font-style: normal;
    font-weight: 600
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px
}

.product-spec-grid div {
    padding: 10px;
    border: 1px solid #e1e8f2;
    border-radius: 5px;
    background: #f8fbff
}

.product-spec-grid .wide {
    grid-column: 1 / -1
}

.product-spec-grid .product-spec-stock {
    grid-column: 1
}

.product-spec-grid .product-spec-address {
    grid-column: 2
}

.product-spec-grid strong {
    display: block;
    color: #172846;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.product-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.product-cta-grid a,
.product-cta-grid span,
.product-cta-grid button {
    min-height: 42px;
    border: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    color: var(--color-white);
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    text-align: center;
    cursor: pointer
}

.product-cta-grid .chat {
    background: var(--color-primary)
}

.product-cta-grid .call {
    background: #20a84a
}

.product-cta-grid .zalo {
    background: #087bdc
}

.product-cta-grid .deposit {
    background: var(--color-cta)
}

.product-cta-grid .deposit.is-disabled {
    background: #edf1f5;
    color: #66758e;
    cursor: not-allowed
}

.product-cta-grid .favorite {
    background: #7c3aed
}

.product-cta-grid .favorite.is-active {
    background: #e11d48
}

.product-cta-grid .share {
    background: #1877f2;
    grid-column: 1 / -1
}

.smm-report-link {
    width: auto;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9a3412;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer
}

.smm-report-link i {
    font-size: 15px
}

.smm-report-link:hover {
    color: #c2410c;
    text-decoration: underline
}

.smm-report-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    color: inherit
}

.smm-report-dialog::backdrop {
    background: rgba(10, 20, 36, .58)
}

.smm-report-modal {
    position: relative;
    max-height: calc(100vh - 32px);
    overflow: auto;
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 39, 111, .22)
}

.smm-report-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer
}

.smm-report-head {
    padding-right: 44px
}

.smm-report-head span {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase
}

.smm-report-head h2 {
    margin: 5px 0;
    color: #172846;
    font-size: 22px;
    line-height: 1.25
}

.smm-report-head p,
.smm-report-message {
    margin: 0;
    color: #52617a;
    font-size: 13px;
    line-height: 1.55
}

.smm-report-modal label {
    display: grid;
    gap: 7px;
    color: #172846;
    font-size: 13px;
    font-weight: 700
}

.smm-report-modal input,
.smm-report-modal select,
.smm-report-modal textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dbe4f2;
    border-radius: 5px;
    padding: 10px 12px;
    color: #172846;
    font: inherit;
    font-weight: 500;
    outline: none
}

.smm-report-modal textarea {
    resize: vertical
}

.smm-report-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.smm-report-message {
    padding: 10px 12px;
    border-radius: 5px;
    font-weight: 700
}

.smm-report-message.is-success {
    background: #ecfdf3;
    color: #047857
}

.smm-report-message.is-error {
    background: #fef2f2;
    color: #b42318
}

.smm-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px
}

.smm-report-actions button {
    min-height: 40px;
    border: 1px solid #dbe4f2;
    border-radius: 5px;
    padding: 0 14px;
    background: #fff;
    color: #172846;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.smm-report-actions button[type="submit"] {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff
}

.smm-report-actions button:disabled {
    opacity: .65;
    cursor: wait
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start
}

.product-detail-content {
    display: grid;
    gap: 16px;
    min-width: 0
}

.product-section-title,
.product-alert-title,
.product-shop-name {
    color: #172846;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700
}

.product-section-title {
    display: block
}

.product-info-box .product-section-title {
    margin-bottom: 10px
}

.product-alert-title,
.product-shop-name {
    display: block
}

.product-info-box p {
    color: #333;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 14px
}

.product-info-box h2,
.product-info-box h3,
.product-info-box h4 {
    color: #172846;
    line-height: 1.35;
    margin: 18px 0 10px;
    font-weight: 700
}

.product-info-box h2 {
    font-size: 18px
}

.product-info-box h3 {
    font-size: 16px
}

.product-info-box h4 {
    font-size: 15px
}

.product-info-box ul,
.product-info-box ol {
    margin: 0 0 14px 22px;
    padding-left: 18px;
    color: #333;
    font-size: 14px;
    line-height: 1.75
}

.product-info-box ul {
    list-style: disc
}

.product-info-box ol {
    list-style: decimal
}

.product-info-box li {
    margin-bottom: 6px;
    line-height: 1.65
}

.product-info-box blockquote {
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 4px solid #c5d9f0;
    color: #52617a
}

.product-info-box a {
    color: var(--color-primary);
    text-decoration: underline
}

.product-deposit-box {
    padding: 18px;
    border: 1px solid #dbe6f5;
    border-radius: 6px;
    background: #fff
}

.product-deposit-compact p {
    color: #52617a;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px
}

.product-deposit-inline-action {
    width: max-content;
    min-height: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--color-cta);
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

.product-deposit-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    color: inherit
}

.product-deposit-dialog::backdrop {
    background: rgba(10, 20, 36, .58)
}

.product-deposit-modal {
    position: relative;
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 20px;
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 39, 111, .22)
}

.product-deposit-close {
    position: sticky;
    top: 12px;
    z-index: 5;
    float: right;
    margin: -6px -6px 6px 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #d92d20;
    color: #fff;
    cursor: pointer
}

.product-deposit-close:hover {
    background: #b42318
}

.product-deposit-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px
}

.product-deposit-head span {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.product-deposit-head > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff7df;
    color: var(--color-cta);
    font-size: 22px
}

.product-deposit-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px
}

.product-deposit-summary,
.product-deposit-bank {
    padding: 14px;
    border: 1px solid #e4ebf5;
    border-radius: 6px;
    background: #f8fbff
}

.product-deposit-summary h3,
.product-deposit-bank h3 {
    margin-bottom: 10px;
    color: #172846;
    font-size: 15px;
    font-weight: 700
}

.product-deposit-summary p,
.product-deposit-bank p {
    display: grid;
    gap: 3px;
    margin-bottom: 10px
}

.product-deposit-summary .product-deposit-copy-row,
.product-deposit-bank .product-deposit-copy-row {
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center
}

.product-deposit-copy-row span {
    grid-column: 1 / -1
}

.product-copy-button {
    width: 32px;
    height: 32px;
    border: 1px solid #dbe6f5;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--color-primary);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease
}

.product-copy-button:hover,
.product-copy-button.is-copied {
    border-color: #14763a;
    background: #eff9f2;
    color: #14763a
}

.product-copy-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor
}

.product-deposit-summary span,
.product-deposit-bank span {
    color: #66748a;
    font-size: 12px
}

.product-deposit-summary strong,
.product-deposit-bank strong {
    color: #172846;
    font-size: 14px;
    line-height: 1.45
}

.product-deposit-bank small {
    display: block;
    color: #66748a;
    line-height: 1.6
}

.product-deposit-qr {
    margin-bottom: 12px
}

.product-deposit-bank-grid {
    display: grid;
    grid-template-columns: minmax(132px, 160px) minmax(0, 1fr);
    gap: 16px;
    align-items: start
}

.product-deposit-bank-grid .product-deposit-qr {
    margin-bottom: 0
}

.product-deposit-bank-info {
    min-width: 0
}

.product-deposit-bank-info p:last-child {
    margin-bottom: 0
}

.product-deposit-qr img,
.product-deposit-qr-empty {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1;
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #fff
}

.product-deposit-qr img {
    object-fit: contain;
    padding: 8px
}

.product-deposit-qr-empty {
    gap: 8px;
    color: #66748a;
    text-align: center
}

.product-deposit-qr-empty i {
    font-size: 34px
}

.product-deposit-notice,
.product-deposit-login {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5
}

.product-deposit-notice.is-success {
    border: 1px solid #b8e0c4;
    background: #eff9f2;
    color: #14763a
}

.product-deposit-notice.is-error {
    border: 1px solid #f0b7b4;
    background: #fff1ef;
    color: #b42318
}

.product-deposit-login {
    border: 1px solid #dbe6f5;
    background: #f8fbff
}

.product-deposit-login a {
    width: max-content;
    padding: 8px 14px;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff
}

.product-deposit-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.product-deposit-form label {
    display: grid;
    gap: 6px
}

.product-deposit-form label.wide {
    grid-column: 1 / -1
}

.product-deposit-form label > span {
    color: #172846;
    font-size: 13px;
    font-weight: 600
}

.product-deposit-form input,
.product-deposit-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dbe6f5;
    border-radius: 5px;
    padding: 10px 12px;
    background: #fff;
    color: #172846
}

.product-deposit-form small {
    color: #b42318;
    font-size: 12px
}

.product-deposit-form button {
    grid-column: 1 / -1;
    min-height: 44px;
    border: 0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-cta);
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.product-deposit-form button.is-loading {
    cursor: wait;
    opacity: .88
}

.product-deposit-form button.is-loading i {
    animation: smm-register-spin .8s linear infinite
}

.product-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.product-feature-list span {
    display: flex;
    gap: 8px;
    color: #172846;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5
}

.product-feature-list i {
    color: #20a84a;
    font-size: 18px;
    margin-top: 1px
}

.product-safety-box {
    border-color: #ffd7a6;
    background: #fffaf2
}

.product-safety-box > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.product-safety-box > div i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffedcc;
    color: #d47a00;
    font-size: 22px
}

.product-safety-box ul {
    display: grid;
    gap: 8px;
    list-style: disc;
    padding-left: 20px;
    color: #60451d;
    font-size: 13px;
    line-height: 1.6
}

.product-shop-card {
    position: sticky;
    top: 12px
}

.product-shop-head {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.product-shop-head img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e1e8f2
}

.product-shop-membership-badge {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-top: 6px
}

.product-shop-membership-badge .smm-shop-badge {
    max-width: 100%;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal
}

.product-shop-head span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px
}

.product-shop-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid #e1e8f2;
    border-bottom: 1px solid #e1e8f2;
    margin-bottom: 12px
}

.product-shop-stats div {
    text-align: center
}

.product-shop-stats strong {
    display: block;
    color: #172846;
    font-size: 14px
}

.product-shop-stats span {
    color: #66758e;
    font-size: 11px
}

.product-shop-card p {
    display: flex;
    gap: 8px;
    color: #52617a;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px
}

.product-shop-card p i {
    color: #66758e;
    font-size: 17px;
    margin-top: 2px
}

.product-shop-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px
}

.product-shop-actions a {
    min-height: 38px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 13px;
    font-weight: 500
}

.product-shop-actions a:first-child {
    background: var(--color-primary-dark)
}

.related-products-section {
    display: block;
    padding: 0 14px 14px
}

.related-products-section .shop-section-head {
    border: 0;
    padding-left: 0;
    padding-right: 0
}

.related-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.related-product-grid .shop-product-card {
    min-width: 0
}

/* ===== PARTS CATEGORY PAGE ===== */
.parts-page {
    background: #f6f9fd;
    padding-bottom: 30px
}

.parts-hero {
    background: linear-gradient(135deg, #0a2351, #0a33a1);
    color: var(--color-white);
    margin-bottom: 16px
}

.parts-hero .shop-breadcrumb {
    padding-top: 14px;
    color: rgba(255, 255, 255, .72)
}

.parts-hero .shop-breadcrumb a,
.parts-hero .shop-breadcrumb span {
    color: var(--color-white)
}

.parts-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: end;
    min-height: 230px;
    padding-bottom: 28px
}

.parts-hero h1 {
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 10px
}

.parts-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.65
}

.parts-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.parts-hero-stats div {
    padding: 14px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .1);
    text-align: center
}

.parts-hero-stats strong {
    display: block;
    color: var(--color-accent);
    font-size: 22px;
    line-height: 1.2
}

.parts-hero-stats span {
    color: rgba(255, 255, 255, .82);
    font-size: 12px
}

.parts-search-card,
.parts-sidebar,
.parts-results,
.parts-category-grid a,
.parts-safety-box,
.parts-featured-suppliers {
    background: var(--color-white);
    border: 1px solid #dbe4f2;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(10, 35, 81, .05)
}

.parts-search-card {
    padding: 14px;
    margin-bottom: 14px
}

.parts-search-card form {
    margin: 0
}

.parts-main-search {
    display: flex;
    height: 46px;
    border: 1px solid #cfd8e6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px
}

.parts-main-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px
}

.parts-main-search button,
.parts-sidebar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 13px;
    font-weight: 800
}

.parts-main-search button {
    min-width: 150px
}

.parts-filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.parts-filter-row label,
.parts-filter-block label {
    display: grid;
    gap: 6px;
    color: #333;
    font-size: 13px;
    font-weight: 500
}

.parts-filter-row select {
    width: 100%;
    height: 38px;
    border: 1px solid #dbe4f2;
    border-radius: 5px;
    padding: 0 10px;
    color: #172846;
    background: var(--color-white);
    outline: 0
}

.parts-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 14px
}

.parts-category-grid a {
    min-height: 128px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #172846
}

.parts-category-grid i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 20px
}

.parts-category-grid strong {
    font-size: 13px;
    line-height: 1.35
}

.parts-category-grid span {
    color: #66758e;
    font-size: 12px;
    line-height: 1.45
}

.parts-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 14px
}

.parts-sidebar {
    padding: 14px
}

.parts-sidebar form {
    margin: 0
}

.parts-sidebar h2,
.parts-results-head h2,
.parts-section-head h2,
.parts-safety-box h2 {
    color: #172846;
    font-size: 18px;
    line-height: 1.35
}

.parts-sidebar h2 {
    margin-bottom: 14px
}

.parts-filter-block {
    padding: 12px 0;
    border-top: 1px solid #e1e8f2
}

.parts-filter-block h3 {
    color: var(--color-primary);
    font-size: 13px;
    margin-bottom: 10px
}

.parts-filter-block label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    line-height: 1.45
}

.parts-sidebar button {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    margin-top: 4px
}

.parts-filter-reset {
    width: 100%;
    height: 38px;
    margin-top: 8px;
    border: 1px solid #dbe4f2;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #172846;
    background: var(--color-white);
    font-size: 13px;
    font-weight: 700
}

.parts-filter-reset:hover {
    color: var(--color-primary);
    border-color: var(--color-primary)
}

.parts-results {
    padding: 14px;
    min-width: 0
}

.parts-results-head,
.parts-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px
}

.parts-results-head p {
    color: #66758e;
    font-size: 13px;
    margin-top: 3px
}

.parts-view-toggle {
    display: flex;
    gap: 6px
}

.parts-view-toggle button {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    background: #eef4fb;
    color: #66758e;
    font-size: 17px
}

.parts-view-toggle .active {
    background: var(--color-primary);
    color: var(--color-white)
}

.parts-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px
}

.parts-product-card {
    position: relative;
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    min-width: 0
}

.parts-product-card > em {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--color-cta);
    color: var(--color-white);
    font-size: 11px;
    font-style: normal;
    font-weight: 500
}

.parts-product-card > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #edf3fb
}

.parts-product-body {
    padding: 12px;
    display: grid;
    gap: 7px;
    flex: 1
}

.parts-product-body h3 {
    color: #172846;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px
}

.parts-product-body > strong {
    color: #ff3b30;
    font-size: 16px
}

.parts-product-body p {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #66758e;
    font-size: 12px;
    line-height: 1.35
}

.parts-product-body p i {
    color: var(--color-primary)
}

.parts-product-body .parts-stock-line {
    color: #168a3a;
    font-weight: 700
}

.parts-supplier-line {
    display: grid;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid #eef2f7
}

.parts-supplier-line span {
    color: #172846;
    font-size: 12px;
    font-weight: 600
}

.parts-product-membership-badge {
    display: flex;
    align-items: center;
    min-width: 0
}

.parts-product-membership-badge .smm-shop-badge {
    max-width: 100%;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal
}

.parts-supplier-line small {
    color: #ffb400;
    font-size: 11px
}

.parts-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 12px 12px;
    position: relative;
    z-index: 2
}

.parts-card-actions a {
    min-height: 34px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 12px;
    font-weight: 600
}

.parts-card-actions a:last-child {
    background: #20a84a
}

.smm-favorites-panel {
    padding: 26px 0 46px
}

.smm-favorites-browse {
    min-height: 38px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700
}

.smm-favorites-status {
    min-height: 240px;
    display: grid;
    place-content: center;
    gap: 10px;
    padding: 34px;
    border: 1px dashed #cfd8e6;
    border-radius: 6px;
    background: #f8fbff;
    color: #66758e;
    text-align: center;
    font-weight: 700
}

.smm-favorites-status[hidden],
.smm-favorites-grid[hidden] {
    display: none
}

.smm-favorites-grid {
    grid-template-columns: repeat(4, 1fr)
}

.smm-favorites-status i {
    color: var(--color-primary);
    font-size: 28px
}

.smm-favorite-actions {
    grid-template-columns: 1fr 1fr
}

.smm-favorite-actions button {
    min-height: 34px;
    border: 0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: #e11d48;
    color: var(--color-white);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer
}

.parts-products-empty {
    min-height: 220px;
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 28px;
    border: 1px dashed #cfd8e6;
    border-radius: 6px;
    background: #f8fbff;
    text-align: center
}

.parts-products-empty h3 {
    color: #172846;
    font-size: 18px
}

.parts-products-empty p {
    color: #66758e;
    font-size: 13px
}

.smm-products-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px
}

.smm-products-pagination a,
.smm-products-pagination button {
    min-width: 36px;
    height: 36px;
    border: 1px solid #dbe4f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 5px;
    background: var(--color-white);
    color: #172846;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer
}

.smm-products-pagination a.active,
.smm-products-pagination button.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white)
}

.parts-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 14px;
    margin-bottom: 16px
}

.parts-safety-box,
.parts-featured-suppliers {
    padding: 14px
}

.parts-safety-box {
    border-color: #ffd7a6;
    background: #fffaf2
}

.parts-safety-box > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.parts-safety-box > div i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d47a00;
    background: #ffedcc;
    font-size: 22px
}

.parts-safety-box ul {
    display: grid;
    gap: 8px;
    list-style: disc;
    padding-left: 20px;
    color: #60451d;
    font-size: 13px;
    line-height: 1.6
}

.parts-section-head a {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800
}

.parts-supplier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.parts-supplier-grid a {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #e1e8f2;
    border-radius: 5px;
    background: #f8fbff
}

.parts-supplier-grid strong {
    color: #172846;
    font-size: 13px
}

.parts-supplier-grid span {
    color: #66758e;
    font-size: 12px;
    line-height: 1.45
}

.parts-supplier-grid em {
    color: #ffb400;
    font-size: 12px;
    font-style: normal;
    font-weight: 800
}
.smm-pwa-notification-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.smm-pwa-notification-button:hover,
.smm-pwa-notification-button:focus {
    background: #1d4ed8;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.smm-pwa-notification-button:disabled {
    cursor: default;
    opacity: 0.86;
    transform: none;
}

.smm-pwa-notification-button.is-enabled {
    background: #047857;
}

.smm-pwa-notification-button.is-loading i {
    animation: smm-pwa-spin 0.9s linear infinite;
}

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

/* Home membership sections */
.home-membership-section {
    background: #f7f9fc;
}

.home-gold-partners .supplier-card {
    border-color: rgba(213, 164, 58, .62);
    border-radius: 8px;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08), 0 1px 3px rgba(213, 164, 58, .14);
}

.home-gold-partners .supplier-card:hover {
    box-shadow: 0 9px 20px rgba(15, 23, 42, .11), 0 2px 5px rgba(213, 164, 58, .18);
}

.home-gold-partners .supplier-slider-arrow.left {
    left: -48px;
}

.home-gold-partners .supplier-slider-arrow.right {
    right: -48px;
}

.home-partner-brands .supplier-slider-arrow.left,
.suppliers-section .supplier-slider-arrow.left {
    left: -48px;
}

.home-partner-brands .supplier-slider-arrow.right,
.suppliers-section .supplier-slider-arrow.right {
    right: -48px;
}

/* Home featured products */
.home-featured-products {
    background: transparent;
}

.home-featured-product-slider {
    margin-top: 18px;
    padding: 4px 0 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
}

.home-featured-products .shop-slide-track {
    gap: 18px;
    padding: 4px 2px 16px;
}

.home-featured-products .shop-product-card {
    flex: 0 0 calc((100% - 54px) / 4);
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e1e8f2;
    border-radius: 6px;
    background: var(--color-white);
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-featured-products .shop-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 52, 117, .24);
    box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
}

.home-featured-products .shop-product-card em {
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    background: #ff4d2e;
    color: var(--color-white);
    box-shadow: none;
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.home-featured-products .shop-product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 0;
    background: #fff;
    object-fit: contain;
    padding: 10px;
    transition: transform .22s ease;
}

.home-featured-products .shop-product-card:hover img {
    transform: scale(1.025);
}

.home-featured-products .home-featured-product-body {
    display: grid;
    gap: 8px;
    flex: 1;
    padding: 12px;
}

.home-featured-products .shop-product-card h3 {
    min-height: 42px;
    margin: 0;
    padding: 0;
    color: #172846;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-featured-products .home-featured-product-membership {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 24px;
    padding: 0;
}

.home-featured-product-membership .smm-shop-badge {
    max-width: 100%;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
}

.home-featured-products .home-featured-product-body > strong {
    margin: 0;
    padding: 0;
    color: #ff3b30;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.home-featured-products .home-featured-product-body p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #66758e;
    font-size: 12px;
    line-height: 1.35;
}

.home-featured-products .home-featured-product-body p i {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-size: 13px;
}

.home-featured-products .home-featured-product-body .home-featured-product-stock {
    color: #168a3a;
    font-weight: 700;
}

.home-featured-products .home-featured-product-supplier {
    display: grid;
    gap: 6px;
    padding-top: 9px;
    border-top: 1px solid #eef2f7;
}

.home-featured-products .home-featured-product-supplier > span {
    color: #172846;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0;
    font-weight: 700;
}

.home-featured-products .home-featured-product-supplier > small {
    color: #f0a400;
    font-size: 11px;
    line-height: 1.3;
}

.home-featured-products .shop-product-card .product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 12px 12px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.home-featured-products .shop-product-card .product-card-actions a {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    height: auto;
    padding: 0 12px;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.home-featured-products .shop-product-card .product-card-actions.is-single {
    grid-template-columns: 1fr;
}

.home-featured-products .shop-product-card .product-card-actions a.call {
    background: #20a84a;
}

.home-featured-products .shop-product-card .product-card-actions a i,
.home-featured-products .shop-product-card .product-card-actions a span {
    color: #fff;
    letter-spacing: 0;
}

.home-featured-products .shop-product-card .product-card-actions a i {
    font-size: 14px;
}

.home-featured-products .shop-product-card .product-card-actions a:hover,
.home-featured-products .shop-product-card .product-card-actions a:focus {
    background: #072456;
    box-shadow: none;
    transform: translateY(-1px);
}

.home-featured-products .shop-product-card .product-card-actions a.call:hover,
.home-featured-products .shop-product-card .product-card-actions a.call:focus {
    background: #168a3a;
}

.home-featured-products .shop-slide-arrow {
    width: 38px;
    height: 38px;
    border-color: #d8e2f0;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.home-featured-products .shop-slide-arrow.left {
    left: -48px;
}

.home-featured-products .shop-slide-arrow.right {
    right: -48px;
}

@media (max-width: 1024px) {
    .home-featured-products .shop-product-card {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 640px) {
    .home-featured-product-slider {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        padding: 2px 0 8px;
    }

    .home-featured-products .shop-slide-track {
        max-width: 100%;
        min-width: 0;
        gap: 12px;
        overscroll-behavior-x: contain;
    }

    .home-featured-products .shop-product-card {
        flex-basis: min(82vw, 310px);
    }

    .home-featured-products .shop-product-card .product-card-actions {
        padding: 0 12px 12px;
    }

    .home-featured-products .shop-product-card .product-card-actions a {
        width: 100%;
    }

    .home-featured-products .shop-slide-arrow {
        width: 34px;
        height: 34px;
    }

    .home-featured-products .shop-slide-arrow.left {
        left: 4px;
    }

    .home-featured-products .shop-slide-arrow.right {
        right: 4px;
    }
}

.smm-shop-badge.is-membership.is-gold {
    border-color: rgba(213, 164, 58, .72);
    background: #fff8e8;
    color: #8a5a00;
}

.smm-shop-badge.is-membership.is-professional,
.smm-shop-badge.is-membership.is-basic {
    border-color: #bde8ca;
    background: #eef7f1;
    color: #168a3a;
}
