@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    /* Colors from RapidSpares-2.html */
    --red: #E31837;
    --red-dark: #B71530;
    --red-hover: #FF1E3D;
    --black: #1A1A1A;
    --black-deep: #111;
    --black-nav: #1C1C1C;
    --gray-900: #222;
    --gray-400: #888;
    --gray-300: #AAA;
    --gray-200: #CCC;
    --gray-100: #F4F4F4;
    --white: #FFF;
    --yellow: #FFD100;

    /* Project Layout Vars */
    --primary: var(--red);
    --secondary: var(--black);
    --bg-light: #F8F9FA;
    --transition: all 0.2s ease;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

    /* Pretty Category tokens (Surgical preservation) */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --primary-glow: rgba(227, 24, 55, 0.4);
}

/* ══════════ ANIMATIONS (High-Fidelity) ══════════ */
@keyframes driftDot {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translate(30px, -20px) scale(1.2);
        opacity: 1;
    }

    66% {
        transform: translate(-20px, 15px) scale(0.8);
        opacity: 0.7;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
}

@keyframes curvePulse {
    0% {
        transform: rotate(25deg) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: rotate(26deg) scale(1.02);
        opacity: 1;
    }

    100% {
        transform: rotate(25deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-body);
    /* Outer background color */
    color: var(--text-main);
    line-height: 1.5;
}

.site-wrapper {
    width: 100%;
    background: var(--bg-site);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Removed overflow: hidden to fix scrolling issues */
}

h1,
h2,
h3,
h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ══════════ TOP BAR ══════════ */
.top-bar {
    background: var(--black-deep);
    color: var(--gray-300);
    font-size: 0.75rem;
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ══════════ HEADER ══════════ */
.header {
    background: var(--black-nav);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Sticky Nav Bar */
.cat-nav {
    background: #1a1a1a;
    position: relative;
    z-index: 999;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cat-nav .container {
    display: flex;
    align-items: center;
}

.cat-nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    height: 50px;
}

.cat-nav-list li {
    height: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-nav-list li a {
    height: 100%;
    padding: 0 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cat-nav-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

/* Home Highlight Item (Pixel-Perfect) */
body.home .cat-nav-list li.menu-item-home a,
.cat-nav-list li.current-menu-item a {
    background: var(--red);
    color: white;
    padding: 0 35px;
}

.cat-nav-list li.menu-item-home a:hover {
    background: var(--red-hover);
}

/* ══════════ DROPDOWN MENU (Sub-Menu) ══════════ */
.cat-nav-list li, 
.primary-menu-list li {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: var(--black-nav);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 2px solid var(--red);
    z-index: 1001;
    backdrop-filter: blur(10px);
}

/* Ensure sub-menu links don't inherit centered flex from parent cat-nav-list links if undesired, 
   but for consistency we keep them readable */
.sub-menu li {
    width: 100%;
    border-right: none !important;
    height: auto !important;
}

.sub-menu li a {
    padding: 12px 25px !important;
    height: auto !important;
    font-size: 0.75rem !important;
    color: #BBB !important;
    display: block !important;
    text-align: left !important;
    justify-content: flex-start !important;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: none !important;
}

.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    padding-left: 30px !important;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

/* Show dropdown on hover */
.cat-nav-list li:hover > .sub-menu,
.primary-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Caret for items with children */
.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 8px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-wrapper {
    height: 52px;
    display: flex;
    align-items: center;
}

.logo-wrapper .custom-logo-link,
.logo-wrapper img,
.main-logo {
    height: 100%;
    width: auto;
    display: block;
}

.footer-brand .custom-logo-link,
.footer-brand img,
.footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.search-bar {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 60px 12px 20px;
    border-radius: 4px;
    border: none;
    background: var(--white);
    font-size: 0.95rem;
    outline: none;
    font-weight: 500;
}

.search-bar button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    background: var(--red);
    color: var(--white);
    border-radius: 0 4px 4px 0;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--red-hover);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    color: var(--gray-300);
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.nav-icon-btn i {
    font-size: 1.3rem;
}

.nav-icon-btn span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Primary Nav Styling */
.primary-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.primary-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}

.primary-menu-list li a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.primary-menu-list li a:hover {
    color: var(--white);
}

.primary-menu-list li.current-menu-item a {
    color: var(--red);
}

.badge {
    position: absolute;
    top: 2px;
    right: 6px;
    background: var(--red);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    height: 18px;
    min-width: 18px;
    padding: 0 5px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(227, 24, 55, 0.4);
    pointer-events: none;
    z-index: 10;
}

@keyframes badgePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.badge.pop-animate {
    animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ══════════ CATEGORY GRID (Circular Icons) ══════════ */
.categories {
    padding: 80px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cat-item {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 30px 20px;
    border-radius: 12px;
}

.cat-icon {
    width: 100px;
    height: 100px;
    background: rgba(227, 24, 55, 0.08);
    /* Translucent red */
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--red);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(227, 24, 55, 0.1);
}

.cat-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.5px;
}

.cat-item:hover .cat-icon {
    background: var(--red);
    color: var(--white);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(227, 24, 55, 0.3);
}

.cat-item:hover h3 {
    color: var(--red);
}

/* ══════════ SERVICE / TRUST BAR ══════════ */
.trust-bar {
    background: #fdfdfd;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 1.8rem;
    color: #222;
    opacity: 0.9;
}

.trust-item span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.5px;
    line-height: 1.3;
    max-width: 100px;
}

/* ══════════ HERO SLIDER (Legacy Mix) ══════════ */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.slide.active {
    opacity: 1;
}

.hero-container {
    position: relative;
    height: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-content h1 span {
    color: var(--yellow);
}

/* ══════════ HERO SLIDER CONTROLS ══════════ */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    font-size: 1.2rem;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.2);
}

.dot:hover {
    border-color: var(--red);
}

/* ══════════ FEATURED SECTION (Glossy) ══════════ */
.featured-section {
    padding: 100px 0;
    background: #FFF;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.featured-card {
    background: #111;
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.featured-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 2;
}

.featured-card p {
    font-size: 0.9rem;
    color: #AAA;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.featured-card .btn-outline {
    width: fit-content;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: var(--red);
    font-weight: 800;
    border-bottom: 2px solid transparent;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.featured-card .btn-outline:hover {
    border-bottom-color: var(--red);
    color: var(--red);
}

.featured-card i {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

/* ══════════ CATEGORY GRID (Circular) ══════════ */
.categories {
    padding: 80px 0;
    background: #F9FAFB;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.cat-item {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #EEE;
}

.cat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.cat-icon {
    width: 100px;
    height: 100px;
    border: 2px solid #EEE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--red);
    transition: var(--transition);
}

.cat-item:hover .cat-icon {
    border-color: var(--red);
    background: rgba(227, 24, 55, 0.02);
}

.cat-item h3 {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #111;
    letter-spacing: 1px;
}

/* ══════════ SINGLE POST CINEMATIC ══════════ */
.single-post-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.single-post-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.header-meta {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.header-meta h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.header-meta .post-date {
    font-weight: 700;
    color: var(--red);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 4rem 0 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--red);
    border-radius: 2px;
}

.section-title span {
    color: var(--red);
}

/* ══════════ PREMIUM CATEGORY SECTION ══════════ */
.categories {
    padding: 60px 0;
    background: #F4F6F8;
    /* Subtle contrast */
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cat-item .cat-icon {
    font-size: 2.2rem;
    color: var(--red);
    background: rgba(227, 24, 55, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.cat-item:hover .cat-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(227, 24, 55, 0.3);
}

.cat-item h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.cat-item:hover {
    background: var(--white);
    border-color: var(--red);
    box-shadow: 0 12px 25px var(--primary-glow);
    transform: translateY(-8px);
}


@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-item {
        padding: 1.5rem 1rem;
    }

    .cat-item img {
        width: 45px;
        height: 45px;
    }

    .cat-item h3 {
        font-size: 0.9rem;
    }
}

/* ══════════ FOOTER ══════════ */
.footer {
    background: var(--black-deep);
    color: var(--gray-300);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1.5fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
}

.bottom-bar {
    padding: 20px 0;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

/* ══════════ BACK TO TOP ══════════ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--black);
    color: white;
    transform: translateY(-5px);
}


/* ══════════ CATALOG ITEMS (Polished) ══════════ */
.catalog-grid,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2.5rem !important;
    padding: 2rem 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

ul.products::before,
ul.products::after {
    display: none !important;
}

/* Remove Woo clearfix */

.catalog-item {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.catalog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--red);
}

.catalog-item-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-item img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}

.catalog-item:hover img {
    transform: scale(1.05);
}

.item-cat-badge {
    color: var(--red);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.catalog-item h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 900;
    text-transform: uppercase;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.item-status {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
}

.btn-enquiry {
    width: 100%;
    background: var(--red);
    color: white;
    padding: 1.25rem;
    border: none;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-enquiry:hover {
    background: var(--black-nav);
}

.btn-add:hover {
    background: var(--black-nav);
}

/* ══════════ CATEGORY HERO (Premium Redesign) ══════════ */
.category-header {
    background: var(--black-deep);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    border-radius: 12px;
}

.category-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(227, 24, 55, 0.15), transparent 70%);
}

.category-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.category-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.category-header p {
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

/* ══════════ CATALOG FILTER TABS ══════════ */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: 2px solid transparent;
    background: #FFF;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    color: var(--black);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.3);
}

/* ══════════ PAGINATION CONTROLS ══════════ */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
}

.pagination-controls .page-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #FFF;
    border: 1px solid var(--gray-200);
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-controls .page-btn:hover:not([disabled]) {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.pagination-controls .page-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.pagination-controls .page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F8F9FA;
}

/* ══════════ FEATURED HIGHLIGHTS ══════════ */
.featured-section {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(180, 180, 180, 0.25) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 0;
    pointer-events: none;
}

.featured-section .container {
    position: relative;
    z-index: 1;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.featured-card {
    background: var(--black-deep);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding: 2.5rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    background-image: linear-gradient(135deg, rgba(227, 24, 55, 0.1) 0%, rgba(17, 17, 17, 1) 50%);
    border: 1px solid #333;
    transition: transform 0.3s;
}

.featured-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
}

.featured-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.featured-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.featured-card .btn-outline {
    align-self: flex-start;
    padding: 8px 24px;
    border: 2px solid var(--red);
    color: var(--white);
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.featured-card .btn-outline:hover {
    background: var(--red);
}

/* ══════════ COMPATIBILITY BANNER ══════════ */
.compatibility-banner {
    background: #EAEAEA;
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.compatibility-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 25px;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.comp-item i {
    font-size: 1.8rem;
    color: var(--red);
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Enquiry Panel Styles - Premium Glassmorphism */
.enq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.enq-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.enq-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 90%;
    z-index: 9999;
    background: #FFF;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 2.5rem;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto !important;
    /* Enable panel-wide scroll */
    max-height: 100vh !important;
}

/* Premium Scrollbar for Sidebar */
.enq-panel::-webkit-scrollbar {
    width: 6px;
}

.enq-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.enq-panel::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
}

.enq-panel::-webkit-scrollbar-thumb:hover {
    background: #b3122a;
}

.enq-panel.active {
    transform: translateX(0);
}

.enq-panel h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    color: var(--black);
}

.enq-panel h3 span {
    color: var(--red);
}

/* Sidebar Robustness Fix (Live Site Overrides) */
.widget_shopping_cart .total,
.widget_shopping_cart .woocommerce-mini-cart__total,
.widget_shopping_cart .woocommerce-mini-cart__buttons,
.enq-panel .woocommerce-Price-amount {
    display: none !important;
}

.widget_shopping_cart_content {
    border: none !important;
}

.enq-panel .cart_list {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Redesigned Sidebar Items */
.cart_list li {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    padding: 1.5rem 0 !important;
    border-bottom: 1px solid #F0F0F0 !important;
    position: relative !important;
    transition: var(--transition);
}

.mini-cart-img {
    width: 80px !important;
    height: 80px !important;
    background: #F8F9FA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0 !important;
    border: 1px solid #EEE;
    overflow: hidden;
}

.mini-cart-img img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.mini-cart-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-cart-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--black);
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.2;
}

.mini-cart-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F4F4F4;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 2px 5px;
    transition: color 0.2s;
}

