@import url('header.css');
@import url('footer.css');

@font-face { /*Link Text, Text1*/
    font-family: 'Mulish';
    src: url('fonts/Mulish-Light.ttf') format('truetype'),
    font-weight: 300;
    font-style: normal;
}
@font-face { /*Text1 bold*/
    font-family: 'MulishBold1';
    src: url('fonts/Mulish-SemiBold.ttf') format('truetype'),
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Garamond';
    src: url('fonts/CormorantGaramond-Medium.ttf') format('truetype'),
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Garamond2';
    src: url('fonts/CormorantGaramond-Light.ttf') format('truetype'),
    font-weight: 300;
    font-style: normal;
}

.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: white;
    color: black;
    padding: 16px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(-20px); /* Вначале немного смещено вверх */
    font-family: Garamond;
    font-size: 20px;
    line-height: 12px;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0); /* Появление на месте */
}

.cart-toast.hidden {
    display: none;
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


body, html {
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: white;
}

.wrapper {
    max-width: 1200px;
    width: 90%;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1 1 auto;
}

.heading4 {
    color: #252525;
    font-family: Garamond;
    font-size: 40px;
    line-height: 44px;
}
.heading6 {
    color: black;
    font-family: Garamond;
    font-size: 18px;
    line-height: 19px;
}
.heading5 {
    color: #101010;
    font-family: Garamond;
    font-size: 24px;
    line-height: 28px;
}
.heading3 {
    color: #252525;
    font-family: MulishBold1;
    font-size: 24px;
    line-height: 30px;
}
.heading2 {
    color: #252525;
    font-family: Garamond2;
    font-size: 40px;
    line-height: 40px;
}
.heading2_2 {
    color: #252525;
    font-family: Garamond;
    font-size: 36px;
    line-height: 43px;
}
.small_title {
    color: #252525;
    font-family: Mulish;
    font-size: 14px;
    line-height: 18px;
}
.text_label {
    color: #757575;
    font-family: Mulish;
    font-size: 16px;
    line-height: 20px;
}
.text1 {
    color: #000000;
    font-family: Mulish;
    font-size: 16px;
    line-height: 24px;
}
.text1_medium {
    color: #000000;
    font-family: MulishBold1;
    font-size: 16px;
    line-height: 24px;
}

@media screen and (max-width: 660px) {
    .heading4 {
        font-size: 24px;
        line-height: 26px;
    }
    .heading3 {
        font-size: 20px;
        line-height: 25px;
    }
    .heading2 {
        font-size: 24px;
        line-height: 29px;
    }
    .heading2_2 {
        font-size: 24px;
        line-height: 29px;
    }
    .text_label {
        font-size: 14px;
        line-height: 17px;
    }
    .text1 {
        font-size: 16px;
        line-height: 21px;
    }
    .text1_medium {
        font-size: 14px;
        line-height: 21px;
    }
    .small_title {
        line-height: 21px;
    }
}
