:root {

    --ink: #111827;
    --muted: #687386;
    --line: #e5e7eb;

    --light: #f7f8fa;
    --lighter: #fafbfc;

    --dark: #101317;

    --accent: #e22b2b;
    --accent2: #b71919;

    --green: #168a55;

    --white: #fff;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--ink);

    background: #fff;

    line-height: 1.6;
}


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


.container {

    width: min(1160px, 92%);

    margin: auto;
}


/* =========================
   HEADER — LIGHT THEME
========================= */


.site-header {

    background: #ffffff;

    color: var(--ink);

    position: sticky;

    top: 0;

    z-index: 20;

    border-bottom: 1px solid var(--line);

    box-shadow:
        inset 0 -2px 0 0 var(--accent),
        0 4px 12px rgba(0,0,0,.04);
}


.nav-wrap {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;
}


.logo {

    font-weight: 900;

    letter-spacing: 1.5px;

    font-size: 22px;

    color: var(--ink);

    transition: opacity .2s;
}


.logo:hover {
    opacity: .7;
}


.logo span {
    color: var(--accent);
}


.nav-right {

    display: flex;

    align-items: center;

    gap: 12px;

    order: 2;
}


/* Cart icon (mobile) */

.cart-icon {

    position: relative;

    display: none;

    font-size: 22px;

    line-height: 1;

    padding: 8px 10px;

    border-radius: 8px;

    background: var(--light);

    transition:
        background .2s,
        transform .2s;
}


.cart-icon:hover {

    background: #eceff3;

    transform: translateY(-1px);
}


.cart-icon .cart-count {

    position: absolute;

    top: -6px;

    right: -6px;

    background: var(--accent);

    color: #fff;

    min-width: 20px;

    height: 20px;

    border-radius: 50%;

    display: inline-grid;

    place-items: center;

    font-size: 11px;

    font-weight: 800;

    padding: 0 5px;

    box-shadow: 0 0 0 2px #fff;
}


.nav {

    display: flex;

    align-items: center;

    gap: 7px;

    order: 3;
}


.nav a {

    padding: 11px 15px;

    border-radius: 7px;

    color: #4b5563;

    font-size: 14px;

    font-weight: 700;

    position: relative;

    transition:
        color .2s,
        background .2s;
}


.nav a:hover,
.nav a.active {

    color: var(--ink);

    background: var(--light);
}


.nav a.active::after {

    content: "";

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 4px;

    height: 2px;

    background: var(--accent);

    border-radius: 2px;
}


.cart-link {

    display: flex !important;

    gap: 7px;

    align-items: center;
}


.cart-count {

    background: var(--accent);

    color: #fff;

    min-width: 22px;

    height: 22px;

    border-radius: 50%;

    display: inline-grid;

    place-items: center;

    font-size: 12px;

    font-weight: 800;

    padding: 0 5px;
}


.menu-toggle {

    display: none;

    background: none;

    color: var(--ink);

    border: 0;

    font-size: 26px;

    cursor: pointer;

    padding: 4px 8px;
}


/* =========================
   BUTTONS
========================= */


.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-height: 46px;

    padding: 12px 20px;

    border: 0;

    border-radius: 7px;

    font-weight: 800;

    cursor: pointer;

    font-size: 14px;

    transition:
        background .2s,
        transform .15s,
        box-shadow .2s;
}


.btn-primary {

    background: var(--accent);

    color: #fff;

    box-shadow: 0 6px 18px rgba(226,43,43,.25);
}


.btn-primary:hover {

    background: var(--accent2);

    transform: translateY(-1px);

    box-shadow: 0 8px 22px rgba(226,43,43,.35);
}


.btn-outline {

    border: 1px solid rgba(255,255,255,.55);

    color: #fff;
}


.btn-outline:hover {

    border-color: #fff;

    background: rgba(255,255,255,.12);
}


.btn-whatsapp {

    background: var(--green);

    color: #fff;
}


.btn-whatsapp:hover {

    background: #0f6f43;
}


.btn-full {
    width: 100%;
}


/* =========================
   HERO
========================= */


.hero {

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(226,43,43,.15),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #1f2937 0%,
            #111827 100%
        );

    color: #fff;

    padding: 92px 0;

    position: relative;

    overflow: hidden;
}


.hero::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(226,43,43,.4),
            transparent
        );
}