.qty-btn:hover {
    color: var(--red);
}

.qty-val {
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--black);
    min-width: 20px;
    text-align: center;
}

.cart_list li .remove {
    position: absolute;
    right: 0;
    top: 1.5rem;
    color: #CCC;
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
}

.cart_list li .remove:hover {
    color: var(--red);
}

.cart_list.loading-overlay {
    opacity: 0.5;
    pointer-events: none;
}

/* ══════════ BUTTONS & CTA ══════════ */
.btn {
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 24, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: transparent;
    color: white;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

/* ══════════ TRUST BAR SECTION ══════════ */
.trust-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-card {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 24, 55, 0.05);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3);
}

.trust-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ══════════ REWARDS SECTION (Premium Redesign) ══════════ */
.rewards-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ff1e3d 0%, #d91023 50%, #b30010 100%);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.rewards-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: transparent;
    border-radius: 40px;
    box-shadow: inset 15px 0 30px rgba(0, 0, 0, 0.3), inset -10px 0 20px rgba(255, 255, 255, 0.1);
    transform: rotate(25deg);
    z-index: 0;
    pointer-events: none;
    animation: curvePulse 8s ease-in-out infinite;
}

.rewards-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255, 30, 61, 0.25) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 8s infinite ease-in-out;
}

/* Rewards Particles */
.rewards-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.rp-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: driftDot 10s infinite linear;
}

