/* ===== Sogwin Group Theme CSS ===== */
/* Inspired by ULINE.com layout */

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #cc0000;
    --primary-dark: #990000;
    --secondary-color: #003366;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --header-bg: #ffffff;
    --topbar-bg: #003366;
    --footer-bg: #1a1a2e;
    --footer-text: #cccccc;
    --success: #2e7d32;
    --font-primary: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --max-width: 1280px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background: var(--bg-light);
    line-height: 1.6;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

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

/* === Top Bar === */
.top-bar {
    background: var(--topbar-bg);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .phone {
    font-weight: bold;
    font-size: 0.9rem;
}

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

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

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: block;
}

.site-logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.site-logo .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    overflow: hidden;
}

.header-search input[type="search"] {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    outline: none;
}

.header-search button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

.header-search button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-color);
    text-align: center;
}

.header-actions a:hover {
    color: var(--primary-color);
}

.header-actions .icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

/* === Mega Menu === */
.main-navigation {
    background: var(--secondary-color);
    border-top: 3px solid var(--primary-color);
}

.main-navigation .container {
    display: flex;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    width: 100%;
}

.main-navigation li {
    position: relative;
}

.main-navigation > ul > li {
    flex: 1;
    text-align: center;
}

.main-navigation > ul > li > a {
    display: block;
    color: #fff;
    padding: 12px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.main-navigation > ul > li:last-child > a {
    border-right: none;
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li:hover > a {
    background: var(--primary-color);
}

.main-navigation .sub-menu,
.main-navigation .mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    min-width: 220px;
    border-radius: 0 0 4px 4px;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .mega-menu {
    display: block;
}

.main-navigation .sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.main-navigation .sub-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-content .btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.2s;
}

.hero-content .btn:hover {
    background: var(--primary-dark);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-height: 350px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}


/* === Hero Slider === */
.hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 20s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }
.slide:nth-child(4) { animation-delay: 12s; }
.slide:nth-child(5) { animation-delay: 16s; }

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; transform: scale(1); }
    25% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 0; }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,51,102,0.85) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
    width: 100%;
}

.slide-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.slide-content h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 600px;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
    line-height: 1.6;
}

.btn-slider {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-slider:hover {
    background: var(--primary-dark);
    color: #fff;
}

.slider-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    animation: dotActive 20s infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 4s; }
.dot:nth-child(3) { animation-delay: 8s; }
.dot:nth-child(4) { animation-delay: 12s; }
.dot:nth-child(5) { animation-delay: 16s; }

@keyframes dotActive {
    0%, 3% { background: #fff; transform: scale(1.3); }
    20%, 100% { background: rgba(255,255,255,0.4); transform: scale(1); }
}

/* === Category Grid Enhanced === */
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-align: center;
    margin: 40px 0 25px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 25px 0 40px;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card .card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.category-card .card-body {
    padding: 18px 20px;
}

.category-card .card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.category-card .card-body p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-small {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-small:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* === Products Grid Enhanced === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

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

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

.product-card .product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 10px;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-card .product-info {
    padding: 15px 16px;
}

.product-card .product-model {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-card .product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card .product-name a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-card .product-name a:hover {
    color: var(--primary-color);
}

.product-card .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-card .product-specs span {
    font-size: 0.7rem;
    background: var(--bg-light);
    padding: 3px 8px;
    border-radius: 3px;
    color: var(--text-light);
}

/* === Responsive Hero === */
@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slide-content {
        padding: 0 20px;
    }
}

/* === Category Grid === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

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

.category-card .card-image {
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card .card-body {
    padding: 20px;
}

.category-card h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-card .btn-small {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 3px;
    font-weight: 600;
    transition: background 0.2s;
}

.category-card .btn-small:hover {
    background: var(--primary-color);
}

/* === Products Grid === */
.section-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

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

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

.product-card .product-image {
    height: 200px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

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

.product-card .product-info {
    padding: 15px;
}

.product-card .product-model {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-card .product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card .product-name a {
    color: var(--text-color);
}

.product-card .product-name a:hover {
    color: var(--primary-color);
}

.product-card .product-specs {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
}

.product-card .product-specs span {
    display: block;
}

/* === Sidebar === */
.sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
}

.sidebar h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 8px;
}

.sidebar li a {
    display: block;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 3px;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: all 0.2s;
}

.sidebar li a:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* === Product Detail === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product-detail .gallery {
    position: relative;
}

.product-detail .gallery img {
    width: 100%;
    border-radius: 6px;
}

.product-detail .info h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-detail .info .model-number {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-detail .info .description {
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-detail .info .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.product-detail .info .specs-table th,
.product-detail .info .specs-table td {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    text-align: left;
}

.product-detail .info .specs-table th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}

.product-detail .info .specs-table tr:nth-child(even) {
    background: var(--bg-light);
}

/* === Page Content === */
.page-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 6px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.page-content h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-content h2 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 25px 0 12px;
}

.page-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 20px 0 10px;
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

/* === Contact Page === */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

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

/* === Footer === */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column li a {
    color: var(--footer-text);
    font-size: 0.85rem;
}

.footer-column li a:hover {
    color: #fff;
}

.footer-column p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

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

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

.breadcrumb .separator {
    margin: 0 8px;
}

/* === Two Column Layout === */
.content-area {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin: 20px 0;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #004d99;
    color: #fff;
}

/* === Responsive === */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .header-search {
        max-width: 100%;
        margin: 0;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

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

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation > ul {
        flex-direction: column;
    }

    .main-navigation > ul > li > a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* === Utilities === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
    color: #fff;
}



/* === Enhanced Product Card Images === */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-card .product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card .product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.product-card:hover .product-image img {
    transform: scale(1.12);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.product-card .product-info {
    padding: 18px 20px 20px;
}

.product-card .product-model {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: inline-block;
    background: rgba(204,0,0,0.08);
    padding: 2px 10px;
    border-radius: 3px;
}

.product-card .product-name {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card .product-name a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-name a:hover {
    color: var(--primary-color);
}

.product-card .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card .product-specs span {
    font-size: 0.68rem;
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

/* === Enhanced Product Detail Page === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.product-detail .gallery {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-detail .gallery img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-detail .gallery img:hover {
    transform: scale(1.03);
}

.product-detail .info h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-detail .info .model-number {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(204,0,0,0.08);
    padding: 4px 14px;
    border-radius: 4px;
}

.product-detail .info .description {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.product-detail .info .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-detail .info .specs-table th,
.product-detail .info .specs-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    text-align: left;
}

.product-detail .info .specs-table th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.product-detail .info .specs-table tr:nth-child(even) {
    background: #fafbfc;
}

.product-detail .info .specs-table tr:hover {
    background: #f0f4f8;
}

/* === Featured Products Section === */
.featured-products {
    margin: 50px 0;
}

.featured-products h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.featured-products h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* === Enhanced Category Cards === */
.category-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.category-card .card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card:hover .card-image img {
    transform: scale(1.08);
}

.category-card .card-body {
    padding: 20px;
}

.category-card h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* === Image Lightbox Effect === */
.product-card .product-image {
    cursor: pointer;
}

/* === Products Grid Responsive === */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card .product-image {
        height: 220px;
    }
    
    .product-detail {
        padding: 20px;
        gap: 25px;
    }
    
    .product-detail .gallery {
        min-height: 280px;
    }
}

/* === Hero Images === */
.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* === Responsive === */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .header-search {
        max-width: 100%;
        margin: 0;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

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

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation > ul {
        flex-direction: column;
    }

    .main-navigation > ul > li > a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* === Utilities === */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
