@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Macherie:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

@font-face {
    font-family: 'BlackerSansDisplay';
    src: url('/static/fonts/BlackerSansDisplay-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "BlackerSansDisplay" !important;
}

.body {
    padding: 0px 0px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.flash {
    font-family: 'Ubuntu',;
    font-size: 24px;
    position: fixed;
    top: -50px; /* Начальная позиция выше экрана */
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    color: white;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    opacity: 0;
    transition: top 0.5s ease, opacity 0.5s ease;
    z-index: 1000000;
    width: 60vw;
    border: 3.5px solid #A26788;
    color: #48404D;
}

.flash.show {
    top: 13vh; /* Позиция, когда сообщение отображается */
    opacity: 1;
}

#close-btn {
    background: none;
    border: none;
    color: #48404D;
    font-size: 32px;
    cursor: pointer;
    margin-left: 10px;
    align-self: flex-start;
    width: 32px;
    height: 32px;
    margin-top: -10px;
}

#close-btn > img {
    width: 32px;
    height: 32px;
}

#flash-text {
    max-width: 90%;
    word-break: break-all;
}

#header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #48404D;
    padding: 33px 150px 33px 150px;
    z-index: 10000;
}

.header-ref {
    font-family: "Ubuntu",;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: border-bottom 0.5s ease-out;
    position: relative;

    &:after {
		position: absolute;
		content:"";
		width: 0;
		height: 3px;
		background: #A26788;
		transition: all .5s;
		bottom: -3px;
		left: 0;

	}

	&:hover {
		&:after {
			width: 100%;
		}
	}
}

.footer-ref {
    font-family: "Ubuntu",;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.footer-ref:hover {
    color: white;
}

.header-ref > p {
    margin: 0px;
}

.header-ref.with_icon {
    display: flex;
    align-items: center;
}

.header-ref.with_icon > img {
    margin-right: 10px;
}

.header-ref:hover {
    color: white;
}

.logo, .logo > a > img {
    width: 86px;
    height: 64px;
}

.logo-mini > a > img {
    width: 30px;
    height: 26px;
}

.logo-mini {
    display: none;
    width: 30px;
    height: 26px;
}

#footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #48404D;
    padding: 67px 150px 68px 150px;
    z-index: 100;
}

#footer > div > p {
    margin: 0px;
}


/* main */


.macherie {
    font-family: 'Macherie', sans-serif;
}

#index-slide-1 {
    padding: 95px 150px 25px 150px;
    background-color: #48404D;
}

#index-slide-1 > h3 {
    font-family: 'Macherie', sans-serif;
    font-size: 96px;
    color: white;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.explan-text {
    font-family: "Ubuntu",;
    font-size: 32px;
    font-weight: 300;
}

.explan-text-mini {
    font-family: "Ubuntu",;
    font-size: 24px;
    font-weight: 300;
}

p.explan-text {
    margin-bottom: 0;
}

#index-slide-1 > .explanation {
    margin-top: 76px;
    color: white;
    position: relative;
    z-index: 2;
}

#index-slide-1 > p {
    margin-top: 56px;
    color: white;
    margin-bottom: 0;
    max-width: 42vw;
    position: relative;
    z-index: 2;
}

#index-slide-1 > p#a2 {
    display: none;
}

#index-slide-1 > .sqr-btn {
    margin-top: 64px;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transform: scale(1.1);
    pointer-events: none;
}

section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: absolute;
    right: -10vw;
    bottom: 25vh;
    z-index: 0;
    overflow: hidden;
}

.carousel {
    display: flex;
    max-width: 1000px;
    gap: 20px;
}

.carousel.sliding-transition {
    transition: transform 0.5s ease-in-out;
}

.arrow-button {
    padding: 0;
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    border: none;
    transition: all 0.2s, top 0.1s;
}

.right-arrow {
    right: 25%;
}

.arrow-button:hover {
    transform: scale(1.3);
    top: 49.75%;
}

#index-slide-2 {
    padding: 95px 0 80px 150px;
    background-color: #FFFFFF;
    position: relative;
    z-index: 2;
}

#index-slide-2 > h3 {
    font-family: 'Macherie', sans-serif;
    font-size: 64px;
    color: #000000;
    margin-bottom: 0;
}

.instruction {
    display: flex;
    flex-direction: row;
}

.instruction-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto;
    grid-column-gap: 124px;
    grid-row-gap: 64px;
    margin-top: 100px;
}

.instruction-grid > p {
    margin: 0;
    font-family: "Ubuntu",;
    font-weight: 500;
    font-style: normal;
    font-size: 40px;
    margin-left: 134px;

}

.instruction-grid > p > span {
    font-weight: 700;
    color: #A26788;
}

.instruction > .a1 {
    margin-left: 8vw;
}

.instruction > .a2 {
    margin-left: 8vw;
    margin-top: -100px;
}

#index-slide-2 > .a3 {
    display: none;
}

#index-slide-3 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 150px;
    background-color: #F2E3D0;
}

.headline-news {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 34.5vw;
    height: 1080;
    text-align: center;
    color: #F2E3D0;
    background-color: #A26788;
    font-size: 64px;
    min-width: 378px;
    z-index: 2;
}

.headline-news > span {
    z-index: 2;
}

.headline-news::after {
    content: '';
    position: absolute;
    right: -160px;
    border: 120px solid transparent;
    border-left: 120px solid #A26788;
    z-index: 1;
    pointer-events: none;
}

.new-items {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    grid-column-gap: 51px;
    grid-row-gap: 28px;
    align-self: center;
    margin: 62px 0 62px 75px;
}

.new-item {
    display: flex;
    border-radius: 35px;
    height: 300px;
    text-decoration: none;
    transition: transform .3s ease-in-out;
}

.new-item:hover {
    transform: scale(1.1);
}

.new-item > img {
    background-color: #D9D9D9;
    width: 300px;
    border: none;
    box-shadow: none;
    border-radius: 35px 0 0 35px;
}

.new-item > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    background-image: url('/static/svg/bg_new_item.svg');
    width: 200px;
    text-align: right;
    padding: 22px 18px 18px 14px;
    border-radius: 0 35px 35px 0;
}

.new-item > div > p.name {
    font-family: "Ubuntu",;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: black;
    -webkit-line-clamp: 3; /* Число отображаемых строк */
    display: -webkit-box; /* Включаем флексбоксы */
    -webkit-box-orient: vertical; /* Вертикальная ориентация */
    overflow: hidden; /* Обрезаем всё за пределами блока */

}

.new-item > div > .price {
    background-color: white;
    padding: 15px 14px;
    text-align: center;
    color: #A26788;
    font-family: 'Macherie', sans-serif;
    font-size: 24px;
    margin-left: -64px;
    z-index: 100;
}

#index-slide-4 {
    display: flex;
    justify-content: space-between;
    padding: 68px 150px 94px 150px;
    background-color: #FFFFFF;
}

#index-slide-4 > div > h3 {
    font-family: 'Macherie', sans-serif;
    font-size: 48px;
    margin-bottom: 0;
    color: black;
}

#index-slide-4 > div.contacts > p {
    font-family: "Ubuntu",;
    font-weight: 300;
    font-style: normal;
    font-size: 32px;
    margin: 0;
    line-height: 1.2;
}

#index-slide-4 > div.contacts > p.contacts-p {
    font-weight: 600 !important;
    font-size: 36px;
    margin: 0;
    margin-top: 40px;
}

#index-slide-4 > div.message > form > div {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    grid-column-gap: 72px;
    grid-row-gap: 28px;
}

#index-slide-4 > div.message > form > div > label {
    font-family: "Ubuntu",;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;

}

#index-slide-4 > .message > form > div.d2 > label {
    font-size: 28px;
}

#index-slide-4 > div.message > form > div > .inp {
    max-width: 250px;
}

#index-slide-4 > div.message > p {
    font-family: "Ubuntu",;
    font-weight: 500;
    font-style: normal;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 24px;
}

#index-slide-4 > div > .socials-refs {
    padding-left: 37px;
    display: flex;
    justify-content: space-around;
}

#index-slide-4 > .contacts {
    max-width: 47%;
}

.purple-crcl-btn.c2 {
    display: none;
}

#index-slide-4 > .message > form > div.d2 {
    display: none;
}

/* ======================= */
/*         catalog         */
/* ======================= */

.catalog-header {
    background-color: #F2E3D0;
    display: flex;
    justify-content: space-between;
    padding: 29px 150px 30px 150px;
    align-items: center;
}

.catalog-header > h4 {
    font-size: 48px;
}

.catalog-header > h4 > span {
    color: #A26788;
}

.price-sort-block, .catalog-header > div {
    display: flex;
    align-items: center;
}

.price-sort-block {
    margin: 0 56px;
}

.price-sort-block > div {
    height: 2px;
    background-color: #A26788;
    width: 50px;
    border-radius: 1px;
    margin: 0 21px;
}

.catalog {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 80px;
    column-gap: 20px;
    padding: 64px 150px 64px 150px;
    width: 100%;
    box-sizing: border-box;
}

.catalog-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 500px;
    color: black;
    text-decoration: none;
    transition: transform .25s ease-in-out;
}

.catalog-item:hover {
    transform: scale(1.03);
}

.catalog-item > a {
    text-decoration: none;
    color: #48404D;
}

.catalog-item > a:hover {
    color: #3E3D3A !important;
    cursor: pointer;
}

.catalog-item > a > img {
    height: 500px;
    width: 500px;
    background-color: #d9d9d9;
    border-radius: 35px;
    border: none !important;
    object-fit:cover;
}

.catalog-item > a > p.price {
    font-size: 32px;
    margin: 25px 0 25px 0;
}

.catalog-item > a > p.title {
    font-size: 28px;
    font-weight: 700;
    font-family: "Ubuntu",;
    max-width: 470px;
    margin-bottom: 0;
}

.catalog-item > .to-basket-btn {
    margin-top: 25px;
}

.catalog-item > .kolvo {
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    flex-wrap: wrap;
    width: 90%;
    margin-top: 24px;
}

.basket-menu {
    position: fixed;
    bottom: 50px;
    right: 150px;
    padding: 8px 16px 16px 16px;
    background-color: #F2E3D0;
    border-radius: 25px;
    display: flex;
    flex-direction: column;

}

.basket-menu > header {
    font-size: 40px;
    font-weight: 500;
    font-family: "Ubuntu",;
    align-text: center;
    align-self: center;
}

.basket-menu > p {
    font-size: 28px;
    font-weight: 400;
    font-family: "Ubuntu",;
}

.basket-menu > p > span {
    font-weight: 600;
    font-family: "Ubuntu",;
    color: #A26788;
}

.basket-menu > a {
    font-size: 20px;
    font-weight: 400;
    font-family: "Ubuntu",;
    text-decoration: none;
    color: #808080;
}