/* Precise positioning from reference */
.rp-dot:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 9s;
}

.rp-dot:nth-child(2) {
    top: 45%;
    left: 85%;
    animation-duration: 14s;
}

.rp-dot:nth-child(3) {
    top: 75%;
    left: 12%;
    animation-duration: 11s;
}

.rp-dot:nth-child(4) {
    top: 25%;
    left: 55%;
    animation-duration: 16s;
}

.rp-dot:nth-child(5) {
    top: 85%;
    left: 45%;
    animation-duration: 10s;
}

.rp-dot:nth-child(6) {
    top: 10%;
    left: 92%;
    animation-duration: 12s;
}

.rp-dot:nth-child(7) {
    top: 65%;
    left: 75%;
    animation-duration: 13s;
}

.rp-dot:nth-child(8) {
    top: 35%;
    left: 25%;
    animation-duration: 8s;
}

.rp-dot:nth-child(9) {
    top: 55%;
    left: 5%;
    animation-duration: 15s;
}

.rp-dot:nth-child(10) {
    top: 5%;
    left: 45%;
    animation-duration: 11s;
}

.rewards-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.rewards-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rewards-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.rewards-content .btn-primary {
    background: #000;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.rewards-content .btn-primary:hover {
    background: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 24, 55, 0.4);
}

