/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Hide breadcrumb navigation */
nav.master-breadcrumb {
    display: none !important;
}

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}


/* =============================================
   MAIN SITE NAVIGATION (.rw-main-nav)
   ============================================= */

.rw-main-nav {
    background-color: #2c3e50;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #34495e;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rw-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.rw-logo img {
    display: block;
}

.rw-nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.rw-nav-links ul li a {
    color: #fff;
    text-decoration: none;
    padding: 18px 14px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.rw-nav-links ul li a:hover {
    color: #66bb6a;
    text-decoration: none;
}

.rw-nav-cta a.rw-btn-website {
    background: rgba(255,193,7,0.15);
    border: 1px solid rgba(255,193,7,0.5);
    color: #ffc107 !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    margin-left: 4px;
}

.rw-nav-cta a.rw-btn-website:hover {
    background: rgba(255,193,7,0.3);
}

.rw-nav-cta a.rw-btn-lookup {
    background: #28a745;
    border: 1px solid #28a745;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    margin-left: 4px;
}

.rw-nav-cta a.rw-btn-lookup:hover {
    background: #218838;
}

/* Mobile toggle */
.rw-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.rw-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.rw-mobile-toggle.rw-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.rw-mobile-toggle.rw-active span:nth-child(2) {
    opacity: 0;
}

.rw-mobile-toggle.rw-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 991px) {
    .rw-mobile-toggle {
        display: flex;
    }

    .rw-nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #2c3e50;
        border-top: 1px solid #34495e;
        z-index: 1030;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .rw-nav-links.rw-open {
        display: block;
    }

    .rw-nav-links ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .rw-nav-links ul li a {
        padding: 12px 20px;
    }

    .rw-nav-cta {
        padding: 5px 20px 10px;
    }

    .rw-nav-cta a.rw-btn-website,
    .rw-nav-cta a.rw-btn-lookup {
        display: block;
        text-align: center;
        margin: 0;
    }
}


/* =============================================
   CLIENT AREA BAR (.rw-client-bar)
   ============================================= */

.rw-client-bar {
    background: #243342;
    border-bottom: 1px solid #34495e;
    padding: 6px 0;
    font-size: 13px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rw-client-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rw-client-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rw-client-links li a {
    color: #bbb;
    text-decoration: none;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.rw-client-links li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}

.rw-badge {
    background: #28a745;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.rw-btn-logout {
    color: #ffc107 !important;
}

.rw-btn-cart {
    color: #66bb6a !important;
}

.rw-btn-admin {
    color: #ffc107 !important;
}

.rw-lang-switch .btn {
    color: #bbb;
    font-size: 13px;
    border: none;
    padding: 4px 10px;
}

.rw-lang-switch .btn:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .rw-client-bar-inner {
        flex-direction: column;
        gap: 4px;
    }

    .rw-client-links {
        justify-content: center;
    }
}


/* =============================================
   FOOTER (.rw-footer)
   ============================================= */

.rw-footer-sep {
    background: linear-gradient(90deg, transparent, rgba(102, 187, 106, 0.4), rgba(255, 193, 7, 0.3), rgba(102, 187, 106, 0.4), transparent);
    height: 2px;
}

.rw-footer {
    background: #0f0f1a;
    color: #bbb;
    padding: 50px 0 30px;
    font-size: 14px;
    line-height: 1.7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rw-footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

.rw-footer-col {
    margin-bottom: 25px;
}

.rw-footer-logo {
    margin-bottom: 15px;
}

.rw-footer-logo img {
    display: inline-block;
}

.rw-footer-contact p {
    margin-bottom: 8px;
}

.rw-footer-contact small {
    color: rgba(255,255,255,0.5);
}

.rw-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.rw-footer a:hover {
    color: #66bb6a;
    text-decoration: none;
}

.rw-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rw-footer ul li {
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .rw-footer .col-lg-4 {
        text-align: center;
    }

    .rw-footer .rw-footer-contact {
        text-align: center;
    }
}


/* =============================================
   CART PAGE OVERRIDES
   ============================================= */

/* Hide promo code section on cart/checkout */
.promo-code,
#inputPromotionCode,
[id*="promo"],
.order-summary .promo,
form[name="orderfrm"] .promo-input,
.sub-heading:has(+ .promo-code),
.card:has([name="promocode"]),
.promocode-container {
    display: none !important;
}

/* Nexus Cart (SPA): hide "Additional Information" section title + required note */
#containerAdditionalInformation h3,
#containerAdditionalInformation .sub-heading,
#containerAdditionalInformation .text-muted,
#containerAdditionalInformation p {
  display: none !important;
}

div#containerAdditionalInformation > .sub-heading {
    display: none !important;
}


