/* ============================================
   UK VALVES DIRECT LTD — DESIGN SYSTEM
   ============================================ */

:root {
    /* Color Palette - Clean B2B E-commerce */
    --color-bg-body: #f4f6f8;
    --color-bg-white: #ffffff;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-border: #e0e4e8;
    
    /* Brand Colors */
    --color-brand-blue: #000080;
    --color-brand-blue-hover: #000066;
    --color-brand-blue-dark: #00004d;
    --color-accent-orange: #f26522;
    --color-accent-orange-hover: #d95618;
    --color-success: #2e8b57;
    --color-warning: #e6a817;
    --color-danger: #dc3545;
    
    /* Typography */
    --font-main: 'Roboto', Arial, sans-serif;
    
    /* Layout */
    --container-width: 1400px;
    --border-radius: 4px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--color-accent-orange);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   UTILITY BAR
   ============================================ */
.utility-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 5px 0;
}

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

.utility-left span {
    margin-right: 20px;
}

.utility-left i {
    color: var(--color-brand-blue);
    margin-right: 5px;
}

.utility-right a {
    color: var(--color-text-light);
    margin-left: 15px;
}

.utility-right a:hover {
    color: var(--color-brand-blue);
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    background-color: var(--color-bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-brand-blue-dark);
    flex-shrink: 0;
}

.brand-logo:hover {
    color: var(--color-brand-blue-dark);
}