.rewards-perks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 3rem;
}

.rp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.1rem;
}
}

.rp-item i {
    color: var(--black-deep);
    font-size: 1.1rem;
}

.rewards-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rewards-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.rewards-img:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .rewards-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rewards-img {
        max-width: 500px;
        margin: 0 auto;
    }

    .rp-item {
        justify-content: center;
    }
}

/* ══════════ PRE-FOOTER SERVICES BAR ══════════ */
.pre-footer-services {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.pf-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

.pf-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.pf-icon {
    font-size: 2.2rem;
    color: var(--black-deep);
    margin-bottom: 15px;
    opacity: 0.85;
}

.pf-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 5px;
    font-family: 'Roboto Condensed', sans-serif;
}

.pf-subtitle {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.3;
}

@media (max-width: 992px) {
    .pf-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .pf-item {
        min-width: 30%;
    }
}

@media (max-width: 576px) {
    .pf-item {
        min-width: 45%;
    }
}

/* ══════════ CONTACT PAGE ══════════ */
.contact-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    margin-bottom: -60px;
    /* Overlap cards */
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
}

.contact-hero h1 mark {
    background: none;
    color: var(--red);
}

.contact-hero p {
    max-width: 600px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--red);
}

.contact-card i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--black);
    text-transform: uppercase;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-card .info {
    font-weight: 700;
    color: var(--red);
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}

