/* ========================================
   ELECTRONIC COMPONENTS - Main Stylesheet
   Professional Electronics Distributor
   ======================================== */

:root {
    --primary: #0A2540;
    --primary-light: #1A3A5C;
    --accent: #00A4E4;
    --accent-dark: #0085BD;
    --secondary: #FF6B35;
    --success: #00C853;
    --warning: #FFB300;
    --dark: #0A2540;
    --light: #F6F9FC;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #5A6B7B;
    --text-muted: #8B9AA8;
    --border: #E3E8EE;
    --border-light: #F0F4F8;
    --shadow-sm: 0 1px 3px rgba(10,37,64,0.08);
    --shadow: 0 4px 12px rgba(10,37,64,0.12);
    --shadow-lg: 0 8px 24px rgba(10,37,64,0.16);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); line-height: 1.6; color: var(--text); background: var(--white); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 0;
    font-size: 0.8rem;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    gap: 1.5rem;
}
.top-bar-left a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.top-bar-left a:hover { color: var(--white); }
.top-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.top-bar-right a {
    color: rgba(255,255,255,0.8);
}
.top-bar-right a:hover { color: var(--white); }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
#mainNav {
    background: var(--white);
    padding: 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}
#mainNav.scrolled {
    box-shadow: var(--shadow);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img {
    height: 42px;
    width: auto;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Box */
.nav-search {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}
.search-box {
    position: relative;
    display: flex;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    outline: none;
}
.search-box input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover {
    background: var(--accent-dark);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text);
    font-size: 0.75rem;
    position: relative;
}
.nav-action i {
    font-size: 1.1rem;
}
.nav-action:hover {
    color: var(--accent);
}
.nav-action .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
}

/* Main Nav Links */
.main-nav {
    background: var(--primary);
    padding: 0;
}
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-links > li {
    position: relative;
}
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.9);
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-link.active,
.nav-links > li.active > a {
    color: var(--white) !important;
    background: var(--primary-light) !important;
    opacity: 1 !important;
}
.nav-links > li > a i {
    font-size: 0.7rem;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    border-top: 3px solid var(--accent);
}
.nav-links > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}
.dropdown-menu a:hover,
.dropdown-menu a.active,
.dropdown-item.active {
    background: var(--light);
    color: var(--accent);
}
.dropdown-menu a i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile Toggle */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(0,164,228,0.1)"/><circle cx="90" cy="60" r="30" fill="rgba(0,164,228,0.05)"/></svg>');
    background-size: cover;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,164,228,0.2);
    border: 1px solid rgba(0,164,228,0.3);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-badge i {
    color: var(--success);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-title span {
    color: var(--accent);
}
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}
.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Hero Image/Graphic */
.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SECTIONS
   ======================================== */
.section-padding { padding: 4rem 0; }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CATEGORY GRID
   ======================================== */
.category-section {
    background: var(--light);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.category-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}
.category-card:hover .category-icon {
    background: var(--accent);
    color: var(--white);
}
.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.category-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-section {
    background: var(--white);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.product-image {
    position: relative;
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: var(--success);
    color: var(--white);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}
.product-badge.stock-low {
    background: var(--warning);
    color: var(--text);
}
.product-badge.new {
    background: var(--accent);
}
.product-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}
.product-action-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}
.product-action-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.product-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-sku {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.7em;
}
.product-title a:hover {
    color: var(--accent);
}
.product-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 3.8em;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.product-spec {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--light);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}
.product-footer .btn-primary {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.product-price {
    display: flex;
    flex-direction: column;
}
.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-add-cart:hover {
    background: var(--accent-dark);
}

/* ========================================
   COMPONENT CATALOG PAGES
   ======================================== */
.product-list-banner .page-banner-bg {
    background: linear-gradient(135deg, #0a2540 0%, #123b63 58%, #0f5f8f 100%);
}
.catalog-section,
.component-detail-section {
    background: #f6f8fb;
}
.catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.catalog-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
}
.catalog-panel,
.component-gallery,
.component-summary,
.component-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.catalog-panel {
    padding: 1.25rem;
}
.catalog-panel-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.catalog-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}
.catalog-nav a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
}
.catalog-nav a:hover,
.catalog-nav li.active a {
    background: rgba(0, 164, 228, 0.1);
    color: var(--accent);
}
.catalog-help p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}
.panel-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.catalog-toolbar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.catalog-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
}
.results-count {
    color: var(--text-secondary);
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    white-space: nowrap;
}
.catalog-grid,
.related-component-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.catalog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.catalog-card-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}
.catalog-card-image img {
    width: 76%;
    height: 76%;
    object-fit: contain;
    object-position: center;
}
.catalog-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
}
.catalog-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.catalog-sku {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}
.catalog-card-title {
    min-height: 3em;
    margin: 0 0 0.55rem;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 700;
}
.catalog-card-title a {
    color: var(--text);
}
.catalog-card-title a:hover {
    color: var(--accent);
}
.catalog-card-desc {
    min-height: 4.2em;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}
