/* ══════════════════════════════════════════
   PRO PARTS MASTER — Custom Theme CSS
   Red / Black / White Color Palette
   Light theme + #E53935 Red Accent
   ══════════════════════════════════════════ */

:root {
    /* Red accent colors */
    --ap-gold: #E53935;
    --ap-gold-dark: #C62828;
    --ap-gold-muted: #EF5350;
    --ap-black: #0D0D0D;
    --ap-near-black: #121212;
    --ap-dark-gray: #1E1E1E;
    --ap-mid-gray: #9B9B9B;
    --ap-light-gray: #E5E5E5;
    --ap-lighter-gray: #F4F4F4;
    --ap-faint-gray: #F5F5F5;
    --ap-white: #FFFFFF;
    --ap-red: #EF262C;
    --ap-star: #FFD941;
    --ap-star-gradient-start: #DEB201;
    --ap-star-gradient-end: #FED42D;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Barlow Condensed', sans-serif;
    --transition: all 0.3s ease;
}

/* ─── RESET / GLOBAL ────────────────────── */
* { box-sizing: border-box; }

body {
    background: var(--ap-white);
    color: var(--ap-dark-gray);
    font-family: var(--font-main);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ap-black); text-decoration: none; transition: var(--transition); }
a:hover, a:focus { color: var(--ap-gold); }

h1, h2, h3, h4, h5, h6 {
    color: var(--ap-dark-gray);
    font-family: var(--font-heading);
    font-weight: 700;
}

img { max-width: 100%; height: auto; }

.text-yellow, .text-blue { color: var(--ap-gold) !important; }
.text-muted-custom { color: var(--ap-mid-gray) !important; }
.bg-light-alt { background: var(--ap-faint-gray); }

::selection { background: var(--ap-gold); color: var(--ap-white); }
::-webkit-scrollbar { width: 8px; background: var(--ap-lighter-gray); }
::-webkit-scrollbar-thumb { background: var(--ap-light-gray); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ap-gold); }

/* ─── BUTTONS (Pill-shaped Bumblebee style) ───── */
.btn-yellow {
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 9999px;
    transition: var(--transition);
}
.btn-yellow:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-outline-yellow {
    border: 2px solid var(--ap-gold);
    color: var(--ap-gold);
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    padding: 10px 26px;
    border-radius: 9999px;
    transition: var(--transition);
}
.btn-outline-yellow:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
}

.btn-dark-pill {
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 9999px;
    transition: var(--transition);
}
.btn-dark-pill:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
}

/* ─── TOP BAR ───────────────────────────── */
.top-bar {
    background: var(--ap-near-black);
    border-bottom: none;
    padding: 8px 0;
    font-size: 12px;
    color: var(--ap-white);
}
.top-bar-left span { letter-spacing: 0.5px; color: rgba(255,255,255,0.7); }
.top-bar-left .text-blue { color: var(--ap-gold) !important; }
.top-bar-center {
    text-align: center;
    color: var(--ap-white);
    font-size: 12px;
    letter-spacing: 0.5px;
}
.top-bar-center strong { font-weight: 700; }
.top-bar-center .text-blue { color: var(--ap-gold) !important; }
.top-bar-right {
    display: flex;
    justify-content: flex-end;
    gap: 0;
}
.top-bar-right a {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.top-bar-right a:last-child { border-right: none; padding-right: 0; }
.top-bar-right a:hover { color: var(--ap-gold); }

/* ─── HEADER ────────────────────────────── */
.site-header {
    background: var(--ap-white);
    border-bottom: 1px solid var(--ap-light-gray);
    z-index: 1030;
}

.site-logo { display: inline-block; }
.site-logo img { max-height: 45px; width: auto; }
.site-logo-img { max-height: 45px; width: auto; }
.footer-logo-img { max-height: 50px; width: auto; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-main {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: var(--ap-black);
    letter-spacing: 3px;
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--ap-gold);
    border-radius: 50%;
    color: var(--ap-white);
    font-size: 14px;
    margin: 0 2px;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
}
.logo-sub {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 600;
    color: var(--ap-mid-gray);
    letter-spacing: 5px;
}

/* Header Search (with category dropdown) — Bumbleb pill style */
.header-search { width: 100%; }
.header-search .input-group {
    border: 2px solid var(--ap-light-gray);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: var(--ap-white);
}
.header-search .input-group:focus-within {
    border-color: var(--ap-gold);
}
.header-search .search-category-select {
    background: transparent;
    border: none;
    border-right: 1px solid var(--ap-light-gray);
    color: var(--ap-black);
    font-size: 13px;
    font-weight: 500;
    padding: 12px 35px 12px 20px;
    max-width: 170px;
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23333'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 6px;
}
.header-search .search-category-select:focus {
    box-shadow: none;
    outline: none;
}
.header-search .form-control {
    background: transparent;
    border: none;
    color: var(--ap-black);
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 0;
}
.header-search .form-control::placeholder { color: var(--ap-mid-gray); }
.header-search .form-control:focus {
    box-shadow: none;
    background: transparent;
}
.header-search .btn-search {
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 16px;
    margin: 4px;
    transition: var(--transition);
}
.header-search .btn-search:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
}