.hero-content {

    display: grid;

    grid-template-columns:
        1.25fr
        .75fr;

    align-items: center;

    gap: 60px;

    position: relative;

    z-index: 1;
}


.eyebrow {

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 900;

    color: var(--accent);

    margin: 0 0 8px;
}


.hero h1 {

    font-size:
        clamp(
            42px,
            6vw,
            72px
        );

    line-height: 1.02;

    margin: 8px 0 20px;

    letter-spacing: -2px;
}


.hero h1 span {
    color: #ff4747;
}


.hero-text {

    max-width: 650px;

    color: #c4cbd8;

    font-size: 18px;
}


.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 30px;
}


.hero-card {

    border:
        1px solid rgba(255,255,255,.15);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.02)
        );

    padding: 32px;

    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        0 0 0 1px rgba(226,43,43,.12);
}


.hero-card-top {

    font-size: 11px;

    letter-spacing: 2px;

    color: #ff4747;

    font-weight: 900;
}


.engine-art {

    font-size: 95px;

    text-align: center;

    line-height: 1.3;

    margin: 20px 0;

    filter: grayscale(1);

    text-shadow:
        0 0 40px rgba(226,43,43,.45);
}


.hero-card h3 {

    font-size: 24px;

    margin: 0;
}


.hero-card p {

    color: #b8c2d6;
}


/* =========================
   FEATURES
========================= */


.features {

    border-bottom:
        1px solid var(--line);

    background: #fff;
}


.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    padding: 26px 0;
}


.feature {

    display: flex;

    gap: 15px;

    align-items: center;

    padding: 0 28px;

    border-right:
        1px solid var(--line);
}


.feature:first-child {
    padding-left: 0;
}


.feature:last-child {
    border: 0;
}


.feature strong {

    font-size: 25px;

    color: var(--accent);
}


.feature b,
.feature span {

    display: block;
}


.feature span {

    font-size: 13px;

    color: var(--muted);
}


/* =========================
   SECTIONS
========================= */


.section {

    padding: 72px 0;
}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 28px;
}


.section-heading h2 {

    margin: 0;

    font-size: 34px;
}


.section-heading > a {

    color: var(--accent);

    font-weight: 800;
}


/* =========================
   CATEGORIES
========================= */


.category-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.category-card {

    border:
        1px solid var(--line);

    padding: 28px;

    border-radius: 10px;

    background: #fff;

    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}


.category-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(226,43,43,.4);

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);
}


.category-card span {

    font-size: 34px;
}


.category-card h3 {

    margin:
        15px 0 3px;
}


