:root {
    --bs-primary: var(--web-primary);
    --bs-primary-rgb: var(--web-primary-rgb);
    --primary-clr: var(--web-primary);
    --amc-red: #e30613;
    --amc-red-dark: #b8040f;
    --amc-navy: #0f2436;
    --amc-ink: #1b2733;
}

body { color: var(--amc-ink); }

/* Top bar */
.amc-topbar { background: var(--amc-navy); }
.amc-topbar,
.amc-topbar a,
.amc-topbar .topbar-link,
.amc-topbar .dropdown-toggle { color: #fff !important; font-size: 13px; }
.amc-topbar .fi { color: #fff !important; margin-inline-end: 4px; }
.amc-topbar-trust span { display: inline-flex; align-items: center; white-space: nowrap; }
.amc-topbar .dropdown-menu a { color: var(--amc-ink) !important; }

/* Header / nav */
.navbar-sticky { background: #fff !important; box-shadow: 0 2px 8px rgba(15, 36, 54, .08); }
.search-form-mobile .search-bar-input { border-radius: 4px 0 0 4px; border-color: #d9dee3; height: 44px; }
.search_button .input-group-text { background: var(--amc-red); border-radius: 0 4px 4px 0; height: 44px; width: 52px; justify-content: center; }
.search_button .input-group-text i { color: #fff !important; }
.navbar-stuck-menu { background: #fff !important; border-top: 1px solid #eef0f2; }
.navbar-stuck-menu .nav-link,
.navbar-stuck-menu .nav-link.fw-semibold,
.navbar-stuck-menu .btn { color: var(--amc-ink) !important; }
.navbar-stuck-menu .nav-item.active > .nav-link,
.navbar-stuck-menu .nav-link:hover { color: var(--amc-red) !important; opacity: 1 !important; }
.mega-nav { background: var(--amc-red) !important; border-radius: 4px; }
.mega-nav .nav-item .nav-link,
.mega-nav .nav-item .nav-link svg { color: #fff !important; }
.navbar-tool-icon-box { background: #f3f4f6 !important; }
.navbar-tool-label { background: var(--amc-red) !important; color: #fff !important; }

/* Hero tiles */
.amc-hero { padding-top: 16px; }
.amc-hero-tile {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 220px; padding: 24px; border-radius: 8px; overflow: hidden; color: #fff !important;
    background: linear-gradient(135deg, #0f2436 0%, #1f3b57 100%);
}
.amc-hero-tile.amc-hero-moto { background: linear-gradient(135deg, #3a1210 0%, #8a2a14 100%); }
.amc-hero-tile.amc-hero-camion { background: linear-gradient(135deg, #10161d 0%, #2a3642 100%); }
.amc-hero-icon { position: absolute; inset-inline-end: 18px; top: 14px; font-size: 96px; opacity: .14; line-height: 1; }
.amc-hero-title { color: #fff; font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 0 0 6px; letter-spacing: 0; }
.amc-hero-text { color: rgba(255, 255, 255, .9); margin: 0 0 16px; max-width: 80%; }
.amc-hero-cta {
    align-self: flex-start; background: var(--amc-red); color: #fff; font-weight: 700;
    padding: 10px 18px; border-radius: 4px; transition: background .2s;
}
.amc-hero-tile:hover .amc-hero-cta { background: var(--amc-red-dark); }

/* Trust strip */
.amc-trust { padding-top: 8px; }
.amc-trust-item { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px 4px; }
.amc-trust-item > .fi { color: var(--amc-red); font-size: 30px; line-height: 1; }
.amc-trust-item strong { display: block; font-size: 14px; color: var(--amc-ink); }
.amc-trust-item small { display: block; font-size: 12px; color: #5b6772; line-height: 1.3; }

/* Section titles, links, cards */
.categories-title, .feature-product-title, .arrival-title { color: var(--amc-ink); font-weight: 800; }
.view-all-btn-text, .view-all-btn-text .view-btn-text { color: var(--amc-red) !important; font-weight: 600; }
.__cate-item .__img { border: 1px solid #e6e9ed; border-radius: 8px; background: #fff; }
.__cate-item:hover .__img { border-color: var(--amc-red); }
.btn--primary, .btn-primary { background-color: var(--amc-red); border-color: var(--amc-red); }
.btn--primary:hover, .btn-primary:hover { background-color: var(--amc-red-dark); border-color: var(--amc-red-dark); }

/* Nav badge */
.amc-badge-new {
    background: #16a34a; color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
    text-transform: uppercase; padding: 4px 8px; border-radius: 20px; margin-inline-start: 6px;
}

/* Footer */
.__inline-9 .footer-slide-item { border-radius: 8px; }
.page-footer { background: var(--amc-navy); }
.page-footer .custom-light-primary-color-20 { background-color: transparent; }
.page-footer .bg-white-overlay-50 { background: rgba(0, 0, 0, .28) !important; }

/* Replace the template's leftover blues */
.__inline-61 .shipping-policy-web { background: #f4f6f8; }
.owl-item:not(:last-child) .footer-top-slide-item::after { background: #dfe3e8; }
.owl-theme .owl-nav [class*="owl-"] { background: var(--amc-red); }
.btn-outline--info { border-color: var(--amc-red); color: var(--amc-red) !important; }
.btn-outline--info:hover { background-color: var(--amc-red); border-color: var(--amc-red); color: #fff !important; }

@media (max-width: 767px) {
    .amc-hero-tile { min-height: 170px; padding: 18px; }
    .amc-hero-title { font-size: 22px; }
}

/* Logo size */
.navbar-brand.d-sm-block img { height: 54px; max-height: 54px; width: auto; max-width: 240px; aspect-ratio: auto; object-fit: contain; }
.navbar-brand.d-sm-none img { height: 36px; max-height: 36px; width: auto; max-width: 150px; aspect-ratio: auto; object-fit: contain; }