.basket-menu > a {
    color: #808080;
    text-decoration: underline;
}

.basket-menu > button {
    font-size: 28px;
    padding: 8px 70px;
}

.about-text {
    margin-top: 80px;
}

.about-text > h1 {
    font-size: 48px;
    color: black;
}

.about-text > h1 > span {
    color: #A26788;
}

.about-text > p {
    font-family: 'Ubuntu',;
    font-size: 32px;
    font-weight: 600;
    max-width: 80%;
    margin-top: 48px;
}
/*
.about-text > img {
    position: absolute;
    right: 150px;
    top: 150px;
}

.over-info {
    display: flex;
    flex-direction: column;
}*/

.about-us {
    display: flex;
    padding: 0 150px 0 150px;
}

.about-us > div {
    display: flex;
    flex-direction: column;
}

.about-us > div > img {
    margin-top: 30px;
    position: relative;
    align-self: flex-start;
}

.about-us > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us > div > div > h3 {
    font-size: 48px;
}

.about-us > div > div > p.a {
    font-size: 30px;
    font-family: 'Ubuntu',;
}

#dostavka {
    background-image: url('/static/svg/rectagle-yellow.svg');
    padding: 88px 240px 80px 115px;
    background-repeat: no-repeat;
    position: relative;
    width: 1050px;
    left: -150px;
    margin-top: 124px;
}

#events {
    background-image: url('/static/svg/rectagle-yellow.svg');
    padding: 88px 240px 80px 115px;
    background-repeat: no-repeat;
    position: relative;
    width: 1050px;
    left: -150px;
    margin-top: 40px;
    min-height: 462px;
    margin-bottom: 24px;
    background-position: left;
}

#contacts {
    background-image: url('/static/svg/rectagle-pirple.svg');
    padding: 88px 115px 80px 240px;
    background-repeat: no-repeat;
    position: relative;
    width: 1050px;
    margin-top: 124px;
    text-align: right;
    color: white;
    right: 347px;
    background-position: right;
}

#contacts2 {
    display: none;
}

.about-us > div > img.a2 {
    display: none;
}

/* --------- */
/* item-main */
/* --------- */

.item-main {
    padding: 80px 150px 80px 150px;
    display: flex;

}

.item-info {
    display: flex;
    flex-direction: column;

}

.item-info > h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.item-info > div > p.price {
    font-size: 36px;
    margin-bottom: 32px;
    text-align: justify;
}

