@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}
header {
    position: relative;
    z-index: 1000;
}
.logo img {
    max-height: 35px;
    width: auto;
}
.desktop-nav {
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
}
.nav-custom .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    color: #212529 !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
}
.nav-custom .nav-link:hover,
.nav-custom .nav-link.active {
    background-color: #0d1b3a !important;
    color: #ffffff !important;
}
.nav-custom .nav-link.bg-dark {
    background-color: #0d1b3a !important;
    color: #ffffff !important;
}
.nav-custom .nav-link.bg-dark:hover {
    background-color: #1e3c72 !important;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0d1b3a;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}
.mobile-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 1rem;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #e8e8e8;
}
.mobile-nav.show {
    display: flex;
}
.mobile-nav .nav-link {
    padding: 0.8rem 1rem;
    text-align: center;
    color: #212529 !important;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    background-color: #0d1b3a;
    color: #ffffff !important;
}
@media (max-width: 992px) {
    .desktop-nav { display: none !important; }
    .mobile-menu-btn { display: block; }
}
@media (min-width: 993px) {
    .mobile-nav { display: none !important; }
}
.section-title, .page-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}
.btn-custom {
    background: #0d1b3a;
    color: white !important;
    border: 2px solid #0d1b3a;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}
.btn-custom:hover {
    background: #1e3c72;
    border-color: #1e3c72;
}
.btn-outline-custom {
    background: transparent;
    color: #0d1b3a !important;
    border: 2px solid #0d1b3a;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}
.btn-outline-custom:hover {
    background: #0d1b3a;
    color: white !important;
}
.btn-emergency {
    background: #d32f2f;
    color: white !important;
    border: 2px solid #d32f2f;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
.btn-emergency:hover {
    background: #b71c1c;
    border-color: #b71c1c;
}
.hero-video {
    height: 70vh;
    position: relative;
    overflow: hidden;
    background: url('../images/hero-fallback.jpg') center center / cover no-repeat;
}
.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 58, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 3.5rem;
}
.category-card, .blog-card, .support-card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
.category-card:hover, .blog-card:hover, .support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-color: #0d1b3a;
}
.carousel-item {
    position: relative;
}
.carousel-image {
    filter: brightness(0.8);
    width: 100%;
    height: 550px;
    object-fit: cover;
}
.carousel-caption {
    background: linear-gradient(0deg, rgba(13,27,58,0.95) 0%, rgba(13,27,58,0.6) 40%, transparent 100%);
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    text-align: left;
    padding: 2rem;
}
.carousel-caption h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
}
.footer-custom {
    background: #0d1b3a;
    border-top: 3px solid #1e3c72;
}
.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border-radius: 4px;
}
.trust-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #4fc3f7;
}
.trust-item {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f8f9fa;
}
.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(13, 27, 58, 0.1);
    border-color: #0d1b3a;
}
.orders-section {
    min-height: 60vh;
    padding-top: 4rem !important;
    padding-bottom: 3rem !important;
}
.orders-box {
    background: white;
    border-radius: 12px;
}
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #0d1b3a;
    font-family: 'Oswald', sans-serif;
}
.wiki-sidebar {
    background: white;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}
.wiki-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wiki-nav li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}
.wiki-nav li a:hover,
.wiki-nav li a.active {
    background-color: #f8f9fa;
    border-left-color: #0d1b3a;
    color: #0d1b3a;
}
.wiki-content {
    background: white;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    padding: 2rem;
}
.catalog-sidebar {
    background: white;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    height: fit-content;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}
.filter-section {
    border-bottom: 1px solid #e8e8e8;
}
.filter-section:last-child {
    border-bottom: none;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
}
.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-inputs input {
    width: 100px;
    padding: 8px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}
.category-link {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.category-link:hover {
    background-color: #f8f9fa;
    border-left-color: #0d1b3a;
}
.category-link.active {
    background-color: #0d1b3a;
    color: white;
    border-left-color: #1e3c72;
}
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-color: #0d1b3a;
}
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d32f2f;
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}
.product-badge.hit {
    background: #0d1b3a;
}
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
}
.new-price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.1rem;
}
.sort-select {
    padding: 8px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}
.product-gallery {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}
.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}
.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.thumbnail:hover {
    border-color: #0d1b3a;
    transform: translateY(-2px);
}
.thumbnail.active {
    border-color: #0d1b3a;
}
.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: #0d1b3a;
}
.product-old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 15px;
}
.product-badge-large {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 15px;
}
.product-badge-large.hit {
    background: #0d1b3a;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid #e8e8e8;
}
.specs-table td {
    padding: 12px 8px;
}
.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: #555;
}
.specs-table td:last-child {
    color: #333;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e8e8e8;
    background: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.quantity-btn:hover {
    background: #0d1b3a;
    color: white;
    border-color: #0d1b3a;
}
.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 1rem;
}
.related-product-card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    height: 100%;
}
.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-color: #0d1b3a;
}
.related-product-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.nav-tabs .nav-link {
    color: #333;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
    cursor: pointer;
}
.nav-tabs .nav-link:hover {
    border-color: #e8e8e8;
    color: #0d1b3a;
}
.nav-tabs .nav-link.active {
    color: #0d1b3a;
    background: none;
    border-bottom-color: #0d1b3a;
}
.tab-content {
    padding: 30px 0;
}
.feature-icon {
    font-size: 1.8rem;
    color: #0d1b3a;
    margin-bottom: 10px;
}
.delivery-item {
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}
.delivery-item:hover {
    border-color: #0d1b3a;
    background: #f8f9fa;
}
.breadcrumb {
    background: transparent;
    padding: 0;
}
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .carousel-image { height: 400px; }
    .carousel-caption h3 { font-size: 1.2rem; }
    .carousel-caption p { font-size: 0.8rem; }
    .catalog-sidebar { position: static; margin-bottom: 20px; }
    .product-gallery { position: static; margin-bottom: 30px; }
    .wiki-sidebar { position: static; margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .hero-video { height: 50vh; }
    .hero-title { font-size: 2rem; }
    .hero-overlay p { font-size: 1rem !important; }
    .btn-custom, .btn-outline-custom, .btn-emergency { width: 100%; padding: 0.7rem 1.2rem; font-size: 0.8rem; }
    .carousel-image { height: 300px; }
    .carousel-caption { padding: 1rem; }
    .carousel-caption h3 { font-size: 1rem; }
    .carousel-caption p { font-size: 0.7rem; display: none; }
    .page-title { font-size: 1.8rem; }
    .orders-section { padding-top: 2rem !important; }
    .error-code { font-size: 4rem; }
    .wiki-sidebar { position: static; margin-bottom: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .category-card img, .blog-card img { height: 160px !important; }
    .trust-item { text-align: center; justify-content: center; }
    .container { padding-left: 15px; padding-right: 15px; }
    .main-image { height: 300px; }
    .thumbnail { width: 60px; height: 60px; }
    .product-price { font-size: 1.5rem; }
    .nav-tabs .nav-link { padding: 8px 12px; font-size: 0.8rem; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.5rem; }
    .carousel-image { height: 200px; }
    .category-card .btn-custom, .blog-card .btn-custom { font-size: 0.7rem; padding: 0.5rem 0.8rem; }
}