/* =============================================
   PRODUCT CATEGORY CARDS (.rw-product-categories)
   ============================================= */

.rw-product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 15px;
    margin-bottom: 40px;
}

.rw-cat-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px 35px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rw-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    transition: height 0.35s ease;
}

.rw-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.rw-cat-card:hover::before {
    height: 6px;
}

/* Vehicle Lookup - Green */
.rw-cat-lookup::before {
    background: linear-gradient(135deg, #28a745, #20c997);
}
.rw-cat-lookup .rw-cat-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}
.rw-cat-lookup .rw-cat-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}
.rw-cat-lookup .rw-cat-btn:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45);
}

/* Remapping Website - Amber/Gold */
.rw-cat-website::before {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.rw-cat-website .rw-cat-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}
.rw-cat-website .rw-cat-btn {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.rw-cat-website .rw-cat-btn:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* Files Portal - Blue/Purple */
.rw-cat-files::before {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}
.rw-cat-files .rw-cat-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}
.rw-cat-files .rw-cat-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.rw-cat-files .rw-cat-btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Default fallback - Teal */
.rw-cat-default::before {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}
.rw-cat-default .rw-cat-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}
.rw-cat-default .rw-cat-btn {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}
.rw-cat-default .rw-cat-btn:hover {
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.45);
}

.rw-cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #fff;
    font-size: 26px;
    transition: transform 0.35s ease;
}

.rw-cat-card:hover .rw-cat-icon {
    transform: scale(1.1);
}

.rw-cat-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.3;
}

.rw-cat-tagline {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0 0 24px;
    line-height: 1.5;
    min-height: 40px;
}

.rw-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.rw-cat-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
    text-decoration: none !important;
}

.rw-cat-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.rw-cat-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .rw-product-categories {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rw-cat-card {
        padding: 30px 24px 28px;
    }

    .rw-cat-tagline {
        min-height: auto;
    }
}


/* =============================================
   STORE PAGE - SIDEBAR STYLING
   ============================================= */

#order-standard_cart .cart-sidebar .card-sidebar {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

#order-standard_cart .cart-sidebar .card-header {
    background: linear-gradient(135deg, #1f2937, #374151);
    border: none;
    padding: 16px 20px;
}

#order-standard_cart .cart-sidebar .panel-title {
    color: #66bb6a;
    font-weight: 600;
    font-size: 15px;
}

#order-standard_cart .cart-sidebar .panel-title i {
    color: #66bb6a;
}

#order-standard_cart .cart-sidebar .panel-minimise {
    color: rgba(255,255,255,0.6);
}

#order-standard_cart .cart-sidebar .list-group {
    border: none;
}

#order-standard_cart .cart-sidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
    transition: all 0.25s ease;
    background: #fff;
}

#order-standard_cart .cart-sidebar .list-group-item:hover {
    background: #f0fdf4;
    border-left-color: #28a745;
    color: #1f2937;
    padding-left: 24px;
}

#order-standard_cart .cart-sidebar .list-group-item.active {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-left-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* Hide the Actions sidebar card */
#order-standard_cart .cart-sidebar .card-sidebar[menuitemname="Actions"] {
    display: none !important;
}


/* =============================================
   STORE PAGE - PRODUCT CARD STYLING
   ============================================= */

#order-standard_cart .product {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

#order-standard_cart .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

body #order-standard_cart .cart-body .products .product header {
    background: #2c3e50 !important;
    color: #fff;
    padding: 20px 24px;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 3px solid #28a745;
}

body #order-standard_cart .cart-body .products .product header span {
    color: #fff;
}

#order-standard_cart .product .product-desc {
    padding: 24px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

#order-standard_cart .product .product-desc ul {
    padding-left: 0;
    list-style: none;
}

#order-standard_cart .product .product-desc li {
    padding: 6px 0 6px 24px;
    position: relative;
}

#order-standard_cart .product .product-desc li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 12px;
}

#order-standard_cart .product footer {
    background: #f9fafb;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#order-standard_cart .product .product-pricing {
    font-size: 14px;
    color: #6b7280;
}

#order-standard_cart .product .product-pricing .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
}

body #order-standard_cart .cart-body .products .product .btn-order-now {
    background: #28a745;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

body #order-standard_cart .cart-body .products .product .btn-order-now:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.45);
}


/* =============================================
   STORE PAGE - HEADER / TITLE AREA
   ============================================= */

#order-standard_cart .header-lined {
    text-align: center;
    margin-bottom: 30px;
}

#order-standard_cart .header-lined h1 {
    font-weight: 800;
    color: #1f2937;
    font-size: 2rem;
}

#order-standard_cart .header-lined p {
    color: #6b7280;
    font-size: 15px;
}
