.montserrat-alternates-regular {
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    background-color: #D9D9D9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    max-width: none;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    overflow: hidden;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.smoke-container {
    position: relative;
    width: 150px;
    height: 250px;
    margin-bottom: 40px;
}

/* Дым */
.smoke {
    position: absolute;
    background: radial-gradient(ellipse at center, rgba(240, 240, 240, 0.9) 0%, rgba(200, 200, 200, 0.8) 20%, rgba(160, 160, 160, 0.6) 40%, rgba(120, 120, 120, 0.4) 70%, rgba(80, 80, 80, 0.1) 100%);
    border-radius: 50%;
    animation: smokeRise 5s ease-in-out infinite;
    filter: blur(3px);
}

.smoke-1 {
    width: 8px;
    height: 12px;
    left: 71px;
    top: 200px;
    animation-delay: 0s;
    animation-duration: 4s;
    z-index: 6;
    border-radius: 60% 40% 70% 30%;
}

.smoke-2 {
    width: 12px;
    height: 16px;
    left: 75px;
    top: 210px;
    animation-delay: 0.3s;
    animation-duration: 4.5s;
    z-index: 6;
    border-radius: 50% 50% 60% 40%;
}

.smoke-3 {
    width: 6px;
    height: 10px;
    left: 68px;
    top: 220px;
    animation-delay: 0.6s;
    animation-duration: 3.5s;
    z-index: 6;
    border-radius: 70% 30% 50% 50%;
}

.smoke-4 {
    width: 15px;
    height: 20px;
    left: 73px;
    top: 190px;
    animation-delay: 0.9s;
    animation-duration: 5s;
    z-index: 6;
    border-radius: 40% 60% 50% 50%;
}

.smoke-5 {
    width: 9px;
    height: 13px;
    left: 78px;
    top: 205px;
    animation-delay: 1.2s;
    animation-duration: 4.2s;
    z-index: 6;
    border-radius: 50% 50% 40% 60%;
}

.smoke-6 {
    width: 11px;
    height: 15px;
    left: 65px;
    top: 215px;
    animation-delay: 1.5s;
    animation-duration: 4.8s;
    z-index: 6;
    border-radius: 60% 40% 50% 50%;
}

.smoke-7 {
    width: 7px;
    height: 11px;
    left: 72px;
    top: 225px;
    animation-delay: 1.8s;
    animation-duration: 3.8s;
    z-index: 6;
    border-radius: 50% 50% 70% 30%;
}

.smoke-8 {
    width: 13px;
    height: 18px;
    left: 76px;
    top: 195px;
    animation-delay: 2.1s;
    animation-duration: 5.2s;
    z-index: 6;
    border-radius: 30% 70% 50% 50%;
}

.smoke-9 {
    width: 10px;
    height: 14px;
    left: 69px;
    top: 230px;
    animation-delay: 2.4s;
    animation-duration: 4.3s;
    z-index: 6;
    border-radius: 50% 50% 60% 40%;
}

.smoke-10 {
    width: 5px;
    height: 8px;
    left: 74px;
    top: 235px;
    animation-delay: 2.7s;
    animation-duration: 3.2s;
    z-index: 6;
    border-radius: 80% 20% 50% 50%;
}

.smoke-11 {
    width: 14px;
    height: 19px;
    left: 70px;
    top: 185px;
    animation-delay: 3s;
    animation-duration: 5.5s;
    z-index: 6;
    border-radius: 40% 60% 50% 50%;
}

.smoke-12 {
    width: 8px;
    height: 12px;
    left: 77px;
    top: 240px;
    animation-delay: 3.3s;
    animation-duration: 4s;
    z-index: 6;
    border-radius: 50% 50% 30% 70%;
}



@keyframes smokeRise {
    0% {
        transform: translateY(0) translateX(0) scale(0.6) rotate(0deg);
        opacity: 0.9;
    }
    10% {
        transform: translateY(-15px) translateX(2px) scale(0.8) rotate(1deg);
        opacity: 0.85;
    }
    20% {
        transform: translateY(-30px) translateX(-1px) scale(1) rotate(-0.5deg);
        opacity: 0.8;
    }
    30% {
        transform: translateY(-45px) translateX(3px) scale(1.1) rotate(1.5deg);
        opacity: 0.75;
    }
    40% {
        transform: translateY(-60px) translateX(-2px) scale(1.3) rotate(-1deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-75px) translateX(4px) scale(1.4) rotate(2deg);
        opacity: 0.6;
    }
    60% {
        transform: translateY(-90px) translateX(-3px) scale(1.5) rotate(-1.5deg);
        opacity: 0.5;
    }
    70% {
        transform: translateY(-105px) translateX(2px) scale(1.6) rotate(1deg);
        opacity: 0.4;
    }
    80% {
        transform: translateY(-120px) translateX(-1px) scale(1.7) rotate(-0.5deg);
        opacity: 0.3;
    }
    90% {
        transform: translateY(-135px) translateX(3px) scale(1.8) rotate(1deg);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-150px) translateX(0) scale(2) rotate(0deg);
        opacity: 0;
    }
}