.item-info > div {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.item-info > div > p.price > span {
    color: #A26788;
}

.catalog.similar {

}


.item-carusel {
    width: 651px;
    background-color: #ffffff;
    border-radius: 30px;
    height: 600px;
    position: relative;
    margin-right: 100px;
    border-radius: 30px;
    overflow: hidden;
    background-color: rgba(217, 217, 217, 0.15);
    flex-shrink: 0;
}

.prev, .next {
    background-color: rgba(217, 217, 217, 0.25);

    height: 100%;
    width: 87px;
    position: absolute;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev > img, .next > img {
    z-index: 10000;
    position:absolute;
}

.slides {
    display: flex;
    transition: transform 0.1s ease-in-out;
    height: 100%;
    position: absolute;
    z-index: 100;
    pointer-events: none;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    pointer-events: none;

}

.prev {
    left: 0px;
}

.next {
    right: 0px;
}

.prev:hover, .next:hover {
    background-color: rgba(217, 217, 217, 0.5);
}

.slide img {
    width: 100%;
    height: 100%;
}




.item-description {
    font-family: "Ubuntu",;
    font-size: 40px;
    font-weight: 500;
    white-space: break-spaces;
}


.item-main > .item-info > div > .to-basket-btn {
    padding: 11px 20px 11px 15px;
    border-radius: 20px;
    margin-left: 30px;
}

.similar-headline {
    font-size: 48px;
    padding-left: 150px;
    margin-top: 50px;
}

.modal {
    z-index: 100000;
    display: none;
    position: fixed;
    width: 100%; /* Полная ширина */
    height: 100vh; /* Полная высота */
    background-color: rgb(0, 0, 0); /* Темный фон */
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    display: flex;
    flex-direction: column;
    background-color: #fefefe;
    margin: 5% auto; /* Расположение окна по центру */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ширина окна */
    max-width: 700px; /* Максимальная ширина */
    overflow: visible;
}

.modal-content > div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-content > div > h2 {
    margin-bottom: 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -7px;
}

.modal-content > form {
    display: flex;
    flex-direction: column;
}

.modal-content > form > .select-box {
    max-width: 300px !important;
    align-self: flex-start;
}

.modal-content > form > label {
    font-family: "Ubuntu",;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* buttons and over */

.sqr-btn {
    font-family: "Ubuntu",;
    font-size: 32px;
    font-weight: 500;
    color: white;

    padding: 24px 28px;
    border: 1px white solid;

    text-decoration: none;
    display: inline-block;
    transition: box-shadow 0.5s;
}

.sqr-btn:hover {
    color: white;
    box-shadow: 30px -16px #A26788;
}

.to-basket-btn > p {
    color: white;
}

.to-basket-btn {
    display: flex;
    font-family: "Ubuntu",;
    font-size: 20px;
    font-weight: 300;
    padding: 11px 20px 11px 15px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background-color: #A26788;
    border: 2px #A26788 solid;
    background-image: linear-gradient(#FFFFFF, #FFFFFF);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .5s, color .5s;
}

.to-basket-btn > p {
    margin-top: -3px;
    margin-bottom: 0;
}

.to-basket-btn::before {
    content: url('/static/svg/korzinka.svg');
    margin-right: 13px;
}

.to-basket-btn:hover > p {
    color: #A26788 !important;
}

.to-basket-btn:hover {
    background-size: 100% 100%;
}

.to-basket-btn:hover::before {
    content: url('/static/svg/korzinka-pirple.svg');
    margin-right: 13px;
}

.purple-crcl-btn {
    font-family: "Ubuntu",;
    font-size: 24px;
    font-weight: 500;
    padding: 10px 33px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background-color: #A26788;
    border: 2px #A26788 solid;
    background-image: linear-gradient(#FFFFFF, #FFFFFF);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .5s, color .5s;
}

.purple-crcl-btn:hover {
    color: #A26788;
    background-size: 100% 100%;
}

.inp {
    border-radius: 25px;
    border: 2px solid #A26788;
    padding: 8px 20px;
    font-family: "Ubuntu",;
    font-size: 24px;
    font-weight: 400;
    color: #A26788;
    background-color: rgba(0,0,0,0)
}

.inp::placeholder {
    font-family: "Ubuntu",;
    font-size: 24px;
    font-weight: 400;
    color: #AB7692;
}

.category-sort, .sort-items {
    border-radius: 25px;
    padding: 8px 20px 16px 20px;
    background-color: #A26788;
    color: white;
    font-family: "Ubuntu",;
    font-size: 32px;
    font-weight: 300;
    border: none;
    display: flex;
    align-items: center;
}

.category-sort:after, .sort-items:after {
    content: url("/static/svg/arrow_bot.svg") !important;
    margin-left: 12px;
    margin-top: -3px;
}

.inp.kolvo-inp {
    max-width: 200px;
    padding: 3px 20px 8px 20px;
    color: black;
    font-size: 36px;
    text-align: center;
}

.inp.kolvo-inp::-webkit-outer-spin-button,
.inp.kolvo-inp::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.inp.kolvo-inp[type='number'] {
    -moz-appearance: textfield;
}

button.del:hover, button.plus:hover, button.minus:hover {
    transform: scale(1.05)

}

button.del, button.plus {
    padding: 19px;
    background-color: #A26788 !important;
    border: none;
    border-radius: 25px;
    transition: transform .1s;
}

button.del > img, button.plus > img {
    height: 31px;
    width: 31px;
}

button.minus {
    min-height: 69px;
    padding: 22.5px 12px;
    background-color: #A26788;
    border: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    transition: transform .1s;
}

button.plus > img {
    transform: rotate(45deg)
}

.custom-select {
    position: relative;
    min-width: 200px;
}

.order-form > .custom-select {
    width: auto;
}

.select-selected {
    flex-grow: 1;
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #A26788;
    border-top: none;
    z-index: 99;
    display: none;
    font-family: "Ubuntu",;
    font-size: 28px;
    font-weight: 300;
    color: white;
}

.select-item {
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    text-wrap: wrap;
}

.select-item:hover {
    background-color: #84546F;
}

.select-box.active + .select-items {
    display: block;
}

.select-box.active + .select-items, .select-items > div:last-child {
    display: block;
    border-radius: 0 0 25px 25px;
}

.select-box.active {
    border-radius: 25px 25px 0 0;
}

.price-sort {
    border-radius: 25px;
    padding: 6px 18px 14px 18px;
    background: none;
    color: #A26788;
    font-family: "Ubuntu",;
    font-size: 32px;
    font-weight: 400;
    border: 2px solid #A26788;
    max-width: 210px;
}

.price-sort::placeholder {
    text-align: center;
    color: #AB748F;
    font-family: "Ubuntu",;
    font-size: 32px;
    font-weight: 400;
}

.price-sort::-webkit-outer-spin-button,
.price-sort::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-sort[type='number'] {
    -moz-appearance: textfield;
}

#burger-menu {
    cursor: pointer;
    font-size: 24px;
    display: none;
}

.dropdown-content.sort-mini {
    position: static;
    display: none;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s ease;
    flex-wrap: wrap;
    background-color: #F2E3D0;
    z-index: 100;
    border-radius: 0 0 25px 25px;
}

.dropdown-content.open {
    max-height: 500px; /* Достаточная высота для отображения всего содержимого */
    overflow: visible;
    padding: 30px 150px 30px 150px !important;
    padding: 30px 0;
}

.dropdown:hover .dropdown-toggle {
    border-radius: 10px 10px 0 0;
}

.item {
    display: flex;
    justify-content: center
}

.admin-main {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: auto;
    column-gap: 10px;
    row-gap: 10px;
    padding: 20px 150px;
}

.create-category > button {
    margin-top: 10px;
}

div.create-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column-start: 1;
    grid-column-end: 1;
    height: auto;
    padding: 5px;
    border: 1px solid #48404D;
    border-radius: 10px;
    max-width: 100%
}

.admin-main > div, .admin-main > form {
    border: 1px solid #48404D;
    border-radius: 10px;
    padding: 5px;
}

div.create-item > h6, .admin-main > div > h6, .admin-main > form > h6 {
    font-family: "Ubuntu",;
    font-size: 36px;
    margin-bottom: 28px;
}

.bid {
    margin-bottom: 10px;
}

.bids {
    grid-row-start: span 2;
}

.bids, .items-for-category {
    display: flex;
    flex-direction: column !important;
}

.item-for-admin {
    width: 100%;
    margin-top: 5px;
}

.item-for-admin > button.plus > img {
    transform: rotate(45deg);
}

.item-for-admin > button.plus.selected > img {
    transform: rotate(0deg)
}

.bid, .item-for-admin, .cat-for-admin {
    display: flex;
    border: 2px solid #A26788;
    border-radius: 25px;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    width: 100%;

    font-family: "Ubuntu",;
    font-size: 16;
    font-weight: 300;
}

.items-for-category > .item-for-admin > button::before {
    content: none;
}

.items-for-category > .item-for-admin > button {
    padding: 10px;
}

.bid > date {
    color: #666666;
}

.bid > text, .item-for-admin > text {
    margin-left: 20px;
}

.item-for-admin > button {
    background: none;
    border: none;
}

.item-for-admin > button.edit::before {
    content: url('/static/svg/icon pencil.svg');
    width: 27px;
    height: 27px;
}

.item-for-admin > button.delete::before {
    content: url('/static/svg/icon trash.svg');
    width: 24px;
    height: 27px;
}

.bid > button.apply_or_not.apply:before, .item-for-admin > button.apply_or_not.apply:before {
    content: url("/static/svg/apply.svg")
}

.cat-for-admin {
    padding: 5px 10px;
}

.bid > button.apply_or_not, .item-for-admin > button.apply_or_not {
    padding: 0;
}

.item-for-admin > button::before {
    margin-right: 5px;
}

.bid > button.apply_or_not::before, .item-for-admin > button.apply_or_not::before {
    width: 24px;
    height: 18px;
    content: url("/static/svg/non_apply.svg")
}

.image-preview {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.select-item.selected {
    background-color: #ccc; /* Цвет фона выбранных элементов */
    font-weight: bold;      /* Жирный текст для выбранных элементов */
}

.image-container {
    width: 180px;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center
    border-radius: 10px;
}

.image-preview > div > img {
    max-width: 200px;
    position: relative;
    object-fit:cover;
}

.image-preview > div > button {
    position: absolute;
    align-self: flex-end;
    z-index: 100;
    border: none;
    background-color: red;
    border-radius: 5px;

}

#orderModalContent {
    font-family: "Ubuntu",;
    font-size: 24px;
    font-weight: 500;

}

#orderModalContent > p {
    margin-bottom: 3px;
}

#orderModalContent > p > span {
    color: #A26788 !important;
}

.items > .item-for-admin {
    padding: 6px;
}

.items > .item-for-admin > img {
    width: 40px;
    height: 40px;
    background-color: #d9d9d9;
    border-radius: 5px;
    border: none !important;
}

.switch-active-btn {
    background: none;
    border: none;
    margin-left: auto;
}

.switch-active-btn::before {
    content: url('/static/svg/closed eye.svg') !important;
    width: 31px;
    height: 27px;
}

.switch-active-btn.active::before {
    content: url('/static/svg/open eye.svg') !important;
    width: 30px;
    height: 18px;
}








@media (max-width: 400px) {
    .custom-select {
        min-width: 130px;
    }

    .header-ref {
        font-weight: 600;
        font-size: 14px !important;
    }

    .right-arrow {
        right: 5vw !important;
    }

    .carousel-image {
        width: 250px !important;
    }

    .carousel-container {
        left: 0vw !important;
        margin-left: 0 !important;
    }

    .header-ref.with_icon > img {
        width: 25px;
    }

    #header {
        padding: 12px 25px 12px 25px !important;
    }

    .header-ref.with_icon, .header-ref.with_icon.profile {
        margin-left: 12px;
    }

    /* slide 1 */

    #index-slide-1 {
        padding: 15px 0px 25px 25px !important;
    }

    #index-slide-1 > h3 {
        font-size: 20px !important;
        position: relative;
        z-index: 2;
        margin-top: 24px;
    }

    .explan-text {
        font-size: 16px !important;
    }

    #index-slide-1 > p {
        margin-top: 20px !important;
    }

    .sqr-btn {
        font-size: 24px;
        padding: 20px 24px;
        margin-left: -40px;
    }

    /* slide 2 */

    #index-slide-2 {
        padding: 40px 25px 40px 25px;
    }

    #index-slide-2 > h3 {
        font-size: 24px;
    }

    .instruction-grid > p {
        font-size: 16px;
        margin-top: 0px !important;
    }

    .instruction-grid > img {
        height: 42px;
    }

    /* slide 3 */

    .headline-news {
        font-size: 56px;
        align-self: center;
    }

    .new-item {
        border-radius: 25px;
        height: 189px;
    }

    .new-item:hover {
        transform: scale(1.05);
    }

    .new-item > img {
        width: 189px;
        border-radius: 25px 0 0 25px;
    }

    .new-item > div {
        width: 126px;
        text-align: right;
        padding: 14px 12px 12px 8px;
        border-radius: 0 25px 25px 0;
    }

    .new-item > div > p.name {
        font-style: normal;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .new-item > div > .price {
        padding: 10px 9px;
        text-align: center;
        font-size: 16px;
        margin-left: -36px;
        margin-bottom: 8px;
    }

    .to-basket-btn {
        font-size: 13px;
        padding: 7px 0px 3px 8px;
        color: white;
        text-decoration: none;
        border-radius: 15px;
    }

    .to-basket-btn > p {
        margin-top: -2px !important;
        margin-bottom: 4px !important;
    }

    .to-basket-btn::before {
        display: inline-block;
        content: url('/static/svg/korzinka-mini.svg') !important;
        margin-right: 10px;
    }

    /* slide 4 */

    #index-slide-4 {
        padding: 68px 25px 94px 25px;
    }

    #index-slide-4 > div.contacts > p.contacts-p {
        font-size: 16px;
        margin-top: 40px;
    }

    #index-slide-4 > div.message > form > div {
        margin-top: 32px;
    }

    #index-slide-4 > div.message > form > div.d2 > label {
        font-size: 16px;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 250px;
    }

    #index-slide-4 > div.message > p {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 24px;
    }

    #index-slide-4 > .message {
        margin-top: 64px;
    }

    .purple-crcl-btn.c2 {
        margin-top: 32px;
    }

    #index-slide-4 > div > .socials-refs {
        width: 100% !important;
    }

    #index-slide-4 > div > .socials-refs > a > img {
        height: 60px;

    }

    .inp {
        border-radius: 20px;
        padding: 8px 16px;
        font-size: 20px;
    }

    .inp::placeholder {
        font-size: 20px;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 220px;
    }

    .purple-crcl-btn {
        font-size: 22px;
        padding: 10px 22px;
        border-radius: 22px;
    }

    #index-slide-4 > div > h3 {
        font-size: 24px;
        margin-bottom: 0;
        color: black;
    }

    #index-slide-4 > div.message > form > div.d2 {
        margin-top: 16px !important;
    }

    #index-slide-4 > div.contacts > p {
        font-size: 16px;
        margin: 16px 0 32px 0;
        line-height: 1.2;
    }

    .catalog {
        grid-template-columns: auto !important;
        grid-row-gap: 80px;
        padding: 64px 10px 64px 10px;
    }

    .dropdown-content.open {
        padding: 30px 20px 30px 20px !important;
    }

    .inp.kolvo-inp {
        max-width: 100px;
        padding: 1px 10px 4px 10px;
        font-size: 24px;
    }

    button.del, button.plus {
        padding: 11px;
        border-radius: 15px;
        display: flex;
        align-items: center;
    }

    button.del > img, button.plus > img {
        height: 21px;
        width: 21px;
    }

    button.minus {
        min-height: 21px;
        padding: 11px 6px;
        border-radius: 15px;
    }

    button.minus > img {
        width: 33px;
    }

    .catalog-header {
        padding: 14px 20px 15px 20px !important;
    }

    .catalog-header > h4 {
        font-size: 20px;
        margin-bottom: -5px;
    }

    .catalog-item {
        width: 300px;
    }

    .catalog-item > a > img {
        height: 300px;
        width: 300px;
        border-radius: 20px;
    }

    .catalog-item > a > p.price {
        font-size: 16px;
        margin: 5px 0 5px 0;
    }

    .catalog-item > a > p.title {
        font-size: 18px;
        font-weight: 700;
        font-family: "Ubuntu",;
        max-width: 290px;
        margin-bottom: 0;
    }

    .catalog-item > .to-basket-btn {
        margin-top: 25px;
    }

    .catalog-item > .kolvo {
        display: flex;
        justify-content: space-between;
        align-self: flex-start;
        flex-wrap: wrap;
        width: 90%;
        margin-top: 24px;
    }

    .category-sort, .sort-items {
        border-radius: 18px;
        padding: 3px 14px 10px 14px;
        font-size: 16px;
        font-weight: 300;
        min-width: 120px;
        border: none;
        display: flex;
        align-items: center;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 0px;
        margin-bottom: -5px;
    }

    .price-sort {
        border-radius: 18px;
        padding: 2px 12px 8px 12px;
        font-size: 16px;
        font-weight: 400;
        max-width: 100px;
    }

    .price-sort-block {
        margin: 0 !important;
        flex-direction: column;
        position: relative;
        row-gap: 5px;
    }

    .price-sort-block > div {
        display: none;
    }

    .price-sort::placeholder {
        text-align: center;
        font-size: 12px;
        font-weight: 400;
    }

    .select-items {
        font-size: 16px;
    }

    .select-item {
        padding: 10px 12px;
        cursor: pointer;
    }


    .select-box.active + .select-items, .select-items > div:last-child {
        border-radius: 0 0 18px 18px;
    }

    .select-box.active {
        border-radius: 18px 18px 0 0;
    }

    .burger-menu {
        display: inline-block !important;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: flex !important;
        justify-content: space-between;
        grid-template-columns: auto auto;
        grid-column-gap: 10px;
        grid-row-gap: 15px;
        padding: 0px 10px 0px 1 0px;
    }

    .sort-mini > .price-sort-block {
        grid-column: 1 / span 2;
    }

    .dropdown-content.open {
        padding: 0px 20px 30px 20px !important;
    }

    .basket-menu {
        bottom: 50px;
        right: 10px !important;
        padding: 8px 16px 16px 16px;
        border-radius: 20px;
    }

    .basket-menu > header {
        font-size: 28px;
    }

    .basket-menu > p {
        font-size: 16px;
    }

    .basket-menu > a {
        font-size: 12px;
        margin-top: 8px;
    }

    .basket-menu > button {
        font-size: 16px;
        padding: 10px 55px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 20px 0px;
    }

    .about-us > div {
        display: contents;
    }

    .about-us > .about-text > h1, .about-us > .about-text > p {
        padding: 0px 20px 0 20px !important;
    }

    .about-us > .about-text > h1 {
        font-size: 28px !important;
    }

    .about-us > .about-text > p {
        font-size: 14px;
        margin-top: 20px;
    }

    .about-us > div > div > h3 {
        font-size: 16px !important;
    }
    .about-us > div > div > p.explan-text-mini {
        font-size: 9px !important;
    }

    .about-us > div > div > p.a {
        font-size: 10px !important;
    }

    .about-text > p {
        max-width: 100%;
    }

    .about-us > div > img.a1 {
        display: none;
    }

    .about-us > div > img.a2 {
        padding: 0px 20px 0 20px !important;
    }

    #dostavka {
        background-image: url('/static/svg/rectagle-yellow-w300.svg');
        padding: 8px 40px 0px 10px;
        min-height: 132px;
        width: 320px;
        margin-top: 20px;
        position: static;
    }

    #events {
        background-image: url('/static/svg/rectagle-yellow-w300.svg');
        padding: 8px 40px 0px 10px;
        width: 320px;
        margin-top: 20px;
        min-height: 132px;
        margin-bottom: 0px;
    }

    #contacts {
        display: none;
    }

    #contacts2 {
        background-image: url('/static/svg/rectagle-pirple-w300.svg');
        padding: 8px 10px 0px 40px;
        width: 320px;
        margin-top: 20px;
        min-height: 132px;

    }


}

