* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a1e1b;
    line-height: 1.4;
    padding-top: 88px;
}

.mini-img-in-div {
    width: 50px;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 0 32px;
}

.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb a {
    text-decoration: none;
    color: #9bae95;
    font-size: 0.75rem;
}

.breadcrumb span {
    color: #4a5a46;
    font-size: 0.75rem;
}

.breadcrumb i {
    font-size: 0.65rem;
    color: #cbd7c4;
    margin: 0 6px;
}

.product-container {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.main-image {
    background-color: #fafaf8;
    border-radius: 28px;
    overflow: hidden;
    max-width:500px;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #fafaf8;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #4faf54;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    min-width: 320px;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9bae95;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-title {
    font-size: 2rem;
    font-weight: 500;
    color: #1e2a21;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-description-full {
    margin-bottom: 28px;
}

.product-description-full p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5a46;
    margin-bottom: 16px;
}

.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0ef;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e2a21;
    margin-bottom: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.related-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-image {
    aspect-ratio: 4 / 5;
    background-color: #fafaf8;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    padding: 12px 12px 16px;
}

.related-title-sm {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a2a1a;
    margin-bottom: 6px;
}

footer {
    border-top: 1px solid #f0f0ef;
    padding: 28px 0 36px;
    margin-top: 60px;
    text-align: center;
    font-size: 0.7rem;
    color: #8a9b86;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social {
    margin-top: 24px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
}

/* Адаптивность */
@media (max-width: 900px) {
    body {
        padding-top: 80px;
    }
    
    .main-wrapper {
        padding: 16px 20px 0 20px;
        margin-top: 50px;
    }
    
    .product-container {
        gap: 32px;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 16px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .main-wrapper {
        margin-top: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
}