.contact-card .sub-info {
    font-size: 0.75rem;
    color: var(--gray-300);
}

.contact-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-form-container h2 mark {
    background: none;
    color: var(--red);
}

.contact-form-container .subtitle {
    margin-bottom: 30px;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.rs-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.rs-form-group {
    margin-bottom: 20px;
}

.rs-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.rs-form-group input,
.rs-form-group textarea,
.rs-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.rs-form-group input:focus,
.rs-form-group textarea:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-sidebar-widget {
    background: #F9F9F9;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #EEE;
}

.contact-sidebar-widget h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--black);
}

.contact-sidebar-widget h4 i {
    color: var(--red);
}

/* Footer Social Brand Colors */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a.wa:hover {
    background: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.footer-social a.fb:hover {
    background: #1877F2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}

.footer-social a.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 0 15px rgba(188, 24, 136, 0.4);
}

.footer-social a.yt:hover {
    background: #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--red);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--red-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 24, 55, 0.4);
}

.hours-table {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid #EEE;
}

.hours-table tr:last-child td {
    border: none;
}

.hours-table .day {
    font-weight: 500;
    color: var(--gray-400);
}

.hours-table .time {
    text-align: right;
    font-weight: 700;
    color: var(--black);
}

.hours-table .closed {
    color: var(--red);
}

.promo-block p {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.social-follow-grid {
    display: flex;
    gap: 10px;
}

.social-follow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    border: 1px solid #EEE;
    transition: var(--transition);
    text-decoration: none;
}

.social-follow-btn:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.ribbon-banner {
    background: var(--red);
    color: var(--white);
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ribbon-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ribbon-content i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.ribbon-text h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ribbon-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.map-area {
    height: 450px;
    background: #222;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker-pin {
    text-align: center;
    color: var(--red);
}

.map-marker-pin i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
    animation: bounce 2s infinite;
}

.map-marker-pin span {
    color: var(--gray-300);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

@media (max-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main-layout {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .rs-form-grid {
        grid-template-columns: 1fr;
    }

    .ribbon-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .ribbon-content {
        flex-direction: column;
    }
}

/* ══════════ FOOTER GRID FIX ══════════ */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

/* ══════════ MOBILE MENU STYLES ══════════ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--red);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ══════════ RESPONSIVE MEDIA QUERIES ══════════ */

@media (max-width: 1100px) {
    .header .container {
        gap: 15px;
    }
    .header-right {
        gap: 15px;
    }
    .primary-menu-list {
        gap: 15px;
    }
    .search-bar {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none; /* Hide top bar on tablets/phones to save space */
    }

    .header .container {
        height: 70px;
    }

    .primary-nav {
        display: none; /* Hidden on mobile */
    }

    .menu-toggle {
        display: flex;
    }

    .cat-nav {
        position: fixed;
        top: 0;
        right: -300px; /* Hidden off-screen */
        width: 300px;
        height: 100vh;
        background: var(--black-nav);
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        border-bottom: none;
        border-left: 2px solid var(--red);
    }

    .cat-nav.active {
        right: 0;
    }

    .cat-nav .container {
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        width: 100%;
    }

    .mobile-menu-header {
        display: flex;
    }

    .cat-nav-list {
        flex-direction: column;
        height: auto;
        padding-top: 10px;
    }

    .cat-nav-list li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .cat-nav-list li a {
        padding: 15px 25px;
        width: 100%;
        font-size: 0.95rem;
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 15px;
    }

    .logo {
        order: 1;
    }

    .header-right {
        order: 2;
    }

    .search-bar {
        order: 3;
        flex: none;
        width: 100%;
        max-width: none;
    }

    .nav-icon-btn span {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer h4 {
        margin-top: 20px;
        border-bottom: 1px solid #333;
        padding-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .logo-wrapper {
        height: 40px;
    }
    
    .logo-wrapper .main-logo {
        height: 40px;
    }

    .nav-icon-btn {
        padding: 8px 10px;
    }
}

/* ══════════ SEARCH PAGE REDESIGN (Premium) ══════════ */
.search-page-wrapper {
    background: var(--bg-body);
    min-height: 80vh;
}

.search-header {
    background: #111;
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border-bottom: 4px solid var(--red);
}

.search-meta {
    position: relative;
    z-index: 10;
}

.meta-label {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.search-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--white);
}

.results-count {
    font-size: 1.1rem;
    color: var(--gray-300);
    font-weight: 500;
}

.header-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(227, 24, 55, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.header-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 24, 55, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

/* Results Grid */
.search-results-main {
    padding-bottom: 100px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.part-card {
    background: var(--bg-card);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.part-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--red);
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-top: 1px solid var(--border-light);
}

.btn-view-details {
    padding: 15px 10px;
    text-align: center;
    background: var(--gray-100);
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    transition: var(--transition);
}

.btn-view-details:hover {
    background: var(--black);
    color: white;
}

.status-stock {
    color: #28a745;
    font-weight: 700;
}

/* Nothing Found State */
.no-results-premium {
    padding: 80px 0;
    text-align: center;
}

.empty-state-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto 80px;
    border: 1px solid #eee;
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--red);
    position: relative;
}

.pulse-glow::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--red);
    border-radius: 50%;
    animation: glowPulse 2s infinite;
}

.empty-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.empty-content p {
    color: #666;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.search-retry {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-premium {
    display: flex;
    background: #f4f4f4;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid #ddd;
}

.search-form-premium input {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 30px;
    font-weight: 500;
    outline: none;
    font-size: 1rem;
}

.search-submit-btn {
    background: var(--red);
    color: white;
    border: none;
    width: 60px;
    height: 50px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit-btn:hover {
    background: var(--red-hover);
    transform: scale(1.05);
}

.btn-primary-glow {
    background: var(--red);
    color: white;
    padding: 18px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(227, 24, 55, 0.4);
}

.btn-primary-glow:hover {
    background: var(--red-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 24, 55, 0.5);
}

.support-cta {
    background: #1a1a1a;
    color: white;
    padding: 50px;
    border-radius: 12px;
    margin-top: 60px;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 40px;
}

.cta-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* ══════════ CATALOG SORTING & FILTERS (Premium) ══════════ */
.woocommerce-catalog-ordering {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    margin: 40px 0 50px;
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-result-count {
    margin: 0 !important;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-result-count::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--red);
    border-radius: 2px;
}

.woocommerce-ordering {
    margin: 0 !important;
    position: relative;
    min-width: 240px;
}

.woocommerce-ordering select.orderby {
    display: block;
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: var(--bg-light) !important;
    color: var(--black) !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 50px 12px 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.woocommerce-ordering::after {
    content: '\f107' !important; /* FontAwesome Angle Down */
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--red) !important;
    pointer-events: none !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.woocommerce-ordering:hover select.orderby {
    border-color: var(--red) !important;
    background: #FFF !important;
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.1) !important;
}

.woocommerce-ordering:hover::after {
    transform: translateY(-50%) scale(1.2) !important;
}

.woocommerce-ordering select.orderby:focus {
    outline: none !important;
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1) !important;
}

@media (max-width: 768px) {
    .woocommerce-catalog-ordering {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .woocommerce-ordering, .woocommerce-ordering select {
        width: 100%;
    }
}

/* Premium Pagination (Standard & WooCommerce) */
.search-pagination, .woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

/* Force override WooCommerce default boxed container */
.woocommerce nav.woocommerce-pagination ul,
.pagination-nav .nav-links, 
.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important; /* Remove WC default box border */
    background: transparent !important;
}

.pagination-nav .page-numbers, 
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}