@media (max-width: 520px) {

    .header-ref {
        font-weight: 600;
        font-size: 14px !important;
    }

    .right-arrow {
        right: 5vw !important;
    }

    .carousel-image {
        width: 250px !important;
    }

    .carousel-container {
        left: 0vw !important;
        margin-left: 0 !important;
    }

    .header-ref.with_icon > img {
        width: 25px;
    }

    #header {
        padding: 12px 25px 12px 25px !important;
    }

    .header-ref.with_icon, .header-ref.with_icon.profile {
        margin-left: 12px;
    }

    /* slide 1 */

    #index-slide-1 {
        padding: 15px 0px 25px 25px !important;
    }

    #index-slide-1 > h3 {
        position: relative;
        z-index: 2;
    }

    .explan-text {
        font-size: 16px !important;
    }

    #index-slide-1 > p {
        margin-top: 20px !important;
    }

    .sqr-btn {
        font-size: 24px;
        padding: 20px 24px;
    }

    /* slide 2 */

    #index-slide-2 {
        padding: 40px 25px 40px 25px;
    }

    #index-slide-2 > h3 {
        font-size: 24px;
    }

    .instruction-grid > p {
        font-size: 16px;
        margin-top: 0px !important;
    }

    .instruction-grid > img {
        height: 42px;
    }

    /* slide 3 */

    .headline-news {
        font-size: 56px;
        align-self: center;
    }

    .new-item {
        border-radius: 25px;
        height: 189px;
    }

    .new-item:hover {
        transform: scale(1.05);
    }

    .new-item > img {
        width: 189px;
        border-radius: 25px 0 0 25px;
    }

    .new-item > div {
        width: 126px;
        text-align: right;
        padding: 14px 12px 12px 8px;
        border-radius: 0 25px 25px 0;
    }

    .new-item > div > p.name {
        font-style: normal;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .new-item > div > .price {
        padding: 10px 9px;
        text-align: center;
        font-size: 16px;
        margin-left: -36px;
        margin-bottom: 8px;
    }

    .to-basket-btn {
        font-size: 12px;
        padding: 8px 8px 4px 8px;
        color: white;
        text-decoration: none;
        border-radius: 15px;
    }

    .to-basket-btn > p {
        margin-top: -2px !important;
        margin-bottom: 4px !important;
    }

    .to-basket-btn::before {
        display: inline-block;
        content: url('/static/svg/korzinka-mini.svg') !important;
        margin-right: 10px;
    }

    /* slide 4 */

    #index-slide-4 {
        padding: 68px 25px 94px 25px;
    }

    #index-slide-4 > div.contacts > p.contacts-p {
        font-size: 16px;
        margin-top: 40px;
    }

    #index-slide-4 > div.message > form > div {
        margin-top: 32px;
    }

    #index-slide-4 > div.message > form > div.d2 > label {
        font-size: 16px;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 250px;
    }

    #index-slide-4 > div.message > p {
        font-size: 20px;
        margin-top: 32px;
        margin-bottom: 24px;
    }

    #index-slide-4 > .message {
        margin-top: 64px;
    }

    .purple-crcl-btn.c2 {
        margin-top: 32px;
    }

    #index-slide-4 > div > .socials-refs {
        width: 100% !important;
    }

    #index-slide-4 > div > .socials-refs > a > img {
        height: 60px;

    }

    .inp {
        border-radius: 20px;
        padding: 8px 16px;
        font-size: 20px;
    }

    .inp::placeholder {
        font-size: 20px;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 220px;
    }

    .purple-crcl-btn {
        font-size: 22px;
        padding: 10px 22px;
        border-radius: 22px;
    }

    #index-slide-4 > div > h3 {
        font-size: 24px;
        margin-bottom: 0;
        color: black;
    }

    #index-slide-4 > div.message > form > div.d2 {
        margin-top: 16px !important;
    }

    #index-slide-4 > div.contacts > p {
        font-size: 16px;
        margin: 16px 0 32px 0;
        line-height: 1.2;
    }

    .catalog {
        grid-template-columns: auto !important;
        grid-row-gap: 80px;
        padding: 64px 10px 64px 10px;
    }

    .dropdown-content.open {
        padding: 30px 20px 30px 20px !important;
    }

    .inp.kolvo-inp {
        max-width: 100px;
        padding: 1px 10px 4px 10px;
        font-size: 24px;
    }

    button.del, button.plus {
        padding: 11px;
        border-radius: 15px;
        display: flex;
        align-items: center;
    }

    button.del > img, button.plus > img {
        height: 21px;
        width: 21px;
    }

    button.minus {
        min-height: 21px;
        padding: 11px 6px;
        border-radius: 15px;
    }

    button.minus > img {
        width: 33px;
    }

    .catalog-header {
        padding: 14px 20px 15px 20px !important;
    }

    .catalog-header > h4 {
        font-size: 20px;
        margin-bottom: -5px;
    }

    .catalog-item {
        width: 300px;
    }

    .catalog-item > a > img {
        height: 300px;
        width: 300px;
        border-radius: 20px;
    }

    .catalog-item > a > p.price {
        font-size: 16px;
        margin: 5px 0 5px 0;
    }

    .catalog-item > a > p.title {
        font-size: 18px;
        font-weight: 700;
        font-family: "Ubuntu",;
        max-width: 290px;
        margin-bottom: 0;
    }

    .catalog-item > .to-basket-btn {
        margin-top: 25px;
    }

    .catalog-item > .kolvo {
        display: flex;
        justify-content: space-between;
        align-self: flex-start;
        flex-wrap: wrap;
        width: 90%;
        margin-top: 24px;
    }

    .category-sort, .sort-items {
        border-radius: 18px;
        padding: 3px 14px 10px 14px;
        font-size: 16px;
        font-weight: 300;
        min-width: 120px;
        border: none;
        display: flex;
        align-items: center;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 0px;
        margin-bottom: -5px;
    }

    .price-sort {
        border-radius: 18px;
        padding: 2px 12px 8px 12px;
        font-size: 16px;
        font-weight: 400;
        max-width: 100px;
    }

    .price-sort-block {
        margin: 0 !important;
        position: relative;
    }

    .price-sort-block > div {
        width: 20px;
        margin: 0 10px;
    }

    .price-sort::placeholder {
        text-align: center;
        font-size: 16px;
        font-weight: 400;
    }

    .select-items {
        font-size: 16px;
    }

    .select-item {
        padding: 10px 12px;
        cursor: pointer;
    }


    .select-box.active + .select-items, .select-items > div:last-child {
        border-radius: 0 0 18px 18px;
    }

    .select-box.active {
        border-radius: 18px 18px 0 0;
    }

    .burger-menu {
        display: inline-block !important;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: flex !important;
        justify-content: space-between;
        grid-template-columns: auto auto;
        grid-column-gap: 10px;
        grid-row-gap: 15px;
        padding: 0px 10px 0px 1 0px;
    }

    .sort-mini > .price-sort-block {
        grid-column: 1 / span 2;
    }

    .dropdown-content.open {
        padding: 0px 20px 30px 20px !important;
    }

    .basket-menu {
        bottom: 10px !important;
        right: 10px !important;
        padding: 8px 16px 16px 16px;
        border-radius: 20px;
    }

    .basket-menu > header {
        font-size: 28px;
    }

    .basket-menu > p {
        font-size: 16px;
    }

    .basket-menu > a {
        font-size: 12px;
        margin-top: 8px;
    }

    .basket-menu > button {
        font-size: 16px;
        padding: 10px 55px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 20px 0px;
    }

    .about-us > div {
        display: contents;
    }

    .about-us > .about-text > h1, .about-us > .about-text > p {
        padding: 0px 20px 0 20px !important;
    }

    .about-us > .about-text > h1 {
        font-size: 28px !important;
    }

    .about-us > .about-text > p {
        font-size: 18px;
        margin-top: 20px;
    }

    .about-us > div > div > h3 {
        font-size: 20px !important;
    }
    .about-us > div > div > p.explan-text-mini {
        font-size: 12px !important;
    }

    .about-us > div > div > p.a {
        font-size: 14px !important;
    }

    .about-text > p {
        max-width: 100%;
    }

    .about-us > div > img.a1 {
        display: none;
    }

    .about-us > div > img.a2 {
        padding: 0px 20px 0 20px !important;
    }

    #dostavka {
        background-image: none;
        background-color: #F2E3D0;
        padding: 12px 40px 3px 25px !important;
        min-height: 132px;
        width: 100vw !important;
        margin-top: 20px;
        position: static;
    }

    #events {
        background-image: none;
        background-color: #F2E3D0;
        padding: 12px 40px 3px 25px !important;
        width: 100vw !important;
        margin-top: 20px;
        min-height: 132px;
        margin-bottom: 0px;
    }

    #contacts {
        display: none;
    }

    #contacts2 {
        background-image: none;
        background-color: #A26788;
        padding: 12px 25px 3px 40px !important;
        width: 100vw !important;
        margin-top: 20px;
        min-height: 132px;

    }

    /* --------- */
    /* item-main */
    /* --------- */

    .item-main {
        padding: 20px 10px 20px 10px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item-info {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        align-items: flex-start;
        padding: 0 20px !important;
        margin-top: 30px;
    }

    .item-info > h1 {
        font-size: 30px !important;
        margin-bottom: 10px;
    }

    .item-info > div > p.price {
        font-size: 24px !important;
        margin-bottom: 12px;
    }

    .item-info > div {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start
    }

    .item-carusel {
        width: 100%;
        border-radius: 25px;
        height: 273px !important;
        margin-right: 0 !important;
    }

    .prev, .next {
        width: 40px !important;
        border-radius: 25px;
        z-index: 1001;
    }

    .prev > img, .next > img {
        z-index: 10000;
        position:absolute;
        height: 32px;
    }

    .item-description {
        font-size: 20px !important;
    }


    .item-main > .item-info > div > .to-basket-btn {
        padding: 7px 15px 4px 10px;
        margin-left: 20px;
        border-radius: 15px;
        margin-top: 6px;
    }

    .similar-headline {
        font-size: 30px !important;
        padding-left: 20px !important;
        margin-top: 20px;
    }

    .to-basket-btn:hover::before {
        content: url('/static/svg/korzinka-pirple-mini.svg') !important;
        margin-right: 8px !important;
    }



}