/* Header Icons */
.header-icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.header-icon {
    color: var(--ap-black);
    font-size: 24px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}
.header-icon:hover { color: var(--ap-gold); }

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--ap-gold);
    color: var(--ap-white);
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
}

/* Wishlist count badge */
.wishlist-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--ap-red);
    color: var(--ap-white);
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
}

/* Wishlist active heart */
.wishlist-btn.active {
    color: var(--ap-red) !important;
}
.wishlist-btn.active:hover {
    color: var(--ap-red) !important;
}
.wishlist-btn { transition: transform 0.2s ease, color 0.2s ease; }

/* ─── NAVIGATION BAR ──────────────────────── */
.nav-bar {
    background: var(--ap-black);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.nav-bar .row {
    min-height: 50px;
}

/* Browse All Categories Button */
.browse-categories-wrap {
    position: relative;
}
.browse-categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    white-space: nowrap;
}
.browse-categories-btn:hover {
    background: var(--ap-gold-dark);
}
.browse-categories-btn .bi-list {
    font-size: 18px;
}
.browse-categories-btn .bi-chevron-down {
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.3s ease;
}
.browse-categories-btn.active .bi-chevron-down {
    transform: rotate(180deg);
}

/* Categories Dropdown */
.categories-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--ap-white);
    border: 2px solid var(--ap-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 1040;
    border-radius: 0;
    max-height: 70vh;
    overflow-y: auto;
}
.categories-dropdown.show {
    display: block;
}
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.categories-list li {
    border-bottom: 1px solid var(--ap-light-gray);
}
.categories-list li:last-child {
    border-bottom: none;
}
.categories-list li a {
    display: block;
    padding: 14px 20px;
    color: var(--ap-dark-gray);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.categories-list li a:hover {
    color: var(--ap-gold);
    background: transparent;
}

/* Nav Bar Menu Links */
.nav-bar-menu {
    display: flex;
    justify-content: flex-end;
}
.nav-bar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-bar-links li {
    position: relative;
}
.nav-bar-links li a {
    display: block;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    transition: var(--transition);
}
.nav-bar-links li a:hover,
.nav-bar-links li.active a,
.nav-bar-links li.current-menu-item a {
    color: var(--ap-gold);
}
.nav-bar-links li.active::after,
.nav-bar-links li.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--ap-gold);
}

/* Nav bar dropdown menus */
.nav-bar-links .dropdown-menu {
    background: var(--ap-white) !important;
    border: 1px solid var(--ap-light-gray);
    border-radius: 0 0 8px 8px;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.nav-bar-links .dropdown-menu .dropdown-item {
    color: var(--ap-dark-gray);
    padding: 10px 20px;
    font-size: 13px;
}
.nav-bar-links .dropdown-menu .dropdown-item:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
}

/* Nav Bar Help */
.nav-bar-help {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 0;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}
.nav-bar-phone {
    color: var(--ap-gold) !important;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-bar-phone:hover {
    color: var(--ap-white) !important;
}

/* Position wrapper for categories dropdown */
.nav-bar .col-lg-3:first-child {
    position: relative;
}

/* ─── CART DRAWER ──────────────────────── */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--ap-white);
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.cart-drawer.open {
    right: 0;
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ap-light-gray);
}
.cart-drawer-header h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    margin: 0;
    color: var(--ap-black);
    letter-spacing: 1px;
}
.cart-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--ap-light-gray);
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--ap-black);
}
.cart-drawer-close:hover {
    background: var(--ap-faint-gray);
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.cart-drawer-empty {
    text-align: center;
    padding: 60px 20px;
}
.cart-drawer-empty p {
    color: var(--ap-mid-gray);
    margin-bottom: 20px;
    font-size: 15px;
}
.cart-drawer-empty .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.cart-drawer-empty .btn-gold:hover {
    background: var(--ap-gold-dark);
}
.cart-drawer-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--ap-light-gray);
}
.cart-drawer-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--ap-light-gray);
}
.cart-drawer-item-info {
    flex: 1;
}
.cart-drawer-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ap-black);
    margin-bottom: 4px;
}
.cart-drawer-item-price {
    font-size: 14px;
    color: var(--ap-mid-gray);
}
.cart-drawer-item-qty {
    font-size: 13px;
    color: var(--ap-mid-gray);
}
.cart-drawer-item-remove {
    background: none;
    border: none;
    color: var(--ap-mid-gray);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    align-self: flex-start;
}
.cart-drawer-item-remove:hover {
    color: var(--ap-red);
}
.cart-drawer-footer {
    border-top: 1px solid var(--ap-light-gray);
    padding: 20px 24px;
}
.cart-drawer-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 16px;
    color: var(--ap-black);
}
.cart-drawer-footer .btn-checkout {
    display: block;
    width: 100%;
    background: var(--ap-black);
    color: var(--ap-white);
    border: none;
    padding: 14px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}