.loading-text {
    color: #666666;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

* {
    padding: 0;
    margin: 0;
}


body>* {
    max-width: 1440px;
    width: 100%;
    box-sizing: border-box;
}

button {
    transition: 0.3s ease-in-out;
}

button:hover {
    background-color: black !important;
    color: white;
    transform: scale(1.02);
}

.info_btns {
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
    width: 100%;

    button {
        padding: 0.5em;
        background-color: white;
        border: none;
        font-size: 20px;
        font-family: "Montserrat Alternates", sans-serif;
        font-weight: 400;
        font-style: normal;
    }
}

header {
    background-color: #CCCCCC;
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 0;
    position: sticky;
    z-index: 100;
    top: 0;
}

#catalog {
    border: none;
    background-color: black;
    color: white;
    padding: 0.5em 1em;
    margin-left: 1em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 18px;
    font-size: 25px;
    cursor: pointer;
}

.logo {
    font-size: 60px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.phones {
    margin-right: 1em;
}

.phone {
    border: none;
    padding: 0.5em 1em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 18px;
    font-size: 25px;
    cursor: pointer;
}

#item {
    margin-top: 2em;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    font-style: normal;
    animation: item_anim 1s ease-in-out;
}

.item_description {
    width: 100%;
    flex-grow: 1;
    animation: item_text_anim 2s ease-in-out;
}

.item_image {
    position: relative;

    img {
        width: 100%;
    }
}

.item_image>button {
    position: absolute;
}

#left_btn {
    left: 0;
    top: 50%
}

#right_btn {
    right: 0;
    top: 50%
}

/* Футер */
.site-footer {
    margin-top: 2em;
    background-color: #CCCCCC;
    width: 100%;
    max-width: none;
    padding: 2em 0;
    border-top: 2px solid #999999;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2em;
    gap: 3em;
}

.footer-left {
    flex: 1;
    max-width: 400px;
}

.footer-logo .logo {
    font-size: 48px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1em;
}

.footer-contacts {
    margin-bottom: 1.5em;
}

.contact-item {
    margin-bottom: 0.5em;
}

.contact-item .phone,
.contact-item .email {
    color: #666666;
    font-size: 16px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    text-decoration: none;
    display: block;
}

.contact-item .phone:hover,
.contact-item .email:hover {
    color: #333333;
    transition: color 0.3s ease;
}

.footer-copyright {
    color: #666666;
    font-size: 14px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

.footer-copyright p {
    margin: 0.2em 0;
}

.footer-right {
    flex: 2;
    display: flex;
    gap: 3em;
    justify-content: flex-end;
}

.footer-column {
    min-width: 200px;
}

.footer-column h3 {
    color: #333333;
    font-size: 16px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 600;
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5em;
}

.footer-column a {
    color: #666666;
    font-size: 14px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #333333;
    text-decoration: underline;
}

/* Адаптивные стили для футера */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        gap: 2em;
        padding: 0 1em;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 1.5em;
        width: 100%;
    }
    
    .footer-column {
        min-width: auto;
    }
    
    .footer-logo .logo {
        font-size: 36px;
    }
    
    .footer-contacts {
        margin-bottom: 1em;
    }
    
    .contact-item .phone,
    .contact-item .email {
        font-size: 14px;
    }
    
    .footer-column h3 {
        font-size: 14px;
    }
    
    .footer-column a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5em 0;
    }
    
    .footer-content {
        padding: 0 0.8em;
        gap: 1.5em;
    }
    
    .footer-right {
        gap: 1em;
    }
    
    .footer-logo .logo {
        font-size: 28px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}

