*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hidden{
    display: none !important;
}

/* --- WRAPPER --- */

.wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */

.header{
    width: 100%;
    border-bottom: 1px solid #ececec;
}

.header__container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    height: 65px;
    margin: 0 auto;
}

.header__el{
    padding: 0 10px;
    font-size: 13px;
    color: #222;
}

.header__el svg{
    font-size: 14px;
}

.header__span-lnk{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.header__span{
    font-size: 12px;
}

.header__p{
    font-size: 13px;
    font-weight: 600;
}

.header__input-container{
    position: relative;
    width: 330px;
    height: 38px;
    padding-left: 15px;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #222;
}

.header__input{
    height: 100%;
    width: 82%;
    border: none;
    outline: none;
}

.header__search{
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    border-radius: 20px;
    font-size: 20px;
    background-color: #222;
    fill: #fff;
    cursor: pointer;
}

/* --- MAIN --- */

.main{
    width: 100%;
    max-width: 1352px;
    margin: 0 auto;
}

.ubi{
    padding: 14px 20px;
}

.ubi span{
    font-size: 13px;
    color: #777;
    cursor: pointer;
}

.ubi svg{
    margin: 0 3px;
    font-size: 8px;
    fill: #777;
}

.product{
    display: flex;
    align-items: start;
}

.product__el{
    flex: 1;
}

.product__left{
    padding: 0 20px;
}

.product__img-carrousel{
    display: flex;
    gap: 10px;
    padding-right: 48px;
}

.product__img-small-container{
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 57px;
    height: auto;
    max-height: 500px;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product__img-small{
    width: 100%;
    height: 57px;
}

.product__img-small img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product__img-small img.active-img {
    border: 2px solid #000;
}

.product__img-container{
    display: flex;
    justify-content: center;
    width: 557px;
    height: 557px;
}

.product__img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product__right{
    position: sticky;
    top: 0;
    height: auto;
    padding: 5px 20px 40px 15px;
}

.product__sending{
    font-size: 16px;
    font-weight: 600;
    color: #0A8800;
}

.product__sending img{
    width: 16px;
    height: 16px;
    margin-right: 4px;
    transform: translateY(2px);
}

.product__title{
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
}

.product__sales{
    margin-top: 8px;
    font-size: 14px;
    color: #888;
}

.product__price{
    flex-wrap: nowrap;
    font-size: 20px;
    color: #FB7701;
}

.product__price b{
    font-size: 28px;
    color: #FB7701;
}

.product__price span{
    font-size: 15px;
    color: #AAA;
    text-decoration: line-through 2px solid #FB7701;
}

.product__price div{
    display: inline;
    padding: 0 4px;
    border-radius: 4px ;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid;
}

.product__choose{
    margin-top: 16px;
    padding-bottom: 2px;
    border-radius: 6px;
    background-color: #FB7701;
}

.product__choose-ttl{
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.product__choose-container{
    padding: 10px 12px 15px;
    width: 99.1%;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 500;
    background-color: #fff;
    border-radius: 6px;
}

.product__choose-delivery{
    font-size: 13px;
    font-weight: normal;
    color: #FB7701;
}

.product__choose-delivery img{
    width: 13px;
    height: 13px;
    transform: translateY(1px);
}

.amount span{
    margin-right: 10px;
}

.amount__select{
    width: 90px;
    height: 30px;
    padding-left: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    color: #000;
    background-color: #fff;
}

.product__btn-container{
    margin-top: 20px;
}

.product__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 26px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: #FB7701;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.product__send{
    margin-top: 40px;
}

.product__send--ttl{
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #0A8800;
}

.product__send--ttl img{
    width: 20px;
    transform: translateY(4px);
}

.product__send--txt,
.product__send--lbl,
.product__send--sub{
    margin: 8px 0 0 27px;
    font-size: 14px;
}

.product__send--lbl{
    color: #777;
}

.product__send--lbl span{
    color: #000;
}

.product__send--lbl img{
    height: 14px;
    transform: translateY(2px);
}

.product__send--sub{
    color: #AAA;
}

.product__send--sub img{
    height: 14px;
    transform: translateY(2px);
}

.product__garanty{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
    margin-left: 27px;
}

.product__grt{
    padding: 0 4px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    background-color: #0A8800;
}

.boxes{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 20px;
}

.box{
    position: relative;
    width: 80px;
    border-radius: 6px;
    border: 1px solid #AAA;
    overflow: hidden;
    cursor: pointer;
}

.box.box-active{
    border: 2px solid #FB7701;
}

.box__img{
    width: 100%;
    height: 88px;
}

.box__img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box__txt{
    padding: 2px 4px;   
    font-size: 13px;
    text-align: center;
    font-weight: normal;
    background-color: #f5f5f5;
}

.product__details{

}

.product__dts-ttl{
    margin-top: 30px;
    font-size: 18px;
}

.product__dts-txt{
    margin-top: 8px;
    line-height: 22px;
    font-size: 14px;
}

.product__dts-gallery{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.product__dts-img{
    margin-top: 12px;
    width: 500px;
    max-width: 100%;
    height: 500px;
    object-fit: contain;
}

/* --- RESPONSIVE --- */


@media screen and (max-width: 1240px){
    .header__span-lnk{
        font-size: 12px;
    }

    .header__input-container{
        width: 280px;
    }
}

@media screen and (max-width: 1170px){
    .header__el{
        padding: 0 8px;
    }

    .header__el:nth-child(2){
        display: none;
    }
}

@media screen and (max-width: 1060px){
    .product__left{
        max-width: 600px;
    }
}

@media screen and (max-width: 930px){
    .product__left{
        max-width: 500px;
    }

    .header__el:nth-child(3),
    .header__el:nth-child(4),
    .header__el:nth-child(5),
    .header__el:nth-child(6),
    .header__el:nth-child(7){
        display: none;
    }

    .header__input-container{
        width: 330px;
        margin-right: 100px;
    }
}

@media screen and (max-width: 830px){
    .header__container{
        height: 44px;
    }

    .header__input-container{
        width: 200px;
        height: 30px;
        background-color: #ececec;
        border: none;
    }

    .header__input{
        width: 85%;
        margin: 0 0 0 14px; 
        font-size: 12px;
        background-color: transparent;
    }

    .header__search{
        left: 0;
        fill: #666;
        background-color: transparent;
        width: 30px;
        height: 24px;
        font-size: 16px;
    }

    .header__el:nth-child(10),
    .header__el:nth-child(9),
    .header__el:nth-child(1){
        display: none;
    }

    .header__el:nth-child(2){
        display: block !important;
    }

    .header__input-container {
        margin-right: 0px;
    }

    .ubi{
        display: none;
    }

    .product{
        flex-direction: column;
    }

    .product__left{
        max-width: 100%;
        padding: 0 20px;
    }

    .product__right{
        position: static;
        width: 100%;
        margin-top: 20px;
        padding: 5px 15px 40px;
    }

    .product__img-carrousel{
        padding-right: 0;
    }

    .product__left{
        padding: 0;
    }

    .product__img-small-container{
        position: relative;
        display: block;
        width: 100%;
        height: 300px;
        overflow: hidden;
    }
    
    .product__img-small{
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        min-width: 100%;
        height: 100%;
        transition: opacity 0.3s;
    }

    .product__img-small.active {
        display: flex;
        opacity: 1;
        transition: opacity 0.3s;
    }

    .product__img-small img.active-img{
        border: none;
    }

    .product__img-container{
        display: none;
    }

    .product__details{
        padding: 0 20px;
    }
}

@media screen and (max-width: 510px){
    .product__dts-img {
        height: 400px;
    }
}

@media screen and (max-width: 400px){
    .header__input-container {
        width: 130px;
        margin-right: 0px;
    }
}

@media screen and (max-width: 330px){
    .header__input-container {
        width: 100px;
        margin-right: 0px;
    }

    .temu-logo{
        width: 60px;
    }
}