.cart-drawer-footer .btn-checkout:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
}
.cart-drawer-footer .btn-view-cart {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--ap-black);
    border: 2px solid var(--ap-light-gray);
    padding: 12px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    margin-top: 10px;
}
.cart-drawer-footer .btn-view-cart:hover {
    border-color: var(--ap-black);
}

/* ─── MOBILE MENU ───────────────────────── */
.offcanvas {
    background: var(--ap-white) !important;
}
#mobileMenu .offcanvas-header {
    border-bottom: none !important;
    justify-content: flex-end;
    padding: 20px 20px 10px;
}
.mobile-menu-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.mobile-menu-close:hover { background: var(--ap-gold-dark); }
.mobile-menu-body { padding: 10px 0 30px; }
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-item { border-bottom: 1px solid var(--ap-light-gray); }
.mobile-menu-item:first-child { border-top: 1px solid var(--ap-light-gray); }
.mobile-menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    color: var(--ap-black);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-menu-item > a:hover { color: var(--ap-gold); }
.mobile-menu-item > a > i { font-size: 13px; color: var(--ap-mid-gray); }
.mobile-cat-toggle[aria-expanded="true"] .mobile-cat-chevron { transform: rotate(180deg); }
.mobile-cat-chevron { transition: transform 0.3s ease; }
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px;
}
.mobile-submenu li a {
    display: block;
    padding: 10px 24px 10px 40px;
    color: var(--ap-dark-gray);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.mobile-submenu li a:hover { color: var(--ap-gold); padding-left: 46px; }

/* ─── HERO SECTION ──────────────────────── */
/* ─── HERO SECTION (Bumbleb Layout) ────── */
/* ─── HERO SECTION (Chakta Layout) ─── */
.hero-section {
    position: relative;
    background: #e8e8e8;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}
.min-vh-hero {
    min-height: 560px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0.3) 70%, transparent 100%);
    pointer-events: none;
}

/* Hero Content Card */
.hero-content-card {
    position: relative;
    z-index: 3;
    padding: 60px 0;
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.hero-card-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--ap-black);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-card-text {
    font-family: var(--font-main);
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-card-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ap-gold);
    color: var(--ap-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
}
.btn-hero-primary:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--ap-black);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 4px;
    border: 2px solid #ddd;
    transition: var(--transition);
    text-decoration: none;
}
.btn-hero-outline:hover {
    border-color: var(--ap-gold);
    color: var(--ap-gold);
    transform: translateY(-2px);
}
.btn-hero-outline .bi,
.btn-hero-primary .bi {
    font-size: 16px;
}

/* ─── VEHICLE FINDER BAR ─── */
.vehicle-finder-bar {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding-bottom: 30px;
}
.vehicle-finder-inner {
    background: var(--ap-gold);
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(229, 57, 53, 0.25);
}
.vehicle-finder-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ap-white);
    text-align: center;
    margin: 0;
}
.vehicle-finder-form {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}
.vehicle-finder-select {
    flex: 1;
    min-width: 160px;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-size: 14px;
    color: #666;
    background-color: #fff !important;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 15px) center !important;
    transition: border-color 0.3s ease;
}
.vehicle-finder-select:focus {
    box-shadow: none !important;
    outline: none;
    border-color: #fff !important;
}
.btn-finder-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ap-black);
    color: var(--ap-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-finder-submit:hover {
    background: #333;
    transform: translateY(-2px);
}
.btn-finder-submit .bi {
    font-size: 14px;
}

/* ─── CHAKTA BEST SELLING CARDS (5-col grid) ─── */
@media (min-width: 992px) {
    .col-chakta { flex: 0 0 20%; max-width: 20%; }
}
.chakta-card {
    background: var(--ap-white);
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.chakta-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.chakta-card-img {
    position: relative;
    background: #fafafa;
    overflow: hidden;
}
.chakta-card-img a {
    display: block;
    line-height: 0;
}
.chakta-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.chakta-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.badge-hot {
    display: inline-block;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    line-height: 1.4;
}
.badge-sale {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--ap-gold);
    border-radius: 3px;
    line-height: 1.4;
}
.badge-soldout {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-gold);
    z-index: 2;
}
.chakta-card-body {
    padding: 15px;
}
.chakta-cat {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.chakta-name {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 42px;
}
.chakta-name a {
    color: var(--ap-black);
    text-decoration: none;
}
.chakta-name a:hover {
    color: var(--ap-gold);
}
.chakta-rating {
    margin-bottom: 8px;
}
.chakta-rating .bi {
    font-size: 13px;
    color: #f5a623;
}
.chakta-rating .bi-star {
    color: #ddd;
}
.chakta-reviews {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}
.chakta-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--ap-black);
}
.chakta-price del {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-right: 6px;
}
.chakta-price ins {
    text-decoration: none;
    color: var(--ap-gold);
}