@media (max-width: 520px) and (min-width: 400px) {

    .arrow-button {
        position: absolute;
        top: 50%;
    }

    .right-arrow {
        right: 5vw !important;
    }

    .carousel-image {
        width: 350px !important;
    }

    .carousel-container {
        left: 0vw !important;
    }

    .catalog-header {
        padding: 29px 40px 30px 40px !important;
    }

    .catalog-header > h4 {
        font-size: 32px;
        margin-bottom: -5px;
    }

    .price-sort-block {
        margin: 0 40px;
    }

    .price-sort-block > div {
        height: 2px;
        background-color: #A26788;
        width: 35px;
        border-radius: 1px;
        margin: 0 16px;
    }

    .catalog {
        grid-template-columns: auto !important;
        grid-row-gap: 80px;
        padding: 64px 10px 64px 10px;
    }

    .category-sort, .sort-items {
        border-radius: 18px;
        padding: 6px 18px 14px 18px;
        font-size: 28px;
        font-weight: 300;
        border: none;
        display: flex;
        align-items: center;
    }

    .select-items {
        font-size: 26px;
    }

    #index-slide-1 > h3 {
        font-size: 24px !important;
        margin-top: 24px;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 10px;
        margin-top: -3px;
    }

    .price-sort {
        border-radius: 23px;
        padding: 4px 16px 12px 16px;
        font-size: 28px;
        font-weight: 400;
        max-width: 175px;
    }

    .price-sort-block {
        margin: 0 !important;
        position: relative;
    }

    .price-sort::placeholder {
        text-align: center;
        font-size: 28px;
        font-weight: 400;
    }

    .burger-menu {
        display: inline-block !important;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: grid !important;
        grid-template-columns: auto auto;
        grid-column-gap: 30px;
        grid-row-gap: 15px;
        padding: 0px 40px 0px 40px;
    }

    .sort-mini > .price-sort-block {
        grid-column: 1 / span 2;
    }

    .dropdown-content.open {
        padding: 0px 40px 30px 40px !important;
    }

    .basket-menu {
        bottom: 50px;
        right: 20px !important;
        padding: 8px 16px 16px 16px;
        border-radius: 20px;
    }

    .basket-menu > header {
        font-size: 32px;
    }

    .basket-menu > p {
        font-size: 20px;
    }

    .basket-menu > a {
        font-size: 16px;
        margin-top: 8px;
    }

    .basket-menu > button {
        font-size: 20px;
        padding: 10px 65px;
    }

    /* --------- */
    /* item-main */
    /* --------- */

    .item-main {
        padding: 40px 10px 40px 10px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item-info {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        align-items: flex-start;
        padding: 0 40px !important;
        margin-top: 30px;
    }

    .item-info > h1 {
        font-size: 40px !important;
        margin-bottom: 30px;
    }

    .item-info > div > p.price {
        font-size: 32px !important;
        margin-bottom: 24px;
    }

    .item-info > div {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start
    }




    .item-carusel {
        width: 100%;
        background-color: #ffffff;
        border-radius: 30px;
        height: 455px !important;
        position: relative;
        margin-right: 0 !important;
        overflow: hidden;

    }

    .prev, .next {
        width: 66px !important;
        border-radius: 30px;
        z-index: 1001;
    }

    .prev > img, .next > img {
        z-index: 10000;
        position:absolute;
        height: 53px;
    }

    .slides {
        display: flex;
        transition: transform 0.1s ease-in-out;
        height: 100%;
        position: absolute;
        z-index: 100;
        pointer-events: none;
    }

    .slide {
        min-width: 100%;
        box-sizing: border-box;
        pointer-events: none;

    }

    .prev {
        left: 0px;
    }

    .next {
        right: 0px;
    }

    .prev:hover, .next:hover {
        background-color: rgba(217, 217, 217, 0.5);
    }

    .slide img {
        width: 100%;
        height: 100%;
    }

    .item-description {
        font-family: "Ubuntu",;
        font-size: 28px !important;
        font-weight: 500;
    }


    .item-main > .item-info > div > .to-basket-btn {
        padding: 9px 14px 7px 11px;
        margin-left: 20px;
    }

    .similar-headline {
        font-size: 40px !important;
        padding-left: 40px !important;
        margin-top: 30px;
    }

}

@media (max-width: 768px) and (min-width: 401px) {
    #index-slide-1 > h3 {
        font-size: 40px !important;
        margin-top: 24px;
    }

    .item-main > .item-info > div > .to-basket-btn {
        padding: 11px 20px 11px 15px;
        margin-left: 20px;
    }

    .explan-text {
        font-size: 28px !important;
    }

    #index-slide-2 > h3 {
        font-size: 36px;
    }

    .instruction-grid > p {
        font-size: 20px;
    }

    .inp {
        border-radius: 35px;
        padding: 16px 32px;
        font-size: 32px;
    }

    .inp::placeholder {
        font-size: 32px;
    }

    .purple-crcl-btn {
        font-size: 34px;
        padding: 20px 44px;
        border-radius: 32px;
    }

    #index-slide-4 > div.message > p {
        font-size: 40px;
        margin-top: 32px;
        margin-bottom: 24px;
    }

    #index-slide-4 > div > .socials-refs > a > img {
        height: 100px;
    }

    #index-slide-4 > div.contacts > p.contacts-p {
        font-size: 36px;
        margin-top: 40px;
    }

    .basket-menu {
        bottom: 50px;
        right: 80px !important;
        padding: 8px 16px 16px 16px;
        border-radius: 20px;
    }

    .basket-menu > header {
        font-size: 32px;
    }

    .basket-menu > p {
        font-size: 20px;
    }

    .basket-menu > a {
        font-size: 16px;
        margin-top: 8px;
    }

    .basket-menu > button {
        font-size: 20px;
        padding: 10px 65px;
    }
}

@media (max-width: 768px) and (min-width: 361px) {
    #dostavka {
        background-image: url('/static/svg/rectagle-yellow-w500.svg') !important;
        padding: 8px 110px 0px 40px !important;
        min-height: 220px;
        width: 500px !important;
        margin-top: 20px;
    }

    #events {
        background-image: url('/static/svg/rectagle-yellow-w500.svg') !important;
        padding: 8px 110px 0px 40px !important;
        width: 500px !important;
        margin-top: 20px;
        min-height: 220px;
        margin-bottom: 0px;
    }

    #contacts {
        display: none;
    }
    #contacts2 {
        background-image: url('/static/svg/rectagle-pirple-w500.svg') !important;
        padding: 8px 40px 0px 110px !important;
        width: 500px !important;
        margin-top: 20px;
        min-height: 220px;

    }

    .about-us > .about-text > p {
        font-size: 22px;
    }

    .about-us > div > div > h3 {
        font-size: 26px !important;
    }
    .about-us > div > div > p.explan-text-mini {
        font-size: 12px !important;
    }

    .about-us > div > div > p.a {
        font-size: 14px !important;
    }

}

@media (max-width: 768px) and (min-width: 330px) {
    #header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 40px 12px 40px !important;
    }

    .header-ref.with_icon.profile {
        margin-left: 24px;
    }

    #index-slide-1 > h3 {
        position: relative;
        z-index: 2;
    }

    #index-slide-1 {
        padding: 15px 0px 25px 40px !important;
    }

    #index-slide-2 {
        padding: 40px 40px 40px 40px;
    }

    #index-slide-4 {
        padding: 68px 40px 94px 40px;
    }

    #index-slide-4 > div.message > form > div {
        margin-top: 32px;
    }

    #index-slide-4 > div.message > form > div.d2 > label {
        font-size: 20px;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 250px;
    }

    #index-slide-4 > .message {
        margin-top: 64px;
    }

    .purple-crcl-btn.c2 {
        margin-top: 32px;
    }

    #index-slide-4 > div > .socials-refs {
        width: 100% !important;
    }

    #index-slide-4 > div.message > form > div > .inp {
        max-width: 340px;
    }

    .burger-menu {
        display: inline-block;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: flex;
    }

    .about-us > .about-text > h1, .about-us > .about-text > p {
        padding: 0px 40px 0 40px !important;
    }

    .about-us > .about-text > h1 {
        font-size: 36px;
    }

    .about-us > .about-text > img.a2 {
        padding: 0px 40px 0 40px !important;
    }

    .item-main {
        padding: 60px 0px 60px 0px;
    }

    .item-info {
        padding: 0 80px;
        margin-top: 30px;
    }

    .item-info > h1 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .item-info > div > p.price {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .item-carusel {
        height: 600px;
        margin-right: 0;
    }

    .prev, .next {
        width: 87px;
    }

    .prev > img, .next > img {
        z-index: 10000;
        position:absolute;
    }

    .item-description {
        font-size: 28px;
    }

    .similar-headline {
        font-size: 40px;
        margin-top: 30px;
    }

    .similar-headline {
        padding-left: 80px;
    }

    .item-info > h1 {
        font-size: 40px !important;
        margin-bottom: 30px;
    }

    .item-info > div > p.price {
        font-size: 32px !important;
        margin-bottom: 24px;
    }

    .dropdown-content.open {
        padding: 0px 40px 30px 40px !important;
    }

    .catalog-header {
        padding: 29px 40px 30px 40px !important;
    }

    .catalog-header > h4 {
        font-size: 32px;
        margin-bottom: -5px;
    }

    .price-sort-block {
        margin: 0 40px;
    }

    .price-sort-block > div {
        height: 2px;
        background-color: #A26788;
        width: 35px;
        border-radius: 1px;
        margin: 0 16px;
    }

    .category-sort, .sort-items {
        border-radius: 25px;
        padding: 6px 18px 14px 18px;
        font-size: 28px;
        font-weight: 300;
        border: none;
        display: flex;
        align-items: center;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 10px;
        margin-top: -3px;
    }

    .price-sort {
        border-radius: 23px;
        padding: 4px 16px 12px 16px;
        font-size: 28px;
        font-weight: 400;
        max-width: 175px;
    }

    .price-sort::placeholder {
        font-size: 28px;
        font-weight: 400;
    }

    .sort-mini {
        grid-column-gap: 23px;
        grid-row-gap: 15px;
        padding: 0px 40px 0px 40px;
        justify-content: center;
    }


}