.logo-icon {
    background-color: var(--color-brand-blue);
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
    letter-spacing: 1.5px;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    height: 42px;
    border: 2px solid var(--color-brand-blue);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-category {
    background-color: #f1f5f9;
    border: none;
    border-right: 1px solid #ccc;
    padding: 0 15px;
    color: var(--color-text-main);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.search-form input[type="text"] {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

.search-form button {
    background-color: var(--color-brand-blue);
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background var(--transition-fast);
}

.search-form button:hover {
    background-color: var(--color-brand-blue-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-main);
    text-decoration: none;
}

.header-btn i {
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.header-btn span {
    font-size: 0.85rem;
    line-height: 1.2;
}

.header-btn strong {
    font-size: 0.95rem;
    color: var(--color-brand-blue-dark);
}

.header-btn:hover i, .header-btn:hover strong {
    color: var(--color-accent-orange);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--color-accent-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.main-nav {
    background-color: var(--color-brand-blue-dark);
    color: white;
    border-bottom: 3px solid var(--color-accent-orange);
}

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

.nav-links {
    display: flex;
}

.nav-links li > a {
    display: block;
    color: white;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background var(--transition-fast);
}

.nav-links li:first-child > a {
    border-left: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(255,255,255,0.1);
}

.nav-links li > a:hover, .nav-links li > a.active {
    background-color: var(--color-brand-blue);
    color: white;
}

.highlight-link > a {
    color: #ffcc00 !important;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--color-brand-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-brand-blue-hover);
    color: white;
}

.btn-action {
    background-color: var(--color-accent-orange);
    color: white;
}

.btn-action:hover {
    background-color: var(--color-accent-orange-hover);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-brand-blue);
    color: var(--color-brand-blue);
}

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

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

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

/* ============================================
   PAGE LAYOUT (sidebar + content)
   ============================================ */
.page-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-block {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-block h3 {
    background-color: #f8f9fa;
    padding: 12px 15px;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-brand-blue-dark);
}

.sidebar-block h3 i {
    margin-right: 8px;
    color: var(--color-brand-blue);
}

.category-list li {
    border-bottom: 1px solid var(--color-border);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.category-list a:hover {
    background-color: #f1f5f9;
    color: var(--color-brand-blue);
}

.category-list a span {
    color: var(--color-text-light);
    font-size: 0.8rem;
}

.info-block {
    padding-bottom: 15px;
}

.info-block p {
    padding: 15px 15px 5px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.info-block strong {
    display: block;
    padding: 0 15px;
    font-size: 1.2rem;
    color: var(--color-brand-blue-dark);
}

/* Main Content Area */
.main-content {
    flex: 1;
    min-width: 0;
}

/* ============================================
   CONTENT PAGE (full-width, no sidebar)
   ============================================ */
.content-page {
    max-width: 1100px;
    margin: 30px auto 50px;
    padding: 0 15px;
}

.page-hero {
    background: linear-gradient(135deg, var(--color-brand-blue-dark) 0%, var(--color-brand-blue) 100%);
    color: white;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

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

.content-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 25px;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-border);
}

.content-card h3 {
    font-size: 1.15rem;
    color: var(--color-brand-blue-dark);
    margin: 20px 0 10px;
}

.content-card p {
    margin-bottom: 12px;
    color: var(--color-text-main);
    line-height: 1.7;
}

.content-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.content-card ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */
.promo-banner {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-brand-blue);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text h2 {
    font-size: 1.8rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 10px;
}

.promo-text p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    max-width: 600px;
}

.promo-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-badges .badge {
    background-color: #f1f5f9;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title {
    font-size: 1.4rem;
    color: var(--color-brand-blue-dark);
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Stats Counter Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.stat-item i {
    font-size: 2rem;
    color: var(--color-brand-blue);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-brand-blue-dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-box {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    color: inherit;
    display: flex;
    flex-direction: column;
}

.category-box:hover {
    border-color: var(--color-brand-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.category-image-placeholder {
    height: 140px;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 3rem;
}

.category-image-placeholder span {
    font-size: 0.8rem;
    margin-top: 10px;
    font-weight: bold;
    color: #94a3b8;
    text-transform: uppercase;
}

.category-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-info h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-brand-blue-dark);
}

.view-link {
    font-size: 0.85rem;
    color: var(--color-brand-blue);
    font-weight: bold;
}

/* ============================================
   PRODUCT LISTING
   ============================================ */
.product-row {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-row:hover {
    border-color: var(--color-brand-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.prod-img-placeholder {
    width: 80px;
    height: 80px;
    background-color: #f1f5f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #cbd5e1;
    flex-shrink: 0;
    overflow: hidden;
}

.prod-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.prod-details {
    flex: 1;
}

.prod-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    margin-bottom: 5px;
    display: block;
}

.prod-sku {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 5px;
}

.prod-stock {
    font-size: 0.85rem;
    font-weight: bold;
}

.in-stock {
    color: var(--color-success);
}

.low-stock {
    color: var(--color-warning);
}

.out-of-stock {
    color: var(--color-danger);
}

.prod-price-action {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.prod-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-brand-blue-dark);
}

.prod-price small {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--color-text-light);
}

.qty-add {
    display: flex;
    gap: 10px;
}

.qty-input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    text-align: center;
    font-size: 0.95rem;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
    background: var(--color-bg-white);
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.product-gallery {
    flex: 1;
    max-width: 500px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f8f9fa;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    background-color: #f1f5f9;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.thumb:hover, .thumb.active {
    border-color: var(--color-brand-blue);
}

.product-info {
    flex: 2;
}

.product-info h1 {
    font-size: 2rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-meta .in-stock {
    color: var(--color-success);
    font-weight: bold;
}

.pricing-box {
    background-color: #f8f9fa;
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

.main-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-brand-blue-dark);
    display: block;
    margin-bottom: 5px;
}

.main-price small {
    font-size: 1rem;
    font-weight: normal;
    color: var(--color-text-light);
}

.bulk-pricing {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.85rem;
}

.bulk-pricing th, .bulk-pricing td {
    padding: 8px 10px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.bulk-pricing th {
    background-color: #e2e8f0;
    color: var(--color-text-main);
}

.bulk-pricing td {
    background-color: white;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
}

.add-to-cart-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-box input {
    width: 80px;
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
}

.btn-add-cart {
    flex: 1;
    background-color: var(--color-accent-orange);
    color: white;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-cart:hover {
    background-color: var(--color-accent-orange-hover);
}

/* Tabs */
.specs-tabs {
    margin-top: 40px;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-light);
    cursor: pointer;
    margin-bottom: -2px;
    transition: color var(--transition-fast);
    font-family: var(--font-main);
}

.tab-btn.active {
    color: var(--color-brand-blue-dark);
    border-bottom: 3px solid var(--color-brand-blue);
}

.tab-btn:hover {
    color: var(--color-brand-blue);
}

.tab-content {
    display: none;
    line-height: 1.6;
}

.tab-content.active {
    display: block;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-border);
}

.tech-table tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.tech-table td:first-child {
    font-weight: bold;
    width: 30%;
    color: var(--color-brand-blue-dark);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--color-danger);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: border-color var(--transition-fast);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-brand-blue);
    box-shadow: 0 0 0 3px rgba(13, 82, 161, 0.1);
}

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

select.form-control {
    cursor: pointer;
}

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

.form-help {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ============================================
   TABLES (general purpose)
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.data-table th {
    background-color: var(--color-brand-blue-dark);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.data-table tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.data-table tr:hover td {
    background-color: #eef2f7;
}

/* Compact table variant */
.data-table-compact th, .data-table-compact td {
    padding: 8px 10px;
    font-size: 0.85rem;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card-icon {
    height: 120px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-brand-blue);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.1rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.accordion {
    margin-bottom: 10px;
}

.accordion-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-header i {
    transition: transform var(--transition-med);
    color: var(--color-brand-blue);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med);
}

.accordion-body-inner {
    padding: 0 20px 20px;
    color: var(--color-text-main);
    line-height: 1.7;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

/* ============================================
   ICON FEATURE BOXES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--color-brand-blue);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.05rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-brand-blue);
}

/* ============================================
   BRAND GRID
   ============================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brand-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-card:hover {
    border-color: var(--color-brand-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.brand-card i {
    font-size: 2.5rem;
    color: var(--color-brand-blue);
    margin-bottom: 12px;
}

.brand-card h4 {
    font-size: 0.95rem;
    color: var(--color-brand-blue-dark);
    margin-bottom: 5px;
}

.brand-card p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ============================================
   COMPATIBILITY TABLE
   ============================================ */
.compat-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.compat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 700px;
}

.compat-table th, .compat-table td {
    padding: 8px 6px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.compat-table th {
    background-color: var(--color-brand-blue-dark);
    color: white;
    font-size: 0.75rem;
    position: sticky;
    top: 0;
}

.compat-table td:first-child {
    text-align: left;
    font-weight: bold;
    background: #f8f9fa;
    position: sticky;
    left: 0;
    min-width: 150px;
}

.compat-a { background-color: #d4edda; color: #155724; font-weight: bold; }
.compat-b { background-color: #fff3cd; color: #856404; font-weight: bold; }
.compat-c { background-color: #f8d7da; color: #721c24; font-weight: bold; }

/* ============================================
   SEARCH AUTOCOMPLETE
   ============================================ */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background-color: #f1f5f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-med);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right var(--transition-med);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-brand-blue-dark);
    color: white;
}

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

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-text-main);
    display: flex;
    justify-content: space-between;
}

.cart-item-remove {
    color: red;
    font-size: 0.8rem;
    cursor: pointer;
    background: none;
    border: none;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--color-border);
    background: #f8f9fa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-brand-blue-dark);
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    background-color: var(--color-success);
    color: white;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

.btn-checkout:hover {
    background-color: #246e45;
}

.empty-cart-msg {
    text-align: center;
    color: var(--color-text-light);
    margin-top: 50px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #212529;
    color: #f8f9fa;
    padding-top: 50px;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #495057;
    padding-bottom: 10px;
}

.footer-col p {
    color: #adb5bd;
    font-size: 0.9rem;
}

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

.footer-col a {
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #ced4da;
}

.footer-bottom {
    background-color: #121416;
    padding: 20px 0;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .header-grid {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li > a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hamburger {
        display: block;
    }
    
    .page-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .product-detail-layout {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .utility-bar {
        display: none;
    }
    
    .header-actions .header-btn span {
        display: none;
    }
    
    .search-category {
        display: none;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-row {
        flex-direction: column;
        text-align: center;
    }
    
    .prod-price-action {
        align-items: center;
        text-align: center;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .page-hero {
        padding: 30px 20px;
    }
    
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

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

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
    }
}

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

    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .add-to-cart-box {
        flex-direction: column;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-brand-blue-dark);
    color: #f8f9fa;
    z-index: 9999;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-banner.cookie-banner-hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-banner-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-inner p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: #ced4da;
}

.cookie-banner-inner p i {
    color: var(--color-accent-orange);
    margin-right: 5px;
}

.cookie-banner-inner p a {
    color: white;
    text-decoration: underline;
}

.cookie-banner-inner p a:hover {
    color: var(--color-accent-orange);
}

.cookie-accept-btn {
    background-color: var(--color-accent-orange);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast);
    font-family: var(--font-main);
}

.cookie-accept-btn:hover {
    background-color: var(--color-accent-orange-hover);
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Technical Help Pre-Footer CTA */
.pre-footer-cta {
    background-color: var(--color-brand-blue-dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 5px solid var(--color-brand-blue);
}

.pre-footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.pre-footer-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.pre-footer-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pre-footer-actions .btn {
    min-width: 180px;
    font-weight: 600;
}

/* =========================================
   KNOWLEDGE BASE (KB) COMPONENTS
   ========================================= */

.kb-trust-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--color-brand-blue);
    padding: 25px;
    margin: 40px 0;
    border-radius: 4px;
}

.kb-trust-block h3 {
    margin-top: 0;
    color: var(--color-brand-blue-dark);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.kb-version-badge {
    display: inline-block;
    background: var(--color-brand-blue);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.kb-trust-block p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #495057;
}

.kb-trust-block h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #343a40;
}

.kb-sources-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.kb-sources-list li {
    margin-bottom: 5px;
}

.kb-comparison-table {
    width: 100%;
    margin: 30px 0;
}

.kb-comparison-table th {
    background-color: var(--color-brand-blue);
    color: white;
    text-align: left;
}

.kb-comparison-table td:first-child {
    font-weight: 600;
    background-color: #f8f9fa;
    width: 30%;
}

.kb-diagram-container {
    margin: 40px 0;
    text-align: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.kb-diagram-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.kb-diagram-container figcaption {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.kb-related-products {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 4px;
    margin: 30px 0;
    border-left: 4px solid var(--color-brand-blue);
}

.kb-related-products h3 {
    margin-top: 0;
    color: var(--color-brand-blue-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.kb-related-products p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.kb-related-guides {
    margin: 30px 0;
    padding: 20px;
    background: #fdfdfd;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.kb-related-guides h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-brand-blue);
    padding-bottom: 10px;
    display: inline-block;
}

.kb-related-guides ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kb-related-guides li {
    margin-bottom: 10px;
}

.kb-related-guides li:last-child {
    margin-bottom: 0;
}

.kb-related-guides li a {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: var(--color-brand-blue-dark);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kb-related-guides li a:hover {
    background: var(--color-brand-blue);
    color: #fff;
    border-color: var(--color-brand-blue);
    transform: translateX(5px);
}