/* ─── ADD TO CART hover button (shared) ─── */
.chakta-card-body,
.arrival-card-body {
    position: relative;
    overflow: hidden;
}
.btn-addtocart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-gold);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}
.btn-addtocart:hover {
    background: var(--ap-gold-dark);
    color: #fff;
    text-decoration: none;
}
.btn-addtocart .bi {
    font-size: 15px;
}
.chakta-card:hover .btn-addtocart,
.arrival-card:hover .btn-addtocart {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CHAKTA WISHLIST (hover reveal) ─── */
.chakta-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ap-gold);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    z-index: 2;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(229,57,53,0.3);
}
.chakta-card:hover .chakta-wishlist {
    opacity: 1;
    transform: translateX(0);
}
.chakta-wishlist:hover {
    background: var(--ap-gold-dark);
    transform: translateX(0) scale(1.1);
}
.chakta-wishlist.active {
    background: var(--ap-gold-dark);
}

/* ─── ARRIVAL CARDS (Horizontal - 3 col) ─── */
.arrival-card {
    display: flex;
    background: var(--ap-white);
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.arrival-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.arrival-card-img {
    position: relative;
    background: #fafafa;
    min-width: 180px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
.arrival-card-img img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}
.arrival-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.arrival-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ap-gold);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    z-index: 2;
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(229,57,53,0.3);
}
.arrival-card:hover .arrival-wishlist {
    opacity: 1;
    transform: translateX(0);
}
.arrival-wishlist:hover {
    background: var(--ap-gold-dark);
    transform: translateX(0) scale(1.1);
}
.arrival-wishlist.active {
    background: var(--ap-gold-dark);
}
.arrival-card-body {
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.arrival-cat {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.arrival-name {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.arrival-name a {
    color: var(--ap-black);
    text-decoration: none;
}
.arrival-name a:hover {
    color: var(--ap-gold);
}
.arrival-rating {
    margin-bottom: 8px;
}
.arrival-rating .bi {
    font-size: 13px;
    color: #f5a623;
}
.arrival-rating .bi-star {
    color: #ddd;
}
.arrival-reviews {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}
.arrival-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--ap-black);
}
.arrival-price del {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-right: 6px;
}
.arrival-price ins {
    text-decoration: none;
    color: var(--ap-gold);
}
@media (max-width: 575px) {
    .arrival-card-img { min-width: 120px; max-width: 120px; }
    .arrival-card-img img { max-height: 100px; }
    .chakta-card-img img { height: 140px; }
    .chakta-name { font-size: 13px; min-height: auto; }
}

/* ─── FEATURE CARDS ─── */
.feature-card {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.feature-card:hover {
    border-color: var(--ap-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.15);
}
.feature-card-inner {
    padding: 35px 20px;
    text-align: center;
}
.feature-icon {
    font-size: 48px;
    color: var(--ap-gold);
    display: block;
    margin-bottom: 15px;
}
.feature-card h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--ap-black);
}
.feature-card p {
    font-size: 13px;
    color: var(--ap-mid-gray);
    margin-bottom: 15px;
}

