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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container Styles - Key to page layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
header {
    background-color: #e3f2fd;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-top {
    width: 100%;
    margin: 0 auto;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 80px;
    height: auto;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    background-color: #e3f2fd;
    color: #333;
    border: none;
    border-radius: 4px;
    width: 40px; /* Keep original size */
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.header-icons {
    display: flex;
    gap: 1.5px;
    align-items: center;
}

.header-icons a {
    color: #333;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5px;
}

.header-icons a:last-child {
    margin-right: 0;
}

/* Search Box Styles */
.search-container {
    position: relative;
    width: 300px;
    z-index: 1001;
}

/* Hide search box on mobile devices */
@media (max-width: 768px) {
    .search-container {
        display: none !important;
    }
    .header-icons .linkedin-icon,
    .header-icons .facebook-icon,
    .header-icons .instagram-icon,
    .header-icons .pinterest-icon,
    .header-icons .email-icon,
    .header-icons .chat-icon {
        display: none !important;
    }
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #e3f2fd;
    box-shadow: 0 0 0 2px rgba(227, 242, 253, 0.5);
}

.search-button, .clear-button {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.search-button:hover {
    color: #333;
}

.clear-button {
    right: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.clear-button.visible {
    opacity: 1;
    visibility: visible;
}

.clear-button:hover {
    color: #d32f2f;
}

/* Search Suggestions Styles */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    margin-top: 2px;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.search-suggestion-item:hover,
.search-suggestion-item.selected {
    background-color: #f9f9f9;
}

.suggestion-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.suggestion-category {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation styles */
nav {
    background-color: #e3f2fd;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    /* Ensure compatibility with JavaScript style settings */
    width: 100%;
    box-sizing: border-box;
}

.nav-links li {
    display: inline-block;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Underline Animation Effect */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #43a1e9;
    transition: width 0.3s ease;
}

/* Mouse Hover Effect */
.nav-links li a:hover {
    color: #43a1e9;
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Active State Styles */
.nav-links li a.active {
    font-weight: bold;
    color: #43a1e9;
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-links li a.active::after {
    width: 100%;
}

/* Ensure navigation menu displays correctly on desktop view, even when JavaScript modifies styles */
@media (min-width: 992px) {
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }
}

/* Hero Section Styles */
.hero {
    /* Simplified background settings, removing potential conflicts */
    background-image: url('img/webp/index.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure background image has priority */
    background-color: transparent !important;
    background-attachment: scroll;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    text-align: center;
    /* Add explicit z-index to ensure proper stacking */
    z-index: 1;
}

/* Ensure background displays well on mobile devices */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        min-height: 80vh;
        padding: 100px 0;
    }
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

/* Content Area Styles */
.intro,
.product-categories,
.featured-products,
.why-choose-us,
.company-profile,
.contact {
    padding: 60px 0;
}

.intro-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Product Carousel Styles */
.products-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
}

.product-item {
    flex: 0 0 280px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

.product-info {
    padding: 15px;
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: #e3f2fd;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
    display: block;
}

.footer-nav-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2;
    min-width: 400px;
}

.footer-jobs, .footer-links {
    flex: 1;
    min-width: 180px;
}

.footer-jobs h3, .footer-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.footer-jobs ul, .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-jobs li, .footer-links li {
    margin-bottom: 10px;
}

.footer-jobs a, .footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-jobs a:hover, .footer-links a:hover {
    color: #333;
}

.footer-search {
    flex: 1;
    min-width: 200px;
}

.footer-search form {
    display: flex;
    gap: 0;
}

.footer-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.footer-search button {
    background-color: #e3f2fd;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e3f2fd;
    box-shadow: 0 0 0 2px rgba(74, 20, 140, 0.1);
}

.submit-button,
.submit-btn,
.know-more-button,
.contact-button {
    background-color: #e3f2fd;
    color: #333;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
}

.submit-button:hover,
.submit-btn:hover,
.know-more-button:hover,
.contact-button:hover {
    background-color: #e18a48;
}

/* Product Category Styles */
.product-categories h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.product-categories h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e3f2fd;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.product-categories h2:hover::after {
    width: 150px;
}

.product-category {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Set different animation delays for different product categories */
.product-category:nth-child(2) { animation-delay: 0.1s; }
.product-category:nth-child(3) { animation-delay: 0.2s; }
.product-category:nth-child(4) { animation-delay: 0.3s; }
.product-category:nth-child(5) { animation-delay: 0.4s; }
.product-category:nth-child(6) { animation-delay: 0.5s; }
.product-category:nth-child(7) { animation-delay: 0.6s; }

.category-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background-color: #e3f2fd;
    transition: left 0.3s ease;
}

.category-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-content:hover::before {
    left: 0;
}

.product-images {
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-content:hover .product-images {
    transform: scale(1.05);
}

.product-images img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-description {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.category-description p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    transition: color 0.3s ease;
}

.category-content:hover .category-description p {
    color: #333;
}

.know-more-button {
    background-color: #e3f2fd;
    color: #333;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.know-more-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #e18a48;
    transition: width 0.3s ease;
    z-index: -1;
}

.know-more-button:hover::before {
    width: 100%;
}

.know-more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.3);
}

/* Featured Products Styles */
.featured-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e3f2fd;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.featured-products h2:hover::after {
    width: 150px;
}

.products-carousel-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.products-carousel::-webkit-scrollbar {
    height: 8px;
}

.products-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-carousel::-webkit-scrollbar-thumb {
    background-color: #e3f2fd;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.products-carousel::-webkit-scrollbar-thumb:hover {
    background: #9c27b0;
}

.product-item {
    flex: 0 0 280px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }

.product-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

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

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-image::after {
    opacity: 1;
}

.product-info {
    padding: 15px;
    text-align: center;
    background: linear-gradient(180deg, white 0%, #f8f9fa 100%);
}

.product-info h3 {
    margin-bottom: 8px;
    color: #333;
    transition: color 0.3s ease;
}

.product-item:hover .product-info h3 {
    color: #333;
}

.product-category {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.scroll-left, .scroll-right {
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
}

.scroll-left:hover, .scroll-right:hover {
    background-color: #e3f2fd;
    color: #333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.3);
}

/* Why choose us styles */
.why-choose-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e3f2fd;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.why-choose-us h2:hover::after {
    width: 150px;
}

.why-choose-us {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-color: #e3f2fd;
}

.reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.reason {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.reason:nth-child(1) { animation-delay: 0.1s; }
.reason:nth-child(2) { animation-delay: 0.2s; }
.reason:nth-child(3) { animation-delay: 0.3s; }
.reason:nth-child(4) { animation-delay: 0.4s; }

.reason::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #e3f2fd;
    transition: width 0.3s ease;
}

.reason:hover::before {
    width: 10px;
}

.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.reason h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.reason h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #9c27b0;
    transition: width 0.3s ease;
}

.reason:hover h3::after {
    width: 50px;
}

.reason p {
    line-height: 1.6;
    color: #555;
    transition: color 0.3s ease;
}

.reason:hover p {
    color: #333;
}

/* Company profile styles */
.company-profile h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.company-profile h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #e3f2fd;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.company-profile h2:hover::after {
    width: 150px;
}

.company-profile .container {
    position: relative;
}

.company-profile .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(circle at center, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: -1;
}

.company-profile .container > p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.company-profile .container > p:first-of-type {
    animation-delay: 0.2s;
}

.company-profile .container > p:last-of-type {
    animation-delay: 0.4s;
}

.company-profile:hover .container > p {
    color: #333;
}

/* Animation Definitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Profile Styles */
.company-profile p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

/* Search Results Page Styles */
.search-results-section {
    padding: 60px 0;
    background-color: #f9f7fd;
}

/* Page Header */
.search-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
    background-color: #e3f2fd;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Refined Search Bar */
.refined-search-container {
    max-width: 700px;
    margin: 0 auto 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2px;
}

.refined-search-form {
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 10px;
    background: #f8f9fa;
}

.search-icon {
    color: #8e24aa;
    margin: 0 15px 0 10px;
    flex-shrink: 0;
}

.refined-search-input {
    flex: 1;
    padding: 15px 10px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #333;
}

.refined-search-input::placeholder {
    color: #999;
    font-size: 14px;
}

.refined-search-button {
    background-color: #e3f2fd;
    color: #333;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-left: 8px;
    white-space: nowrap;
}

.refined-search-button:hover {
    background: linear-gradient(135deg, #3a0e6e, #7b1fa2);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(142, 36, 170, 0.3);
}

/* Search Results Wrapper */
.search-results-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Search Sidebar */
.search-sidebar {
    background: #f8f9fa;
    padding: 25px;
    border-right: 1px solid #e0e0e0;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e3f2fd;
    border-radius: 3px;
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    user-select: none;
}

.filter-checkbox:hover {
    background-color: rgba(142, 36, 170, 0.05);
}

.filter-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8e24aa;
}

.filter-input:checked + span {
    font-weight: 600;
}

/* Sort Options */
.sort-options {
    margin-top: 10px;
}

.sort-selector {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.sort-selector:focus {
    border-color: #8e24aa;
    box-shadow: 0 0 0 2px rgba(142, 36, 170, 0.1);
}

/* Search Results Content */
.search-results-content {
    padding: 25px;
}

.search-meta {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.results-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Search Results Grid */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Search Result Item */
.search-result-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.search-result-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.search-result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

/* Result Image */
.result-image-container {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    background-color: #f8f9fa;
    overflow: hidden;
}

.result-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.search-result-item:hover .result-image {
    transform: scale(1.05);
}

/* Result Content */
.result-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8e24aa;
    margin-bottom: 8px;
    background-color: rgba(142, 36, 170, 0.05);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.result-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

/* Result Actions */
.result-actions {
    margin-top: auto;
}

.result-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #e3f2fd;
    color: #333;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.result-link:hover {
    background: linear-gradient(135deg, #3a0e6e, #7b1fa2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(142, 36, 170, 0.3);
}

/* Skeleton Loader */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-title {
    width: 70%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 15px;
    border-radius: 4px;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-text-short {
    width: 60%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    min-height: 400px;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-state p {
    max-width: 500px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #dea344;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.3);
}

.btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #e3f2fd;
}

.btn-secondary:hover {
    background-color: #e3f2fd;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 36, 170, 0.2);
}

/* Responsive Design for Search Results */
@media (max-width: 992px) {
    .search-results-wrapper {
        grid-template-columns: 1fr;
    }
    
    .search-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px;
    }
    
    .category-filters {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .search-results-section {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .search-page-subtitle {
        font-size: 1rem;
    }
    
    .refined-search-container {
        margin-bottom: 30px;
        padding: 1px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .search-icon {
        display: none;
    }
    
    .refined-search-input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
    }
    
    .refined-search-button {
        width: 100%;
        margin-left: 0;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-content {
        padding: 15px;
    }
    
    .result-title {
        font-size: 1.1rem;
    }
    
    .empty-state {
        padding: 40px 20px;
        min-height: 300px;
    }
    
    .empty-state-icon {
        font-size: 4rem;
    }
    
    .empty-state h3 {
        font-size: 1.5rem;
    }
    
    .empty-state-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .search-results-content {
        padding: 15px;
    }
    
    .result-title {
        font-size: 1rem;
    }
    
    .result-description {
        font-size: 13px;
    }
}

/* Contact section styles */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Error message styles */
.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
}

/* Loading and error state styles */
.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e3f2fd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.products-error {
    text-align: center;
    padding: 40px 0;
    color: #d32f2f;
}

/* Scroll Indicator Styles */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.scroll-left,
.scroll-right {
    background-color: #e3f2fd;
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-left:hover,
.scroll-right:hover {
    background-color: #e3f2fd;
}

/* Mobile Menu Styles */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #e3f2fd;
    padding: 80px 20px;
    z-index: 999;
    gap: 20px;
}

.mobile-menu-toggle.active {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* Search Box Styles */
.search-container {
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-button,
.clear-button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover,
.clear-button:hover {
    color: #333;
}

/* Search suggestions style is defined earlier in the file */

.suggestion-category {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: #f0f0f0;
}

.modal-content h2 {
    padding: 30px 30px 15px;
    margin: 0;
    color: #333;
    font-size: 24px;
}

.modal-content form {
    padding: 0 30px 30px;
}

/* Product Detail Page Styles */
.product-detail {
    padding: 40px 0;
}

/* Product Header Styles */
.product-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.product-header h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-meta .category {
    background-color: #e3f2fd;
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-meta .date {
    color: #666;
    font-size: 14px;
}

/* Product Content Layout */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* Product Image Styles */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #e3f2fd;
    transform: scale(1.05);
}

/* Product Information Styles */
.product-info {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.product-specs li strong {
    color: #333;
    font-weight: 600;
    min-width: 80px;
    display: inline-block;
}

.contact-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-contact-us {
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-contact-us:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-contact-us:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Product Detailed Description Styles */
.product-details {
    margin-bottom: 50px;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tabs {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.tab-button:hover {
    color: #333;
    background-color: rgba(227, 242, 253, 0.1);
}

.tab-button.active {
    color: #333;
    background-color: #e3f2fd;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e18a48;
}

.tab-content {
    padding: 30px;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 20px;
}

.tab-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.tab-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.tab-content li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.tab-content li strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* Related Products Styles */
.related-products {
    margin-bottom: 40px;
}

.related-products h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-products h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e3f2fd;
    border-radius: 1.5px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

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

.related-item:hover .related-image img {
    transform: scale(1.05);
}

.related-name {
    padding: 15px;
    color: #333;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #e3f2fd;
        padding: 80px 20px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .intro-cards {
        flex-direction: column;
    }
    
    .product-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .tab-button {
        padding: 15px;
        font-size: 14px;
    }
    
    .main-image {
        max-height: 400px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .related-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.5rem;
    }
    
    .product-content {
        gap: 20px;
    }
    
    .main-image-container {
        padding: 15px;
    }
    
    .main-image {
        max-height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .related-image {
        height: 150px;
    }
    
    .related-name {
        padding: 10px;
        font-size: 13px;
    }
}