.category-card p {

    margin: 0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================
   CTA
========================= */


.cta {

    background: var(--light);

    padding: 50px 0;
}


.cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.cta h2 {

    margin: 0 0 5px;

    font-size: 28px;
}


.cta p:not(.eyebrow) {

    color: var(--muted);

    margin: 0;
}


/* =========================
   PAGE HERO — LIGHT
========================= */


.page-hero {

    background:
        linear-gradient(
            135deg,
            #f7f8fa 0%,
            #eef1f5 100%
        );

    color: var(--ink);

    border-bottom: 1px solid var(--line);

    padding: 62px 0;

    position: relative;

    box-shadow:
        inset 0 -2px 0 0 var(--accent);
}


.page-hero .eyebrow {

    color: var(--accent);
}


.page-hero h1 {

    font-size: 46px;

    line-height: 1.1;

    margin:
        6px 0 10px;
}


.page-hero p:last-child {

    margin: 0;

    color: var(--muted);
}


/* =========================
   PRODUCTS
========================= */


.shop-tools {

    display: flex;

    gap: 12px;

    margin-bottom: 28px;
}


.search-box {

    flex: 1;

    display: flex;

    align-items: center;

    border:
        1px solid var(--line);

    border-radius: 8px;

    padding: 0 13px;

    background: #fff;
}


.search-box span {

    font-size: 25px;

    color: var(--muted);
}


.search-box input,
.shop-tools select {

    width: 100%;

    border: 0;

    outline: 0;

    padding: 13px;

    font-size: 15px;

    background: transparent;
}


.shop-tools select {

    width: 190px;

    border:
        1px solid var(--line);

    border-radius: 8px;

    background: #fff;
}


.products-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.product-card {

    border:
        1px solid var(--line);

    border-radius: 10px;

    overflow: hidden;

    background: #fff;

    display: flex;

    flex-direction: column;

    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}


.product-card:hover {

    transform: translateY(-3px);

    border-color: rgba(226,43,43,.35);

    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}


.product-image {

    height: 190px;

    background:
        linear-gradient(
            145deg,
            #f4f6f9,
            #eef1f4
        );

    display: grid;

    place-items: center;

    font-size: 65px;
}


.product-body {

    padding: 18px;

    display: flex;

    flex-direction: column;

    flex: 1;
}


.product-category {

    font-size: 11px;

    color: var(--accent);

    font-weight: 900;

    letter-spacing: 1px;
}


.product-body h3 {

    font-size: 17px;

    margin:
        5px 0 7px;

    line-height: 1.3;
}


.product-desc {

    color: var(--muted);

    font-size: 13px;

    margin:
        0 0 13px;

    min-height: 40px;
}


.add-btn {

    margin-top: auto;

    width: 100%;

    font-size: 13px;

    padding: 10px 12px;

    min-height: 44px;

    line-height: 1.2;

    text-align: center;
}


.hidden {
    display: none !important;
}


.empty-state {

    text-align: center;

    color: var(--muted);

    padding: 40px;
}


/* =========================
   CART / QUOTE LIST
========================= */


.cart-layout {

    display: grid;

    grid-template-columns:
        1fr 340px;

    gap: 25px;

    align-items: start;
}


.cart-items {

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.cart-item {

    border:
        1px solid var(--line);

    border-radius: 10px;

    padding: 18px;

    background: #fff;

    display: grid;

    grid-template-columns:
        75px 1fr auto;

    gap: 18px;

    align-items: center;
}


.cart-thumb {

    width: 75px;

    height: 75px;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #f4f6f9,
            #eef1f4
        );

    display: grid;

    place-items: center;

    font-size: 30px;
}


.cart-item h3 {

    margin: 0 0 4px;

    font-size: 16px;
}


.cart-item .cart-category {

    font-size: 11px;

    color: var(--accent);

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    display: block;

    margin-bottom: 4px;
}


.qty-controls {

    display: flex;

    align-items: center;

    border:
        1px solid var(--line);

    border-radius: 7px;

    overflow: hidden;
}


.qty-controls button {

    width: 36px;

    height: 36px;

    border: 0;

    background: #f6f7f8;

    font-size: 18px;

    cursor: pointer;
}


.qty-controls span {

    width: 36px;

    text-align: center;

    font-weight: 800;
}


.remove-btn {

    background: none;

    border: 0;

    color: #b42323;

    cursor: pointer;

    font-size: 12px;

    margin-top: 6px;

    padding: 0;
}


.summary-card {

    border:
        1px solid var(--line);

    border-radius: 10px;

    padding: 23px;

    background: #fff;

    position: sticky;

    top: 100px;

    box-shadow:
        0 4px 16px rgba(0,0,0,.04);
}


.summary-card h2 {

    margin:
        0 0 22px;
}


.summary-row {

    display: flex;

    justify-content: space-between;

    padding: 12px 0;

    color: var(--muted);
}


.summary-note {

    font-size: 13px;

    color: var(--muted);

    border-top:
        1px solid var(--line);

    padding-top: 14px;

    margin: 8px 0 20px;
}


.continue-link {

    display: block;

    text-align: center;

    margin: 17px 0;

    color: var(--muted);

    font-size: 13px;

    font-weight: 700;
}


.clear-btn {

    width: 100%;

    border: 0;

    background: none;

    color: #b42323;

    cursor: pointer;

    padding: 8px;
}


.empty-cart {

    text-align: center;

    padding: 60px 20px;
}


.empty-icon {

    font-size: 55px;
}


.empty-cart h2 {

    margin-bottom: 4px;
}


.empty-cart p {

    color: var(--muted);
}


/* =========================
   CONTACT
========================= */


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;
}


.contact-info h2 {

    font-size: 40px;

    line-height: 1.15;

    margin:
        5px 0 18px;
}


.contact-info > p:not(.eyebrow) {

    color: var(--muted);

    max-width: 530px;
}


