@font-face {
    font-family: "Muller";
    src: url(../fonts/MullerDemo-Thin.otf);
}

@font-face {
    font-family: "MullerExtra";
    src: url(../fonts/MullerDemo-ExtraBold.otf);
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Muller";
}



.wrapper{
    position: relative;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#block_loader{
    /* display: none; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: hidden;
}

.loader_img_wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader_img_wrap img{
    width: 100%;
    height: fit-content;
}


#block_mobile{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    background-color: white ;
}

.main_menu_wrap{
    /* display: none; */
    height: 100%;
}

.main_menu{
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


header{
    margin: 10px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header button{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #383B3D;
    border: none;
    border-radius: 50px;
}

header .logo{
    padding: 0 20px;
    width: 70%;
}

header .logo img{
    width: 100%;
}

.corzina_but{
    position: relative;
}

.counts_corzina_wrap{
    display: none;
}
.counts_corzina{
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;

    top: 0;
    right: 0;

    background-color: red;

    height: 20px;
    width: 20px;

    font-size: 10px;
    font-family: "MullerExtra";

    color: #fff;
    font-weight: bold;

    border-radius: 15px;

}


.slider {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%; 
    transition: transform 0.6s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    display: block;
}

/* dots */
.dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 8px;
    border: 2px solid #383b3d;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    transition: width 0.3s ease, background 0.3s ease;
}

.dot.active {
    background: white;
    width: 22px;
}


.searchingBlock {
    padding: 0 20px;
}

.searchingBlock h2{
    text-transform: uppercase;
    font-family: "MullerExtra";
    color: #383b3d;
    font-weight: 600;
    margin: 20px 0;
}
.inputWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 2px solid #383b3d;
    padding: 10px;
    border-radius: 15px;
}
.inputWrap input{
    font-family: "Muller";
    width: 100%;
    border: none;
    padding: 10px;
    outline: none;
    color: #383b3d;
    font-size: 20px;
}
.exitWrap{
    display: none;
}
.exitBlock{
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #383B3D;
    border-radius: 50px;
    padding: 15px;
}
.inputWrap img{
    width: 25px
}
.exitWrap img{
    width: 15px;
}


.selectProducts {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 2px solid #383b3d;
    padding: 3px 15px;
    border-radius: 15px;

    position: relative;
    cursor: pointer;
}
.selectProducts h2 {
    color: #383B3D;
    font-family: "Muller";
    font-size: 14px;
}
.selectsCountWrap {
    display: flex;
    align-items: center;
}
.selectsCountWrap p {
    font-family: "MullerExtra";
    color: #383B3D;
}
.productsArrow {
    margin-left: 10px;
    transition: .25s ease;
}
.productsArrow.rotated {
    transform: rotate(180deg);
}


.productsDropdown {
    width: 100%;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;

    border: 2px solid #383b3d;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transform: scaleY(0.85);

    transition: max-height .28s ease, opacity .28s ease, transform .28s ease;
    z-index: 50;
}

.productsDropdown.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
}
.productItem {
    width: 100%;
    background: #fff;
    border: none;

    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
    font-size: 14px;
    color: #383B3D;
    font-family: "Muller";
}

.productItem:hover {
    background: #f3f3f3;
}

.productItem.active {
    background: #e9e9e9;
}



.sizeBlock {
    width: 100%;
    padding: 0 20px;
}
.sortWrap {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sortBlock {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 2px solid #383b3d;
    padding: 10px 15px;
    border-radius: 15px;

    position: relative;
    cursor: pointer;
}

/* меню — абсолютное, вырастающее сверху вниз */
.sortSelectWrap {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;

    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
    z-index: 50;
}

/* когда открыто — показываем */
.sortSelectWrap.active {
    opacity: 1;
    pointer-events: auto;
}


.sortSelect {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 200px;
}
.sortSelectBlock {
    background-color: #fff;
    width: 100%;
    padding: 10px;
    display: flex;

    cursor: pointer;
}
.sortSelectBlock:hover {
    background-color: rgb(219, 219, 219);
}
#selectUp{
    border: 2px solid #383b3d;
    border-radius: 15px 15px 0 0;
}
#selectDown{
    border: 2px solid #383b3d;
    border-radius: 0 0 15px 15px;
}


.selectSize{
    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 2px solid #383b3d;
    padding: 17px;
    border-radius: 15px;

    position: relative;
    cursor: pointer;
}

.sizeArrow {
    width: 20px;
    transition: .25s ease;
}

/* DROPDOWN */
.sizeDropdown {
    width: 100%;
    margin-top: 10px;

    border: 2px solid #383b3d;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transform: scaleY(0.85);

    transition: max-height .28s ease, opacity .28s ease, transform .28s ease;

    position: absolute;
    z-index: 1000;
    top: calc(100%);
    right: 0;
}

.sizeDropdown.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
}

.sizeHeader {
    padding: 12px 18px;
    border-bottom: 2px solid #383b3d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #545454;
}