.catalog-card-meta span {
    color: var(--text-secondary);
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.28rem 0.5rem;
    font-size: 0.73rem;
}
.catalog-card-meta i {
    color: var(--success);
}
.catalog-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}
.catalog-card-actions .btn-primary,
.catalog-card-actions .btn-outline {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}
.catalog-pagination {
    margin-top: 2rem;
}
.catalog-empty {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-secondary);
}
.catalog-empty i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.catalog-support,
.related-components-section {
    background: var(--white);
    padding: 3rem 0;
}
.support-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.support-strip h2 {
    margin: 0;
    font-size: 1.4rem;
}
.support-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.support-points span {
    background: var(--light);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.7rem;
    font-weight: 600;
}
.support-points i {
    color: var(--accent);
    margin-right: 0.35rem;
}
.detail-breadcrumb {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.component-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.component-gallery {
    padding: 1rem;
}
.component-main-image {
    min-height: 360px;
    background: var(--light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.component-main-image img {
    width: 78%;
    height: 78%;
    max-height: 310px;
    object-fit: contain;
    object-position: center;
}
.component-thumb-row {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.65rem;
}
.component-thumb {
    width: 72px;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    cursor: pointer;
}
.component-thumb.active {
    border-color: var(--accent);
}
.component-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.component-summary {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.component-title {
    margin: 0.35rem 0 0.75rem;
    color: var(--text);
    font-size: 2rem;
    line-height: 1.2;
}
.component-subtitle {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.component-key-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 0.5rem 0 1.1rem;
}
.component-key-meta div {
    padding: 0.85rem;
    border-right: 1px solid var(--border);
    background: #fbfcfe;
}
.component-key-meta div:last-child {
    border-right: 0;
}
.component-key-meta span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
}
.component-key-meta strong {
    color: var(--text);
    font-size: 0.92rem;
}
.component-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.4rem 0 1.1rem;
}
.component-actions .btn-primary,
.component-actions .btn-outline {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
}
.component-assurance {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.component-assurance span {
    color: var(--text-secondary);
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.65rem;
    font-weight: 600;
    font-size: 0.85rem;
}
.component-assurance i {
    color: var(--accent);
}
.component-info-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 1.5rem;
    align-items: start;
}
.component-panel {
    padding: 1.35rem;
}
.component-panel-head {
    margin-bottom: 1rem;
}
.component-panel-head h2 {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
}
.component-richtext {
    color: var(--text-secondary);
    line-height: 1.75;
}
.component-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.component-richtext td,
.component-richtext th {
    border: 1px solid var(--border);
    padding: 0.7rem;
    vertical-align: top;
}
.component-richtext tr:nth-child(odd) td {
    background: #fbfcfe;
}
.component-spec-panel .btn-primary {
    margin-top: 0.5rem;
}
.related-component-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .related-component-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .catalog-layout,
    .component-detail-grid,
    .component-info-grid {
        grid-template-columns: 1fr;
    }
    .catalog-sidebar {
        position: static;
    }
    .component-key-meta {
        grid-template-columns: 1fr;
    }
    .component-key-meta div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .component-key-meta div:last-child {
        border-bottom: 0;
    }
}
@media (max-width: 575px) {
    .catalog-toolbar,
    .support-strip {
        align-items: flex-start;
        flex-direction: column;
    }
    .catalog-grid,
    .related-component-grid {
        grid-template-columns: 1fr;
    }
    .catalog-card-actions {
        grid-template-columns: 1fr;
    }
    .component-title {
        font-size: 1.5rem;
    }
    .component-main-image {
        min-height: 260px;
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    background: var(--primary);
    color: var(--white);
}
.features-section .section-title {
    color: var(--white);
}
.features-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-card {
    text-align: center;
    padding: 1.5rem;
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,164,228,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--accent);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}
.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.feature-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.brand-item {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}
.brand-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.brand-item img {
    height: 40px;
    width: auto;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-text {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}
.footer-brand {
    margin-bottom: 1rem;
}
.footer-logo {
    height: 40px;
    margin-bottom: 0.75rem;
}
.footer-desc {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: var(--white);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-contact i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.footer-newsletter {
    margin-top: 1rem;
}
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}
.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 0.6rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}
.newsletter-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form button:hover {
    background: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}
.footer-payments {
    display: flex;
    gap: 0.75rem;
}
.payment-icon {
    height: 28px;
    opacity: 0.7;
}

/* ========================================
   INNER PAGES
   ======================================== */
.page-banner {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
}
.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.page-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.exp-years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

@media (max-width: 991px) {
    .page-title { font-size: 2.2rem; }
    .experience-badge {
        position: static;
        margin-top: 2rem;
        right: 0;
        bottom: 0;
    }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

/* ========================================
   PAGE BANNER
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}
.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}
.page-breadcrumb a {
    color: rgba(255,255,255,0.8);
}
.page-breadcrumb a:hover {
    color: var(--accent);
}
.page-breadcrumb .separator {
    margin: 0 0.5rem;
}

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

@media (max-width: 991px) {
    .top-bar { display: none; }
    .nav-search { display: none; }
    .navbar-toggler { display: block; }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: var(--transition);
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .nav-links {
        flex-direction: column;
    }
    .nav-links > li > a {
        color: var(--text);
        border-bottom: 1px solid var(--border);
    }
    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        background: var(--light);
        color: var(--accent);
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--accent);
        border-radius: 0;
        display: none;
    }
    .nav-links > li:hover > .dropdown-menu {
        display: block;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .section-padding { padding: 3rem 0; }
    .hero-section { padding: 3rem 0; }
    .hero-title { font-size: 1.75rem; }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