/* Fix for WooCommerce li structure & default borders */
.woocommerce nav.woocommerce-pagination ul li {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    float: none !important; /* Reset WC float */
    display: inline-block !important;
}

/* Active State - High Specifiity */
.pagination-nav .page-numbers.current, 
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--red) !important;
    color: white !important;
    border-color: var(--red) !important;
    box-shadow: 0 8px 20px rgba(227, 24, 55, 0.4) !important;
    transform: scale(1.1) !important;
    z-index: 2 !important;
    display: flex !important;
}

/* Hover State - High Specificity */
.pagination-nav .page-numbers:hover:not(.current), 
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
    transform: translateY(-5px) !important;
    border-color: var(--red) !important;
    color: var(--red) !important;
    background: rgba(227, 24, 55, 0.02) !important;
}

.pagination-nav .page-numbers.dots, 
.woocommerce nav.woocommerce-pagination ul li .page-numbers.dots {
    background: none !important;
    border-color: transparent !important;
    cursor: default !important;
}

/* Arrows specific adjustment */
.pagination-nav .page-numbers.next, 
.pagination-nav .page-numbers.prev,
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev {
    font-size: 0.9rem !important;
}

/* Responsive adjustments for new elements */
@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .search-header h1 {
        font-size: 2.5rem;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    .search-header h1 {
        font-size: 2rem;
    }
    .card-actions {
        grid-template-columns: 1fr;
    }
}