.feature-bg-1 { border-top: 3px solid var(--ap-gold); }
.feature-bg-2 { border-top: 3px solid var(--ap-red); }
.feature-bg-3 { border-top: 3px solid #3498db; }
.feature-bg-4 { border-top: 3px solid #2ecc71; }

/* ─── TRUST BAR ────────────────────────── */
.trust-bar {
    background: var(--ap-gold);
    padding: 35px 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}
.trust-icon {
    font-size: 32px;
    color: var(--ap-white);
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    color: var(--ap-white);
}
.trust-item span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ─── PRODUCT CARDS (Bumblebee-style) ─── */
.product-card {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.product-card:hover {
    border-color: var(--ap-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-card-img {
    position: relative;
    background: var(--ap-lighter-gray);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-img > a {
    display: block;
    width: 100%;
    height: 100%;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

/* Product Hover Actions Overlay */
.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    transition: bottom 0.3s ease;
    z-index: 3;
}
.product-card:hover .product-actions {
    bottom: 0;
}
.product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ap-white);
    color: var(--ap-black);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}
.product-action-btn:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
    transform: scale(1.15);
}

.placeholder-img {
    background: linear-gradient(135deg, var(--ap-lighter-gray), var(--ap-light-gray));
}
.placeholder-icon {
    font-size: 48px;
    color: var(--ap-light-gray);
}

/* Product Badges */
.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ap-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    z-index: 2;
}
.badge-hot {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ap-gold);
    color: var(--ap-white);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 9999px;
    z-index: 2;
    text-transform: uppercase;
}

.product-card-body {
    padding: 18px;
}
.product-cat {
    font-size: 11px;
    color: var(--ap-mid-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-cat a { color: var(--ap-mid-gray); }
.product-cat a:hover { color: var(--ap-gold); }

.product-name {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
}
.product-name a { color: var(--ap-black); }
.product-name a:hover { color: var(--ap-gold); }

.product-rating {
    margin-bottom: 8px;
}
.product-rating .bi-star-fill {
    color: var(--ap-star);
    font-size: 12px;
    margin-right: 1px;
}
.product-rating .bi-star {
    color: var(--ap-light-gray);
    font-size: 12px;
    margin-right: 1px;
}
.product-rating .review-count {
    font-size: 11px;
    color: var(--ap-mid-gray);
    margin-left: 5px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--ap-black);
}
.product-price del {
    color: var(--ap-mid-gray);
    font-size: 14px;
    font-weight: 400;
    margin-left: 5px;
}
.product-price ins {
    text-decoration: none;
    color: var(--ap-black);
}

/* Add to Cart button in card - hidden by default, shown on hover */
.product-card .btn-add-cart {
    display: block;
    width: 100%;
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    opacity: 0;
    z-index: 5;
}
.product-card:hover .btn-add-cart {
    transform: translateY(0);
    opacity: 1;
}
.product-card .btn-add-cart:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
}

/* ─── HORIZONTAL PRODUCT CARDS ──────────── */
.product-card-h {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--ap-white);
    border-bottom: 1px solid var(--ap-light-gray);
    transition: var(--transition);
    text-decoration: none;
    height: 100%;
}
.product-card-h:hover {
    background: var(--ap-lighter-gray);
}
.product-card-h-img {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-h-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card-h-img.placeholder-img {
    background: var(--ap-lighter-gray);
    border-radius: 8px;
}
.product-card-h-body {
    flex: 1;
    min-width: 0;
    position: relative;
}
.product-card-h .product-cat {
    font-size: 11px;
    color: var(--ap-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.product-card-h .product-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 6px 0;
    line-height: 1.4;
    color: var(--ap-black);
}
.product-card-h .product-rating {
    margin-bottom: 8px;
}
.product-card-h .product-rating .bi-star-fill {
    color: var(--ap-star);
    font-size: 13px;
}
.product-card-h .product-rating .bi-star,
.product-card-h .product-rating .bi-star-half {
    color: var(--ap-mid-gray);
    font-size: 13px;
}
.product-card-h .product-rating .review-count {
    font-size: 11px;
    color: var(--ap-mid-gray);
    margin-left: 5px;
    text-transform: uppercase;
}
.product-card-h .product-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--ap-black);
}
.product-card-h .product-price del {
    color: var(--ap-mid-gray);
    font-size: 15px;
    font-weight: 400;
    margin-left: 8px;
}
.product-card-h .product-price ins {
    text-decoration: none;
    color: var(--ap-black);
}

/* Hover Add to Cart button — overlays the price */
.product-card-h-cart {
    display: inline-block;
    background: var(--ap-gold);
    color: var(--ap-white);
    padding: 8px 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}
.product-card-h:hover .product-card-h-cart {
    opacity: 1;
    visibility: visible;
}
.product-card-h:hover .product-price {
    opacity: 0;
}
.product-card-h .product-price {
    transition: opacity 0.3s ease;
}
.product-card-h-cart:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
}
.product-card-h .product-name a {
    color: var(--ap-black);
    text-decoration: none;
}
.product-card-h .product-name a:hover {
    color: var(--ap-gold);
}

