/* ============================================
   PIONEER CONSTRUCTION TECHNOLOGIES
   Design System & Global Styles
   ============================================ */

/* --- CSS VARIABLES / DESIGN TOKENS --- */
:root {
    /* Brand Colors */
    --red: #C22628;
    --red-dark: #9E1F21;
    --red-light: #E84345;
    --navy: #043B66;
    --navy-dark: #022A4A;
    --navy-light: #0A5A9E;
    --green: #4B9E33;
    --green-dark: #3A7D28;
    --green-light: #5CBF40;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --black: #111111;

    /* Semantic Theme Tokens — Light Mode (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F3F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    --bg-header: #043B66;
    --bg-modal: #FFFFFF;
    --bg-dark: #043B66;
    --bg-darker: #022A4A;
    --bg-hero-overlay: rgba(4, 59, 102, 0.85);

    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-muted: #ADB5BD;
    --text-light: #FFFFFF;
    --text-accent: #C22628;
    --text-navy: #043B66;

    /* Border Colors */
    --border-color: #E9ECEF;
    --border-light: #F1F3F5;
    --border-dark: #CED4DA;
    --border-radius-sm: 3px;
    --border-radius: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);

    /* Inputs */
    --input-bg: #FFFFFF;
    --input-color: #212529;
    --input-border: #CED4DA;
    --input-focus-border: #C22628;
    --input-placeholder: #ADB5BD;

    /* Icon Box / Placeholder */
    --icon-box-bg: #F1F3F5;
    --placeholder-bg: #F8F9FA;
    --placeholder-border: #DEE2E6;

    /* Buttons & Outlines */
    --btn-outline-color: #043B66;
    --btn-outline-border: #043B66;
    --btn-outline-hover-bg: #043B66;
    --btn-outline-hover-color: #FFFFFF;

    /* Marquee Gradients */
    --marquee-mask-left: linear-gradient(to right, #FFFFFF, transparent);
    --marquee-mask-right: linear-gradient(to left, #FFFFFF, transparent);
    --marquee-gray-mask-left: linear-gradient(to right, #F8F9FA, transparent);
    --marquee-gray-mask-right: linear-gradient(to left, #F8F9FA, transparent);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 100px;
    --section-padding: 80px 0;
    --section-padding-sm: 48px 0;

    /* Container */
    --container-max: 1280px;
    --container-wide: 1400px;
    --container-padding: 24px;

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-logo: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --line-height: 1.6;
    --line-height-tight: 1.2;
    --line-height-heading: 1.25;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 250ms ease;
    --transition-slow: 400ms ease;

    /* Header */
    --header-height: 80px;
}

/* ============================================
   DARK THEME VARIABLES
   ============================================ */
[data-theme="dark"] {
    --bg-primary: #0B1120;
    --bg-secondary: #131E32;
    --bg-tertiary: #1E293B;
    --bg-card: #152238;
    --bg-card-hover: #1C2D4A;
    --bg-header: #0E172A;
    --bg-modal: #152238;
    --bg-dark: #070D18;
    --bg-darker: #03070E;
    --bg-hero-overlay: rgba(11, 17, 32, 0.9);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-light: #FFFFFF;
    --text-accent: #E84345;
    --text-navy: #38BDF8;

    --border-color: #1E2E4A;
    --border-light: #16243C;
    --border-dark: #2D4165;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);

    --input-bg: #0E172A;
    --input-color: #F8FAFC;
    --input-border: #233554;
    --input-focus-border: #E84345;
    --input-placeholder: #64748B;

    --icon-box-bg: #1E2E4A;
    --placeholder-bg: #131E32;
    --placeholder-border: #233554;

    --btn-outline-color: #F8FAFC;
    --btn-outline-border: #2D4165;
    --btn-outline-hover-bg: var(--red);
    --btn-outline-hover-color: #FFFFFF;

    --marquee-mask-left: linear-gradient(to right, #0B1120, transparent);
    --marquee-mask-right: linear-gradient(to left, #0B1120, transparent);
    --marquee-gray-mask-left: linear-gradient(to right, #131E32, transparent);
    --marquee-gray-mask-right: linear-gradient(to left, #131E32, transparent);
}

/* Base transitions for smooth dark mode toggling */
body,
.header,
.header__mobile-nav,
.card,
.why-card,
.product-card,
.category-card,
.value-card,
.contact-detail-card,
.contact-form-section__form,
.contact-info-card,
.section--gray,
.sidebar-enquiry,
.faq-item,
.faq-item__question,
.modal,
.brand-grid__item,
.brand-marquee__item,
.brand-logo-card,
.feature-list__item,
.datasheet-card,
input,
select,
textarea {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    color: var(--text-primary);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

/* --- LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--section-padding);
}

.section--gray {
    background-color: var(--bg-secondary);
}

.section--dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--text-light);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

.section__header {
    margin-bottom: var(--space-2xl);
}

.section__title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section__title--accent {
    color: var(--red);
}

.section__subtitle {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 600px;
}

.section__title-bar {
    width: 50px;
    height: 3px;
    background-color: var(--red);
    margin-bottom: var(--space-md);
}

/* --- GRID SYSTEM --- */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

.grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: var(--border-radius);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn:hover {
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn--primary {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn--primary:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
}

.btn--success {
    background-color: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn--success:hover {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
}

.btn--secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--secondary:hover {
    background-color: var(--white);
    color: var(--navy);
}

.btn--outline {
    background-color: transparent;
    color: var(--btn-outline-color);
    border-color: var(--btn-outline-border);
}

.btn--outline:hover {
    background-color: var(--btn-outline-hover-bg);
    color: var(--btn-outline-hover-color);
    border-color: var(--btn-outline-hover-bg);
}

.btn--outline-red {
    background-color: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn--outline-red:hover {
    background-color: var(--red);
    color: var(--white);
}

.btn--dark {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--dark:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn--sm {
    padding: 8px 20px;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 16px 36px;
    font-size: var(--text-base);
}

.btn--block {
    width: 100%;
}

/* --- CARDS --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    transition: box-shadow var(--transition), transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card__icon {
    width: 56px;
    height: 56px;
    background-color: var(--icon-box-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--green);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- PLACEHOLDER BOXES --- */
.placeholder-box {
    background-color: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 200px;
}

.placeholder-box--sm {
    min-height: 80px;
}

.placeholder-box--lg {
    min-height: 400px;
}

.placeholder-box--logo {
    width: 120px;
    height: 60px;
    min-height: auto;
    font-size: var(--text-xs);
}

.placeholder-box--icon {
    width: 48px;
    height: 48px;
    min-height: auto;
    border-radius: 50%;
    font-size: 10px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: #043B66;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.header--scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    background-color: #022543;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__logo-text {
    font-family: var(--font-logo);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    line-height: 1.1;
}

.header__logo-text span {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header__nav-link {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
}

.header__nav-link:hover,
.header__nav-link--active {
    color: #FF5C5C;
}

.header__cta {
    margin-left: var(--space-md);
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
    margin-left: var(--space-md);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FF5C5C;
    border-color: #FF5C5C;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

[data-theme="dark"] .icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: block;
}

:root:not([data-theme="dark"]) .icon-sun,
[data-theme="light"] .icon-sun {
    display: none;
}

:root:not([data-theme="dark"]) .icon-moon,
[data-theme="light"] .icon-moon {
    display: block;
}

/* Mobile Theme Toggle Button in Menu */
.header__mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
}

.header__mobile-theme-toggle .theme-toggle {
    margin-left: 0;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all var(--transition);
    transform-origin: center;
}

.header__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__hamburger--open span:nth-child(2) {
    opacity: 0;
}

.header__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.header__mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #043B66;
    padding: var(--space-xl) var(--container-padding);
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-nav--open {
    display: block;
}

.header__mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.header__mobile-nav-link {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    color: #ffffff;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__mobile-nav-link--active {
    color: #FF5C5C;
}

.header__mobile-cta {
    margin-top: var(--space-xl);
}

/* Offset for fixed header */
main {
    padding-top: var(--header-height);
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    background-color: var(--navy-dark);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-3xl);
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-color: var(--gray-800);
    opacity: 0.3;
}

.page-hero__content {
    position: relative;
    z-index: 2;
}

.page-hero__title {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-hero__title span {
    color: var(--red);
}

.page-hero__text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 0;
}

/* Diagonal accent for products page */
.page-hero__accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-hero__accent::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -30px;
    width: 120px;
    height: 140%;
    background-color: var(--red);
    transform: skewX(-12deg);
}

.page-hero__accent::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -80px;
    width: 60px;
    height: 140%;
    background-color: var(--green);
    transform: skewX(-12deg);
}

/* ============================================
   HOME HERO
   ============================================ */
.hero {
    position: relative;
    background-color: var(--navy-dark);
    color: var(--white);
    padding: var(--space-5xl) 0;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__bg .placeholder-box {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    font-size: var(--text-lg);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    /* background: linear-gradient(135deg, rgba(227, 30, 36, 0.25), rgba(4, 59, 102, 0.5));
     */
    background: lightgrey;
    border: 1.5px solid var(--red);
    border-radius: 50px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: black;
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.35);
    backdrop-filter: blur(8px);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero__label:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 28px rgba(227, 30, 36, 0.5);
}

.hero__label-dot {
    width: 8px;
    height: 8px;
    background-color: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red), 0 0 16px var(--red);
    animation: heroDotPulse 2s infinite ease-in-out;
}

@keyframes heroDotPulse {

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

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

.hero__title {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.hero__title-accent {
    color: var(--red);
    background: linear-gradient(135deg, #FF5C5C 0%, #E31E24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero__text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================
   COMPANY INTRO (Home)
   ============================================ */
.intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro__content {
    max-width: 540px;
}

.intro__image .placeholder-box {
    min-height: 360px;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.product-card__image {
    height: 200px;
    background-color: var(--icon-box-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

.product-card__body {
    padding: var(--space-lg);
}

.product-card__brand {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.product-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.product-card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.product-card__link {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.product-card__link:hover {
    color: var(--red-light);
}

/* ============================================
   WHY PIONEER
   ============================================ */
.why-card {
    text-align: center;
    padding: var(--space-xl);
}

.why-card__icon {
    width: 64px;
    height: 64px;
    background-color: var(--icon-box-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--green);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.why-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.why-card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================
   APPLICATIONS
   ============================================ */
.application-card {
    position: relative;
    height: 240px;
    background-color: var(--icon-box-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.application-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(4, 59, 102, 0.85));
    transition: background var(--transition);
}

.application-card:hover .application-card__overlay {
    background: linear-gradient(transparent 20%, rgba(4, 59, 102, 0.95));
}

.application-card__content {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
    width: 100%;
}

.application-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.application-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.application-card:hover .application-card__image {
    transform: scale(1.08);
}

/* ============================================
   CLIENTS
   ============================================ */
.client-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}

.client-grid__item {
    width: 210px;
    height: 105px;
    padding: 14px 22px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.client-grid__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy);
}

.client-grid__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition);
}

.client-grid__item:hover img {
    transform: scale(1.06);
}

.clients-more-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

.clients-more-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 26px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
}

.cta-section__title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-section__text {
    font-size: var(--text-lg);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-2xl);
    padding: 0;
}

/* Sidebar */
.products-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
    align-self: start;
    transition: all var(--transition);
}

.sidebar-section {
    margin-bottom: var(--space-xl);
}

.sidebar-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--red);
}

.sidebar-section__title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Clear Buttons */
.sidebar-clear-btn,
.section-clear-btn,
.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    background-color: rgba(194, 38, 40, 0.08);
    border: 1px solid rgba(194, 38, 40, 0.25);
    border-radius: 999px;
    padding: 3px 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-clear-btn:hover,
.section-clear-btn:hover,
.filter-clear-btn:hover {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.sidebar-close-btn {
    display: none;
    width: 100%;
    margin-top: var(--space-md);
    padding: 9px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    background: transparent;
    transition: all var(--transition-fast);
}

.sidebar-close-btn:hover {
    color: var(--red);
    border-color: var(--red);
    background-color: rgba(194, 38, 40, 0.05);
}

.sidebar-brand-list {
    display: flex;
    flex-direction: column;
}

.sidebar-brand-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    font-size: var(--text-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sidebar-brand-item:hover {
    color: var(--red);
    background-color: var(--bg-secondary);
}

.sidebar-brand-item--active {
    color: var(--red) !important;
    font-weight: var(--font-weight-semibold);
    background-color: rgba(194, 38, 40, 0.08);
    border-left: 3px solid var(--red);
    padding-left: 10px;
}

.sidebar-brand-item__logo {
    width: 36px;
    height: 36px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    overflow: hidden;
}

.sidebar-brand-item__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-brand-item__name {
    flex: 1;
    font-weight: var(--font-weight-medium);
}

.sidebar-brand-item__count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Sidebar Enquiry Card */
.sidebar-enquiry {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.sidebar-enquiry__icon {
    width: 48px;
    height: 48px;
    background-color: var(--icon-box-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.sidebar-enquiry__title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.sidebar-enquiry__text {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Main Content Area */
.products-main {
    min-width: 0;
}

.products-main__section {
    margin-bottom: var(--space-3xl);
}

.products-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--red);
    padding-bottom: var(--space-xs);
}

.products-main__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Product Search Box between All Products and Count Badge */
.products-search-box {
    position: relative;
    flex: 1;
    max-width: 440px;
    min-width: 220px;
    display: flex;
    align-items: center;
    margin: 0 var(--space-xs);
}

.products-search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.products-search-input {
    width: 100%;
    height: 38px;
    padding: 0 36px 0 38px;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
    outline: none;
}

.products-search-input:focus {
    border-color: var(--red);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(194, 38, 40, 0.15);
}

.products-search-input:focus~.products-search-icon,
.products-search-box:focus-within .products-search-icon {
    color: var(--red);
}

.products-search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.products-search-clear:hover {
    color: var(--red);
    background-color: rgba(194, 38, 40, 0.1);
}

[data-theme="dark"] .products-search-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

[data-theme="dark"] .products-search-input:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--red);
}

/* Dedicated Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: 10px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-xl);
    animation: slideDownFilters 0.2s ease-out;
}

@keyframes slideDownFilters {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.active-filters-bar__left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.active-filters-label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.active-filters-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 4px 12px;
    box-shadow: var(--shadow-sm);
}

.active-filter-chip strong {
    color: var(--navy);
    font-weight: var(--font-weight-bold);
}

[data-theme="dark"] .active-filter-chip strong {
    color: #38BDF8;
}

.active-filter-chip .chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    background: rgba(194, 38, 40, 0.1);
    color: var(--red);
    border: none;
    cursor: pointer;
    margin-left: 2px;
    transition: all 0.15s ease;
}

.active-filter-chip .chip-remove:hover {
    background: var(--red);
    color: var(--white);
}

.btn-clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    background-color: transparent;
    border: 1px solid var(--red);
    border-radius: var(--border-radius-sm);
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-all-filters:hover {
    background-color: var(--red);
    color: var(--white);
}

/* Mobile Controls */
.products-mobile-controls {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 12px 18px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover,
.sidebar-toggle--open {
    border-color: var(--red);
    color: var(--red);
}

.sidebar-toggle__left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-toggle__badge {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    background-color: var(--red);
    border-radius: 999px;
    padding: 2px 8px;
}

.mobile-quick-clear {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.category-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
}

.category-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.category-card__badge {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    background-color: var(--red);
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.category-card--active {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 2px rgba(194, 38, 40, 0.2), var(--shadow-md) !important;
    transform: translateY(-2px);
}

.category-card--active .category-card__badge {
    display: inline-block;
}

.category-card--active .category-card__title {
    color: var(--red) !important;
}

.category-card--active .category-card__icon {
    background-color: rgba(194, 38, 40, 0.12) !important;
    color: var(--red) !important;
}

.category-card--matched {
    border-color: rgba(194, 38, 40, 0.4);
    background-color: rgba(194, 38, 40, 0.02);
}

.category-card--dimmed {
    opacity: 0.32;
    filter: grayscale(70%);
    transform: none !important;
    box-shadow: none !important;
}

.category-card__icon {
    width: 56px;
    height: 56px;
    background-color: var(--icon-box-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--green);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.category-card__title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.category-card__text {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Products Toast */
.products-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    z-index: 10000;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.products-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Logo Cards (Products page) */
.brand-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.brand-logo-card {
    width: 120px;
    height: 64px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--gray-400);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
}

.brand-logo-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow);
}

/* Expert CTA (Products page bottom) */
.expert-cta {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.expert-cta__icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.expert-cta__content {
    flex: 1;
}

.expert-cta__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.expert-cta__text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.expert-cta__action {
    flex-shrink: 0;
}

/* ============================================
   SEARCH / FILTER BAR
   ============================================ */
.filter-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-bar__search {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-bar__search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    background-color: var(--input-bg);
    color: var(--input-color);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.filter-bar__search input:focus {
    outline: none;
    border-color: var(--input-focus-border);
}

.filter-bar__search input::placeholder {
    color: var(--input-placeholder);
}

.filter-bar__search::before {
    content: '⌕';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.filter-bar__select {
    padding: 10px 32px 10px 12px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    background-color: var(--input-bg);
    color: var(--input-color);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    min-width: 140px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.filter-bar__select:focus {
    outline: none;
    border-color: var(--input-focus-border);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumb {
    padding: var(--space-md) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

.breadcrumb__separator {
    margin: 0 var(--space-sm);
    color: var(--text-muted);
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-2xl) 0 var(--space-3xl);
    border-bottom: 1px solid var(--border-color);
}

.product-detail-header__image {
    background-color: var(--icon-box-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-detail-header__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-header__brand {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
}

.product-detail-header__title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.product-detail-header__code {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.product-detail-header__code strong {
    color: var(--text-primary);
}

.product-detail-section {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-section:last-child {
    border-bottom: none;
}

.product-detail-section__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--red);
    display: inline-block;
    color: var(--text-primary);
}

/* Features List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.feature-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.feature-list__item::before {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    background-color: var(--red);
    transform: rotate(45deg);
    display: block;
}

/* Specification Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.spec-table td {
    padding: 12px 16px;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--border-color);
}

.spec-table td:first-child {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    width: 40%;
}

.spec-table td:last-child {
    color: var(--text-secondary);
}

/* Datasheet Card */
.datasheet-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.datasheet-card__icon {
    width: 48px;
    height: 48px;
    background-color: var(--icon-box-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.contact-detail-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
    text-align: center;
}

.contact-detail-card__icon {
    width: 48px;
    height: 48px;
    background-color: var(--icon-box-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.contact-detail-card__label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.contact-detail-card__value {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-form-section__form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    background-color: var(--input-bg);
    color: var(--input-color);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-section__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* --- Contact Info Card --- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    border-left: 3px solid var(--green);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-card__icon svg {
    stroke: var(--white);
}

.contact-info-card__content {
    flex: 1;
}

.contact-info-card__label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.contact-info-card__value {
    font-size: var(--text-sm);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.contact-info-card__value a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

.contact-info-card__value a:hover {
    color: var(--red);
}

/* Google Map Placeholder */
.map-placeholder {
    height: 400px;
    background-color: var(--placeholder-bg);
    border: 2px dashed var(--placeholder-border);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    background-color: var(--bg-card);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    background-color: var(--bg-card);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    text-align: left;
}

.faq-item__question:hover {
    background-color: var(--bg-secondary);
}

.faq-item__icon {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-normal);
    color: var(--text-secondary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--line-height);
    background-color: var(--bg-card);
}

.faq-item--open .faq-item__answer {
    display: block;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.mission-vision__card {
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.mission-vision__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.mission-vision__card--mission {
    background: linear-gradient(135deg, #043B66 0%, #022543 100%);
    color: var(--white);
    border-top: 4px solid var(--red);
}

.mission-vision__card--vision {
    background: linear-gradient(135deg, #8B1216 0%, #E31E24 100%);
    color: var(--white);
    border-top: 4px solid #ffffff;
}

.mission-vision__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.mission-vision__tagline {
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-vision__body p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}

.mission-vision__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 3px;
    background: linear-gradient(180deg, var(--red) 0%, var(--navy) 100%);
    border-radius: 2px;
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__node {
    width: 120px;
    flex-shrink: 0;
    position: relative;
    padding-right: 30px;
    text-align: right;
}

.timeline__node::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--red);
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.4);
    z-index: 2;
    transition: transform var(--transition), background-color var(--transition);
}

.timeline__item:hover .timeline__node::after {
    transform: scale(1.3);
    background-color: var(--red);
}

.timeline__year {
    font-size: var(--text-xs);
    font-weight: 800;
    color: var(--navy);
    background: rgba(4, 59, 102, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.timeline__card {
    flex: 1;
    margin-left: 30px;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--navy);
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline__card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.timeline__card--future {
    border-left-color: var(--red);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.timeline__card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--space-sm);
}

.timeline__card-text {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}

.timeline__card-text:last-child {
    margin-bottom: 0;
}

.timeline__quote {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(227, 30, 36, 0.06);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-style: italic;
    color: var(--red);
}

[data-theme="dark"] .timeline__card {
    background-color: var(--navy-dark);
    border-left-color: var(--red);
}

[data-theme="dark"] .timeline__card--future {
    background: linear-gradient(135deg, #043B66 0%, #061B2E 100%);
}

[data-theme="dark"] .timeline__card-title {
    color: var(--white);
}

[data-theme="dark"] .timeline__card-text {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .timeline__year {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .timeline__line {
        left: 20px;
    }

    .timeline__item {
        flex-direction: column;
        padding-left: 45px;
    }

    .timeline__node {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: var(--space-xs);
    }

    .timeline__node::after {
        left: -32px;
        right: auto;
    }

    .timeline__card {
        margin-left: 0;
        width: 100%;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.value-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
    text-align: center;
    border-top: 3px solid var(--red);
    transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.value-card__icon {
    width: 56px;
    height: 56px;
    background-color: var(--icon-box-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--green);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.value-card__title {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.value-card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.industry-card {
    position: relative;
    height: 180px;
    background-color: var(--icon-box-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(4, 59, 102, 0.9));
}

.industry-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.industry-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card__image {
    transform: scale(1.08);
}

.industry-card__title {
    position: relative;
    z-index: 2;
    padding: var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   ACCREDITATIONS & MEMBERSHIPS GRID
   ============================================ */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.accreditation-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.accreditation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--red);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.accreditation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227, 30, 36, 0.3);
}

.accreditation-card:hover::before {
    opacity: 1;
}

.accreditation-card__icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 59, 102, 0.08);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

[data-theme="dark"] .accreditation-card__icon {
    background: rgba(255, 255, 255, 0.08);
}

.accreditation-card__content {
    flex: 1;
}

.accreditation-card__title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 2px;
}

.accreditation-card__sub {
    font-size: var(--text-xs);
    color: var(--red);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0;
}

.accreditation-card--highlight {
    border: 1px solid rgba(227, 30, 36, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(227, 30, 36, 0.03) 100%);
}

.accreditation-card--highlight::before {
    opacity: 1;
    background-color: var(--green);
}

/* ============================================
   BRAND GRID — Logo Showcase
   ============================================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.brand-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.brand-grid__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--red);
}

.brand-grid__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: transform 0.3s ease;
}

.brand-grid__item:hover img {
    transform: scale(1.04);
}

/* --- Brand Marquee (auto-scrolling horizontal strip) --- */
.brand-marquee {
    overflow: hidden;
    position: relative;
    padding: var(--space-xl) 0;
}

.brand-marquee::before,
.brand-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.brand-marquee::before {
    left: 0;
    background: var(--marquee-mask-left);
}

.brand-marquee::after {
    right: 0;
    background: var(--marquee-mask-right);
}

.section--gray .brand-marquee::before {
    background: var(--marquee-gray-mask-left);
}

.section--gray .brand-marquee::after {
    background: var(--marquee-gray-mask-right);
}

.brand-marquee__track {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    animation: brandMarquee 40s linear infinite;
    width: max-content;
}

.brand-marquee__track:hover {
    animation-play-state: paused;
}

.brand-marquee__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg) var(--space-xl);
    min-width: 180px;
    min-height: 100px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-marquee__item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.brand-marquee__item img {
    display: block;
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes brandMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--bg-dark);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer__logo img {
    height: 40px;
    width: auto;
}

.footer__logo-text {
    font-family: var(--font-logo);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    line-height: 1.1;
}

.footer__logo-text span {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer__description {
    font-size: var(--text-sm);
    line-height: var(--line-height);
    margin-bottom: var(--space-lg);
    color: var(--gray-400);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--red);
    color: var(--white);
}

.footer__col-title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copyright {
    font-size: var(--text-xs);
    color: var(--gray-400);
}

.footer__made-by {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.footer__made-by:hover {
    color: var(--white);
    background: rgba(227, 30, 36, 0.15);
    border-color: rgba(227, 30, 36, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.25);
}

.made-by-heart {
    display: inline-block;
    font-size: 0.85rem;
    line-height: 1;
    animation: heartPulse 1.8s infinite ease-in-out;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.made-by-brand {
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    font-size: var(--text-xs);
    color: var(--gray-400);
}

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

/* ============================================
   ENQUIRY MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    backdrop-filter: blur(4px);
}

.modal-overlay--open {
    display: flex;
}

.modal {
    background-color: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.modal__title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal__close:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.modal__body {
    padding: var(--space-xl);
}

/* ============================================
   FORMS & INPUT CONTROLS
   ============================================ */
.contact-form,
.modal__body form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group .form-optional {
    font-size: 11px;
    font-weight: var(--font-weight-normal);
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: normal;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--input-color);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    display: none;
    line-height: 1.4;
}

.form-alert--success {
    display: block;
    background-color: rgba(46, 125, 50, 0.12);
    color: var(--green);
    border: 1px solid rgba(46, 125, 50, 0.35);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --section-padding: 60px 0;
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

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

    .grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

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

    .contact-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-header {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

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

@media (max-width: 992px) {

    /* Header switch to mobile navigation */
    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .header__logo img {
        height: 42px;
    }

    /* Products page mobile controls and collapsible drawer */
    .products-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-lg) 0;
    }

    .products-mobile-controls {
        display: flex;
    }

    .products-sidebar {
        display: none;
        position: static;
        width: 100%;
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-card);
        margin-bottom: var(--space-lg);
    }

    .products-sidebar.products-sidebar--open {
        display: block;
        animation: slideDownDrawer 0.25s ease-out;
    }

    @keyframes slideDownDrawer {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

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

    .sidebar-close-btn {
        display: block;
    }

    .sidebar-brand-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 1.85rem;
        --text-4xl: 1.6rem;
        --text-3xl: 1.4rem;
        --section-padding: 40px 0;
        --container-padding: 16px;
    }

    /* Responsive grid--3 for Our Expertise section */
    .grid--3 {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Prevent horizontal page overflow */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Hide decorative floating elements on mobile */
    .hanging-tab,
    .shape-hexagon-flat {
        display: none !important;
    }

    .header__logo img {
        height: 38px;
    }

    /* Hero Mobile */
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__label {
        font-size: 10px;
        padding: 6px 16px;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
        max-width: 100%;
        box-sizing: border-radius;
    }

    .hero__title {
        font-size: clamp(1.65rem, 6vw, 2.25rem);
        line-height: 1.22;
        margin-bottom: 14px;
    }

    .hero__text {
        font-size: var(--text-base);
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: var(--text-base);
    }

    /* Company Intro Mobile */
    .intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .intro__content {
        max-width: 100%;
    }

    .intro__image img {
        height: 220px !important;
        min-height: auto !important;
        max-height: 250px;
        object-fit: cover;
        width: 100%;
    }

    /* What We Do Grid (2 columns on mobile/tablet for clean scannability) */
    #what-we-do .grid--5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    #what-we-do .card {
        padding: 16px 12px;
        text-align: center;
    }

    #what-we-do .card__icon {
        width: 44px;
        height: 44px;
        margin: 0 auto 10px;
    }

    #what-we-do .card__title {
        font-size: 0.92rem;
        margin-bottom: 6px;
    }

    #what-we-do .card__text {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    /* Featured Products Section Mobile */
    #featured-products .grid--4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #featured-products .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        justify-content: center;
        padding: 14px 16px;
        font-size: var(--text-sm);
        line-height: 1.4;
    }

    /* Why Pioneer Grid (2 columns on mobile) */
    #why-pioneer .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .why-card {
        padding: 16px 10px;
        text-align: center;
    }

    .why-card__icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 10px;
    }

    .why-card__title {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }

    .why-card__text {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    /* Applications Section Grid (2 columns layout with 5th spanning 2 cols) */
    #applications .grid--5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #applications .application-card:nth-child(5) {
        grid-column: span 2;
    }

    .application-card {
        height: 160px;
    }

    .application-card__content {
        padding: 12px 14px;
    }

    .application-card__title {
        font-size: 0.85rem;
    }

    /* Client Logo Grid Mobile */
    .client-grid {
        gap: 12px;
    }

    .client-grid__item {
        width: calc(50% - 6px);
        max-width: 180px;
        height: 80px;
        padding: 10px 14px;
        box-sizing: border-box;
    }

    .clients-more-tag {
        white-space: normal;
        max-width: 100%;
        text-align: center;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* CTA Section Mobile */
    .cta-section__title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .cta-section__text {
        font-size: var(--text-sm);
        margin-bottom: 20px;
        max-width: 100%;
    }

    .cta-section .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Brand Marquee Mobile */
    .brand-marquee {
        padding: var(--space-md) 0;
    }

    .brand-marquee::before,
    .brand-marquee::after {
        width: 30px;
    }

    .brand-marquee__track {
        gap: 16px;
    }

    .brand-marquee__item {
        min-width: 125px;
        min-height: 68px;
        padding: 8px 12px;
    }

    .brand-marquee__item img {
        max-width: 95px;
        max-height: 42px;
    }

    /* Other shared grid rules */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .brand-logo-grid {
        justify-content: center;
    }

    .expert-cta {
        flex-direction: column;
        text-align: center;
    }

    .product-detail-header {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .spec-table {
        font-size: var(--text-xs);
    }

    .spec-table td {
        padding: 10px 12px;
    }

    .about-content,
    .mission-vision,
    .values-grid,
    .contact-details-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-section {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-form-section__form {
        padding: var(--space-lg);
    }

    .contact-info-card {
        padding: var(--space-md);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar__select {
        width: 100%;
    }

    .page-hero__accent {
        display: none;
    }

    .page-hero {
        padding: var(--space-2xl) 0;
    }

    .page-hero__title {
        font-size: var(--text-3xl);
    }

    .brand-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: var(--space-md);
    }

    .brand-grid__item {
        min-height: 90px;
        padding: var(--space-md);
    }

    .brand-grid__item img {
        max-width: 110px;
        max-height: 55px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.65rem;
        --text-4xl: 1.45rem;
        --text-3xl: 1.25rem;
        --container-padding: 14px;
    }

    .header__logo-text {
        font-size: 13px;
    }

    .header__logo-text span {
        font-size: 9px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .sidebar-brand-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .sidebar-brand-item {
        padding: 8px 6px;
        font-size: var(--text-xs);
    }

    .sidebar-brand-item__logo {
        width: 30px;
        height: 30px;
    }

    .active-filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .btn-clear-all-filters {
        width: 100%;
        justify-content: center;
    }

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

    .brand-grid__item {
        min-height: 75px;
        padding: 10px 14px;
    }

    #what-we-do .grid--5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #why-pioneer .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ============================================
   GEOMETRY / SHAPE UTILITIES
   ============================================ */

.shape-hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-hexagon-flat {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-parallelogram {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.shape-wedge {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
}

.shape-clipped {
    clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.shape-triangle {
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.hanging-tab {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background-color: var(--red);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hanging-tab:hover {
    height: 60px;
    background-color: var(--green);
}

.layered-bands {
    width: 100%;
    height: 16px;
    background: linear-gradient(135deg,
            var(--red) 25%,
            var(--navy) 25%, var(--navy) 50%,
            var(--green) 50%, var(--green) 75%,
            var(--border-color) 75%);
}

.hexagon-outline-wrapper {
    position: relative;
    padding: 4px;
    background: var(--red);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: inline-block;
}

.hexagon-outline-wrapper>* {
    display: block;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* ============================================
   WEEKLY BLOGGING PLATFORM STYLES
   ============================================ */

/* --- HERO & SEARCH --- */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 48px 0 45px;
    overflow: hidden;
    z-index: 1;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.blog-hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.blog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #5CBF40;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(92, 191, 64, 0.6);
    animation: blogPulse 2s infinite;
}

@keyframes blogPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 191, 64, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(92, 191, 64, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(92, 191, 64, 0);
    }
}

.blog-author-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.blog-hero__title {
    position: relative;
    z-index: 2;
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 12px;
}

.blog-hero__desc {
    position: relative;
    z-index: 2;
    max-width: 750px;
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Author Admin Bar */
.author-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(75, 158, 51, 0.18);
    border: 1px solid var(--green);
    border-radius: var(--border-radius-md);
    padding: 12px 20px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

.author-bar--hidden {
    display: none !important;
}

.author-bar__info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    font-size: var(--text-sm);
}

.author-bar__badge {
    background: var(--green);
    color: var(--white);
    font-size: var(--text-xs);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: var(--font-weight-bold);
}

.author-bar__actions {
    display: flex;
    gap: 8px;
}

/* Search Card */
.blog-search-card {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.blog-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.blog-search-icon {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0.6;
}

.blog-search-input-wrapper input {
    width: 100%;
    padding: 14px 44px 14px 46px;
    font-size: var(--text-base);
    font-family: var(--font-primary);
    background: var(--input-bg);
    color: var(--input-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.blog-search-input-wrapper input:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(4, 59, 102, 0.15);
}

.blog-search-clear {
    position: absolute;
    right: 14px;
    background: var(--gray-300);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    color: var(--gray-800);
    cursor: pointer;
    display: none;
    transition: var(--transition);
}

.blog-search-clear:hover {
    background: var(--red);
    color: var(--white);
}

.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-filter-pill {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-pill:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

.blog-filter-pill--active {
    background: var(--navy) !important;
    color: var(--white) !important;
    border-color: var(--navy) !important;
}

/* --- BLOG LISTING SECTION --- */
.blog-main-section {
    padding: 50px 0 80px;
    background: var(--bg-secondary);
}

.blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 16px;
}

.blog-section-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.blog-section-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.blog-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.blog-sort-select {
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
}

/* --- BLOG GRID & CARDS --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-light);
}

.blog-card__media {
    position: relative;
    width: 100%;
    height: 220px;
    background: var(--gray-200);
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.05);
}

.blog-card__category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.blog-card__week {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: var(--font-weight-semibold);
}

.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.blog-card__showcase-tag {
    background: rgba(194, 38, 40, 0.1);
    color: var(--red);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
}

.blog-card__title {
    font-size: 1.18rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card__title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card__title-link:hover {
    color: var(--red);
}

.blog-card__summary {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.blog-tag {
    font-size: 0.7rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: var(--font-weight-medium);
}

.blog-tag--category {
    background: var(--navy);
    color: var(--white);
    font-weight: var(--font-weight-bold);
}

.blog-tag--week {
    background: var(--green);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
}

.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.blog-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card__author-avatar {
    width: 34px;
    height: 34px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
}

.blog-card__author-avatar--lg {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
}

.blog-card__author-name {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.blog-card__author-role {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.blog-card__admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px dashed var(--border-color);
    max-width: 600px;
    margin: 0 auto;
}

.blog-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.blog-empty-state h3 {
    font-size: var(--text-xl);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.blog-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* --- MODAL DIALOGS & SIZES --- */
.modal--sm {
    max-width: 440px;
}

.modal--xl {
    max-width: 960px;
    width: 95%;
}

.auth-helper-note {
    background: var(--bg-secondary);
    border-left: 4px solid var(--navy-light);
    padding: 10px 14px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 20px;
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.auth-helper-note code {
    background: var(--gray-300);
    padding: 2px 5px;
    border-radius: 3px;
    color: var(--text-primary);
    font-weight: bold;
}

/* --- RICH TEXT EDITOR MODAL --- */
.blog-editor-dialog {
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.editor-modal-subtitle {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-top: 2px;
}

.editor-tabs-bar {
    display: flex;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}

.editor-tab {
    padding: 12px 20px;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.editor-tab:hover {
    color: var(--text-primary);
}

.editor-tab--active {
    color: var(--red) !important;
    border-bottom-color: var(--red) !important;
    background: var(--bg-modal);
}

.editor-modal-body {
    overflow-y: auto;
    max-height: calc(92vh - 140px);
    padding: 24px;
}

.editor-section-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.editor-card-heading {
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
    color: var(--navy);
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.editor-field-hint {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row--3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.image-preview-box {
    border: 1px dashed var(--border-dark);
    background: var(--bg-tertiary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    text-align: center;
}

.image-preview-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.image-preview-box img {
    max-width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin: 0 auto;
}

/* Product Showcase Inputs */
.showcase-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.showcase-input-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
}

.showcase-input-card h5 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--red);
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 6px;
}

/* WYSIWYG Editor */
.wysiwyg-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-bottom: none;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
    padding: 8px;
}

.toolbar-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.toolbar-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.toolbar-divider {
    width: 1px;
    background: var(--border-color);
    margin: 2px 4px;
}

.wysiwyg-canvas {
    min-height: 280px;
    max-height: 480px;
    overflow-y: auto;
    border: 1px solid var(--border-dark);
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
    background: var(--input-bg);
    color: var(--input-color);
    padding: 18px 20px;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
}

.wysiwyg-canvas:focus {
    outline: none;
    border-color: var(--navy-light);
    box-shadow: 0 0 0 2px rgba(4, 59, 102, 0.1);
}

.editor-submit-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* --- READER MODAL STYLES --- */
.blog-reader-dialog {
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.reader-modal__header {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
}

.reader-modal-label {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
}

.reader-modal__body {
    overflow-y: auto;
    padding: 32px;
    max-height: calc(92vh - 80px);
}

.reader-article {
    max-width: 820px;
    margin: 0 auto;
}

.reader-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.reader-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 20px;
}

.reader-author-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.reader-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reader-author-name {
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    color: var(--text-primary);
}

.reader-author-role {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.reader-hero-image {
    width: 100%;
    max-height: 440px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow-md);
}

.reader-hero-image img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
}

/* Rich Content Typography */
.rich-text-rendered {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.rich-text-rendered p {
    margin-bottom: 20px;
}

.rich-text-rendered .blog-lead {
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    color: var(--text-primary);
    border-left: 4px solid var(--red);
    padding-left: 16px;
    margin-bottom: 24px;
}

.rich-text-rendered h2 {
    font-size: 1.55rem;
    font-weight: var(--font-weight-bold);
    color: var(--navy);
    margin: 32px 0 14px;
    line-height: 1.3;
}

.rich-text-rendered h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 24px 0 10px;
}

.rich-text-rendered ul,
.rich-text-rendered ol {
    margin: 16px 0 24px 24px;
}

.rich-text-rendered li {
    margin-bottom: 10px;
}

.rich-text-rendered blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--navy);
    padding: 18px 24px;
    margin: 28px 0;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.rich-text-rendered a {
    color: var(--navy-light);
    text-decoration: underline;
    font-weight: var(--font-weight-semibold);
}

.rich-text-rendered a:hover {
    color: var(--red);
}

/* --- PRODUCT SHOWCASE SECTION (2 IMAGES) --- */
.blog-showcase-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    margin: 40px 0;
}

.blog-showcase-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.blog-showcase-title {
    font-size: 1.35rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.blog-showcase-subtitle {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.blog-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-showcase-grid--1 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.showcase-card__image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--gray-200);
}

.showcase-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-card__num {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: 3px;
}

.showcase-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-card__title {
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--navy);
    margin-bottom: 8px;
}

.showcase-card__caption {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.showcase-card__cta {
    align-self: flex-start;
}

/* Referenced Links Section */
.blog-links-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    margin: 30px 0;
}

.blog-links-title {
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-links-list li {
    margin-bottom: 8px;
}

.blog-resource-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.blog-resource-link:hover {
    color: var(--red);
}

.blog-link-url {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.reader-tags-bar {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.reader-cta-card {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 36px;
}

.reader-cta-text h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.reader-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    max-width: 500px;
    margin: 0;
}

/* Toast Notifications */
.blog-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--navy-dark);
    color: var(--white);
    border-left: 4px solid var(--green);
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog-toast--visible {
    transform: translateY(0);
    opacity: 1;
}

.btn--danger {
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

.btn--danger:hover {
    background-color: var(--red-dark);
}

.btn--danger-outline {
    background: transparent;
    border: 1px solid var(--red-light);
    color: var(--white);
}

.btn--danger-outline:hover {
    background: var(--red);
    border-color: var(--red);
}

.btn--outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* ============================================
   RESPONSIVE OVERRIDES FOR BLOG
   ============================================ */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .form-row--3col {
        grid-template-columns: 1fr;
    }

    .modal--xl {
        width: 96%;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 30px 0 35px;
    }

    .blog-hero__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-author-controls {
        width: 100%;
    }

    .blog-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row--2col {
        grid-template-columns: 1fr;
    }

    .blog-search-card {
        padding: 16px;
    }

    .blog-search-input-wrapper input {
        padding: 12px 38px 12px 42px;
        font-size: 0.9rem;
    }

    .blog-filter-pills {
        gap: 6px;
    }

    .blog-filter-pill {
        padding: 6px 12px;
        font-size: 0.72rem;
    }

    .reader-modal__body {
        padding: 20px 16px;
    }

    .editor-modal-body {
        padding: 16px;
    }

    .editor-tabs-bar {
        padding: 0 16px;
    }

    .editor-tab {
        padding: 10px 14px;
        font-size: var(--text-xs);
    }

    .wysiwyg-canvas {
        min-height: 200px;
        padding: 14px;
    }

    .reader-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }

    .author-bar__actions {
        width: 100%;
    }

    .author-bar__actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-hero__title {
        font-size: 1.65rem;
    }

    .blog-card__media {
        height: 180px;
    }

    .blog-card__content {
        padding: 18px 16px;
    }

    .blog-card__title {
        font-size: 1.05rem;
    }

    .wysiwyg-toolbar {
        gap: 2px;
    }

    .toolbar-btn {
        padding: 4px 7px;
        font-size: 0.7rem;
    }
}

/* Dark mode tweaks for blog */
[data-theme="dark"] .blog-search-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .blog-filter-pill {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .blog-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .rich-text-rendered h2 {
    color: var(--red-light);
}

[data-theme="dark"] .showcase-card__title {
    color: var(--red-light);
}

[data-theme="dark"] .editor-card-heading {
    color: var(--red-light);
}

[data-theme="dark"] .editor-section-card {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .showcase-input-card {
    background: var(--bg-card);
}

/* Inline images in rich text editor and rendered articles */
.toolbar-btn--img {
    background: rgba(75, 158, 51, 0.12);
    color: var(--green-dark);
    border-color: var(--green);
}

.toolbar-btn--img:hover {
    background: var(--green) !important;
    color: var(--white) !important;
    border-color: var(--green) !important;
}

.blog-inline-image-wrap {
    margin: 24px 0;
    text-align: center;
}

.blog-inline-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: block;
    margin: 0 auto;
}

[data-theme="dark"] .toolbar-btn--img {
    color: var(--green-light);
    border-color: var(--green);
}

/* ============================================
   DYNAMIC PRODUCT CATALOG STYLES
   ============================================ */
.products-count-badge {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    background: var(--bg-tertiary);
    color: var(--red);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Exactly 2 products per row */
    gap: 24px;
    margin-top: 20px;
}

.product-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--red-light);
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.product-brand-logo-wrap {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-brand-logo-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.15);
}

.product-title-group {
    flex-grow: 1;
}

.product-name-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.product-item-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.3;
}

.product-item-type {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--red);
    background: rgba(194, 38, 40, 0.08);
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-brand-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    margin-top: 4px;
}

.product-card-body {
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-item-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    white-space: pre-line;
    word-break: break-word;
}

/* Units Box below name & beside desc */
.product-units-section {
    margin-top: 10px;
}

.product-units-label {
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.product-units-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.unit-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    min-width: 44px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
}

.unit-chip:hover {
    border-color: var(--red);
    background: var(--bg-card-hover);
    color: var(--red);
}

.product-card-footer {
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.category-chip {
    font-size: 0.72rem;
    font-weight: var(--font-weight-medium);
    background: rgba(4, 59, 102, 0.08);
    color: var(--navy);
    padding: 3px 8px;
    border-radius: 12px;
}

[data-theme="dark"] .category-chip {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Product Card Action Buttons */
.product-card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.btn-product-action {
    flex: 1 1 130px;
    min-width: 120px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    border: none;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
    word-break: normal;
    box-sizing: border-box;
}

.btn-product-action svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.btn-product-action--red {
    background-color: var(--red);
    color: var(--white) !important;
    box-shadow: 0 2px 6px rgba(227, 30, 36, 0.2);
}

.btn-product-action--red:hover {
    background-color: #c2181c;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.35);
}

.btn-product-action--green {
    background-color: #28a745;
    color: var(--white) !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

.btn-product-action--green:hover {
    background-color: #218838;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.35);
}

@media (max-width: 576px) {
    .product-card-actions {
        flex-direction: column;
        gap: 6px;
    }
}

[data-theme="dark"] .unit-chip {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.products-loading-state,
.products-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-md);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- ENHANCED PRODUCT LOADING STATE & SKELETON CARDS --- */
.products-loading-wrapper {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.products-loading-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, var(--navy) 50%, var(--red) 100%);
    background-size: 200% 100%;
    animation: loadingBarGradient 2s linear infinite;
}

@keyframes loadingBarGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.products-spinner-container {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.products-spinner-outer {
    position: absolute;
    inset: 0;
    border: 3.5px solid transparent;
    border-top-color: var(--red);
    border-right-color: var(--red);
    border-radius: 50%;
    animation: spin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    filter: drop-shadow(0 0 8px rgba(194, 38, 40, 0.4));
}

.products-spinner-inner {
    position: absolute;
    inset: 7px;
    border: 2.5px solid transparent;
    border-bottom-color: var(--navy-light);
    border-left-color: var(--navy-light);
    border-radius: 50%;
    animation: spinReverse 1.2s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.products-spinner-core {
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: pulseCore 1.2s ease-in-out infinite alternate;
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulseCore {
    0% { transform: scale(0.75); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 1; }
}

.products-loading-title {
    font-size: 1.05rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.products-loading-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.loading-dots span {
    animation: loadingDots 1.4s infinite fill-mode-both;
    display: inline-block;
    font-weight: bold;
    color: var(--red);
}
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes loadingDots {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

/* Skeleton Product Cards in Grid */
.product-skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.skeleton-shimmer {
    background: linear-gradient(90deg, 
        var(--bg-tertiary) 0%, 
        var(--bg-secondary) 50%, 
        var(--bg-tertiary) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.skeleton-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--border-radius-md);
}

.skeleton-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-title {
    height: 20px;
    width: 75%;
}

.skeleton-badge {
    height: 16px;
    width: 45%;
}

.skeleton-desc {
    height: 14px;
    width: 90%;
}

.skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.skeleton-btn {
    height: 36px;
    width: 120px;
    border-radius: 4px;
}

/* ============================================
   3-COLUMN PRODUCTS LAYOUT SYSTEM
   ============================================ */

.products-catalog-wrapper {
    width: 100%;
    max-width: 1780px;
    margin: 0 auto;
    padding: 0 16px;
    /* Minimal margin with screen edges */
}

/* Main Layout Grid */
.products-layout--3col {
    display: grid;
    grid-template-columns: 270px 1fr 270px;
    /* Equal dimensions for Brand (left) and Category (right) sidebars */
    gap: 24px;
    align-items: start;
    margin: 12px 0 60px;
}

/* Sidebars - General */
.products-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 12px);
    width: 100%;
    max-width: 270px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Sidebar Section Headers */
.sidebar-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.sidebar-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-section__title {
    font-size: 0.92rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-clear-btn {
    font-size: 0.72rem;
    font-weight: var(--font-weight-bold);
    color: var(--red);
    background: rgba(194, 38, 40, 0.08);
    border: 1px solid rgba(194, 38, 40, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-clear-btn:hover {
    background: var(--red);
    color: var(--white);
}

.sidebar-close-btn {
    display: none;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
}

/* Left Sidebar — Brand List (Compact Height) */
.sidebar-brand-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-brand-item:hover {
    border-color: var(--red-light);
    transform: translateX(3px);
    background: var(--bg-card-hover);
}

.sidebar-brand-item--active {
    border-color: var(--red) !important;
    background: rgba(194, 38, 40, 0.08) !important;
    box-shadow: 0 0 0 1px var(--red);
}

.sidebar-brand-item__logo {
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.sidebar-brand-item__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sidebar-brand-item__name {
    font-size: 0.82rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

/* Sidebar Enquiry Box (Compact) */
.sidebar-enquiry {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 14px 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.sidebar-enquiry__icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.sidebar-enquiry__title {
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 4px;
}

.sidebar-enquiry__text {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.35;
}

/* Right Sidebar — Category List (Compact & Symmetrical with Brand List) */
.sidebar-category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-category-item:hover {
    border-color: var(--red-light);
    transform: translateX(-3px);
    background: var(--bg-card-hover);
}

.sidebar-category-item__icon {
    width: 26px;
    height: 26px;
    font-size: 0.98rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .sidebar-category-item__icon {
    background: var(--bg-dark);
}

.category-card__title {
    font-size: 0.77rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card--active {
    border-color: var(--red) !important;
    background: rgba(194, 38, 40, 0.08) !important;
    box-shadow: 0 0 0 1px var(--red);
}

.category-card--matched {
    border-color: var(--green) !important;
    background: rgba(75, 158, 51, 0.06) !important;
}

.category-card--dimmed {
    opacity: 0.45;
}

/* Center Content Area */
.products-main {
    min-width: 0;
}

.products-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.products-main__title {
    font-size: 1.45rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin: 0;
}

/* Active Filters Bar */
.active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 12px;
}

.active-filters-bar__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.active-filters-label {
    font-size: 0.78rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.active-filters-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-dark);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--text-primary);
}

.active-filter-chip strong {
    color: var(--red);
}

.chip-remove {
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--red);
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    margin-left: 4px;
}

.chip-remove:hover {
    color: var(--red-dark);
}

.btn-clear-all-filters {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--red);
    background: rgba(194, 38, 40, 0.08);
    border: 1px solid rgba(194, 38, 40, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-all-filters:hover {
    background: var(--red);
    color: var(--white);
}

/* Expert CTA Banner */
.expert-cta {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--green);
    border-radius: var(--border-radius-lg);
    padding: 24px 28px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.expert-cta__icon {
    width: 48px;
    height: 48px;
    background: rgba(75, 158, 51, 0.12);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expert-cta__content {
    flex-grow: 1;
    min-width: 260px;
}

.expert-cta__title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.expert-cta__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mobile Controls & Responsive behavior */
.products-mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    flex-wrap: wrap;
}

.sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    flex: 0 1 auto;
}

.sidebar-toggle__left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sidebar-toggle__icon {
    font-size: 0.85rem;
    line-height: 1;
}

.sidebar-toggle__text {
    font-size: 0.78rem;
    white-space: nowrap;
}

.sidebar-toggle__badge {
    background: var(--red);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: var(--font-weight-bold);
    padding: 1px 6px;
    border-radius: 10px;
}

.mobile-quick-clear {
    flex-shrink: 0;
}

/* Toast Notifications for Products */
.products-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--navy-dark);
    color: var(--white);
    border-left: 4px solid var(--red);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.products-toast--visible {
    transform: translateY(0);
    opacity: 1;
}

/* Drawer Backdrop */
.products-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.products-drawer-backdrop--active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries */

/* Tablet & Medium Screen Breakpoint (< 1200px) */
@media (max-width: 1200px) {
    .products-catalog-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        padding: 0 16px !important;
    }

    .products-layout--3col {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .products-mobile-controls {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 12px 0 16px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-mobile-controls .sidebar-toggle {
        flex: 1 1 140px !important;
        max-width: 100% !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
        box-sizing: border-box !important;
    }

    /* Transform sidebars into off-canvas sliding drawers with visibility clipping */
    .products-sidebar--left,
    .products-sidebar--right {
        position: fixed !important;
        top: 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        width: 320px !important;
        max-width: 85vw !important;
        background: var(--bg-card) !important;
        z-index: 10000 !important;
        padding: 24px 20px !important;
        box-shadow: var(--shadow-lg) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .products-sidebar--left {
        left: 0 !important;
        transform: translateX(-105%) !important;
    }

    .products-sidebar--left.products-sidebar--open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .products-sidebar--right {
        right: 0 !important;
        transform: translateX(105%) !important;
    }

    .products-sidebar--right.products-sidebar--open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .sidebar-close-btn {
        display: block !important;
    }

    .sidebar-category-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    #products-grid,
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .product-card-header {
        display: flex !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .product-title-group {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .product-item-name {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        min-width: 0 !important;
    }

    .product-card-footer {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .category-chip {
        max-width: 100% !important;
        word-break: break-word !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .product-card-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn-product-action {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: 42px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* Small Tablet / Mobile (< 768px) */
@media (max-width: 768px) {
    .products-catalog-wrapper {
        padding: 0 12px !important;
    }

    .products-mobile-controls {
        flex-direction: row !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .products-mobile-controls .sidebar-toggle {
        flex: 1 1 130px !important;
        padding: 8px 10px !important;
        font-size: 0.76rem !important;
    }

    .products-section-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-search-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .products-search-input {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #products-grid,
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card-item {
        padding: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card-header {
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-brand-logo-wrap {
        width: 72px !important;
        height: 72px !important;
        flex-shrink: 0 !important;
    }

    .product-item-name {
        font-size: 1.02rem !important;
    }

    .product-card-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .btn-product-action {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 auto !important;
        min-height: 42px !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .btn-product-action svg {
        width: 15px !important;
        height: 15px !important;
    }

    .expert-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .products-catalog-wrapper {
        padding: 0 10px !important;
    }

    .product-card-item {
        padding: 14px !important;
    }

    .product-card-header {
        gap: 10px !important;
    }

    .product-brand-logo-wrap {
        width: 60px !important;
        height: 60px !important;
    }

    .btn-product-action {
        padding: 11px 14px !important;
        font-size: 0.85rem !important;
    }
}

/* Dark Theme Adjustments for 3-col layout */
[data-theme="dark"] .sidebar-section {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .sidebar-brand-item,
[data-theme="dark"] .sidebar-category-item {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .sidebar-brand-item__logo {
    background: var(--bg-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] .active-filters-bar {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .active-filter-chip {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .expert-cta {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* ==========================================================================
   CAREERS PAGE STYLES
   ========================================================================== */
.careers-apply-banner {
    background: linear-gradient(135deg, rgba(4, 59, 102, 0.08) 0%, rgba(194, 38, 40, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .careers-apply-banner {
    background: linear-gradient(135deg, rgba(4, 59, 102, 0.25) 0%, rgba(194, 38, 40, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.careers-apply-banner__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.careers-apply-banner__title {
    font-size: var(--text-xl);
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.careers-apply-banner__text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.careers-apply-banner__action {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-xs);
}

.careers-email-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    border: 1px dashed var(--red);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: monospace;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--red);
}

.job-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.job-card__header {
    margin-bottom: var(--space-md);
}

.job-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.job-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
}

.job-tag--red {
    background-color: rgba(194, 38, 40, 0.1);
    color: var(--red);
}

.job-tag--navy {
    background-color: rgba(4, 59, 102, 0.1);
    color: var(--navy);
}

[data-theme="dark"] .job-tag--navy {
    color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.15);
}

.job-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.job-card__location {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-card__body {
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.job-card__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.job-card__reqs-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.job-card__reqs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-card__reqs li {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.job-card__reqs li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--red);
    font-weight: bold;
}

.job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.benefit-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: var(--navy);
}

.benefit-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(194, 38, 40, 0.1) 0%, rgba(4, 59, 102, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.benefit-card__title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.benefit-card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.process-step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.process-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 10px rgba(4, 59, 102, 0.25);
}

.process-step-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.process-step-desc {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .careers-apply-banner {
        padding: var(--space-lg);
    }

    .careers-apply-banner__action {
        flex-direction: column;
        align-items: stretch;
    }

    .job-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .job-card__footer .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 26px rgba(37, 211, 102, 0.65);
    color: #ffffff !important;
}

.whatsapp-float__badge {
    position: absolute;
    right: 70px;
    background: #043B66;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float__badge {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    .whatsapp-float__badge {
        display: none;
    }
}

/* ============================================
   CAREERS PAGE ENHANCEMENTS
   ============================================ */

/* Hero Text Clarity & Selection Fix */
.page-hero {
    position: relative;
    user-select: text;
    -webkit-user-select: text;
}

.page-hero__bg {
    pointer-events: none !important;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
}

.page-hero .breadcrumb {
    padding: 0 0 var(--space-md) 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
    color: var(--red);
}

.page-hero .breadcrumb__separator {
    margin: 0 var(--space-sm);
    color: rgba(255, 255, 255, 0.4);
}

.page-hero .breadcrumb__current {
    color: var(--white);
    font-weight: 600;
}

/* Hiring Process Stepper Row - Single Row Layout */
.process-steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    position: relative;
    margin-top: var(--space-lg);
}

.process-steps-row .process-step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-steps-row .process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy);
}

@media (max-width: 992px) {
    .process-steps-row {
        display: flex;
        overflow-x: auto;
        padding-bottom: var(--space-md);
        gap: var(--space-md);
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .process-steps-row .process-step-card {
        flex: 0 0 220px;
        min-width: 220px;
        scroll-snap-align: start;
    }
}

/* Jobs Grid Dynamic Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-xl);
}

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

.job-card__img-wrap {
    width: 100%;
    height: 170px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background-color: var(--bg-tertiary);
}

.job-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-card:hover .job-card__img {
    transform: scale(1.04);
}

/* How to Apply Section in Job Card */
.job-card__apply-section {
    margin-top: var(--space-md);
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-sm);
}

.job-card__apply-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

[data-theme="dark"] .job-card__apply-heading {
    color: #60a5fa;
}

.job-card__apply-text {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.job-card__apply-list {
    list-style: decimal;
    padding-left: 18px;
    margin: 0;
}

.job-card__apply-list li {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}

/* ============================================
   BLOG READER AUTHENTICATION & LOCK STYLES
   ============================================ */

/* Reader Status Card in Hero */
.reader-status-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.reader-status-card--locked {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.reader-status-card--unlocked {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.reader-status-card__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.reader-status-card__info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reader-status-card__icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.reader-status-card__title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.reader-status-card__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.reader-badge-name {
    color: #38bdf8;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Reader Auth Modal Tabs */
.reader-auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    margin: 0 -24px 20px -24px;
    padding: 0 24px;
}

.reader-auth-tab {
    flex: 1;
    padding: 14px 16px;
    font-size: var(--text-sm);
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.reader-auth-tab:hover {
    color: var(--text-primary);
}

.reader-auth-tab--active {
    color: var(--red);
    border-bottom-color: var(--red);
    background: var(--bg-card);
}

.auth-switch-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.auth-switch-footer a {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
}

/* Blog Cards Locked UI */
.blog-card--locked .blog-card__media {
    position: relative;
}

.blog-card__lock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card__lock-badge--unlocked {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
}

.blog-card__lock-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 3;
}

.blog-card:hover .blog-card__lock-media-overlay {
    opacity: 1;
}

.blog-lock-media-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.blog-lock-media-text {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 12px;
    border-radius: 12px;
}

.blog-card__read-btn--locked {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Reader Modal Gated Locked State */
.reader-body-content--blurred {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
    max-height: 180px;
    overflow: hidden;
}

.reader-locked-content-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px dashed #f59e0b;
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    text-align: center;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.reader-locked-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: pulseLock 2s infinite ease-in-out;
}

@keyframes pulseLock {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.reader-locked-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reader-locked-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.reader-locked-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.reader-locked-perks {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}