* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 70px;
}

nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #ff6b9d;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ff6b9d;
}

.back-btn,
.contact-btn {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: #2c3e50 !important;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.back-btn:hover,
.contact-btn:hover {
    transform: translateY(-1px);
    color: white !important;
}

.back-btn::after,
.contact-btn::after {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 120px 0 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="colorful-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23colorful-dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(5px) translateY(-5px); }
    50% { transform: translateX(-3px) translateY(5px); }
    75% { transform: translateX(-5px) translateY(-3px); }
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.6, 1);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.6, 1) 0.1s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Indicator */
.loading-indicator {
    display: none;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 107, 157, 0.3);
    border-top: 3px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Layout - ⭐ MODIFICATO */
.main-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 60px 0 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Sidebar Filters - ⭐ MODIFICATO (più stretto) */
.sidebar {
    background: white;
    border-radius: 16px;
    padding: 28px 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.sidebar h3 {
    color: #2c3e50;
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group h4 {
    color: #2c3e50;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 12px;
}

.filter-group h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 14px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    border-radius: 2px;
    transform: translateY(-50%);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-option:hover {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(78, 205, 196, 0.05));
    border-color: rgba(255, 107, 157, 0.2);
    transform: translateX(3px);
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff6b9d;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-option label {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    font-size: clamp(0.82rem, 2vw, 0.9rem);
    transition: color 0.2s ease;
}

.filter-option:hover label {
    color: #ff6b9d;
}

.clear-filters {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 18px;
    letter-spacing: 0.3px;
}

.clear-filters:hover {
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.25);
}

/* Content Wrapper - ⭐ NUOVO */
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Search Container - ⭐ NUOVO */
.search-container {
    position: relative;
    width: 100%;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-box:focus-within {
    border-color: #ff6b9d;
    box-shadow: 0 6px 30px rgba(255, 107, 157, 0.15);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #7f8c8d;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #ff6b9d;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: none;
    outline: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
    color: #2c3e50;
    background: transparent;
    font-family: inherit;
}

.search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    background: rgba(255, 107, 157, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff6b9d;
    transition: all 0.2s ease;
    z-index: 1;
}

.clear-search-btn:hover {
    background: rgba(255, 107, 157, 0.2);
    transform: scale(1.1);
}

.clear-search-btn svg {
    pointer-events: none;
}

/* Results Header - ⭐ MODIFICATO */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: #7f8c8d;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 500;
    letter-spacing: -0.2px;
}

.results-count span {
    color: #ff6b9d;
    font-weight: 600;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.sort-select:hover {
    border-color: #ff6b9d;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.6, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4, #45b7d1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 157, 0.2);
}

.product-image {
    width: 100%;
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05), rgba(78, 205, 196, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #7f8c8d;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.6, 1);
    padding: 15px;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image span {
    color: #7f8c8d;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
}

.product-info {
    padding: 18px;
    flex-shrink: 0;
    background: white;
}

.product-title {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.product-card:hover .product-title {
    color: #ff6b9d;
}

.product-category {
    color: #7f8c8d;
    font-size: clamp(0.8rem, 2vw, 0.88rem);
    margin-bottom: 10px;
    font-weight: 500;
}

.product-season {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c3e50;
    padding: 5px 11px;
    border-radius: 18px;
    font-size: clamp(0.7rem, 1.5vw, 0.78rem);
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.product-season.autumn-winter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.product-season.spring-summer {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border-color: transparent;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.no-results h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.no-results p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 500;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content .logo {
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    opacity: 1;
    color: #4ecdc4;
}

.footer-info {
    text-align: right;
    flex-basis: 100%;
}

.footer-info p {
    opacity: 0.6;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin: 0.3rem 0;
}

.footer-legal {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90vw;
    max-width: 1000px;
    height: auto;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}

.modal-body {
    padding: 0;
    position: relative;
    flex: 1;
    overflow: hidden;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: default;
}

.main-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    z-index: 10;
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev { left: 15px; }
.nav-button.next { right: 15px; }

.thumbnails-container {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #d1d5db;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 500;
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-indicator {
    color: white;
    font-size: 14px;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    user-select: none;
    letter-spacing: 0.5px;
}

.single-image .nav-button {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 240px 1fr;
        gap: 25px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 834px) {
    nav {
        padding: 0.5rem 0;
        min-height: 60px;
    }

    .hero {
        padding: 100px 0 50px 0;
    }

    .main-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 40px;
    }

    .sidebar {
        position: static;
        top: auto;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .results-header {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        gap: 2rem;
        justify-content: center;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .main-image-container {
        height: 450px;
    }

    .main-image {
        max-width: 85%;
        max-height: 85%;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .thumbnails-container {
        padding: 0.75rem;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }

    .zoom-controls {
        bottom: 15px;
        padding: 6px 12px;
        gap: 6px;
    }

    .zoom-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .zoom-indicator {
        font-size: 12px;
        min-width: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 16px 40px 16px;
    }

    .hero-content {
        padding: 0;
    }

    .main-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sidebar {
        padding: 24px 18px;
    }

    .search-input {
        padding: 14px 45px 14px 45px;
        font-size: 0.88rem;
    }

    .search-icon {
        left: 14px;
    }

    .clear-search-btn {
        right: 10px;
        width: 28px;
        height: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }

    .results-header {
        padding: 14px;
    }

    .sort-select {
        width: 100%;
    }

    .modal-content {
        max-width: 98vw;
        max-height: 98vh;
    }

    .main-image-container {
        height: 350px;
    }

    .main-image {
        max-width: 80%;
        max-height: 80%;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .nav-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .nav-button.prev {
        left: 10px;
    }

    .nav-button.next {
        right: 10px;
    }

    .thumbnails-container {
        padding: 0.5rem;
        gap: 0.25rem;
    }

    .thumbnail {
        width: 45px;
        height: 45px;
    }

    .zoom-controls {
        bottom: 10px;
        padding: 5px 10px;
        gap: 5px;
    }

    .zoom-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .zoom-indicator {
        font-size: 11px;
        min-width: 40px;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}