.sizeBody {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

/* кнопки */
.sizeOption {
    width: 100%;
    text-align: left;

    padding: 12px 18px;
    border: none;

    background: transparent;
    font-size: 14px;
    cursor: pointer;

    color: #383b3d;
    transition: background .2s ease;
}

.sizeOption:hover {
    background: rgb(235,235,235);
}

.sizeOption.active {
    background: #ffe991;
    font-weight: 700;
}







.productsGrid {
    margin: 20px 0;
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}


.productCard {
    width: 100%;
    background-color: rgb(56,59,61);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

.productCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.4);
}

.productImageBlock {
    position: relative;
    aspect-ratio: 3/4;
    background: #f1f1f1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform .3s ease-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sizeTag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    background: #FFEB3B;
    color: #111;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cartBtn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(40,40,40,0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.cartBtn:hover {
    background: rgba(80,80,80,0.85);
    transform: scale(1.1);
}

.productInfo {
    padding: 12px;
}

.productPrice {
    font-size: 18px;
    font-weight: bold;
    color: #FFD740;
}

.productTitle {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-top: 4px;
}
.loadMoreBtn {
    margin: 20px auto;
    display: block;
    padding: 12px 20px;
    background: #fff;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}




.item_menu_wrap{
    display: none;
    height: 100%;
}

.item_menu{
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
}

.product-size {
    font-size: 14px;
    background: #eee;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    margin: 12px 0;
    font-family: "MullerExtra";
}

.product-gallery {
    display: flex;
    overflow-x: auto;
    gap: 8px;
}

.product-gallery img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.product-gallery img.active {
    border-color: #007bff;
}

.wrap_img_iteme{
    position: relative;
}

.button_back{
    position: absolute;
    top: 20px;
    left: 20px;

    display: flex;
    align-items: center;

    background: white;
    border: #000000 1px solid;
    padding: 5px 10px;
    border-radius: 50px;
    font-weight: bold;

    cursor: pointer;
}

.button_back svg{
    width: 22px;
}

.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.buttons button {
    flex: 1;
    padding: 14px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border: 2px solid #111;
    color: #111;
}
.add-to-cart svg{
    margin-right: 5px;
    width: 25px;
}
.add-to-cart:hover {
    background: #111;
    color: #fff;
}

.buy-now {
    background: #ffc81a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: bold;
}
.buy-now img{
    margin-right: 5px;
}

.buy-now:hover {
    background: #a9850f;
}

.stocks_wrapper_success{
    display: none;
}
.stocks_wrapper_no{
    display: block;
}

.stocks_block_success{
    display: flex;
    align-items: center;
    color: #15803D;
    font-weight: bold;
}

.stocks_block_success img{
    margin-right: 10px;
}

.stocks_wrapper_no{
    display: flex;
    align-items: center;
    color: #787878;
    font-weight: bold;
}


.footer_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    font-size: 12px;
}
.day_footer{
    display: flex;
    align-items: center;
    color: #383B3D;
}

.day_footer svg{
    height: 25px;
    margin-right: 5px;
}




.corzina_menu_wrap{
    display: none;
    height: 100%;
}

.corzina_menu{
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}




.cart-wrapper {
    padding: 16px;
    padding-bottom: 100px;
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-header h1 {
    font-size: 20px;
    font-weight: bold;
}

.back-btn,
.clear-cart-btn {
    padding: 8px 12px;
    border-radius: 8px;
    background: #eee;
    font-size: 12px;
    cursor: pointer;
}

.cart-items {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Товар */
.cart-item {
    display: flex;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 12px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #555;
}

.remove-btn {
    margin-top: 8px;
    padding: 6px 10px;
    background: #ff3a3a;
    color: white;
    font-size: 12px;
    border-radius: 8px;
}

/* Промокод */
.cart-promo {
    margin-top: 20px;
    background: white;
    padding: 14px;
    border-radius: 10px;
}

.promo-input {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.promo-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.promo-input button {
    padding: 10px 16px;
    border-radius: 8px;
    background: #ddd;
    color: #666;
}

/* Итог */
.cart-total {
    margin-top: 20px;
    background: white;
    padding: 14px;
    border-radius: 10px;
}

.total-line,
.total-final {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.total-final {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-weight: bold;
}

/* Кнопка оформить */
.cart-bottom-btn {
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    border-top: 1px solid #ddd;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: #ffd600;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
}











.modal_window_wrap {
    display: none;
    position: absolute;
    backdrop-filter: blur(5px);
    background-color: #1f1f1f79;
    height: 100vh;
    width: 100%;
    top: 0;
    z-index: 2;
}

.modal_window {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block_modal {
    position: relative;
    width: 90%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #161616;
    border: 2px solid #FCB537;
    color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.block_modal img{
    margin-bottom: 20px
}

.exit {
    position: absolute;
    top: 10%;
    right: 7%;
    z-index: 3;
}

.exit img {
    width: 25px;
}