* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #001f3f;
    --primary-light: #003d7a;
    --accent-red: #c41e3a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--bg-white) 0%, #f0f4f8 100%);
    box-shadow: 0 2px 10px rgba(0, 31, 63, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-style: italic;
    letter-spacing: 1px;
    margin: 0;
}

.social-nav {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--primary-dark);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--accent-red);
    transform: scale(1.2);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-dark);
    background: white;
    color: var(--primary-dark);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-dark);
    color: white;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.category-tag {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.price {
    font-size: 1.5rem;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-details {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background: var(--primary-light);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
    margin-bottom: 3rem;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.detail-category {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.detail-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.detail-price .price {
    font-size: 2rem;
    color: var(--accent-red);
    font-weight: 700;
}

.detail-description,
.detail-specs {
    margin-bottom: 1.5rem;
}

.detail-description h3,
.detail-specs h3 {
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.detail-specs ul {
    list-style: none;
    padding-left: 0;
}

.detail-specs li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.detail-specs li:before {
    content: "✓ ";
    color: var(--accent-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

.detail-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.option-group select,
.option-group input {
    padding: 0.7rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.option-group select:focus,
.option-group input:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.btn-order {
    width: 100%;
    padding: 1rem;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-order:hover {
    background: #a01729;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-back {
    display: block;
    text-align: center;
    padding: 0.8rem;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--primary-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-red);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-red);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-red);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .social-nav {
        gap: 1rem;
    }

    .detail-options {
        flex-direction: column;
    }

    .option-group {
        width: 100%;
    }
}

/* ===== HIDDEN CLASS ===== */
.hidden {
    display: none !important;
}