/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4c2bd8;
    --secondary-color: #381fad;
    --text-color: #181d27;
    --text-light: #535862;
    --bg-light: #fafafa;
    --bg-white: #ffffff;
    --border-color: #d5d7da;
    --footer-bg: #171717;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}
body, h1, h2, h3, h4, h5, h6 {
    color: #535862;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
}

.logo svg, .logo img {
    display: block;
    height: 30px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 4px;
    background: var(--text-color);
    display: block;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-bottom: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 1.35rem;
    transition: transform 0.3s;
    display: inline-block;
    opacity: 0.7;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 85%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: none;
    min-width: 700px;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    display: grid;
}

.dropdown-column h4 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-column a {
    display: block;
    padding: 0.4rem 0;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.dropdown-column a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.search-btn,
.cart-btn,
.quote-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.search-btn {
    padding: 0.5rem;
}

.search-btn:hover {
    color: var(--primary-color);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cart-btn:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.cart-total {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.cart-btn svg {
    fill: currentColor;
    stroke: none;
}

.cart_count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    right: 5px;
    min-width: 18px;
}

.cart_box {
    min-width: 300px;
}

.cart-btn {
    font-size: 0.875rem;
    padding: 0;
}

.cart-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-cart:after,.ast-site-header-cart .ast-addon-cart-wrap .count,.ast-site-header-cart .ast-cart-menu-wrap .count,.ast-site-header-cart .ast-cart-menu-wrap .count:after {
        color: var(--ast-global-color-2);
        border-color: var(--ast-global-color-2)
    }

    .ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-cart:after {
        color: #fff;
        background-color: var(--ast-global-color-2)
    }

    .ast-site-header-cart .ast-woo-header-cart-info-wrap {
        color: var(--ast-global-color-2)
    }

    .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
        color: #fff;
        background-color: var(--ast-global-color-2)
    }

    .ast-icon-shopping-cart .ast-icon svg {
        height: 18px;
        width: 18px
    }

    i.astra-icon.ast-icon-shopping-cart {
        font-size: 18px
    }

    .ast-site-header-cart a.cart-container * {
        transition: none
    }

    .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after,.ast-theme-transparent-header .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after {
        color: #fff
    }

    .ast-desktop-cart-flyout.ast-site-header-cart:focus .widget_shopping_cart,.ast-desktop-cart-flyout.ast-site-header-cart:hover .widget_shopping_cart {
        opacity: 0;
        visibility: hidden
    }

    .ast-desktop .astra-cart-drawer {
        width: 35%
    }

    .ast-site-header-cart .ast-addon-cart-wrap,.ast-site-header-cart .ast-cart-menu-wrap {
        color: var(--ast-global-color-2)
    }

    .ast-menu-cart-outline .ast-addon-cart-wrap {
        color: var(--ast-global-color-2)
    }

    .ast-site-header-cart .ast-menu-cart-outline .ast-woo-header-cart-info-wrap {
        color: var(--ast-global-color-2)
    }

    .ast-site-header-cart.ast-menu-cart-fill .ast-addon-cart-wrap,.ast-site-header-cart.ast-menu-cart-fill .ast-cart-menu-wrap,.ast-site-header-cart.ast-menu-cart-fill .ast-cart-menu-wrap .count,.ast-site-header-cart.ast-menu-cart-fill .ast-woo-header-cart-info-wrap,.ast-site-header-cart.ast-menu-cart-outline .ast-addon-cart-wrap,.ast-site-header-cart.ast-menu-cart-outline .ast-cart-menu-wrap,.ast-site-header-cart.ast-menu-cart-outline .ast-cart-menu-wrap .count,.ast-site-header-cart.ast-menu-cart-outline .ast-woo-header-cart-info-wrap {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0
    }

    .ast-site-header-cart .cart-container:hover .count {
        color: #fff
    }

    .ast-menu-cart-fill .ast-site-header-cart-li:hover .ast-addon-cart-wrap,.ast-menu-cart-fill .ast-site-header-cart-li:hover .ast-addon-cart-wrap .ast-woo-header-cart-info-wrap,.ast-menu-cart-fill .ast-site-header-cart-li:hover .ast-addon-cart-wrap i.astra-icon:after,.ast-menu-cart-fill .ast-site-header-cart-li:hover .ast-cart-menu-wrap,.ast-menu-cart-fill .ast-site-header-cart-li:hover .ast-cart-menu-wrap .count {
        background-color: var(--ast-global-color-1);
        color: #fff
    }

    .ast-menu-cart-outline .ast-site-header-cart-li:hover .ast-addon-cart-wrap,.ast-site-header-cart .ast-site-header-cart-li:hover .ast-cart-menu-wrap .count {
        border-color: var(--ast-global-color-1)
    }

    .ast-menu-cart-outline .ast-site-header-cart-li:hover .ast-addon-cart-wrap,.ast-site-header-cart.ast-menu-cart-outline .ast-site-header-cart-li:hover .ast-cart-menu-wrap .count {
        color: var(--ast-global-color-1)
    }

    .ast-site-header-cart .ast-site-header-cart-li:hover .ast-addon-cart-wrap i.astra-icon:after {
        color: #fff;
        background-color: var(--ast-global-color-1)
    }

    .ast-menu-cart-outline .ast-site-header-cart-li:hover .ast-addon-cart-wrap .astra-icon,.ast-site-header-cart .ast-site-header-cart-li:hover .ast-addon-cart-wrap,.ast-site-header-cart-li:hover .ast-woo-header-cart-info-wrap {
        color: var(--ast-global-color-1)
    }

    .ast-site-header-cart .ast-site-header-cart-li:hover .ast-addon-cart-wrap .count,.ast-site-header-cart .ast-site-header-cart-li:hover .ast-cart-menu-wrap .count:after {
        color: var(--ast-global-color-1);
        border-color: var(--ast-global-color-1)
    }

    .ast-site-header-cart.ast-menu-cart-fill .ast-site-header-cart-li:hover .astra-icon {
        color: #fff
    }

    .ast-addon-cart-wrap,.cart-container {
        display: flex;
        align-items: center
    }

    .astra-icon {
        line-height: .1
    }

    @media (min-width: 769px) and (max-width:1175px) {
        .ast-cart-tablet-position-left .ast-woo-header-cart-info-wrap {
            margin-right:.5em
        }

        .woocommerce-page.tablet-columns-3 ul.products:not(.elementor-grid),.woocommerce.tablet-columns-3 ul.products li.product {
            grid-template-columns: repeat(3,minmax(0,1fr))
        }
    }

    .ast-site-header-cart .widget_shopping_cart:after,.ast-site-header-cart .widget_shopping_cart:before {
        transition: all .3s ease;
        margin-left: .5em
    }

    .ast-header-woo-cart {
        display: flex
    }
.quote-btn {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 0.875rem;
}

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

/* Hero Section */
.hero {
    background: #171717;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    gap: 3rem;
    align-items: center;
    max-width: 50%;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a4a7ae;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.625rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: var(--bg-light);
    padding: 3rem 0 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.section-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(76, 43, 216, 0.1);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(76, 43, 216, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-card .btn {
    width: 100%;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-link:hover {
    text-decoration: underline;
}

.required {
    color: #e53935;
}

/* Contact Form */
.contact-form-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.form-container {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 43, 216, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.privacy-notice {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.privacy-notice a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer strong {
    color: var(--text-color);
    display: block;
    margin-top: 0.75rem;
}

/* Server Brands Section */
.server-brands {
    background: var(--bg-white);
}

.brands-grid {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand-card {
    background: #4c2bd8;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.brand-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-icon {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Manufacturers Section */
.manufacturers {
    background: var(--bg-light);
}

.manufacturers-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.manufacturer-logo {
    font-size: 2rem;
    font-weight: 700;
    transition: opacity 0.3s;
    box-shadow: 0 0 #00000070;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #e0e0e0;
    min-height: 160px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    row-gap: 20px;
    display: flex;
}

.manufacturer-logo:hover {
    opacity: 1;
}
.manufacturer-logo img {
    object-fit: contain;
    width: 300px;
    height: 100px;
}

/* Why Us Section */
.why-us {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 3px 8px 12px 0 #00000070;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 55px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

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

/* Industries Section */
.industries {
    background: linear-gradient(265deg, rgb(76, 43, 216) 0%, rgb(46, 26, 100) 97%);
}
.industries .section-title{
    color: #fff;
}
.industries .section-subtitle{
    color: #d1c4e9;
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.industry-card {
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.industry-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.industry-icon {
    margin-bottom: 1rem;
}
.industry-icon img{
    width: 55px;
}

.industry-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.industry-card p {
    color: #d1c4e9;
    font-size: 0.9rem;
}

/* Knowledge Hub Section */
.knowledge-hub {
    background: var(--bg-white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

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

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.article-content {
    padding: 1.5rem;
}

.article-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.article-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.article-content h4 a:hover {
    color: var(--primary-color);
}

.article-image-link {
    display: block;
}

.article-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.article-link:hover {
    color: var(--secondary-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-header h3 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    word-break: break-word;
    line-height: 1.3;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.product-desc {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

.product-card .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    text-align: center;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: var(--text-color);
}

.search-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-submit {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--secondary-color);
}

/* Filter Section */
.filter-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.filter-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 20px;
    background-color: #fdfdfd;
}

.filter-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.filter-group:last-child {
    /* border-bottom: none; */
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-group .form-check {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group .form-check-input {
    margin-top: 0;
    margin-right: 0.5rem;
    border-radius: 3px;
    border: 2px solid var(--border-color);
    width: 16px;
    height: 16px;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-group .form-check-label {
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0;
}

.filter-group .form-check-label .text-muted {
    color: var(--text-light);
    font-size: 0.85rem;
}

.filter-group select {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-color);
    width: 100%;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 43, 216, 0.1);
}

.text-swatch {
    list-style: none;
    padding-left: 5px;
}

.text-swatch span {
    color: #535862;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
}

.widget__title{
    color: #535862 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
}

/* Product Grid Improvements */
.products_all {
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.item_product {
    transition: var(--transition);
}

.item_product:hover {
    transform: translateY(-2px);
}

.d-grid.grid-col-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pagination_style1 {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Reset Filters Button */
.filter-actions .btn {
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-actions .btn-outline-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.filter-actions .btn-outline-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive Design for Filters */
@media (max-width: 992px) {
    .filter-sidebar {
        margin-bottom: 2rem;
    }

    .d-grid.grid-col-4 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .filter-sidebar {
        padding: 1rem;
    }

    .d-grid.grid-col-4 {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.filter-section {
    background: var(--bg-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.filter-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.filter-checkbox:hover {
    color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-checkbox span {
    user-select: none;
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.btn-filter-apply,
.btn-filter-reset {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-filter-apply {
    background: var(--primary-color);
    color: white;
}

.btn-filter-apply:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-filter-reset {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-filter-reset:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Server Models Section */
.server-models-section {
    background: var(--bg-light);
}

.server-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.server-model-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.server-model-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: #ffffff;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-tagline {
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #ffffff;
}

.footer-description {
    color: #a4a7ae;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-social a {
    color: #a4a7ae;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Help Section */
.help-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.help-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.help-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.help-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.form-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.faq-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Memory Module Placeholder */

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Article Page */
.article-page {
    padding: 2rem 0 4rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.article-main {
    min-width: 0;
}

.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.85rem;
}

.article-date {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.featured-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #4c2bd8 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

/* Key Takeaways */
.key-takeaways {
    background: #f0ebff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2rem;
}

.key-takeaways h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 1.25rem;
}

.key-takeaways li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.key-takeaways li:last-child {
    margin-bottom: 0;
}

/* Article Content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-color);
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: var(--text-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    margin: 0;
    color: var(--text-light);
}

/* Article FAQ */
.article-faq {
    margin: 1.5rem 0;
}

.article-faq .faq-item {
    background: var(--bg-light);
    margin-bottom: 0.75rem;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.article-faq .faq-question {
    font-size: 1rem;
}

.article-faq .faq-answer {
    font-size: 0.95rem;
    margin-top: 0.75rem;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 3rem;
}

.author-avatar-large {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
}

.author-bio-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.author-bio-content .author-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.author-bio-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.author-linkedin:hover {
    text-decoration: underline;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: 8px;
    transition: var(--transition);
}

.related-article:hover {
    box-shadow: var(--shadow);
}

.related-image {
    width: 80px;
    height: 60px;
    min-width: 80px;
    background: linear-gradient(135deg, #4c2bd8 0%, #7c3aed 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.related-content h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-content .read-more {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.sidebar-cta {
    background: linear-gradient(135deg, #4c2bd8 0%, #7c3aed 100%);
    color: white;
}

.sidebar-cta h3 {
    color: white;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.sidebar-cta .btn {
    width: 100%;
    background: white;
    color: var(--primary-color);
}

.sidebar-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Article Page Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .sidebar-section {
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-image-placeholder {
        height: 250px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

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

    .author-avatar-large {
        margin: 0 auto;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes shimmer {
    to {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-content {
        gap: 0.5rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-actions {
        gap: 0.5rem;
        order: 2;
    }

    .search-btn {
        display: none;
    }

    .cart-btn {
        display: block;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .quote-btn {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: auto;
        grid-template-columns: 1fr 1fr;
        display: none;
        padding: 1rem;
        background: var(--bg-light);
        margin-top: 0.5rem;
        min-width: 100%;
    }

    .nav-item:hover .dropdown-menu {
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: grid;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .memory-module-placeholder {
        width: 100%;
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .brands-grid,
    .features-grid,
    .industries-grid,
    .articles-grid,
    .product-grid,
    .server-models-grid {
        grid-template-columns: 1fr;
    }

    .filter-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

    .logo svg {
        width: 120px;
        height: 24px;
    }

    .nav-actions {
        gap: 0.25rem;
    }

    .cart-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .quote-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .cart-btn {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-card,
    .feature-card,
    .industry-card {
        padding: 1.5rem;
    }
}

/* Product Table Styles */
.product-table-container {
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.product-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid var(--border-color);
}

.product-table thead th {
    padding: 1rem 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.product-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.product-table tbody tr:hover {
    background-color: #f8f9fa;
}

.product-table tbody tr:last-child {
    border-bottom: none;
}

.product-table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    font-size: 0.9rem;
}

.product-image-wrapper {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.brand-name {
    color: var(--text-color);
    font-weight: 500;
}

.size-spec,
.speed-spec,
.form-factor {
    color: var(--text-color);
    font-weight: 400;
}

.ships-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.ships-3-4d {
    background: #e8f5e8;
    color: #2d5a2d;
}

.ships-conf {
    background: #fff3cd;
    color: #856404;
}

.product-price {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.quote-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 4px;
    white-space: nowrap;
}

/* Responsive Product Table */
@media (max-width: 1200px) {
    .product-table th,
    .product-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .product-image-wrapper {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 992px) {
    .product-table-container {
        overflow-x: auto;
    }

    .product-table {
        min-width: 800px;
    }

    .product-table th,
    .product-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .product-table {
        min-width: 700px;
    }

    .product-image-wrapper {
        width: 50px;
        height: 40px;
    }

    .quote-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Cart Dropdown Styling */
.cart_box {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e8e8;
    min-width: 350px;
}

.cart_box .cart_list {
    background: #fff;
    border: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.cart_box .cart_list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
    position: relative;
    transition: background-color 0.2s ease;
}

.cart_box .cart_list li:hover {
    background-color: #f8f9fa;
}

.cart_box .cart_list li:last-child {
    border-bottom: none;
}

.cart_box .cart_list li a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
}

.cart_box .cart_list li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.cart_box .cart_list li .item_remove {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f8f9fa;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cart_box .cart_list li .item_remove:hover {
    background: #dc3545;
    color: #fff;
}

.cart_box .cart_list li .item_remove i {
    font-size: 12px;
}

.cart_box .cart_list li a span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    padding-right: 30px;
}

.cart_box .cart_list li p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.3;
    padding-right: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart_box .cart_list li p small {
    font-size: 11px;
    color: #888;
}

.cart_box .cart_list li .cart_quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-right: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart_box .cart_list li .cart_amount {
    color: var(--color-1st);
    font-weight: 700;
}

.cart_box .cart_footer {
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
    padding: 20px;
}

.cart_box .cart_footer .cart_total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart_box .cart_footer .cart_total .cart_price {
    color: var(--color-1st);
    font-weight: 700;
    font-size: 18px;
}

.cart_box .cart_footer .cart_buttons {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.cart_box .cart_footer .cart_buttons .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cart_box .cart_footer .cart_buttons .view-cart {
    background: transparent;
    border: 1px solid var(--color-1st);
    color: var(--color-1st);
}

.cart_box .cart_footer .cart_buttons .view-cart:hover {
    background: var(--color-1st);
    color: #fff;
}

.cart_box .cart_footer .cart_buttons .checkout {
    background: var(--color-1st);
    border: 1px solid var(--color-1st);
    color: #fff;
}

.cart_box .cart_footer .cart_buttons .checkout:hover {
    background: #333;
    border-color: #333;
}

/* Cart summary in header */
.cart-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cart-summary:hover {
    background: rgba(var(--color-1st), 0.1);
}

.cart-summary .cart-total {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.cart-summary svg {
    margin: 0 5px;
}

.cart-summary .cart_count {
    background: var(--color-1st);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    margin-left: -5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .cart_box {
        min-width: 300px;
        right: -25px !important;
    }

    .cart_box .cart_list li {
        padding: 12px 15px;
    }

    .cart_box .cart_list li img {
        width: 50px;
        height: 50px;
    }

    .cart_box .cart_footer {
        padding: 15px;
    }

    .cart_box .cart_footer .cart_buttons {
        flex-direction: column;
        gap: 8px;
    }
}

/* Product Page Styling - CoreWave Labs Style */
.product-key-info {
    /* background: #f8f9fa; */
    /* border-radius: 8px; */
    padding: 0 20px;
    /* border-left: 4px solid var(--primary-color); */
}
.product-key-info li {
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.info-label {
    font-weight: 600;
    color: #495057;
    flex: 0 0 45%;
}

.info-value {
    color: #212529;
    flex: 1;
    text-align: right;
}

/* Pricing Section */
.product-pricing {
    /* background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px; */
}

.price-display {
    margin-bottom: 10px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
}

.original-price {
    font-size: 18px;
    color: #6c757d;
    margin-right: 10px;
}

.save-amount {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.price-note {
    color: #6c757d;
    font-style: italic;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.green {
    background: #28a745;
}

.status-indicator.red {
    background: #dc3545;
}

.status-text {
    font-weight: 500;
}

/* Cart Actions */
.quantity-section .quantity-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0;
}

.cart-actions .btn {
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-to-quote {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-add-to-quote:hover {
    background: #333;
    border-color: #333;
}

/* Trust Indicators */
.trust-indicators {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item i {
    font-size: 18px;
}

.trust-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Product Description Section */
.product-description-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

/* Specifications Table */
.specifications-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specifications-table table {
    margin-bottom: 0;
}

.specifications-table .spec-label {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-right: 1px solid #dee2e6;
    width: 40%;
    vertical-align: middle;
    padding: 15px 20px;
}

.specifications-table .spec-value {
    color: #212529;
    padding: 15px 20px;
    vertical-align: middle;
}

.specifications-table tr:hover {
    background: #f1f3f4;
}

/* Why Us Section */
.why-us-section {
    padding: 20px 0;
}

.why-us-item {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.icon-wrapper i {
    font-size: 24px;
}

.why-us-item h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.why-us-item p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Flash Sale Section Enhancement */
.flash-sale-section .deal_progress_ngoai {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Product Title Enhancement */
.product_title_chitiet {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Contact Price Button */
.contact-price .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .product-key-info {
        padding: 15px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-value {
        text-align: left;
    }

    .current-price {
        font-size: 24px;
    }

    .product-pricing {
        padding: 15px;
    }

    .specifications-table .spec-label,
    .specifications-table .spec-value {
        display: block;
        width: 100%;
        border-right: none;
    }

    .specifications-table .spec-label {
        background: var(--primary-color);
        color: white;
        border-bottom: none;
    }

    .specifications-table .spec-value {
        border-bottom: 1px solid #dee2e6;
    }

    .why-us-item {
        margin-bottom: 20px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .additional-actions {
        flex-direction: column;
    }

    .product_title_chitiet {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-description-section {
        padding: 20px;
    }
}

/* Additional Product Page Enhancements */
.product .whitebox-cover {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pr_detail {
    padding: 30px;
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

.quantity .minus,
.quantity .plus {
    background: #f8f9fa;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quantity .minus:hover,
.quantity .plus:hover {
    background: var(--primary-color);
    color: white;
}

.quantity .qty {
    border: none;
    text-align: center;
    width: 60px;
    padding: 10px 5px;
    font-weight: 600;
}

/* Tab Navigation Enhancement */
.tab-style3 .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 30px;
}

.tab-style3 .nav-tabs .nav-item .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 15px 30px;
    margin-right: 10px;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.tab-style3 .nav-tabs .nav-item .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-bottom: 3px solid var(--primary-color);
}

.tab-style3 .nav-tabs .nav-item .nav-link:hover:not(.active) {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Product Gallery Enhancement */
.product_img_box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.product_img_si {
    border-radius: 8px;
}

.product_gallery_item.slick_slider .slick-slide {
    margin: 5px;
}

.product_gallery_item a {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.product_gallery_item a:hover {
    transform: scale(1.05);
}

.product_gallery_item a.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(76, 43, 216, 0.3);
}

/* Modern Cart Page Styling */
.cart-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cart-main {
    background: var(--bg-white);
}

.cart-table-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.modern-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.modern-cart-table thead {
    background: #e8e8e8;
}

.modern-cart-table thead th {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    border: none;
    font-size: 0.9rem;
}

.modern-cart-table thead th.product-col {
    width: 50%;
}

.modern-cart-table thead th.price-col {
    width: 18%;
}

.modern-cart-table thead th.quantity-col {
    width: 15%;
}

.modern-cart-table thead th.subtotal-col {
    width: 17%;
}

.cart-item-row {
    border-bottom: 1px solid var(--border-color);
}

.cart-item-row:hover {
    background: #fafafa;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-remove-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.remove-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.remove-item:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
    text-decoration: none;
}

.product-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.product-info-text {
    flex: 1;
}

.product-title {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.product-title:hover {
    text-decoration: underline;
}

.stock-status {
    font-size: 0.8rem;
    color: var(--text-light);
}

.price-cell {
    padding: 1.5rem;
    vertical-align: middle;
}

.price {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
    display: block;
}

.original-price {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.quantity-cell {
    padding: 1.5rem;
    vertical-align: middle;
}

.quantity-input {
    width: 80px;
}

.qty-field {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    background: var(--bg-white);
}

.qty-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 43, 216, 0.1);
}

.subtotal-cell {
    padding: 1.5rem;
    vertical-align: middle;
}

.subtotal-price {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

/* Order Summary */
.order-summary {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.order-summary-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.summary-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-row .label {
    color: var(--text-color);
    font-weight: 500;
}

.summary-row .amount {
    font-weight: 600;
    color: var(--text-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #ddd;
    margin-top: 1rem;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 43, 216, 0.3);
}

/* Responsive Cart Design */
@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: 1fr 350px;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .order-summary {
        position: static;
        order: -1;
    }

    .order-summary-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cart-page-title {
        font-size: 2rem;
    }

    .cart-table-container {
        overflow-x: auto;
    }

    .modern-cart-table {
        min-width: 600px;
    }

    .product-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .product-thumb {
        width: 60px;
        height: 60px;
    }

    .modern-cart-table thead th,
    .cart-item-row td {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-page-title {
        font-size: 1.75rem;
    }

    .order-summary-card {
        padding: 1.5rem;
    }

    .summary-title {
        font-size: 1.25rem;
    }
}

/* Notification Alert Styling */
#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
}

.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #cce7f0;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert .close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    line-height: 1;
    color: inherit;
}

.alert .close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.alert .message-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-success .message-icon {
    color: #28a745;
}

.alert-warning .message-icon {
    color: #ffc107;
}

.alert-danger .message-icon {
    color: #dc3545;
}

.alert-info .message-icon {
    color: #17a2b8;
}

/* Animation for notification */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert.fade-out {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* Auto-hide notification */
.alert.auto-hide {
    animation: slideInRight 0.3s ease-out, slideOutRight 0.3s ease-in 2.7s forwards;
}

/* Mobile responsive notifications */
@media (max-width: 768px) {
    #alert-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .alert {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }

    .alert .message-icon {
        font-size: 1.1rem;
    }
}

/* Additional styling for ion icons */
.ion-close:before {
    content: "×";
    font-size: 1.5rem;
    font-weight: bold;
}

.ion-checkmark-circled:before {
    content: "✓";
    font-size: 1.25rem;
    font-weight: bold;
}

/* Modern Knowledge Hub Posts Styling */
.knowledge-hub-posts {
    background: var(--bg-light);
    padding: 4rem 0;
    min-height: 60vh;
}

.knowledge-hub-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.knowledge-hub-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.knowledge-hub-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

.articles-list-modern {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.article-item-modern {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: stretch;
}

.article-item-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.article-image-side {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.article-image-link {
    display: block;
    height: 100%;
}

.article-image-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    min-height: 220px;
}

.article-item-modern:hover .article-image-horizontal {
    transform: scale(1.05);
}

.article-image-placeholder-horizontal {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.article-content-side {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-title-horizontal {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title-horizontal a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.article-title-horizontal a:hover {
    color: var(--primary-color);
}

.article-meta-horizontal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-author {
    font-weight: 600;
    color: var(--primary-color);
}

.meta-separator {
    font-weight: bold;
}

.article-date {
    color: var(--text-light);
}

.article-excerpt-horizontal {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.read-more-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: translateX(4px);
}

.article-card-modern:hover .article-image-modern {
    transform: scale(1.05);
}

.article-image-placeholder-modern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.article-content-modern {
    padding: 2rem;
}

.article-title-modern {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title-modern a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.article-title-modern a:hover {
    color: var(--primary-color);
}

.article-meta-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-author {
    font-weight: 600;
    color: var(--primary-color);
}

.meta-separator {
    font-weight: bold;
}

.article-date {
    color: var(--text-light);
}

.article-excerpt-modern {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.read-more-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: translateX(4px);
}

.pagination-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.no-posts-message {
    text-align: center;
    padding: 4rem 0;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 2rem 0;
}

.no-posts-message h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-posts-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Design for Knowledge Hub */
@media (max-width: 1200px) {
    .article-image-side {
        flex: 0 0 250px;
    }

    .article-content-side {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .knowledge-hub-posts {
        padding: 3rem 0;
    }

    .knowledge-hub-header {
        margin-bottom: 3rem;
    }

    .knowledge-hub-title {
        font-size: 2.5rem;
    }

    .knowledge-hub-subtitle {
        font-size: 1.1rem;
    }

    .articles-list-modern {
        gap: 2rem;
    }

    .article-item-modern {
        flex-direction: column;
    }

    .article-image-side {
        flex: none;
        height: 200px;
    }

    .article-image-horizontal {
        min-height: 200px;
    }

    .article-image-placeholder-horizontal {
        min-height: 200px;
    }

    .article-content-side {
        padding: 1.5rem;
    }

    .article-title-horizontal a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .knowledge-hub-title {
        font-size: 2rem;
    }

    .knowledge-hub-subtitle {
        font-size: 1rem;
    }

    .articles-list-modern {
        gap: 1.5rem;
    }

    .article-content-side {
        padding: 1.25rem;
    }

    .article-image-side {
        height: 180px;
    }

    .article-image-horizontal {
        min-height: 180px;
    }

    .article-image-placeholder-horizontal {
        min-height: 180px;
    }

    .article-title-horizontal a {
        font-size: 1.1rem;
    }
}

/* AJAX Product Filtering Styles */
#product-loading {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 2rem 0;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
}

.loading-spinner p {
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

#product-results {
    transition: opacity 0.3s ease;
}

/* Enhanced Filter Styles */
.filter-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 20px;
    background-color: #fdfdfd;
    position: relative;
}

.filter-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px 8px 0 0;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus,
.filter-group input[type="number"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 43, 216, 0.1);
    outline: none;
}

/* Smooth transitions for filter changes */
.product-table-container {
    transition: opacity 0.3s ease;
}

/* Loading state for individual elements */
.filter-group.loading {
    opacity: 0.6;
    pointer-events: none;
}

.filter-group.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced pagination styles */
.pagination_style1 {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.pagination_style1 .pagination {
    justify-content: center;
    margin: 0;
}

.pagination_style1 .page-link {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border-radius: 6px;
    transition: var(--transition);
}

.pagination_style1 .page-link:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination_style1 .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Mobile responsive for AJAX filters */
@media (max-width: 768px) {
    .loading-spinner {
        padding: 2rem 1rem;
    }

    .loading-spinner i {
        font-size: 1.5rem;
    }

    .filter-sidebar {
        padding: 1rem;
    }
}