.contact-card {

    display: flex;

    align-items: center;

    gap: 16px;

    border:
        1px solid var(--line);

    padding: 20px;

    border-radius: 10px;

    background: #fff;

    margin: 28px 0;
}


.contact-card span {

    font-size: 30px;
}


.contact-card small,
.contact-card a {

    display: block;
}


.contact-card small {

    font-size: 12px;

    color: var(--muted);
}


.contact-card a {

    font-size: 20px;

    font-weight: 900;
}


.enquiry-form {

    border:
        1px solid var(--line);

    border-radius: 10px;

    padding: 28px;

    background: #fff;

    box-shadow:
        0 4px 16px rgba(0,0,0,.04);
}


.enquiry-form h2 {

    margin-top: 0;
}


.enquiry-form label {

    display: block;

    font-size: 13px;

    font-weight: 800;

    margin: 17px 0;
}


.enquiry-form input,
.enquiry-form textarea {

    display: block;

    width: 100%;

    margin-top: 7px;

    border:
        1px solid var(--line);

    border-radius: 7px;

    padding: 13px;

    font: inherit;

    outline: none;

    resize: vertical;

    background: #fff;
}


.enquiry-form input:focus,
.enquiry-form textarea:focus {

    border-color: var(--accent);

    box-shadow: 0 0 0 3px rgba(226,43,43,.12);
}


/* =========================
   FOOTER — DARK FOR CONTRAST
========================= */


footer {

    background: #111827;

    color: #c5cad1;

    padding-top: 45px;

    box-shadow:
        inset 0 2px 0 0 var(--accent);
}


.footer-inner {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 35px;

    padding-bottom: 35px;
}


.footer-inner .logo {

    color: #fff;
}


.footer-inner p {

    font-size: 13px;

    color: #858d98;
}


.footer-inner > div > b {

    display: block;

    color: #fff;

    margin-bottom: 10px;
}


.footer-inner div a:not(.logo) {

    display: block;

    font-size: 13px;

    margin: 6px 0;

    color: #9fa6b0;
}


.footer-inner div a:not(.logo):hover {

    color: #fff;
}


.copyright {

    border-top:
        1px solid #292d33;

    text-align: center;

    padding: 18px;

    font-size: 12px;

    color: #727a85;
}


/* =========================
   TABLET
========================= */


@media (max-width: 850px) {

    .menu-toggle {
        display: block;
    }


    .cart-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }


    .nav {

        display: none;

        position: absolute;

        left: 4%;

        right: 4%;

        top: 84px;

        background: #ffffff;

        padding: 10px;

        flex-direction: column;

        align-items: stretch;

        border-radius: 10px;

        border: 1px solid var(--line);

        box-shadow:
            0 15px 40px rgba(0,0,0,.12),
            0 0 0 1px rgba(226,43,43,.08);
    }


    .nav.open {
        display: flex;
    }


    .nav a {
        width: 100%;

        color: #374151;
    }


    .nav a:hover,
    .nav a.active {
        color: var(--ink);
        background: var(--light);
    }


    .nav a.active::after {
        display: none;
    }


    .hero-content,
    .contact-grid {

        grid-template-columns: 1fr;
    }


    .hero-card {
        display: none;
    }


    .feature-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .feature {

        border: 0;

        padding: 0;
    }


    .category-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .products-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .cart-layout {

        grid-template-columns: 1fr;
    }


    .summary-card {

        position: static;
    }


    .footer-inner {

        grid-template-columns:
            1fr 1fr;
    }


    .cta-inner {

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================
   MOBILE
========================= */


@media (max-width: 520px) {

    .hero {

        padding: 65px 0;
    }


    .hero h1 {

        font-size: 44px;
    }


    .hero-actions {

        flex-direction: column;
    }


    .hero-actions .btn {

        width: 100%;
    }


    .page-hero h1 {

        font-size: 37px;
    }


    .category-grid,
    .products-grid {

        grid-template-columns: 1fr;
    }


    .shop-tools {

        flex-direction: column;
    }


    .shop-tools select {

        width: 100%;
    }


    .cart-item {

        grid-template-columns:
            55px 1fr;
    }


    .cart-thumb {

        width: 55px;

        height: 55px;
    }


    .qty-controls {

        grid-column: 2;
    }


    .footer-inner {

        grid-template-columns: 1fr;
    }


    .contact-info h2 {

        font-size: 32px;
    }

}