/* Стили для страницы контактов */
.contacts-main {
    flex-grow: 1;
    padding: 2em 0 4em 0;
    background-color: #D9D9D9;
    margin-bottom: 2em;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.contacts-header {
    text-align: center;
    margin-bottom: 3em;
}

.contacts-title {
    font-size: 48px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5em;
}

.contacts-subtitle {
    font-size: 18px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    color: #666666;
    margin: 0;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    margin-bottom: 3em;
}

.contacts-left,
.contacts-right {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

/* Карточки контактов */
.contact-card,
.requisites-card {
    background: white;
    border-radius: 16px;
    padding: 2em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
}

.contact-card:hover,
.requisites-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.contact-card-header,
.requisites-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 2px solid #CCCCCC;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #333333, #666666);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-card-header h3,
.requisites-header h3 {
    font-size: 24px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.contact-info,
.requisites-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contact-item,
.requisite-item {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* Стили для копируемых реквизитов */
.requisite-item.copyable {
    position: relative;
}

.requisite-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5em;
}

.copy-btn {
    background: #CCCCCC;
    border: none;
    border-radius: 6px;
    padding: 0.4em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666666;
    min-width: 32px;
    height: 32px;
}

.copy-btn:hover {
    background: #333333;
    color: white;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Стили для страниц информации */
.page-main {
    padding: 2em 0;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

.page-header {
    text-align: center;
    margin-bottom: 3em;
}

.page-title {
    font-size: 2.5em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5em;
}

.page-subtitle {
    font-size: 1.2em;
    color: #666666;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.5em;
}

.content-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    flex-shrink: 0;
}

.content-header h2 {
    font-size: 1.8em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.content-text {
    color: #666666;
    line-height: 1.6;
    font-size: 1.1em;
}

.content-text p {
    margin: 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    margin: 0 auto 1em;
}

.info-card h3 {
    font-size: 1.3em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5em;
}

.info-card p {
    color: #666666;
    line-height: 1.5;
    font-size: 0.95em;
    margin: 0;
}

/* Стили для большой карточки товара */
.product-card-large {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.product-image-large {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

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

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

.product-info-large {
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.5em;
}

.product-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    flex-shrink: 0;
}

.product-title-large {
    font-size: 2em;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 700;
    color: #333333;
    margin: 0;
}

.product-description-large {
    color: #666666;
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 2em;
    flex-grow: 1;
}

.product-description-large p {
    margin: 0;
}

.product-actions {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1em;
}

.action-btn.primary {
    background: #333333;
    color: white;
    flex: 1;
    min-width: 140px;
}

.action-btn.primary:hover {
    background: #555555;
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: #f5f5f5;
    color: #333333;
    border: 2px solid #e0e0e0;
    flex: 1;
    min-width: 140px;
}

.action-btn.secondary:hover {
    background: #e0e0e0;
    border-color: #333333;
    transform: translateY(-2px);
}

.contact-label,
.requisite-label {
    font-size: 14px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 500;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value,
.requisite-value {
    font-size: 16px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    color: #333333;
    word-break: break-all;
}

.contact-value.phone,
.contact-value.email {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value.phone:hover,
.contact-value.email:hover {
    color: #666666;
    text-decoration: underline;
}

/* Кнопки действий */
.contacts-actions {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 1em 2em;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.action-btn.primary {
    background: linear-gradient(135deg, #333333, #666666);
    color: white;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
}

.action-btn.secondary {
    background: white;
    color: #333333;
    border: 2px solid #CCCCCC;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.action-btn.secondary:hover {
    transform: translateY(-2px);
    border-color: #333333;
    color: #333333;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.2);
}

/* Адаптивные стили для контактов */
@media (max-width: 900px) {
    .contacts-main {
        padding: 1.5em 0;
    }
    
    .contacts-container {
        padding: 0 1em;
    }
    
    .contacts-title {
        font-size: 36px;
    }
    
    .contacts-subtitle {
        font-size: 16px;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .contact-card,
    .requisites-card {
        padding: 1.5em;
    }
    
    .contact-card-header,
    .requisites-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8em;
    }
    
    .contact-card-header h3,
    .requisites-header h3 {
        font-size: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contacts-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .contacts-main {
        padding: 1em 0;
    }
    
    .contacts-container {
        padding: 0 0.8em;
    }
    
    .contacts-title {
        font-size: 28px;
    }
    
    .contacts-subtitle {
        font-size: 14px;
    }
    
    .contact-card,
    .requisites-card {
        padding: 1em;
    }
    
    .contact-card-header h3,
    .requisites-header h3 {
        font-size: 18px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-value,
    .requisite-value {
        font-size: 14px;
    }
    
    .action-btn {
        padding: 0.8em 1.5em;
        font-size: 14px;
        min-width: auto;
    }
    
    .copy-btn {
        min-width: 28px;
        height: 28px;
        padding: 0.3em;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .page-subtitle {
        font-size: 1em;
    }
    
    .content-card {
        padding: 1.5em;
    }
    
    .content-header h2 {
        font-size: 1.5em;
    }
    
    .content-text {
        font-size: 1em;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .info-card {
        padding: 1em;
    }
    
    .info-card h3 {
        font-size: 1.1em;
    }
    
    .info-card p {
        font-size: 0.9em;
    }
    
    .product-card-large {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .product-image-large {
        height: 250px;
    }
    
    .product-info-large {
        padding: 1.5em;
    }
    
    .product-title-large {
        font-size: 1.5em;
    }
    
    .product-description-large {
        font-size: 1em;
        margin-bottom: 1.5em;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

@keyframes item_anim {
    0% {
        opacity: 0;
        transform: translateY(10%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes item_text_anim {
    0% {
        opacity: 0;
        transform: translateX(-10%);
    }

    50% {
        opacity: 0;
        transform: translateX(-10%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивные стили для item */
@media (max-width: 900px) {
    #item {
        flex-direction: column !important;
        font-size: 16px !important;
        padding: 1em !important;
    }
    
    .item_image {
        width: 100% !important;
        margin-bottom: 1em;
    }
    
    .item_image img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .item_description {
        width: 100% !important;
        font-size: 16px !important;
    }
    
    #left_btn, #right_btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    #item {
        font-size: 14px !important;
        padding: 0.8em !important;
    }
    
    .item_description {
        font-size: 14px !important;
    }
    
    .item_image img {
        max-width: 100% !important;
    }
}

/* Бургер меню для всех страниц */
.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5em;
    margin-right: 1em;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Мобильное меню для всех страниц */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
    display: block;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    color: #ccc;
    transform: scale(1.1);
}

.mobile-menu .info_btns {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 2em;
    margin-top: 5em;
}

.mobile-menu .info_btns button {
    background-color: white;
    color: black;
    padding: 1em 2em;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu .info_btns button:hover {
    background-color: black;
    color: white;
    transform: scale(1.05);
}

.mobile-menu .phones {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-right: 0;
}

.mobile-menu .phones .phone {
    background-color: white;
    color: black;
    padding: 1em 2em;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu .phones .phone:hover {
    background-color: black;
    color: white;
    transform: scale(1.05);
}

/* Адаптивные стили для всех страниц */
@media (max-width: 900px) {
    .burger-menu {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .logo {
        font-size: 40px !important;
    }
    
    #catalog {
        font-size: 18px !important;
        padding: 0.4em 0.8em !important;
    }
    
    .phones {
        display: none;
    }
    
    .info_btns {
        display: none;
    }
    
    .info_btns button {
        font-size: 16px !important;
        padding: 0.4em !important;
    }
    
    #about_text {
        font-size: 24px !important;
    }
    
    #fond_text {
        font-size: 16px !important;
        padding: 0.8em !important;
        padding-left: 1.5em !important;
    }
    
    #advantages {
        font-size: 16px !important;
    }
    
    .advantage {
        padding: 1em !important;
    }
    
    .advantage img {
        max-width: 60px !important;
        height: auto !important;
    }
    
    #grid {
        grid-template-columns: 1fr !important;
        gap: 0.3em !important;
    }
    
    .huge {
        grid-column: span 1 !important;
    }
    
    .left, .right {
        border-radius: 10px !important;
    }
    
    /* Адаптивные стили для fond_section */
    #fond_section {
        flex-direction: column !important;
        align-items: center !important;
        padding: 1em !important;
    }
    
    #fond {
        width: 100% !important;
        max-width: 300px !important;
        margin-bottom: 1em !important;
    }
    
    #fond img {
        width: 100% !important;
        height: auto !important;
    }
    
    #bg_fond {
        display: none !important;
    }
    
    #fond_text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1em !important;
        padding-left: 1em !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 30px !important;
    }
    
    #catalog {
        font-size: 16px !important;
        padding: 0.3em 0.6em !important;
    }
    
    #about_text {
        font-size: 20px !important;
    }
    
    #fond_text {
        font-size: 14px !important;
        padding: 0.6em !important;
        padding-left: 1em !important;
    }
    
    #advantages {
        font-size: 14px !important;
    }
    
    .advantage {
        padding: 0.8em !important;
    }
    
    .advantage img {
        max-width: 50px !important;
    }
    
    .info_btns button {
        font-size: 14px !important;
        padding: 0.3em !important;
    }
    
    /* Адаптивные стили для fond_section на очень маленьких экранах */
    #fond_section {
        padding: 0.5em !important;
    }
    
    #fond {
        max-width: 250px !important;
    }
    
    #fond_text {
        font-size: 12px !important;
        padding: 0.8em !important;
    }
}