@media (max-width: 768px) and (min-width: 300px) {

    .flash {
        width: 90vw !important;
        font-size: 16px;
        padding: 10px 17px;
    }

    #close-btn > img {
        margin-top: -10px;
        width: 24px;
        height: 24px;
    }

    .header-ref {
        font-family: "Ubuntu",;
        font-weight: 600;
        font-style: normal;
        font-size: 20px;
        color: white;
        text-decoration: none;
    }

    .header-ref > p {
        margin: 0px;
    }

    .header-ref.with_icon > p {
        display: none;
    }

    .header-ref.with_icon > img {
        margin-right: 0px;
    }

    .logo-mini {
        display: inline;
        flex: 1;
        margin-right: auto;
    }

    .logo {
        display: none;
    }

    #footer {
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: space-between;
        width: 100%;
        background-color: #48404D;
        padding: 32px 20px 20px 20px;
        z-index: 100;
    }

    #footer > div > p {
        margin: 0px;
    }

    #footer > div {
        justify-content: space-between;
    }

    .footer-logo {
        margin: 85px 0px 90px 0px;
    }

    .center-nav {
        margin: 0 auto 0 auto;
        flex: 1;
    }

    nav.d-flex.flex-row {
        flex: 0;
        margin-right: auto;
    }

    /* slide 1 */

    #index-slide-1 {
        display: flex;
        flex-direction: column;
    }

    .explan-text-mini {
        font-size: 24px;
    }

    p.explan-text {
        margin-bottom: 0;
    }

    #index-slide-1 > .explanation {
        margin-top: 76px;
        color: white;
        position: relative;
        z-index: 2;
    }

    #index-slide-1 > p {
        margin-top: 56px;
        color: white;
        margin-bottom: 0;
        max-width: 100vw;
        position: relative;
        z-index: 2;
        display: none;
    }

    #index-slide-1 > p#a2 {
        display: flex;
    }

    #index-slide-1 > .sqr-btn {
        margin-top: 25px;
        align-self: center;
    }

    .carousel-image {
        width: 430px;
    }

    .carousel-container {
        position: relative;
        margin-top: 64px;
        bottom: 6vh;
        align-self: flex-start;
        margin-left: 0vw;
        right: 0;
    }

    .arrow-button {
        position: absolute;
        top: 50%;
    }

    .right-arrow {
        right: 5vw;
    }

    /* slide 2 */

    #index-slide-2 > h3 {
        font-family: 'Macherie', sans-serif;
        margin-bottom: 0;
    }

    .instruction {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .instruction-grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto auto;
        grid-column-gap: 54px;
        grid-row-gap: 32px;
        margin-top: 64px;
    }

    .instruction-grid > p {
        margin: 0;
        font-family: "Ubuntu",;
        font-weight: 500;
        font-style: normal;
        margin-left: 0;

    }

    .instruction > .a2, .a1 {
        display: none;
    }

    .a3 {
        display: flex !important;
        width: 100%;
        margin-top: 54px;
    }

    /* slide 3 */

    #index-slide-3 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0px 0px;
        background-color: #F2E3D0;
    }

    .headline-news {
        width: 100vw;
    }

    .headline-news::after {
        display: none;
    }

    .new-items {
        display: flex;
        flex-direction: column;
        align-self: center;
        margin: 62px 0 62px 0;
    }

    .new-item.b4, .new-item.b5, .new-item.b6 {
        display: none;
    }

    /* slide 4 */

    #index-slide-4 {
        display: flex;
        flex-direction: column;
        background-color: #FFFFFF;
    }


    #index-slide-4 > div.contacts > p.contacts-p {
        font-weight: 600 !important;
        margin: 0;
    }

    #index-slide-4 > div.message > form > div {
        display: flex;
        flex-direction: column;
        align-self: flex-start;
    }

    #index-slide-4 > div.message > div > label {
        font-family: "Ubuntu",;
        font-weight: 300;
        font-style: normal;
    }

    #index-slide-4 > div.message > p {
        text-align: center;
    }

    #index-slide-4 > .contacts {
        max-width: 100%;
    }

    .purple-crcl-btn.c2 {
        display: inline-block;
    }

    #index-slide-4 > div > .socials-refs {
        width: 100% !important;
        display: flex;
        justify-content: space-around;
        padding-left: 0;
    }

    #index-slide-4 > .message > form > div.d1 {
        display: none;
    }

    #index-slide-4 > .message > form > div.d2 {
        display: flex;
        flex-direction: column;
    }

    .inp::placeholder {
        font-weight: 400;
    }

    .burger-menu {
        display: inline-block;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        padding: 0px 40px 0px 40px !important;
    }



    .about-us {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 20px 0px;
    }

    .about-us > div {
        display: contents;
    }

    #dostavka {
        background-repeat: no-repeat;
        position: static;
        margin-top: 20px;
    }

    #events {
        background-repeat: no-repeat;
        position: static;
        margin-bottom: 0px;
    }

    #contacts {
        display: none;
    }
    #contacts2 {
        display: flex;
        background-repeat: no-repeat;
        position: static;
        text-align: right;
        color: white;
        align-self: flex-end;
        background-position-x: right;

    }

    .about-text > p {
        max-width: 100%;
    }

    .about-us > div > img.a1 {
        display: none;
    }

    .about-us > div > img.a2 {
        display: block;
        max-width: 100%;
    }

    /* --------- */
    /* item-main */
    /* --------- */

    .item-main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item-info {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        align-items: flex-start;
    }

    .item-carusel {
        width: 100%;
        height: 600px;
    }



    .price-sort-block > div {
        background-color: #A26788;
    }

    .catalog {
        grid-template-columns: auto !important;
        grid-row-gap: 80px;
        padding: 64px 80px 64px 80px;
    }

    .price-sort-block {
        margin: 0 !important;
        position: relative;
    }

    .price-sort::placeholder {
        text-align: center;
    }

    .burger-menu {
        display: inline-block !important;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: flex !important;
        grid-template-columns: auto auto;
    }

    .sort-mini > .price-sort-block {
        grid-column: 1 / span 2;
    }




}