/* ══════════ CINEMATIC MY ACCOUNT UPGRADE ══════════ */
.account-page-wrapper {
    background: var(--black-deep);
}

.account-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.account-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.account-hero .container {
    position: relative;
    z-index: 2;
}

.account-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.account-hero h1 mark {
    background: none;
    color: var(--red);
}

.account-hero p {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.rs-account-main-area {
    background: var(--black-deep);
    padding: 40px 0; /* Reduced padding */
}

.rs-account-layout-stack {
    display: flex;
    flex-direction: column;
    max-width: 1400px; 
    margin: 0 auto;
    width: 100%;
}

/* Force horizontal layout by killing WooCommerce floats */
.woocommerce-MyAccount-navigation {
    width: 100% !important;
    float: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* Horizontal Tabs Navigation */
.rs-account-tabs-nav {
    border-bottom: 3px solid var(--red);
    background: #111;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.woocommerce-MyAccount-navigation ul {
    display: flex !important;
    flex-direction: row !important; /* Force Horizontal */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap; /* Prevent stacking */
    overflow-x: auto; /* Scroll on mobile instead of stacking */
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    color: #eee;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.woocommerce-MyAccount-navigation ul li a i {
    font-size: 1.1rem;
    color: var(--red);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--red);
    color: var(--white);
}

.woocommerce-MyAccount-navigation ul li.is-active a i {
    color: var(--white) !important;
}

/* Content Card Refinement */
.rs-account-content-card {
    background: #151515 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    color: #EEE;
}

/* Fix Notice Boxes (White boxes in screenshot) */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    border-left: 4px solid var(--red) !important;
    color: #EEE !important;
    padding: 20px 30px !important;
    margin-bottom: 30px !important;
    border-radius: 8px !important;
    list-style: none !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: var(--red) !important;
    font-weight: 700 !important;
}

/* Fix Link Colors */
.woocommerce-MyAccount-content a:not(.button) {
    color: var(--red) !important;
    text-decoration: none;
    font-weight: 700;
}

.woocommerce-MyAccount-content p {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Button Refinement */
.woocommerce-button.button,
.woocommerce-Button.button {
    background: var(--red) !important;
    color: white !important;
    padding: 15px 35px !important;
    border-radius: 5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    transition: var(--transition) !important;
    display: inline-block !important;
    cursor: pointer !important;
}

/* My Account Specific Ribbon Banner adjustment */
.account-page-wrapper .ribbon-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
}

@media (max-width: 768px) {
    .account-hero h1 {
        font-size: 2.5rem;
    }
    .account-hero {
        height: 300px;
    }
    .woocommerce-MyAccount-navigation ul li a {
        padding: 15px 20px;
        font-size: 0.75rem;
    }
}

