/*
Theme Name: Engines For Africa
Theme URI: https://enginesforafrica.co.za
Author: Engines For Africa
Author URI: https://enginesforafrica.co.za
Description: Custom WooCommerce theme for Engines For Africa — South Africa's leading importer of used Japanese, European, Korean and UK engines, gearboxes, cylinder heads, turbos and more.
Version: 2.3.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: engines-for-africa
Tags: woocommerce, e-commerce, custom-logo, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --efa-yellow: #faed1f;
    --efa-yellow-hover: #e5d91c;
    --efa-black: #000000;
    --efa-charcoal: #1a1a1a;
    --efa-dark: #111111;
    --efa-dark-card: #1e1e1e;
    --efa-gray: #2a2a2a;
    --efa-gray-light: #3a3a3a;
    --efa-text: #cccccc;
    --efa-text-muted: #999999;
    --efa-white: #ffffff;
    --efa-green: #25D366;
    --efa-stock-green: #27AE60;
    --efa-red: #E74C3C;
    --efa-border: #333333;
    --efa-radius: 8px;
    --efa-radius-sm: 4px;
    --efa-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --efa-transition: 0.3s ease;
    --efa-container: 1200px;
    --efa-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --efa-font-heading: 'Oswald', 'Impact', sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--efa-font);
    background: var(--efa-black);
    color: var(--efa-text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: var(--efa-yellow); text-decoration: none; transition: color var(--efa-transition); }
a:hover { color: var(--efa-yellow-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--efa-container); margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--efa-font-heading);
    color: var(--efa-white);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--efa-radius-sm);
    font-family: var(--efa-font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--efa-transition);
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--efa-yellow);
    color: var(--efa-black);
    border-color: var(--efa-yellow);
}
.btn-primary:hover {
    background: var(--efa-yellow-hover);
    border-color: var(--efa-yellow-hover);
    color: var(--efa-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 237, 31, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--efa-yellow);
    border-color: var(--efa-yellow);
}
.btn-outline:hover {
    background: var(--efa-yellow);
    color: var(--efa-black);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: var(--efa-green);
    color: var(--efa-white);
    border-color: var(--efa-green);
}
.btn-whatsapp:hover {
    background: #1fba59;
    border-color: #1fba59;
    color: var(--efa-white);
    transform: translateY(-2px);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: var(--efa-charcoal);
    padding: 8px 0;
    font-size: 0.82rem;
    color: var(--efa-text-muted);
    border-bottom: 1px solid var(--efa-border);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar-left a {
    color: var(--efa-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-left a:hover { color: var(--efa-yellow); }
.top-bar-left svg { width: 14px; height: 14px; }
.top-bar-right {
    color: var(--efa-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-right svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    background: var(--efa-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--efa-border);
    transition: box-shadow var(--efa-transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.site-logo { display: flex; align-items: center; max-width: 180px; }
.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img,
.custom-logo-link img.custom-logo {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
    max-width: 180px !important;
    object-fit: contain;
}
.main-nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
.main-nav a {
    color: var(--efa-white);
    font-family: var(--efa-font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--efa-yellow);
    transition: width var(--efa-transition);
}
.main-nav a:hover::after,
.main-nav .current-menu-item a::after { width: 100%; }
.main-nav a:hover { color: var(--efa-yellow); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions a { color: var(--efa-white); position: relative; }
.header-actions a:hover { color: var(--efa-yellow); }
.header-actions svg { width: 22px; height: 22px; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--efa-yellow);
    color: var(--efa-black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--efa-white);
    cursor: pointer;
    padding: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 60px 0;
}
.hero-tag {
    display: inline-block;
    background: var(--efa-yellow);
    color: var(--efa-black);
    padding: 6px 16px;
    font-family: var(--efa-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 550px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Section Layout
   ========================================================================== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-block;
    color: var(--efa-yellow);
    font-family: var(--efa-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}
.dark-section { background: var(--efa-charcoal); }

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: var(--efa-radius);
    overflow: hidden;
    height: 260px;
    transition: transform var(--efa-transition);
    display: block;
}
.category-card:hover { transform: translateY(-4px); }
.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.category-card:hover .category-image { transform: scale(1.05); }
.category-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%);
}
.category-placeholder {
    position: absolute;
    inset: 0;
    background: var(--efa-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-placeholder svg { width: 64px; height: 64px; color: var(--efa-text-muted); opacity: 0.5; }
.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}
.category-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.category-info .count { color: var(--efa-yellow); font-size: 0.85rem; }

/* ==========================================================================
   Product Card (WooCommerce standard structure)
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* WooCommerce product grid override */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.efa-product-card {
    background: var(--efa-dark-card);
    border: 1px solid var(--efa-border);
    border-radius: var(--efa-radius);
    overflow: hidden;
    transition: all var(--efa-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.efa-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--efa-yellow);
    box-shadow: var(--efa-shadow);
}
.efa-product-card__image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f5f5f5;
    overflow: hidden;
    display: block;
}
.efa-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.efa-product-card__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.efa-product-card__category {
    color: var(--efa-yellow);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--efa-font-heading);
    margin-bottom: 6px;
    display: block;
}
.efa-product-card__title {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.3;
}
.efa-product-card__title a { color: var(--efa-white); }
.efa-product-card__title a:hover { color: var(--efa-yellow); }
.efa-product-card__stock {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.efa-product-card__stock.in-stock { color: var(--efa-stock-green); }
.efa-product-card__stock.out-of-stock { color: var(--efa-red); }
.efa-product-card__price {
    font-family: var(--efa-font-heading);
    font-size: 1.15rem;
    color: var(--efa-white);
    margin-bottom: 14px;
    margin-top: auto;
}
.efa-product-card__price .woocommerce-Price-amount { color: var(--efa-white); }
.efa-product-card__actions {
    display: flex;
    gap: 8px;
}
.btn-view-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid var(--efa-yellow);
    color: var(--efa-yellow);
    font-family: var(--efa-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--efa-radius-sm);
    transition: all var(--efa-transition);
}
.btn-view-details:hover {
    background: var(--efa-yellow);
    color: var(--efa-black);
}
.btn-enquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 14px;
    background: var(--efa-green);
    color: var(--efa-white);
    font-family: var(--efa-font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--efa-radius-sm);
    border: none;
    transition: all var(--efa-transition);
}
.btn-enquire:hover {
    background: #1fba59;
    color: var(--efa-white);
    transform: translateY(-1px);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--efa-dark-card);
    border-radius: var(--efa-radius);
    border: 1px solid var(--efa-border);
    transition: all var(--efa-transition);
}
.feature-card:hover { border-color: var(--efa-yellow); transform: translateY(-4px); }
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(250, 237, 31, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--efa-yellow); }
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; }
.feature-card p { color: var(--efa-text-muted); font-size: 0.9rem; }

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section { padding: 80px 0; background: var(--efa-charcoal); }
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--efa-radius);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--efa-shadow);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section { padding: 80px 0; background: var(--efa-yellow); text-align: center; }
.cta-section h2 { color: var(--efa-black); margin-bottom: 16px; }
.cta-section p { color: rgba(0,0,0,0.7); font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background: var(--efa-black); color: var(--efa-yellow); border-color: var(--efa-black); }
.cta-section .btn-primary:hover { background: var(--efa-charcoal); border-color: var(--efa-charcoal); }