@media (max-width: 1024px) and (min-width: 768px) {

    .logo-mini {
        display: inline;
    }

    .logo {
        display: none;
    }

    #header {
        padding: 12px 80px 12px 80px !important;
    }

    #index-slide-1 {
        padding: 15px 0px 25px 80px !important;
    }

    #index-slide-2 {
        padding: 40px 80px 40px 80px !important;
    }

    #index-slide-4 > .contacts {
        max-width: 100%;
    }

    #index-slide-4 {
        display: flex;
        flex-direction: column;
        padding: 68px 80px 94px 80px !important;
    }

    #index-slide-4 > .message {
        margin-top: 64px;
        display: flex;
        flex-direction: column;
    }

    #index-slide-4 > div > .socials-refs {
        width: 50vw;
        align-self: flex-start;
    }

    #index-slide-4 > div.message > p {
        text-align: center;
        align-self: flex-start;
        margin-bottom: 24px;
    }

    .purple-crcl-btn.c2 {
        display: inline-block;
        margin-top: 32px;
    }

    .purple-crcl-btn.c1 {
        display: none;
    }

    /* ======================= */
    /*         catalog         */
    /* ======================= */

    .catalog-header {
        padding: 29px 80px 30px 80px !important;
    }

    .catalog-header > h4 {
        font-size: 32px;
        margin-bottom: -5px;
    }

    .price-sort-block {
        margin: 0 40px;
    }

    .price-sort-block > div {
        height: 2px;
        background-color: #A26788;
        width: 35px;
        border-radius: 1px;
        margin: 0 16px;
    }

    .catalog {
        grid-template-columns: auto !important;
        grid-row-gap: 80px;
        padding: 64px 80px 64px 80px;
    }

    .category-sort, .sort-items {
        border-radius: 25px;
        padding: 6px 18px 14px 18px;
        font-size: 28px;
        font-weight: 300;
        border: none;
        display: flex;
        align-items: center;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 10px;
        margin-top: -3px;
    }

    .price-sort {
        border-radius: 23px;
        padding: 4px 16px 12px 16px;
        font-size: 28px;
        font-weight: 400;
        max-width: 175px;
    }

    .price-sort-block {
        margin: 0 !important;
        position: relative;
    }

    .price-sort::placeholder {
        text-align: center;
        font-size: 28px;
        font-weight: 400;
    }

    .burger-menu {
        display: inline-block !important;
    }

    .sort-big {
        display: none !important;
    }

    .sort-mini {
        display: flex !important;
        grid-template-columns: auto auto;
        grid-column-gap: 23px;
        grid-row-gap: 15px;
        padding: 0px 80px 0px 80px;
    }

    .sort-mini > .price-sort-block {
        grid-column: 1 / span 2;
    }

    .dropdown-content.open {
        padding: 0px 80px 30px 80px !important;
    }

    .basket-menu {
        bottom: 50px;
        right: 80px !important;
        padding: 8px 16px 16px 16px;
        border-radius: 20px;
    }

    .basket-menu > header {
        font-size: 32px;
    }

    .basket-menu > p {
        font-size: 20px;
    }

    .basket-menu > a {
        font-size: 16px;
        margin-top: 8px;
    }

    .basket-menu > button {
        font-size: 20px;
        padding: 10px 65px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 0 0px;
    }

    .about-us > div {
        display: contents;
    }

    .about-us > .about-text > h1, .about-us > .about-text > p {
        padding: 0px 80px 0 80px !important;
    }

    .about-us > div > div > h3 {
        font-size: 32px !important;
    }
    .about-us > div > div > p.explan-text-mini {
        font-size: 20px !important;
    }

    .about-us > div > div > p.a {
        font-size: 22px !important;
    }

    #dostavka {
        background-image: url('/static/svg/rectagle-yellow-w750.svg') !important;
        padding: 28px 220px 20px 70px !important;
        background-repeat: no-repeat;
        position: static;
        width: 800px !important;
        min-height: 330px;
        margin-top: 20px;
    }

    #events {
        background-image: url('/static/svg/rectagle-yellow-w750.svg') !important;
        padding: 28px 220px 20px 70px !important;
        background-repeat: no-repeat;
        position: static;
        width: 800px !important;
        margin-top: 20px;
        min-height: 330px;
        margin-bottom: 24px;
    }

    #contacts {
        display: none;
    }
    #contacts2 {
        background-image: url('/static/svg/rectagle-pirple-w750.svg') !important;
        padding: 28px 70px 20px 220px !important;
        display: flex;
        background-repeat: no-repeat;
        position: static;
        width: 800px !important;
        margin-top: 20px;
        text-align: right;
        min-height: 330px;
        color: white;
        align-self: flex-end;
        background-position-x: right;

    }

    .about-text > p {
        max-width: 100%;
    }

    .about-us > div > img.a1 {
        display: none;
    }

    .about-us > div > img.a2 {
        display: block;
        padding: 0px 80px 0 80px !important;
        max-width: 100%;
    }

    /* --------- */
    /* item-main */
    /* --------- */

    .item-main {
        padding: 60px 0px 60px 0px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item-info {
        display: flex;
        flex-direction: column;
        width: 651px;
        align-items: flex-start;
    }

    .item-info > h1 {
        font-size: 40px !important;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .item-info > div > p.price {
        font-size: 32px !important;
        margin-bottom: 24px;
    }

    .item-info > div {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start
    }




    .item-carusel {
        width: 651px;
        background-color: #ffffff;
        border-radius: 30px;
        height: 600px;
        position: relative;
        margin-right: 0 !important;
        overflow: hidden;

    }

    .prev, .next {
        background-color: rgba(217, 217, 217, 0.25);

        height: 100%;
        width: 87px;
        position: absolute;
        cursor: pointer;
        border: none;
        border-radius: 30px;
        z-index: 1001;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .prev > img, .next > img {
        z-index: 10000;
        position:absolute;
    }

    .slides {
        display: flex;
        transition: transform 0.1s ease-in-out;
        height: 100%;
        position: absolute;
        z-index: 100;
        pointer-events: none;
    }

    .slide {
        min-width: 100%;
        box-sizing: border-box;
        pointer-events: none;

    }

    .prev {
        left: 0px;
    }

    .next {
        right: 0px;
    }

    .prev:hover, .next:hover {
        background-color: rgba(217, 217, 217, 0.5);
    }

    .slide img {
        width: 100%;
        height: 100%;
    }

    .item-description {
        font-family: "Ubuntu",;
        font-size: 40px;
        font-weight: 500;
    }


    .item-main > .item-info > div > .to-basket-btn {
        padding: 11px 20px 11px 15px;
        margin-left: 20px;
    }

    .similar-headline {
        font-size: 40px !important;
        padding-left: 80px !important;
        margin-top: 50px;
    }

}

@media (max-width: 1024px) and (min-width: 769px)  {
    .carousel-container {
        right: -45vw !important;
        bottom: 35vh;
        z-index: 0;
    }

    .right-arrow {
        right: 50% !important;
        position: absolute;
        width: 30px;
    }
}

@media (max-width: 1366px) and (min-width: 1024px) {
    /*  main   */
    /* slide 1 */

    #index-slide-4 > div.message > form > div {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        grid-column-gap: 10px;
        grid-row-gap: 28px;
        margin-left: 0px;
    }

    #index-slide-4 > div.message > form > div > .filler-div {
        display: none;
    }

    #index-slide-1 > h3 {
        font-size: 64px;
    }

    #header {
        padding: 33px 125px 33px 125px;
    }

    #index-slide-1 {
        padding: 95px 125px 25px 125px;
    }

    .explan-text {
        font-family: "Ubuntu",;
        font-size: 24px;
        font-weight: 300;
    }

    .explan-text-mini {
        font-family: "Ubuntu",;
        font-size: 24px;
        font-weight: 300;
    }

    p.explan-text {
        margin-bottom: 0;
    }

    #index-slide-1 > p {
        margin-top: 48px;
        color: white;
        margin-bottom: 0;
    }

    #index-slide-1 > .sqr-btn {
        margin-top: 56px;
    }

    .sqr-btn {
        font-size: 24px;
        padding: 20px 24px;
    }

    .carousel-image {
        width: 430px;
    }

    .carousel-container {
        right: -35vw;
        bottom: 35vh;
        z-index: 0;
    }

    .carousel {
        right: 0vw;
    }

    .right-arrow {
        right: 55%;
        position: absolute;
        width: 30px;
    }

    /* slide 2 */

    #index-slide-2 {
        padding: 80px 125px 64px 125px;
    }

    #index-slide-2 > h3 {
        font-family: 'Macherie', sans-serif;
        font-size: 48px;
        color: #000000;
        margin-bottom: 0;
    }

    .instruction {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .instruction-grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto auto;
        grid-column-gap: 100px;
        grid-row-gap: 0;
        margin-top: 64px;
    }

    .instruction-grid > p {
        margin: 0;
        font-family: "Ubuntu",;
        font-weight: 500;
        font-style: normal;
        font-size: 32px;
        margin-left: 56px;

    }

    .instruction-grid > p > span {
        font-weight: 700;
        color: #A26788;
    }

    .instruction > .a1 {
        margin-left: 8vw;
        max-height: 580px;
    }

    .instruction > .a2 {
        display: none;
    }

    /* slide 3 */

    .new-item.b3, .new-item.b4, .new-item.b5, .new-item.b6 {
        display: none;
    }

    #index-slide-3 {
        padding-right: 125px;
    }

    .new-items {
        display: flex;
        flex-direction: column;
        margin: 62px 0 62px 75px;
    }

    .new-item > img {
        background-color: #D9D9D9;
        width: 300px;
        border: none;
        box-shadow: none;
        border-radius: 35px 0 0 35px;
    }

    /* slide 4 */

    #index-slide-4 {
        padding: 68px 125px 94px 125px;
    }

    #index-slide-4 > div > h3 {
        font-family: 'Macherie', sans-serif;
        font-size: 40px;
        color: white;
        margin-bottom: 0;
        color: black;
    }

    #index-slide-4 > div.contacts > p {
        font-family: "Ubuntu",;
        font-weight: 300;
        font-style: normal;
        font-size: 24px;
        margin: 0;
        line-height: 1.2;
    }

    #index-slide-4 > div.contacts > p.contacts-p {
        font-size: 24px;
        margin: 0;
        margin-top: 40px;
    }

    #index-slide-4 > div.message > div {
        grid-column-gap: 40px;
        grid-row-gap: 20px;
    }

    #index-slide-4 > div.message > div > label {
        font-size: 12px;

    }

    #index-slide-4 > div.message > div > .inp {
        max-width: 200px;
    }

    #index-slide-4 > div.message > p {
        font-family: "Ubuntu",;
        font-weight: 500;
        font-style: normal;
        font-size: 24px;
        margin-top: 40px;
        margin-bottom: 24px;
    }

    #index-slide-4 > div > .socials-refs {
        padding-left: 30px;
    }

    #index-slide-4 > div > .socials-refs > a > img {
        width: 80px;
        height: 80px;
    }


    .purple-crcl-btn {
        font-size: 20px;
        padding: 10px 30px;
        border-radius: 23px;
    }

    .inp {
        border-radius: 23px;
        padding: 4px 12px;
        font-size: 24px;
    }

    .inp.price {
        padding: 18px 51px;
        color: black;
        font-size: 48px;
    }

    /* ======================= */
    /*         catalog         */
    /* ======================= */

    .catalog-header {
        padding: 29px 125px 30px 125px;
        align-items: center;
    }

    .catalog-header > h4 {
        font-size: 30px;
        margin-bottom: -5px;
    }

    .price-sort-block {
        margin: 0 40px;
    }

    .price-sort-block > div {
        height: 2px;
        background-color: #A26788;
        width: 35px;
        border-radius: 1px;
        margin: 0 16px;
    }

    .catalog {
        grid-template-columns: auto auto;
        grid-row-gap: 80px;
        padding: 64px 125px 64px 125px;
    }

    .category-sort, .sort-items {
        border-radius: 25px;
        padding: 6px 18px 14px 18px;
        font-size: 28px;
        font-weight: 300;
        border: none;
        display: flex;
        align-items: center;
    }

    .category-sort:after, .sort-items:after {
        content: url("/static/svg/arrow_bot.svg");
        margin-left: 10px;
        margin-top: -3px;
    }

    .price-sort {
        border-radius: 23px;
        padding: 4px 16px 12px 16px;
        font-size: 28px;
        font-weight: 400;
        max-width: 175px;
    }

    .price-sort::placeholder {
        text-align: center;
        font-size: 28px;
        font-weight: 400;
    }

    .basket-menu {
        bottom: 50px;
        right: 150px;
        padding: 8px 16px 16px 16px;
        border-radius: 25px;
    }

    .basket-menu > header {
        font-size: 40px;
    }

    .basket-menu > p {
        font-size: 28px;
    }

    .basket-menu > p > span {
        font-weight: 600;
        font-family: "Ubuntu",;
        color: #A26788;
    }

    .basket-menu > a {
        font-size: 16px;
    }

    .basket-menu > a {
    }

    .basket-menu > button {
        font-size: 28px;
        padding: 10px 75px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        padding: 50px 0px 0 0px;
    }

    .about-us > div {
        display: contents;
    }

    .about-us > .about-text > h1, .about-us > .about-text > p {
        padding: 0px 125px 0 125px;
    }

    .about-us > div > div > h3 {
        font-size: 48px;
    }

    .about-us > div > div > p.a {
        font-size: 30px;
    }

    #dostavka {
        background-image: url('/static/svg/rectagle-yellow.svg');
        padding: 88px 240px 80px 90px;
        background-repeat: no-repeat;
        position: static;
        width: 1050px;
        margin-top: 20px;
    }

    #events {
        background-image: url('/static/svg/rectagle-yellow.svg');
        padding: 88px 240px 80px 90px;
        background-repeat: no-repeat;
        position: static;
        width: 1050px;
        margin-top: 20px;
        min-height: 462px;
        margin-bottom: 24px;
    }

    #contacts {
        display: none;
    }
    #contacts2 {
        background-image: url('/static/svg/rectagle-pirple.svg');
        padding: 88px 90px 80px 240px;
        background-repeat: no-repeat;
        position: static;
        width: 1050px;
        margin-top: 20px;
        text-align: right;
        color: white;
        align-self: flex-end;
        display: flex;
    }

    .about-text > p {
        max-width: 100%;
    }

    .about-us > div > img.a1 {
        display: none;
    }

    .about-us > div > img.a2 {
        display: block;
        padding: 0px 125px 0 125px;
        align-self: center;
    }

    /* --------- */
    /* item-main */
    /* --------- */

    .item-main {
        padding: 80px 125px 80px 125px;
        display: flex;

    }

    .item-info {
        display: flex;
        flex-direction: column;

    }

    .item-info > h1 {
        font-size: 48px;
        margin-bottom: 30px;
    }

    .item-info > div > p.price {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .item-info > div {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start
    }

    .item-info > div > p.price > span {
        color: #A26788;
    }




    .item-carusel {
        width: 651px;
        background-color: #ffffff;
        border-radius: 30px;
        height: 600px;
        position: relative;
        margin-right: 50px;
        overflow: hidden;

    }

    .prev, .next {
        background-color: rgba(217, 217, 217, 0.25);

        height: 100%;
        width: 87px;
        position: absolute;
        cursor: pointer;
        border: none;
        border-radius: 30px;
        z-index: 1001;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .prev > img, .next > img {
        z-index: 10000;
        position:absolute;
    }

    .slides {
        display: flex;
        transition: transform 0.1s ease-in-out;
        height: 100%;
        position: absolute;
        z-index: 100;
        pointer-events: none;
    }

    .slide {
        min-width: 100%;
        box-sizing: border-box;
        pointer-events: none;

    }

    .prev {
        left: 0px;
    }

    .next {
        right: 0px;
    }

    .prev:hover, .next:hover {
        background-color: rgba(217, 217, 217, 0.5);
    }

    .slide img {
        width: 100%;
        height: 100%;
    }

    .item-description {
        font-family: "Ubuntu",;
        font-size: 40px;
        font-weight: 500;
    }


    .item-main > .item-info > div > .to-basket-btn {
        padding: 11px 20px 11px 15px;
        margin-left: 20px;
    }

    .similar-headline {
        font-size: 48px;
        padding-left: 125px;
        margin-top: 50px;
    }

}

@media (max-width: 1600px) and (min-width: 1366px) {
    .catalog-header > h4 {
      font-size: 36px;
    }
}

/* ======================= */
/*    footer legal links   */
/* ======================= */

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-ref-legal {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.footer-ref-legal:after {
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    background: #A26788;
    transition: width 0.3s ease;
    bottom: -2px;
    left: 0;
}

.footer-ref-legal:hover {
    color: #FFFFFF;
}

.footer-ref-legal:hover:after {
    width: 100%;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .footer-legal {
        align-items: center;
        text-align: center;
        gap: 10px;
        margin: 20px 0;
    }

    .footer-ref-legal {
        font-size: 12px;
    }

    .footer-ref-legal:after {
        height: 1px;
        bottom: -1px;
    }
}

@media (max-width: 520px) {
    .footer-legal {
        gap: 8px;
    }

    .footer-ref-legal {
        font-size: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-ref-legal {
        font-size: 14px;
    }
}

/* ======================= */
/*   styled checkboxes     */
/* ======================= */

.checkboxes-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #48404D;
    position: relative;
}

.checkbox-label .star {
    color: #A26788;
    font-size: 14px;
}

/* Скрываем стандартный чекбокс */
.styled-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

/* Создаем кастомный чекбокс */
.checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: 2px solid #A26788;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

/* Эффект при наведении */
.checkbox-label:hover .checkmark {
    border-color: #84546F;
    background-color: rgba(162, 103, 136, 0.1);
}

/* Стиль для отмеченного состояния */
.styled-checkbox:checked + .checkmark {
    background-color: #A26788;
    border-color: #A26788;
}

/* Галочка */
.styled-checkbox:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стиль для обязательных полей */
.checkbox-label.required .checkbox-text {
    position: relative;
}

.checkbox-label.required .checkbox-text .star {
    margin-left: 2px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .checkbox-label {
        font-size: 14px;
        gap: 10px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 5px;
        height: 10px;
    }

    .checkboxes-group {
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .checkbox-label {
        font-size: 12px;
        gap: 8px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .checkboxes-group {
        gap: 10px;
    }
}

/* ======================= */
/*   custom notification   */
/* ======================= */

.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.custom-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #FFFFFF;
    border-left: 4px solid #A26788;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-icon {
    flex-shrink: 0;
}

.notification-icon svg {
    width: 28px;
    height: 28px;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #48404D;
    margin: 0 0 4px 0;
}

.notification-text p {
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999999;
    padding: 0;
    margin: -5px -5px 0 0;
    transition: color 0.2s;
    line-height: 1;
}

.notification-close:hover {
    color: #A26788;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification-content {
        min-width: auto;
        max-width: none;
        width: calc(100% - 20px);
        padding: 14px 16px;
        gap: 12px;
    }

    .notification-text h4 {
        font-size: 16px;
    }

    .notification-text p {
        font-size: 13px;
    }

    .notification-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 520px) {
    .notification-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .notification-text h4 {
        font-size: 15px;
    }

    .notification-text p {
        font-size: 12px;
    }

    .notification-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ======================= */
/*   disabled button       */
/* ======================= */

.purple-crcl-btn.disabled-btn,
.purple-crcl-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #A26788;
    color: white;
    transform: none;
    filter: grayscale(0.1);
}

.purple-crcl-btn.disabled-btn:hover,
.purple-crcl-btn:disabled:hover {
    background-size: 0% 100%;
    color: white;
    transform: none;
}

.purple-crcl-btn.disabled-btn:hover::before,
.purple-crcl-btn:disabled:hover::before {
    content: none;
}

/* Анимация активации кнопки */
.purple-crcl-btn:not(:disabled) {
    transition: all 0.3s ease;
}

.purple-crcl-btn:not(:disabled):active {
    transform: scale(0.98);
}

/* ======================= */
/*   custom notification   */
/* ======================= */

.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.custom-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #FFFFFF;
    border-left: 4px solid #A26788;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-icon {
    flex-shrink: 0;
}

.notification-icon svg {
    width: 28px;
    height: 28px;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #48404D;
    margin: 0 0 4px 0;
}

.notification-text p {
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999999;
    padding: 0;
    margin: -5px -5px 0 0;
    transition: color 0.2s;
    line-height: 1;
}

.notification-close:hover {
    color: #A26788;
}

/* ======================= */
/*   styled checkboxes     */
/* ======================= */

.checkboxes-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #48404D;
    position: relative;
}