/* Shop All button */
.btn-shop-all {
    display: inline-block;
    background: var(--ap-gold);
    color: var(--ap-white);
    padding: 12px 40px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-shop-all:hover {
    background: var(--ap-gold-dark);
    color: var(--ap-white);
}

@media (max-width: 575px) {
    .product-card-h-img {
        width: 100px;
        height: 100px;
    }
    .product-card-h {
        gap: 15px;
        padding: 15px;
    }
}

/* ─── PROMO SIDEBAR ─────────────────────── */
.promo-sidebar {
    background: linear-gradient(180deg, var(--ap-lighter-gray), var(--ap-white));
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promo-badge {
    display: inline-block;
    background: var(--ap-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 9999px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.promo-discount {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--ap-gold);
    margin-bottom: 10px;
    line-height: 1;
}
.promo-text {
    font-size: 14px;
    color: var(--ap-black);
    margin-bottom: 10px;
}

/* Countdown */
.countdown { display: flex; gap: 8px; justify-content: center; }
.countdown-item {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
    min-width: 55px;
}
.countdown-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ap-gold);
    line-height: 1;
}
.countdown-item small {
    font-size: 9px;
    color: var(--ap-mid-gray);
    letter-spacing: 1px;
}

/* ─── PROMO BANNERS ─────────────────────── */
.promo-banner {
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}
.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.promo-banner-1 { background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('../images/promo-brakes.jpg') center/cover no-repeat; }
.promo-banner-2 { background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('../images/promo-oil.jpg') center/cover no-repeat; }
.promo-banner-3 { background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('../images/promo-key.jpg') center/cover no-repeat; }

.promo-banner-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--ap-white);
    margin-bottom: 5px;
}
.promo-banner-content p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 10px;
}

/* ─── SECTION TITLES ────────────────────── */
.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ap-dark-gray);
}
.section-subtitle {
    color: var(--ap-mid-gray);
    font-size: 14px;
    letter-spacing: 1px;
}
.tab-divider {
    color: var(--ap-light-gray);
    font-size: 28px;
    margin: 0 15px;
    font-weight: 300;
}

/* Section tabs */
.section-tab-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #BBBBBB;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0;
}
.section-tab-link.active,
.section-tab-link:hover {
    color: var(--ap-black);
}

/* ─── PARTNERS ──────────────────────────── */
.partners-section {
    border-top: 1px solid var(--ap-light-gray);
    border-bottom: 1px solid var(--ap-light-gray);
}
.partners-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ap-black);
}
.partner-logo {
    text-align: center;
    color: var(--ap-mid-gray);
    padding: 15px 20px;
    transition: var(--transition);
    border: 1px solid transparent;
    border-radius: 12px;
}
.partner-logo:hover {
    color: var(--ap-gold);
    border-color: var(--ap-light-gray);
    background: var(--ap-faint-gray);
}
.partner-logo i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}
.partner-logo small {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 10px;
}

/* ─── NEWSLETTER (Bumblebee-style) ─────── */
.newsletter-section {
    background: var(--ap-gold);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0,0,0,0.03);
    border-radius: 50%;
}
.newsletter-content {
    position: relative;
    z-index: 1;
}
.newsletter-icons i {
    font-size: 22px;
    color: var(--ap-white);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
}
.newsletter-icons i:hover { transform: scale(1.2); opacity: 1; }

.newsletter-title {
    color: var(--ap-white);
    font-weight: 700;
}
.newsletter-subtitle {
    color: rgba(255,255,255,0.8);
}

.newsletter-form .form-control {
    border: none;
    border-radius: 9999px;
    padding: 14px 24px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.newsletter-form .btn {
    border-radius: 9999px;
    white-space: nowrap;
    padding: 14px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

/* ─── FOOTER ────────────────────────────── */
.site-footer {
    background: var(--ap-near-black);
    color: rgba(255,255,255,0.7);
    border-top: none;
}

.footer-heading {
    color: var(--ap-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ap-gold);
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links li a:hover {
    color: var(--ap-gold);
    padding-left: 5px;
}

/* Footer contact info */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.footer-contact-item i {
    color: var(--ap-gold);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.6);
}
.footer-contact-item a:hover {
    color: var(--ap-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--ap-white);
}
.footer-bottom .logo-main {
    color: var(--ap-gold);
}
.footer-bottom .logo-sub {
    color: rgba(255,255,255,0.5);
}
.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}
.payment-icons i {
    font-size: 28px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.payment-icons i:hover {
    color: var(--ap-white);
}

/* Footer social links */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
}

/* ─── WOOCOMMERCE OVERRIDES ─────────────── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}
.woocommerce ul.products li.product:hover {
    border-color: var(--ap-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--ap-black);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px 5px;
}

.woocommerce ul.products li.product .price {
    color: var(--ap-black) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    padding: 0 15px;
}
.woocommerce ul.products li.product .price del {
    color: var(--ap-mid-gray) !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    background: var(--ap-black) !important;
    color: var(--ap-white) !important;
    border: none !important;
    border-radius: 9999px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    width: calc(100% - 30px);
    margin: 10px 15px 15px !important;
    padding: 12px !important;
}
.woocommerce ul.products li.product .button:hover {
    background: var(--ap-gold) !important;
    color: var(--ap-white) !important;
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    background: var(--ap-red) !important;
    color: white !important;
    border-radius: 9999px !important;
    font-weight: 700;
    padding: 5px 12px;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
}

.woocommerce ul.products li.product .star-rating {
    color: var(--ap-star);
    font-size: 12px;
    margin: 5px 0 5px 15px;
}

/* Product Page */
.woocommerce div.product .product_title { color: var(--ap-black); }
.woocommerce div.product p.price { color: var(--ap-black) !important; font-size: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--ap-light-gray);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--ap-faint-gray);
    border: 1px solid var(--ap-light-gray);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    margin: 0 2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--ap-mid-gray);
    font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--ap-white);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ap-gold);
}
.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    padding: 20px;
    color: var(--ap-dark-gray);
    border-radius: 0 0 8px 8px;
}

