/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

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

/* ===== 头部样式 ===== */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: white;
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 700;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lang-link.active {
    background: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* ===== 主内容区 ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

/* ===== 搜索栏样式 ===== */
.search-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== 分类导航样式 ===== */
.categories-section {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-link {
    padding: 10px 20px;
    background: #f5f7fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.category-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ===== 商品网格样式（瀑布流） ===== */
.products-section {
    padding: 20px 0;
}

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

.section-header h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.category-description {
    color: #7f8c8d;
    font-size: 1.1em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    position: relative;
}

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

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1em;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.8em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.product-description {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #95a5a6;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.product-sku {
    color: #7f8c8d;
}

.product-stock {
    font-weight: 600;
    color: #27ae60;
}

/* ===== 加载更多样式 ===== */
.loading-section {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.no-more-products, .no-products {
    color: #95a5a6;
    font-size: 1.1em;
    padding: 40px 20px;
    text-align: center;
}

/* ===== 商品详情页样式 ===== */
.breadcrumb-section {
    background: white;
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #666;
}

.product-detail-section {
    padding: 20px 0;
}

.product-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
}

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

.thumbnails-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #667eea;
}

.no-image-large {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-radius: 10px;
    color: #999;
    font-size: 1.2em;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-sku-info {
    color: #7f8c8d;
    font-size: 1em;
}

.product-sku-info .label {
    font-weight: 600;
}

.product-price-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-label {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.price-value {
    font-size: 2.8em;
    font-weight: 700;
    color: #e74c3c;
}

.product-stock-section {
    padding: 15px;
    background: #f0f8f4;
    border-radius: 8px;
}

.product-stock-section .label {
    font-weight: 600;
    color: #2c3e50;
}

.stock-value {
    font-weight: 600;
    margin-left: 10px;
}

.stock-value.in-stock {
    color: #27ae60;
}

.stock-value.out-of-stock {
    color: #e74c3c;
}

.product-description-section {
    padding: 20px 0;
    border-top: 1px solid #ecf0f1;
}

.section-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.description-content {
    color: #555;
    line-height: 1.8;
}

.product-meta-section {
    border-top: 1px solid #ecf0f1;
    padding-top: 20px;
}

.meta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.meta-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.meta-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-badge {
    padding: 8px 16px;
    background: #ecf0f1;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: #667eea;
    color: white;
}

.tag-badge {
    padding: 8px 16px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
}

.meta-value {
    color: #555;
}

.product-actions {
    margin-top: 30px;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ===== 底部样式 ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-switcher {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .price-value {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
}
/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

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

/* ===== 头部样式 ===== */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: white;
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 700;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lang-link.active {
    background: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* ===== 主内容区 ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

/* ===== 搜索栏样式 ===== */
.search-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== 分类导航样式 ===== */
.categories-section {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-link {
    padding: 10px 20px;
    background: #f5f7fa;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.category-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ===== 商品网格样式（瀑布流） ===== */
.products-section {
    padding: 20px 0;
}

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

.section-header h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.category-description {
    color: #7f8c8d;
    font-size: 1.1em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    position: relative;
}

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

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1em;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.8em;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.product-description {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #95a5a6;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.product-sku {
    color: #7f8c8d;
}

.product-stock {
    font-weight: 600;
    color: #27ae60;
}

/* ===== 加载更多样式 ===== */
.loading-section {
    text-align: center;
    padding: 30px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.no-more-products, .no-products {
    color: #95a5a6;
    font-size: 1.1em;
    padding: 40px 20px;
    text-align: center;
}

/* ===== 商品详情页样式 ===== */
.breadcrumb-section {
    background: white;
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: #666;
}

.product-detail-section {
    padding: 20px 0;
}

.product-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
}

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

.thumbnails-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #667eea;
}

.no-image-large {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-radius: 10px;
    color: #999;
    font-size: 1.2em;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-sku-info {
    color: #7f8c8d;
    font-size: 1em;
}

.product-sku-info .label {
    font-weight: 600;
}

.product-price-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-label {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.price-value {
    font-size: 2.8em;
    font-weight: 700;
    color: #e74c3c;
}

.product-stock-section {
    padding: 15px;
    background: #f0f8f4;
    border-radius: 8px;
}

.product-stock-section .label {
    font-weight: 600;
    color: #2c3e50;
}

.stock-value {
    font-weight: 600;
    margin-left: 10px;
}

.stock-value.in-stock {
    color: #27ae60;
}

.stock-value.out-of-stock {
    color: #e74c3c;
}

.product-description-section {
    padding: 20px 0;
    border-top: 1px solid #ecf0f1;
}

.section-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.description-content {
    color: #555;
    line-height: 1.8;
}

.product-meta-section {
    border-top: 1px solid #ecf0f1;
    padding-top: 20px;
}

.meta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.meta-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.meta-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-badge {
    padding: 8px 16px;
    background: #ecf0f1;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: #667eea;
    color: white;
}

.tag-badge {
    padding: 8px 16px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
}

.meta-value {
    color: #555;
}

.product-actions {
    margin-top: 30px;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ===== 底部样式 ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-switcher {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .price-value {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-button {
        width: 100%;
    }
}