/* ==========================================================================
   Branch Social Bar (above footer)
   ========================================================================== */
.branch-social-bar {
    position: relative;
    padding: 40px 0;
    background: #111;
    overflow: hidden;
}
.branch-social-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/banners/hero-parts.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: grayscale(1);
}
.branch-social-grid {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    text-align: center;
}
.branch-social-item {
    flex: 1;
    text-align: center;
}
.branch-social-item h5 {
    font-family: var(--efa-font-heading);
    font-size: 1rem;
    color: var(--efa-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin-bottom: 12px;
}
.branch-social-icons {
    display: inline-flex !important;
    justify-content: center;
    gap: 10px;
}
.branch-social-icons a {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    border-radius: 8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--efa-transition);
}
.branch-social-icons a.social-fb {
    background: #1877F2 !important;
    color: #fff !important;
}
.branch-social-icons a.social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
}
.branch-social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.branch-social-icons a svg,
.branch-social-icons svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    fill: #fff !important;
    color: #fff !important;
    stroke: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--efa-charcoal); border-top: 3px solid var(--efa-yellow); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-logo span { font-family: var(--efa-font-heading); font-size: 1.1rem; color: var(--efa-white); text-transform: uppercase; }
.footer-about p { color: var(--efa-text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--efa-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--efa-text-muted);
    transition: all var(--efa-transition);
}
.footer-social a:hover { background: var(--efa-yellow); color: var(--efa-black); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
    font-family: var(--efa-font-heading);
    font-size: 0.9rem;
    color: var(--efa-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--efa-yellow);
    display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: var(--efa-text-muted); font-size: 0.88rem; }