.woocommerce .quantity .qty {
    background: var(--ap-white);
    color: var(--ap-black);
    border: 1px solid var(--ap-light-gray);
    border-radius: 8px;
}

.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
    background: var(--ap-black) !important;
    color: var(--ap-white) !important;
    border: none !important;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
    background: var(--ap-gold) !important;
    color: var(--ap-white) !important;
}

/* Cart / Checkout */
.woocommerce table.shop_table { background: var(--ap-white); border-color: var(--ap-light-gray); border-radius: 12px; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--ap-faint-gray); color: var(--ap-black); border-color: var(--ap-light-gray); }
.woocommerce table.shop_table td { color: var(--ap-dark-gray); border-color: var(--ap-light-gray); }
.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--ap-faint-gray);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    padding: 20px;
}

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], textarea, select {
    background: var(--ap-white);
    color: var(--ap-black);
    border: 1px solid var(--ap-light-gray);
    border-radius: 8px;
    padding: 10px 15px;
}
input:focus, textarea:focus, select:focus,
.woocommerce form .form-row input.input-text:focus {
    border-color: var(--ap-gold);
    outline: none;
    box-shadow: none;
    background: var(--ap-white);
    color: var(--ap-black);
}
.woocommerce form .form-row label,
label { color: var(--ap-dark-gray); }

/* Notices */
.woocommerce-message { background: var(--ap-faint-gray); border-top-color: var(--ap-gold); color: var(--ap-black); border-radius: 8px; }
.woocommerce-info { background: var(--ap-faint-gray); border-top-color: #3498db; color: var(--ap-black); border-radius: 8px; }
.woocommerce-error { background: var(--ap-faint-gray); border-top-color: var(--ap-red); color: var(--ap-black); border-radius: 8px; }
.woocommerce-message a, .woocommerce-info a { color: var(--ap-gold); }

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    background: var(--ap-faint-gray);
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--ap-mid-gray);
    font-size: 13px;
    margin-bottom: 20px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--ap-gold); }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--ap-white);
    color: var(--ap-dark-gray);
    border-color: var(--ap-light-gray);
    border-radius: 8px;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ap-gold);
    color: var(--ap-white);
    border-color: var(--ap-gold);
}

/* My Account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    background: var(--ap-faint-gray);
    color: var(--ap-dark-gray);
    border: 1px solid var(--ap-light-gray);
    padding: 12px 20px;
    margin-bottom: 2px;
    transition: var(--transition);
    border-radius: 8px;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--ap-gold);
    color: var(--ap-white);
    border-color: var(--ap-gold);
}

/* My Account - Address Section */
.woocommerce-MyAccount-content .u-columns.col2-set.addresses,
.woocommerce-MyAccount-content .col2-set.addresses,
.woocommerce-Addresses.col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}
.woocommerce-MyAccount-content .col2-set.addresses::before,
.woocommerce-MyAccount-content .col2-set.addresses::after { display: none !important; content: none !important; }

.woocommerce-MyAccount-content .addresses .u-column1,
.woocommerce-MyAccount-content .addresses .u-column2,
.woocommerce-MyAccount-content .addresses .col-1,
.woocommerce-MyAccount-content .addresses .col-2,
.woocommerce-Addresses .woocommerce-Address {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
    padding: 28px;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.woocommerce-MyAccount-content .addresses .woocommerce-Address-title,
.woocommerce-MyAccount-content .addresses .title,
.woocommerce-MyAccount-content .addresses header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ap-light-gray);
}
.woocommerce-MyAccount-content .addresses .title h2,
.woocommerce-MyAccount-content .addresses .title h3,
.woocommerce-MyAccount-content .addresses header h2,
.woocommerce-MyAccount-content .addresses header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--ap-black);
    white-space: nowrap;
}
.woocommerce-MyAccount-content .addresses .title a,
.woocommerce-MyAccount-content .addresses header a,
.woocommerce-MyAccount-content .addresses a.edit {
    display: inline-block !important;
    background: var(--ap-gold) !important;
    color: var(--ap-white) !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}