.checkbox-label .star {
    color: #A26788;
    font-size: 14px;
}

/* Скрываем стандартный чекбокс */
.styled-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

/* Создаем кастомный чекбокс */
.checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: 2px solid #A26788;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

/* Эффект при наведении */
.checkbox-label:hover .checkmark {
    border-color: #84546F;
    background-color: rgba(162, 103, 136, 0.1);
}

/* Стиль для отмеченного состояния */
.styled-checkbox:checked + .checkmark {
    background-color: #A26788;
    border-color: #A26788;
}

/* Галочка */
.styled-checkbox:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стиль для обязательных полей */
.checkbox-label.required .checkbox-text {
    position: relative;
}

.checkbox-label.required .checkbox-text .star {
    margin-left: 2px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification-content {
        min-width: auto;
        max-width: none;
        width: calc(100% - 20px);
        padding: 14px 16px;
        gap: 12px;
    }

    .notification-text h4 {
        font-size: 16px;
    }

    .notification-text p {
        font-size: 13px;
    }

    .notification-icon svg {
        width: 24px;
        height: 24px;
    }

    .checkbox-label {
        font-size: 14px;
        gap: 10px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 5px;
        height: 10px;
    }

    .checkboxes-group {
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .notification-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .notification-text h4 {
        font-size: 15px;
    }

    .notification-text p {
        font-size: 12px;
    }

    .notification-icon svg {
        width: 20px;
        height: 20px;
    }

    .checkbox-label {
        font-size: 12px;
        gap: 8px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .checkboxes-group {
        gap: 10px;
    }
}

/* ======================= */
/*   checkbox links        */
/* ======================= */

.checkbox-link {
    color: #A26788;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.checkbox-link:after {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background: #A26788;
    transition: width 0.3s ease;
    bottom: -2px;
    left: 0;
}

.checkbox-link:hover {
    color: #84546F;
}

.checkbox-link:hover:after {
    width: 100%;
}

.checkbox-text {
    line-height: 1.4;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .checkbox-link {
        font-size: 14px;
    }

    .checkbox-link:after {
        height: 1px;
        bottom: -1px;
    }
}

@media (max-width: 520px) {
    .checkbox-link {
        font-size: 12px;
    }
}

/* ======================= */
/*   disabled button       */
/* ======================= */

.purple-crcl-btn.disabled-btn,
.purple-crcl-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #A26788;
    color: white;
    transform: none;
    filter: grayscale(0.1);
}

.purple-crcl-btn.disabled-btn:hover,
.purple-crcl-btn:disabled:hover {
    background-size: 0% 100%;
    color: white;
    transform: none;
}

.purple-crcl-btn.disabled-btn:hover::before,
.purple-crcl-btn:disabled:hover::before {
    content: none;
}

/* Анимация активации кнопки */
.purple-crcl-btn:not(:disabled) {
    transition: all 0.3s ease;
}

.purple-crcl-btn:not(:disabled):active {
    transform: scale(0.98);
}

/* ======================= */
/*   custom notification   */
/* ======================= */

.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
}

.custom-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #FFFFFF;
    border-left: 4px solid #A26788;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-icon {
    flex-shrink: 0;
}

.notification-icon svg {
    width: 28px;
    height: 28px;
}

.notification-text {
    flex: 1;
}

.notification-text h4 {
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #48404D;
    margin: 0 0 4px 0;
}

.notification-text p {
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999999;
    padding: 0;
    margin: -5px -5px 0 0;
    transition: color 0.2s;
    line-height: 1;
}

.notification-close:hover {
    color: #A26788;
}

/* ======================= */
/*   styled checkboxes     */
/* ======================= */

.checkboxes-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #48404D;
    position: relative;
}

.checkbox-label .star {
    color: #A26788;
    font-size: 14px;
}

/* Скрываем стандартный чекбокс */
.styled-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

/* Создаем кастомный чекбокс */
.checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: 2px solid #A26788;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Эффект при наведении */
.checkbox-label:hover .checkmark {
    border-color: #84546F;
    background-color: rgba(162, 103, 136, 0.1);
}

/* Стиль для отмеченного состояния */
.styled-checkbox:checked + .checkmark {
    background-color: #A26788;
    border-color: #A26788;
}

/* Галочка */
.styled-checkbox:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Стиль для обязательных полей */
.checkbox-label.required .checkbox-text {
    position: relative;
}

.checkbox-label.required .checkbox-text .star {
    margin-left: 2px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification-content {
        min-width: auto;
        max-width: none;
        width: calc(100% - 20px);
        padding: 14px 16px;
        gap: 12px;
    }

    .notification-text h4 {
        font-size: 16px;
    }

    .notification-text p {
        font-size: 13px;
    }

    .notification-icon svg {
        width: 24px;
        height: 24px;
    }

    .checkbox-label {
        font-size: 14px;
        gap: 10px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        border-radius: 5px;
        margin-top: 1px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 5px;
        height: 10px;
    }

    .checkboxes-group {
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .notification-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .notification-text h4 {
        font-size: 15px;
    }

    .notification-text p {
        font-size: 12px;
    }

    .notification-icon svg {
        width: 20px;
        height: 20px;
    }

    .checkbox-label {
        font-size: 12px;
        gap: 8px;
    }

    .checkmark {
        width: 16px;
        height: 16px;
        border-radius: 4px;
        margin-top: 1px;
    }

    .styled-checkbox:checked + .checkmark::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
    }

    .checkboxes-group {
        gap: 10px;
    }
}

