/* MedicaExpo Design - Medical Supplements B2B Platform */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --light-gray: #f8f8f8;
    --border-gray: #e0e0e0;
    --text-gray: #666666;
    --accent-gold: #d4af37;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary-black);
    background-color: var(--primary-white);
    line-height: 1.6;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border-gray);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-search {
    position: relative;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #5568d3;
    transform: translateY(-50%) scale(1.05);
}

.main-nav {
    display: flex;
    gap: 25px;
    justify-content: center;
    grid-column: 1 / -1;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s;
}

.main-nav a:hover {
    color: #667eea;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-catalog, .btn-login-header {
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.btn-catalog {
    background: #000000;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-catalog:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-catalog:active {
    transform: translateY(0);
}

.btn-login-header {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.btn-login-header:hover {
    background: var(--primary-black);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.catalog-label {
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    background: var(--primary-white);
}

.btn-login, .btn-subscribe {
    padding: 10px 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-login {
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    background: transparent;
}

.btn-login:hover {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-subscribe {
    background: var(--primary-black);
    color: var(--primary-white);
    border: 2px solid var(--primary-black);
}

.btn-subscribe:hover {
    background: transparent;
    color: var(--primary-black);
}

.btn-cart {
    font-size: 24px;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: var(--primary-white);
    max-width: 900px;
    padding: 40px;
    width: 100%;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 35px;
    background: var(--primary-white);
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--primary-white);
}

.btn-hero:hover {
    background: transparent;
    color: var(--primary-white);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-white);
    transform: scale(1.2);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 16px;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-block;
    padding: 18px 50px;
    background: #000000;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-view-all:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-view-all:active {
    transform: translateY(0);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.products-grid > * {
    display: flex;
}

.product-card {
    background: var(--primary-white);
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    padding-top: 133%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selection-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.product-pricing {
    border-top: 1px solid var(--border-gray);
    padding-top: 15px;
    margin-top: auto;
    padding-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--text-gray);
}

.price-value {
    font-size: 16px;
    font-weight: 700;
}

.discount-badge {
    color: #d32f2f;
    font-weight: 700;
    font-size: 14px;
}

.btn-details {
    display: block;
    width: 100%;
    padding: 14px;
    background: #000000;
    color: var(--primary-white);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    margin-top: auto;
    border-radius: 0;
    text-transform: uppercase;
}

.btn-details:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Brands Carousel */
.brands-section {
    background: var(--light-gray);
}

.brands-carousel {
    overflow: hidden;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex: 0 0 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s;
}

.brand-item:hover {
    transform: scale(1.1);
}

/* Outfits Grid */
.outfits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.outfit-card {
    background: var(--primary-white);
    border: 1px solid var(--border-gray);
    overflow: hidden;
    transition: all 0.3s;
}

.outfit-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.outfit-image {
    width: 100%;
    padding-top: 125%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.outfit-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.outfit-info {
    padding: 20px;
}

.outfit-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.outfit-subtitle {
    font-size: 14px;
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 10px;
}

.outfit-count {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.btn-cta {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-white);
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: var(--accent-gold);
    color: var(--primary-white);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s;
    border: 1px solid var(--border-gray);
    padding: 22px;
    display: block;
    background: var(--light-gray);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Why Choose Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* How to Buy Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 20px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-black);
    color: var(--primary-white);
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Articles Section */
.articles-carousel {
    overflow: hidden;
}

.articles-track {
    display: flex;
    gap: 30px;
}

.article-card {
    flex: 0 0 350px;
    text-decoration: none;
    color: var(--primary-black);
}

.article-image {
    width: 100%;
    padding-top: 66%;
    background: var(--light-gray);
    position: relative;
    margin-bottom: 15px;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: var(--light-gray);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-black);
}

.footer-bottom {
    border-top: 1px solid var(--border-gray);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.footer-credits {
    text-align: center;
    padding-top: 15px;
    margin-top: 20px;
    border-top: 1px solid var(--border-gray);
    font-size: 12px;
    color: var(--text-gray);
}

.footer-credits a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-credits a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-white);
    border-top: 1px solid var(--border-gray);
    padding: 25px;
    z-index: 10000;
    display: none;
}

.cookie-notice.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    color: var(--text-gray);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--primary-black);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-decline, .btn-manage {
    background: transparent;
    color: var(--primary-black);
}

.cookie-buttons button:hover {
    opacity: 0.8;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .header-content {
        grid-template-columns: 200px 1fr 280px;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .top-bar-left span {
        margin-right: 15px;
        font-size: 11px;
    }
    
    .header-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logo {
        text-align: center;
    }
    
    .header-search {
        max-width: 100%;
    }
    
    .main-nav {
        justify-content: center;
        padding-top: 10px;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .main-nav a {
        font-size: 12px;
    }
    
    .header-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
        margin-top: 220px;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-arrow-prev {
        left: 20px;
    }
    
    .hero-arrow-next {
        right: 20px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar-left {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .top-bar-left span {
        margin-right: 0;
        font-size: 10px;
    }
    
    .header {
        padding: 15px 0;
        top: 0;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo-tagline {
        font-size: 9px;
    }
    
    .search-input {
        padding: 10px 45px 10px 15px;
        font-size: 13px;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
    }
    
    .main-nav {
        gap: 10px;
        padding-top: 10px;
    }
    
    .main-nav a {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .btn-catalog, .btn-login-header {
        padding: 10px 18px;
        font-size: 11px;
    }
    
    .btn-catalog svg, .btn-login-header svg {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 350px;
        margin-top: 260px;
    }
    
    .hero-arrow {
        width: 35px;
        height: 35px;
    }
    
    .hero-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-arrow-prev {
        left: 15px;
    }
    
    .hero-arrow-next {
        right: 15px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .why-choose-section .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .step-card {
        padding: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-credits {
        font-size: 11px;
        padding-top: 12px;
    }
    
    .footer-credits div {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .footer-credits span[style*="color"] {
        display: none;
    }
    
    .cookie-notice {
        padding: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content p {
        font-size: 12px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 1002;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1101;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    background: var(--primary-black);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-category {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.mobile-category-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-black);
}

.mobile-category-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.mobile-category-toggle.open {
    transform: rotate(180deg);
}

.mobile-subcategories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding-left: 15px;
}

.mobile-subcategories.open {
    max-height: 500px;
    padding-top: 10px;
}

.mobile-subcategories a {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.mobile-subcategories a:hover {
    color: #667eea;
}

@media (max-width: 768px) {
    /* Force content below fixed header */
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .logo {
        flex: 1;
        text-align: center;
    }
    
    .main-nav {
        display: none !important;
    }
    
    .header-actions {
        width: 100%;
        order: 3;
        justify-content: center;
    }
    
    /* Fix section titles on mobile */
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
        line-height: 1.3;
        letter-spacing: 1px;
    }
    
    .section-subtitle {
        font-size: 12px;
        margin-top: 0;
        margin-bottom: 20px;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    /* 2-column product grid for mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-code {
        font-size: 10px;
    }
    
    .product-name {
        font-size: 12px;
        min-height: 35px;
        line-height: 1.3;
    }
    
    .price-label {
        font-size: 10px;
    }
    
    .price-value {
        font-size: 13px;
    }
    
    .btn-details {
        padding: 10px;
        font-size: 11px;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 400px;
        height: 50vh;
        margin-top: 0;
    }
    
    .hero-arrow {
        width: 30px;
        height: 30px;
    }
    
    .hero-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .hero-arrow-prev {
        left: 10px;
    }
    
    .hero-arrow-next {
        right: 10px;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .hero-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    body {
        padding-top: 65px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .btn-catalog, .btn-login-header {
        padding: 8px 15px;
        font-size: 10px;
        flex: 1;
        justify-content: center;
    }
    
    .hero-section {
        min-height: 300px;
    }
    
    .hero-arrow {
        width: 28px;
        height: 28px;
    }
    
    .hero-arrow svg {
        width: 14px;
        height: 14px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .about-text h2 {
        font-size: 20px;
    }
    
    .feature-card h3, .step-card h3 {
        font-size: 16px;
    }
    
    .cta-section h2 {
        font-size: 22px;
    }
    
    .btn-cta {
        padding: 12px 30px;
        font-size: 12px;
    }
}