.footer-col li a:hover { color: var(--efa-yellow); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--efa-text-muted);
    font-size: 0.88rem;
}
.footer-contact-item a { color: var(--efa-text-muted); }
.footer-contact-item a:hover { color: var(--efa-yellow); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--efa-yellow); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
    background: var(--efa-black);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--efa-text-muted);
}
.footer-bottom a { color: var(--efa-yellow); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* 4-branch footer grid */
.footer-grid--branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-branch { text-align: center; }
.footer-branch h4 {
    display: block;
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--efa-yellow);
}
.footer-branch .footer-contact-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.footer-branch .footer-contact-item svg { margin: 0 auto 4px; }
.footer-branch .footer-contact-item span { line-height: 1.5; }

/* ==========================================================================
   WooCommerce Single Product — full dark theme styling
   ========================================================================== */
.single-product .site-content { padding-bottom: 40px; }

.woocommerce-breadcrumb {
    font-size: 0.85rem !important;
    color: var(--efa-text-muted) !important;
    padding: 16px 20px !important;
    max-width: var(--efa-container);
    margin: 0 auto !important;
}
.woocommerce-breadcrumb a { color: var(--efa-yellow) !important; }

.woocommerce div.product,
.single-product div.product {
    max-width: var(--efa-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Gallery */
.woocommerce div.product div.images,
.single-product .woocommerce-product-gallery {
    background: #f5f5f5 !important;
    border-radius: var(--efa-radius) !important;
    overflow: hidden;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Title */
.woocommerce div.product .product_title,
body.single-product .product_title {
    font-family: var(--efa-font-heading) !important;
    font-size: 1.8rem !important;
    color: var(--efa-white) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 12px !important;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price,
body.single-product p.price,
body.single-product .price {
    font-family: var(--efa-font-heading) !important;
    font-size: 1.6rem !important;
    color: var(--efa-yellow) !important;
    margin-bottom: 20px !important;
}
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount,
body.single-product .woocommerce-Price-amount {
    color: var(--efa-yellow) !important;
}
.woocommerce div.product p.price .woocommerce-Price-currencySymbol,
body.single-product .woocommerce-Price-currencySymbol {
    color: var(--efa-yellow) !important;
}

/* ===== ADD TO CART FORM ===== */
.woocommerce div.product form.cart,
body.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Quantity wrapper */
.woocommerce div.product form.cart .quantity,
body.single-product form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 2px solid var(--efa-border) !important;
    border-radius: var(--efa-radius-sm) !important;
    overflow: hidden !important;
    background: var(--efa-gray) !important;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity .qty,
.woocommerce div.product form.cart .quantity input[type="number"],
.woocommerce .quantity input.qty,
body.single-product .quantity .qty,
body.single-product input.qty {
    width: 60px !important;
    height: 48px !important;
    text-align: center !important;
    background: var(--efa-gray) !important;
    color: var(--efa-white) !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    -moz-appearance: textfield !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.woocommerce .quantity input.qty::-webkit-outer-spin-button,
.woocommerce .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart BUTTON */
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart input[type="submit"],
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart button[type="submit"],
body.single-product .cart button {
    background: var(--efa-yellow) !important;
    color: var(--efa-black) !important;
    border: none !important;
    padding: 14px 36px !important;
    font-family: var(--efa-font-heading) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    border-radius: var(--efa-radius-sm) !important;
    cursor: pointer !important;
    transition: all var(--efa-transition) !important;
    line-height: 1.2 !important;
    height: 48px !important;
    white-space: nowrap !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
body.single-product .cart button:hover {
    background: var(--efa-yellow-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(250, 237, 31, 0.3) !important;
}

/* Product meta */
.woocommerce div.product .product_meta,
body.single-product .product_meta {
    border-top: 1px solid var(--efa-border) !important;
    padding-top: 16px !important;
    margin-top: 20px !important;
    font-size: 0.88rem !important;
    color: var(--efa-text-muted) !important;
}
.woocommerce div.product .product_meta span { display: block !important; margin-bottom: 4px !important; }
.woocommerce div.product .product_meta a { color: var(--efa-yellow) !important; }

/* ===== TABS ===== */
.woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce-tabs {
    margin-top: 40px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce-tabs ul.tabs {
    list-style: none !important;
    display: flex !important;
    gap: 0 !important;
    border-bottom: 2px solid var(--efa-border) !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
    background: none !important;
    overflow: visible !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
body.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 12px 24px !important;
    font-family: var(--efa-font-heading) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: var(--efa-text-muted) !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    background: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--efa-yellow) !important;
    border-bottom-color: var(--efa-yellow) !important;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: var(--efa-font-heading) !important;
    font-size: 1.3rem !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel { color: var(--efa-text) !important; line-height: 1.7 !important; }

/* ===== RELATED PRODUCTS ===== */
.woocommerce div.product .related.products,
.single-product .related.products,
.single-product section.related {
    max-width: var(--efa-container);
    margin: 40px auto 0 !important;
    padding: 0 20px !important;
}
.related.products > h2,
section.related > h2 {
    font-family: var(--efa-font-heading) !important;
    font-size: 1.5rem !important;
    text-transform: uppercase !important;
    margin-bottom: 24px !important;
    color: var(--efa-white) !important;
}

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: var(--efa-dark-card) !important;
    border-left: 4px solid var(--efa-yellow) !important;
    color: var(--efa-text) !important;
    border-radius: var(--efa-radius-sm) !important;
    padding: 12px 16px !important;
}
.woocommerce-message::before { color: var(--efa-yellow) !important; }
.woocommerce-message a { color: var(--efa-yellow) !important; }

/* ==========================================================================
   Shop Layout & Sidebar
   ========================================================================== */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 40px 0; }
.shop-layout.no-sidebar { grid-template-columns: 1fr; }
.shop-sidebar {
    height: fit-content;
    position: sticky;
    top: 80px;
}
.sidebar-widget {
    background: var(--efa-dark-card);
    border: 1px solid var(--efa-border);
    border-radius: var(--efa-radius);
    padding: 20px;
    margin-bottom: 16px;
}
.sidebar-widget .widget-title {
    font-family: var(--efa-font-heading);
    font-size: 0.85rem;
    color: var(--efa-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--efa-border);
}

/* Category list in sidebar */
ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.product-categories li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
ul.product-categories li:last-child { border-bottom: 0; }
ul.product-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--efa-text);
    font-size: 0.88rem;
    transition: color var(--efa-transition);
}
ul.product-categories li a:hover,
ul.product-categories li.active a { color: var(--efa-yellow); }
ul.product-categories .count { color: var(--efa-text-muted); font-size: 0.78rem; }

/* Make & Model filter */
.efa-filter-label {
    display: block;
    font-size: 0.72rem;
    color: var(--efa-text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.efa-filter-select {
    width: 100%;
    padding: 10px 12px;
    background: var(--efa-gray);
    border: 1px solid var(--efa-border);
    color: var(--efa-white);
    border-radius: var(--efa-radius-sm);
    font-size: 0.88rem;
    margin-bottom: 12px;
    outline: none;
    appearance: auto;
}
.efa-filter-select:focus { border-color: var(--efa-yellow); }
.efa-filter-btn {
    width: 100%;
    padding: 10px;
    background: var(--efa-yellow);
    color: var(--efa-black);
    border: none;
    font-family: var(--efa-font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--efa-radius-sm);
    transition: background var(--efa-transition);
}
.efa-filter-btn:hover { background: var(--efa-yellow-hover); }

/* Price filter inputs */
.efa-price-range { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.efa-price-input {
    flex: 1;
    padding: 8px 10px;
    background: var(--efa-gray);
    border: 1px solid var(--efa-border);
    color: var(--efa-white);
    border-radius: var(--efa-radius-sm);
    font-size: 0.85rem;
    outline: none;
}
.efa-price-input:focus { border-color: var(--efa-yellow); }
.efa-price-sep { color: var(--efa-text-muted); }

/* Shop toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--efa-border);
}
.shop-toolbar .woocommerce-result-count { color: var(--efa-text-muted); font-size: 0.88rem; margin: 0; }
.shop-toolbar .woocommerce-ordering select,
.shop-toolbar select {
    background: var(--efa-dark-card);
    color: var(--efa-white);
    border: 1px solid var(--efa-border);
    padding: 8px 12px;
    border-radius: var(--efa-radius-sm);
    font-size: 0.85rem;
}
.shop-header { padding: 30px 0 0; }
.shop-title { margin-bottom: 0; }

/* Shop pagination */
.shop-pagination { margin-top: 40px; }
.shop-pagination .woocommerce-pagination { text-align: center; }
.shop-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}
.shop-pagination .page-numbers li a,
.shop-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--efa-border);
    border-radius: var(--efa-radius-sm);
    color: var(--efa-text);
    font-size: 0.88rem;
    transition: all var(--efa-transition);
}
.shop-pagination .page-numbers li a:hover,
.shop-pagination .page-numbers li span.current {
    background: var(--efa-yellow);
    border-color: var(--efa-yellow);
    color: var(--efa-black);
}
.no-products { text-align: center; padding: 60px 20px; }
.no-products p { color: var(--efa-text-muted); font-size: 1.1rem; margin-bottom: 20px; }

/* ==========================================================================
   Single Product
   ========================================================================== */
.single-product .product-hero { padding: 40px 0; }
.product-gallery-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.single-product .product-gallery img { border-radius: var(--efa-radius); background: #f5f5f5; }
.single-product .product-summary h1 { font-size: 1.8rem; margin-bottom: 16px; }
.single-product .product-price { font-size: 2rem; color: var(--efa-yellow); font-family: var(--efa-font-heading); margin-bottom: 20px; }

/* WhatsApp button on single product */
.efa-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--efa-green);
    color: var(--efa-white);
    padding: 12px 24px;
    border-radius: var(--efa-radius-sm);
    font-family: var(--efa-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--efa-transition);
    margin: 14px 0;
}
.efa-whatsapp-btn:hover { background: #1fba59; color: var(--efa-white); transform: translateY(-2px); }

/* Engine specs */
.efa-engine-specs { margin: 20px 0; }
.efa-engine-specs h3 { font-size: 1rem; margin-bottom: 10px; color: var(--efa-yellow); }
.efa-engine-specs table { width: 100%; border-collapse: collapse; }
.efa-engine-specs th, .efa-engine-specs td { padding: 10px 14px; border-bottom: 1px solid var(--efa-border); font-size: 0.88rem; text-align: left; }
.efa-engine-specs th { color: var(--efa-yellow); font-weight: 600; width: 40%; background: rgba(255,255,255,0.03); }
.efa-engine-specs td { color: var(--efa-text); }

/* Related products */
.related.products > h2,
section.related > h2,
.related-products-title {
    font-family: var(--efa-font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--efa-white);
}

/* ==========================================================================
   Search Overlay
   ========================================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay-form { width: 90%; max-width: 600px; }
.search-overlay-form input {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--efa-yellow);
    color: var(--efa-white);
    font-size: 1.5rem;
    font-family: var(--efa-font-heading);
    text-transform: uppercase;
    outline: none;
}
.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--efa-white);
    cursor: pointer;
}
.search-overlay-close svg { width: 32px; height: 32px; }

/* ==========================================================================
   WhatsApp Float + Scroll Top
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--efa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--efa-transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--efa-white); }
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--efa-yellow);
    color: var(--efa-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--efa-transition);
    z-index: 999;
    border: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   WooCommerce default price filter widget
   ========================================================================== */
.widget_price_filter .price_slider_wrapper { margin-top: 10px; }
.widget_price_filter .price_slider {
    background: var(--efa-gray) !important;
    height: 4px !important;
    border-radius: 2px;
    position: relative;
    margin-bottom: 16px;
}
.widget_price_filter .ui-slider-range { background: var(--efa-yellow) !important; }
.widget_price_filter .ui-slider-handle {
    background: var(--efa-yellow) !important;
    border: 2px solid var(--efa-yellow) !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    top: -6px !important;
    cursor: pointer;
}
.widget_price_filter .price_label { color: var(--efa-text); font-size: 0.85rem; }
.widget_price_filter .button {
    background: var(--efa-yellow);
    color: var(--efa-black);
    border: none;
    padding: 8px 20px;
    font-family: var(--efa-font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--efa-radius-sm);
    cursor: pointer;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header-banner {
    background: var(--efa-charcoal);
    padding: 50px 0;
    border-bottom: 3px solid var(--efa-yellow);
}
.page-header-banner h1 { font-size: 2rem; }

/* Breadcrumb */
.woocommerce-breadcrumb {
    font-size: 0.85rem;
    color: var(--efa-text-muted);
    margin-bottom: 16px;
}
.woocommerce-breadcrumb a { color: var(--efa-yellow); }

/* ==========================================================================
   Elementor support
   ========================================================================== */
.elementor-page .site-content { padding: 0; }
.elementor-page .page-header-banner { display: none; }
body.elementor-page main.site-main,
body.elementor-page .site-content { max-width: 100%; padding: 0; margin: 0; }

/* ==========================================================================
   404
   ========================================================================== */
.error-404-content { text-align: center; padding: 80px 20px; }
.error-404-content h1 { font-size: 6rem; color: var(--efa-yellow); }
.error-404-content p { font-size: 1.2rem; margin: 20px 0 30px; }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
svg:not(.custom-logo-svg) { max-width: 100%; height: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid--branches { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .branch-social-grid { flex-wrap: wrap !important; }
    .branch-social-item { flex: 0 0 30%; }
    .products-grid, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .product-gallery-summary { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--efa-black);
        border-top: 1px solid var(--efa-border);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .main-nav.active ul { flex-direction: column; gap: 0; }
    .main-nav.active li { border-bottom: 1px solid var(--efa-border); }
    .main-nav.active a { display: block; padding: 14px 0; }
}
@media (max-width: 768px) {
    .hero-section { min-height: 50vh; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .top-bar { display: none; }
    .section { padding: 50px 0; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .category-card { height: 200px; }
    .products-grid, ul.products { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid--branches { grid-template-columns: 1fr; }
    .branch-social-grid { flex-wrap: wrap !important; }
    .branch-social-item { flex: 0 0 45%; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .categories-grid { grid-template-columns: 1fr; }
    .efa-product-card__actions { flex-direction: column; }
    .efa-product-card__actions .btn-view-details,
    .efa-product-card__actions .btn-enquire { width: 100%; text-align: center; }
}

/* Filter clear link */
.efa-filter-clear {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--efa-text-muted);
    text-decoration: none;
    transition: color var(--efa-transition);
}
.efa-filter-clear:hover { color: var(--efa-yellow); }

/* Model select disabled state */
#efa-model-select:disabled { opacity: 0.4; cursor: not-allowed; }

/* =========================================
   Branch WhatsApp Selector - Single Product
   ========================================= */
.efa-branch-whatsapp { margin: 16px 0 8px; }
.efa-branch-label { font-size: 13px; color: #aaa; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.efa-branch-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.efa-branch-buttons .efa-whatsapp-btn {
    display: inline-flex !important; align-items: center;
    background-color: #25D366 !important; color: #fff !important;
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    padding: 10px 18px; border-radius: 4px; text-decoration: none !important;
    transition: background 0.2s ease; white-space: nowrap; border: none;
}
.efa-branch-buttons .efa-whatsapp-btn:hover { background-color: #1ebe5d !important; color: #fff !important; }
@media (max-width: 480px) {
    .efa-branch-buttons { flex-direction: column; }
    .efa-branch-buttons .efa-whatsapp-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Related Products Grid (theme-controlled) — v2.2.2
   Heading sits outside the grid; only product cards are grid items.
   ========================================================================== */
.efa-related {
    max-width: var(--efa-container);
    margin: 56px auto 0 !important;
    padding: 0 20px !important;
}
.efa-related-title {
    font-family: var(--efa-font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--efa-white);
    margin: 0 0 24px !important;
}
.efa-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Equal-height cards so the buttons line up even when titles wrap */
.efa-products-grid .efa-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.efa-products-grid .efa-product-card__info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.efa-products-grid .efa-product-card__actions {
    margin-top: auto;
}
@media (max-width: 992px) {
    .efa-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .efa-products-grid { grid-template-columns: 1fr; }
}

/* Free-text model / engine-code filter input — v2.2.4 */
.efa-filter-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--efa-gray);
    border: 1px solid var(--efa-border);
    color: var(--efa-white);
    border-radius: var(--efa-radius-sm);
    font-size: 0.88rem;
    margin-bottom: 12px;
    outline: none;
    box-sizing: border-box;
}
.efa-filter-input::placeholder { color: rgba(255,255,255,0.4); }
.efa-filter-input:focus { border-color: var(--efa-yellow); }

/* ==========================================================================
   Parts Menu + Enquiry Page  (v2.3.0)
   ========================================================================== */

/* Keep the nav above third-party chat widgets (Botspice etc.) */
.site-header { z-index: 100000; }
.main-nav.active { z-index: 100001; }
.search-overlay { z-index: 100002; }

.efa-parts-menu { list-style: none; display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; }
.efa-parts-menu a {
    color: var(--efa-white);
    font-family: var(--efa-font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}
.efa-parts-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--efa-yellow);
    transition: width var(--efa-transition);
}
.efa-parts-menu a:hover::after { width: 100%; }
.efa-parts-menu a:hover { color: var(--efa-yellow); }
.efa-parts-menu .efa-menu-divider a { color: var(--efa-yellow); }

/* Enquiry hero */
.efa-enquiry-hero { background: var(--efa-black); padding: 56px 0 40px; text-align: center; }
.efa-enquiry-title {
    font-family: var(--efa-font-heading);
    font-size: clamp(1.9rem, 5vw, 3rem);
    text-transform: uppercase;
    color: var(--efa-white);
    margin: 8px 0 12px;
    line-height: 1.1;
}
.efa-enquiry-sub { color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto; }

/* Form */
.efa-enquiry-wrap { max-width: 820px; }
.efa-enquiry-form {
    background: #1a1a1a;
    border: 1px solid var(--efa-border);
    border-radius: 8px;
    padding: 32px;
}
.efa-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.efa-field--full { grid-column: 1 / -1; }
.efa-field label {
    display: block;
    font-family: var(--efa-font-heading);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 7px;
}
.efa-field .req { color: var(--efa-yellow); }
.efa-field .opt { color: rgba(255,255,255,0.4); text-transform: none; letter-spacing: 0; }
.efa-field input,
.efa-field select,
.efa-field textarea {
    width: 100%;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 4px;
    color: var(--efa-white);
    padding: 12px 14px;
    font-family: var(--efa-font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--efa-transition);
}
.efa-field textarea { resize: vertical; min-height: 110px; }
.efa-field input::placeholder,
.efa-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.efa-field input:focus,
.efa-field select:focus,
.efa-field textarea:focus { border-color: var(--efa-yellow); }
.efa-field select { appearance: none; cursor: pointer; background-image: none; }

.efa-submit { margin-top: 24px; width: 100%; justify-content: center; }
.efa-form-note { margin-top: 14px; font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center; }
.efa-form-note .req { color: var(--efa-yellow); }

/* Honeypot */
.efa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Notices */
.efa-notice { border-radius: 6px; padding: 16px 20px; margin-bottom: 24px; font-size: 0.95rem; line-height: 1.6; }
.efa-notice--success { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.45); color: #b9f5cf; }
.efa-notice--error { background: rgba(255,86,86,0.12); border: 1px solid rgba(255,86,86,0.45); color: #ffc9c9; }

/* Branch cards */
.efa-branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.efa-branch-card {
    background: #1a1a1a;
    border: 1px solid var(--efa-border);
    border-top: 3px solid var(--efa-yellow);
    border-radius: 8px;
    padding: 26px 22px;
}
.efa-branch-card h3 {
    font-family: var(--efa-font-heading);
    text-transform: uppercase;
    font-size: 1.15rem;
    color: var(--efa-yellow);
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}
.efa-branch-row { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.55; }
.efa-branch-row svg { flex: 0 0 auto; margin-top: 2px; color: var(--efa-yellow); }
.efa-branch-row a { color: rgba(255,255,255,0.78); }
.efa-branch-row a:hover { color: var(--efa-yellow); }
.efa-branch-actions { display: flex; gap: 10px; margin-top: 18px; }
.efa-branch-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 992px) {
    .efa-branch-grid { grid-template-columns: 1fr; }
    .main-nav.active .efa-parts-menu { flex-direction: column; gap: 0; align-items: stretch; }
    .main-nav.active .efa-parts-menu li { border-bottom: 1px solid var(--efa-border); }
    .main-nav.active .efa-parts-menu li:last-child { border-bottom: none; }
    .main-nav.active .efa-parts-menu a { display: block; padding: 15px 0; font-size: 1rem; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 576px) {
    .efa-field-grid { grid-template-columns: 1fr; }
    .efa-enquiry-form { padding: 22px 18px; }
}


/* ==========================================================================
   v2.3.1 - Enquiry WhatsApp send block + header CTA contrast lock
   ========================================================================== */

.efa-send-direct {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--efa-border);
}
.efa-send-direct h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.6px;
    margin: 0 0 6px;
    color: var(--efa-yellow);
}
.efa-send-direct p {
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
}
.efa-wa-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}
.efa-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.efa-wa-btn:hover { background: #1ebe5a; transform: translateY(-2px); }
.efa-wa-btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.efa-wa-error {
    display: none;
    margin: 13px 0 0;
    color: #ff6b6b;
    font-size: 0.88rem;
    font-weight: 600;
}
.efa-wa-error.is-visible { display: block; }
.efa-form-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.efa-form-divider::before,
.efa-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--efa-border);
}

/* Header "Get a Quote" - lock to charcoal on yellow so nav link colours
   can never bleed white text into it. */
.header-cta,
.header-cta:link,
.header-cta:visited,
.header-cta:hover,
.header-cta:focus,
.header-cta:active,
.main-nav .header-cta,
.header-actions .header-cta {
    color: #1a1a1a !important;
    background: var(--efa-yellow) !important;
}
.header-cta svg { stroke: #1a1a1a !important; }

@media (max-width: 576px) {
    .efa-wa-branches { grid-template-columns: 1fr; }
}