.woocommerce-MyAccount-content .addresses .title a:hover,
.woocommerce-MyAccount-content .addresses header a:hover,
.woocommerce-MyAccount-content .addresses a.edit:hover {
    background: var(--ap-gold-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
.woocommerce-MyAccount-content .addresses address {
    font-style: normal;
    color: var(--ap-dark-gray);
    line-height: 1.7;
    font-size: 14px;
}
@media (max-width: 768px) {
    .woocommerce-MyAccount-content .u-columns.col2-set.addresses,
    .woocommerce-MyAccount-content .col2-set.addresses,
    .woocommerce-Addresses.col2-set {
        grid-template-columns: 1fr !important;
    }
}

/* My Account - Edit Address Form */
.woocommerce-address-fields .form-row label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--ap-dark-gray);
}
.woocommerce-address-fields .form-row input.input-text,
.woocommerce-address-fields .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ap-light-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}
.woocommerce-address-fields .form-row input.input-text:focus,
.woocommerce-address-fields .form-row select:focus {
    border-color: var(--ap-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.15);
}
.woocommerce-address-fields button[type="submit"] {
    background: var(--ap-gold);
    color: var(--ap-white);
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.woocommerce-address-fields button[type="submit"]:hover {
    background: var(--ap-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* Widget */
.widget-box {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 12px;
}
.widget-title {
    color: var(--ap-gold);
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--ap-gold);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ─── PAGE TEMPLATES ────────────────────── */
.page-header-section {
    background: var(--ap-faint-gray);
    padding: 40px 0;
    border-bottom: 1px solid var(--ap-light-gray);
}
.page-header-section h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 0;
    color: var(--ap-black);
}

/* ─── CONTACT PAGE ─────────────────────── */
.contact-main-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--ap-black);
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.contact-info-block {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ap-light-gray);
}
.contact-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--ap-black);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.contact-value {
    color: var(--ap-dark-gray);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}
.contact-value a {
    color: var(--ap-dark-gray);
}
.contact-value a:hover {
    color: var(--ap-gold);
}
.contact-social {
    display: flex;
    gap: 10px;
}
.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ap-gold);
    color: var(--ap-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}
.contact-social a:hover {
    background: var(--ap-black);
    color: var(--ap-white);
}
.contact-form-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--ap-black);
    letter-spacing: 1px;
}
.contact-form-subtitle {
    color: var(--ap-mid-gray);
    font-size: 15px;
}
.contact-form .form-control {
    background: var(--ap-white);
    border: 1px solid var(--ap-light-gray);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--ap-black);
    font-size: 14px;
}
.contact-form .form-control:focus {
    border-color: var(--ap-gold);
    box-shadow: none;
}
.contact-form .form-label {
    color: var(--ap-black);
    font-size: 14px;
}

/* ─── SHOP SIDEBAR ──────────────────────── */
.shop-sidebar .widget-box {
    margin-bottom: 20px;
    padding: 20px;
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 991px) {
    .hero-section { min-height: auto; padding: 30px 0; }
    .hero-content-card { padding: 30px 0; }
    .hero-card-title { font-size: 36px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 60%, rgba(255,255,255,0.6) 100%); }
    .min-vh-hero { min-height: auto; }
    .vehicle-finder-bar { margin-top: -30px; }
    .vehicle-finder-inner { padding: 25px 20px; }
    .vehicle-finder-form { flex-direction: column; }
    .vehicle-finder-select { min-width: 100%; }
    .btn-finder-submit { width: 100%; justify-content: center; }
    .promo-sidebar { margin-bottom: 20px; }
    .partners-title { margin-bottom: 20px; text-align: center; }
    .footer-col { margin-bottom: 30px; }
}

@media (max-width: 768px) {
    .top-bar-left, .top-bar-right { text-align: center; justify-content: center; }
    .newsletter-section .row > div { text-align: center; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom .row > div { text-align: center !important; margin-bottom: 10px; }
    .payment-icons { justify-content: center; }
    .product-actions { bottom: 0; }
    .section-tab-link { font-size: 18px; }
    .hero-section { background-position: center; }
    .hero-card-title { font-size: 28px; }
    .hero-card-text { font-size: 14px; }
    .hero-card-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
    .hero-eyebrow { font-size: 12px; }
    .vehicle-finder-title { font-size: 18px; }
    .trust-item { justify-content: center; text-align: center; flex-direction: column; margin-bottom: 20px; }
}