/* ══════════ AUTHENTICATION SCREENS (LOGIN/REGISTER) ══════════ */
.auth-card {
    max-width: 900px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.auth-card.compact-card {
    max-width: 600px !important;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 40px;
    border-left: 4px solid var(--red);
    padding-left: 20px;
}

.auth-message {
    color: var(--gray-400);
    margin-bottom: 30px;
    line-height: 1.6;
}

.woocommerce-form-login label,
.woocommerce-form-register label,
.woocommerce-ResetPassword label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--gray-300);
    letter-spacing: 1px;
}

.woocommerce-form-login .input-text,
.woocommerce-form-register .input-text,
.woocommerce-ResetPassword .input-text {
    background: #222 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    transition: var(--transition);
}

.woocommerce-form-login .input-text:focus,
.woocommerce-form-register .input-text:focus,
.woocommerce-ResetPassword .input-text:focus {
    border-color: var(--red) !important;
    outline: none;
    box-shadow: 0 0 15px rgba(227, 24, 55, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.woocommerce-form-login .rememberme {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
}

.lost_password a {
    color: var(--gray-400);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.lost_password a:hover {
    color: var(--red);
}

.info-text {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .auth-card .col2-set .col-1,
    .auth-card .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 60px;
    }
}

/* ══════════ GLOBAL WOOCOMMERCE DARK MODE HARDENING ══════════ */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
    background: #151515;
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    margin-bottom: 80px;
    color: #EEE;
}

/* Table styles */
.woocommerce-cart-form table.shop_table,
.woocommerce-checkout table.shop_table,
.shop_table.customer_details,
.shop_table.order_details {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    color: #EEE !important;
    overflow: hidden;
}

.shop_table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px !important;
}

.shop_table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 20px !important;
}

/* Cart Totals */
.cart-collaterals .cart_totals {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #EEE;
}

.cart_totals h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
}

/* Checkout specific */
#customer_details h3,
#order_review_heading {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--white);
    border-left: 3px solid var(--red);
    padding-left: 15px;
}

form.checkout_coupon,
form.login,
form.register {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 25px !important;
}

/* General WooCommerce Select2 and Inputs */
.select2-container--default .select2-selection--single {
    background-color: #222 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #EEE !important;
    line-height: 48px !important;
}

/* Buttons for Cart/Checkout */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-edit-address .button,
.woocommerce-Address .edit {
    background-color: var(--red) !important;
    font-size: 1rem !important;
    padding: 18px 30px !important;
    border-radius: 8px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
    background-color: var(--red-dark) !important;
    transform: translateY(-2px);
}

/* Specific Fix for Notice messages (redundant check) */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background: #1a1a1a !important;
    color: #fff !important;
    border-left-color: var(--red) !important;
}

/* Links across the shop */
.woocommerce-MyAccount-content a:not(.button),
.woocommerce-cart a:not(.button),
.woocommerce-checkout a:not(.button) {
    color: var(--red) !important;
}

/* ══════════ CATEGORY/SHOP PAGE REFINEMENT ══════════ */
.shop-hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1920&q=80') !important;
}

.archive-description p {
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

#catalog-section {
    background: #F8F9FA !important;
}

.section-title {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

#catalog-section .section-title {
    color: var(--black) !important;
}

#catalog-section .section-title span {
    color: var(--red);
}

.woocommerce-catalog-ordering {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: var(--gray-400);
}

.woocommerce-catalog-ordering select {
    background: #FFF !important;
    color: #333 !important;
    border: 1px solid #DDD !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
}

/* Pagination Hardening */
.woocommerce-pagination ul {
    border: none !important;
}

.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 5px !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    background: #FFF !important;
    color: #333 !important;
    border: 1px solid #DDD !important;
    padding: 10px 18px !important;
    border-radius: 4px !important;
}

.woocommerce-pagination ul li span.current {
    background: var(--red) !important;
    border-color: var(--red) !important;
}